CherryPy / config.py

Author Commit Message Labels Comments Date
Robert Brewer avatarRobert Brewer
Lots of mixedCase to lower_with_underscores.
Branches
cherrypy
Sylvain Hellegouarch avatarSylvain Hellegouarch
Fixed missing access log for global configuration
Branches
cherrypy
Robert Brewer avatarRobert Brewer
New server.socket_timeout config entry, thanks to Albert Visagie. See http://groups.google.com/group/cherrypy-devel/browse_frm/thread/ef761a8063cdc72b
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Merged the reexec branch. Autoreload now uses exec instead of spawn, and therefore never runs more than one process at a time. There's a new test for autoreload in test_states.py.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Various speedups, the only notable one being that environments are now always flattened as soon as possible.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Cleanup of cherrypy and cherrypy.config namespaces. Changed 'log_config_options' to 'log_config'. Moved cherrypy.set_config to cherrypy.config.wrap.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Much Better Logging (see #256). Apps now have their own access and error loggers (whose config entries must be at "/"), and the global access logger has been removed (although you can make one manually if you like).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Made cherrypy.request and .response more sef-documenting by populating their attribute dicts outside a request.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Renamed httptools to "http" to reduce confusion with new cherrypy.tools. Moved non-Tool-related code from cptools to {{{lib/__init__}}}. Added docstrings.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #502 (log errors by default).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Bah. I knew I had config.merge in there for a reason.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Dispatch and config lookup now happens as early as possible, once per request (unless InternalRedirect is raised). Also moved the logging code out of {{{_cputil}}} and into {{{__init__}}}. xmlrpc still needs fixed so it doesn't re-write path_info.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Moved log_access to a config entry.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Root and config are now isolated per app:
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Moved the following config keys out of the "server." namespace (so that "server." may mean "httpserver"):
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fixed bug in request_config_section.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Objects on the CP tree may now possess a _cp_config attribute, which replaces _cp_tools, _cp_on_error, and _cp_filters. The Request object now keeps its own 'config' attribute (recalculated whenever object_path changes) which mixes _cp_config settings with settings in cherrypy.config. Every tool now has a merged_args method, which is used to pass arguments to the wrapped callable.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Lots of changes to error and log handling:
Branches
cherrypy
Robert Brewer avatarRobert Brewer
test_core works again.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fluff.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fixed xmlrpc tool and test. Plus:
Branches
cherrypy
Robert Brewer avatarRobert Brewer
CP 3 initial checkin. Global filters have been replaced by request.hooks. Lots of renaming and reorg of modules.
Branches
cherrypy
Default avatar Christian Wyglendowski
Addresses #480.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #427 (Use RawConfigParser instead of ConfigParser).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
server.thread_pool now defaults to 10.
Branches
cherrypy
Default avatar Remi Delon
Added "cherrypy.lowercase_api" switch so that users can say "I'm using the new lowercase API" and get a (small) speed boost from it.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed redundant test for favicon.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #145. See the ticket for details about this fix.
Branches
cherrypy
Default avatar Remi Delon
Fix for #416. The default favicon.ico is now served by a default static_filter entry in the default config (much cleaner than making a special case for favicon.ico in the code).
Branches
cherrypy
Default avatar Remi Delon
More PEP 8 (including objectPath -> object_path); Changed virtualhostfilter to conform to PEP8; Fixes to sessionauthenticatefilter
Branches
cherrypy
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.