Commits

Show all
Author Commit Message Labels Comments Date
Robert Brewer
Removed trunk/docs/book folder, as that won't be upgraded for CP 3.
Robert Brewer
Fix for #557 (socket_file). We should talk about a server.socket_family attribute sometime.
Robert Brewer
Oops. Was using old autoreload conf keys.
Robert Brewer
Fix to CachingTool for new kwargs.
Robert Brewer
New test for default handler when using MethodDispatcher.
Robert Brewer
A couple doc tweaks.
Robert Brewer
Oops.
Robert Brewer
New tools.err_redirect.internal arg.
Robert Brewer
Oops. Forgot the namespaces for cherrypy.tree.
Robert Brewer
Allow dynamic custom config namespaces.
Robert Brewer
Reorganized the caching tool code.
Robert Brewer
Oops.
Robert Brewer
Fix for #428 (drop privileges).
Robert Brewer
Tweaks to docs, line lengths, tests, and number of serving lookups.
Robert Brewer
Fix for #525 (Support Deleting Sessions).
Robert Brewer
Further fix for persistent conns (ignore timeouts).
Robert Brewer
Logging cleanups: 1. Moved LogManager to new _cplogging module. 2. Apps now possess a 'log' attribute (a LogManager instance that includes both error and access) instead of separate error_log and access_log. 3. Fixed broken default error_log.
Robert Brewer
A couple fixes to CP3's _cpwsgiserver.py for Python 2.3 compatibility.
Robert Brewer
Fixes for #479 (CherryPy crashes on using seteuid / setegid) for CP 2.2 and CP 3.
Robert Brewer
API and docstring cleanups: 1. Removed WrongConfigValue, decorate, decorate_all, and ExposeItems. 2. Moved cherrypy.logtime to cherrypy.log.time. 3. Reduced cherrypy.config.globalconf back to just cherrypy.config. 4. Moved _cpconfig.default_conf to config.defaults. .
Robert Brewer
Hook priority system: 1. All hook callbacks are now wrapped in an instance of _cprequest.Hook, where failsafe, priority, and kwargs are now stored. 2. Hooks are run in order of their "priority" attribute; lower numbers first. Default 50, range 0-100, floats OK. 2. cherrypy namespace: moved "serving" to "_serving", added cherrypy.Tool, changed "LogManager" to "_LogManager". 3. Set gzip.priority to 90.
Robert Brewer
Fix for the fix for #551 (basically, die on timeout instead of responding with 408).
Robert Brewer
More (final?) config overhaul work: 1. Removed cherrypy.config.get! Instead, you should directly inspect cherrypy.request, response, server, etc. Note that request.config.get still works fine. 2. a) cherrypy.log is now an instance of LogManager. It's still callable, but now is the object you inspect instead of calling config.get("log*"). b) cherrypy.log_access is now cherrypy.log.access. 3. All threads should now have access to d…
Robert Brewer
Wrapper for hook functions now takes the name of the wrapped function.
Robert Brewer
Fixes to some typos in [1274].
Robert Brewer
Overhaul of config system: 1. New docstring for config module! 2. Put all entries into a config namespace. New deadlock, log, request and response namespaces. 3. Request and response entries now directly modify attributes of cherrypy.request and .response, and consumer code looks up those attributes, not config. This also allows interactive inspection of defaults. 4. Removed 'log_config' config entry. Use engine.on_star…
Robert Brewer
Made all imports absolute "just in case" for Python 2.5.
Robert Brewer
WSGI server: uncaught exceptions now write tracebacks to the response stream if possible.
Robert Brewer
Fixes for Python 2.5rc1: 1. When the WSGI server socket is closed, socket.accept now fails with a socket.error "Socket operation on non-socket" (see _cpwsgiserver.py diff). 2. The output of Response.SimpleCookie now has no trailing semicolon (see test_core.py diff). 3. Some attributes of unittest.TestCase moved from double-underscore to single (see webtest.py diff).
Robert Brewer
Moved the 'methods_with_bodies' feature from config to an attribute of the Request object; use a hook or tool to set it.
  1. Prev
  2. Next