Source

CherryPyFixTicketUrls2 / __init__.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
Revamped session module. Much better tests. Cleanup is now in a separate, cycling Timer thread (with an entry in on_stop_engine_list). Moved cherrypy.request._session to cherrypy.serving.session.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
New deadlock monitor which sets Response.timed_out to True if Response.time < now - config.get("deadlock_timeout"). The request thread periodically checkes Response.timed_out and raises TimeoutError if it is True. Current checks are in HookMap.run, Request.respond, Body.__set__, and Response.finalize, more can be added later if needed.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Replaced request.remote_addr, remote_port, and remote_host with a single "remote" attribute, an instance of lib.http.Host, which has "ip", "port" and "name" attributes. Added a similar request.local attribute. Changed request() signature to (local, remote, scheme). This allows requests run behind multiple HTTP servers to know the address info for their particular connection.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Changed server.start to server.quickstart, and server.start_all to server.start.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Py 2.3 doesn't do multiline imports.
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
Replaced http.HTTPDate with its clone rfc822.formatdate.
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
Fix for #256 (log file needs a lock). CherryPy now uses the stdlib's logging module. See the ticket for more details.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Quick and dirty trap of log file errors.
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
Removed inspect import in cherrypy.decorate, decorateAll.
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
Got rid of _cperror.Error base class, and "from _cperror import *" in top level.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Moved coverage out of the core.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Separated tool construction from default toolbox by renaming cherrypy.tools module to _cptools, and binding cherrypy tools to a new _cptools.default_toolbox object. Also cleaned up the top-level cherrypy namespace quite a bit, and moved some user code out of lib.cptools.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
New cherrypy.quickstart function.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
New Tool.enable method (compile-time decorator to set the wrapped function's _cp_config).
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
Renamed _cp_log_message to "_cputil.log", and moved its customization from a special attribute to a config entry ('log_function'). Since that was the last special attribute, removed _cputil.get_special_attribute entirely.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Root and config are now isolated per app:
Branches
cherrypy
Robert Brewer avatarRobert Brewer
New cherrypy.set_config(**kwargs) decorator for setting _cp_config on a method. Also better errors on lookup of request attrs when not in a request.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Separated cherrypy.server (HTTP) from cherrypy.engine (app):
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #426 (cherrypy.expose alias problems with dots).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Lots of changes to error and log handling:
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed old_name option from get_special_attribute.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fixed session module for the new tool API.
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
  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.