CherryPy / cherrypy / _cptree.py

Author Commit Message Labels Comments Date
Robert Brewer avatarRobert Brewer
Moved all bus plugins onto the engine object itself, and fixed a couple bus details along the way.
Robert Brewer avatarRobert Brewer
Audit of logging:
Robert Brewer avatarRobert Brewer
Working cherryd daemon script. New FlupFCGIServer wrapper in servers.py. Also added a config arg to cherrypy.Application.
Robert Brewer avatarRobert Brewer
Made Application copy initial config from its class.
Robert Brewer avatarRobert Brewer
Some bus/plugin improvements.
Robert Brewer avatarRobert Brewer
Fix for #725 (cherrypy.url should default to emitting server-relative URL's). It doesn't default (that would break backward compatibility), but at least there's an option for it now.
Robert Brewer avatarRobert Brewer
Reworked WSPBus plugins; most now have a 'subscribe' method which attaches them to the bus in a separate step from init. This allows frameworks to create canonical plugin instances but delay or skip their subscription.
Robert Brewer avatarRobert Brewer
Trunk fix for #677 (_cpwsgi requestLine: PATH_INFO SCRIPT_NAME).
Robert Brewer avatarRobert Brewer
RFC 2606 updates (official example domains).
Robert Brewer avatarRobert Brewer
Docstring updates.
Robert Brewer avatarRobert Brewer
New pywebd module. Trunk is now "3.1alpha".
Robert Brewer avatarRobert Brewer
Promoted namespace dicts to their own class (so they can share docs).
Robert Brewer avatarRobert Brewer
Docstrings, plus Application now copies its cls.namespaces into self.namespaces.
Robert Brewer avatarRobert Brewer
Allow loggers to use a different logging root (e.g. "tg.error" instead of "cherrypy.error").
Robert Brewer avatarRobert Brewer
Transformed _cptree.wsgi_handler function into _cpwsgi.CPWSGIApp class (a delegate for the Application object), and merged in the wsgi.pipeline functionality. This removes the need to call wsgi.pipeline(app) before tree.mount.
Robert Brewer avatarRobert Brewer
Better support for custom toolboxes and namespaces:
Robert Brewer avatarRobert Brewer
Fix for #579 (when query_string is None).
Robert Brewer avatarRobert Brewer
Removed app.guess_abs_path. Use cherrypy.url(script_name=app.script_name) instead.
Robert Brewer avatarRobert Brewer
Collapsed request.url and tree.url into a single cherrypy.url function.
Robert Brewer avatarRobert Brewer
Got rid of cherrypy.request.path. Use request.script_name + request.path_info instead (usually, just path_info is what you really want).
Robert Brewer avatarRobert Brewer
Improved tree.url() to include base. Also replaced request.browser_url with request.url().
Robert Brewer avatarRobert Brewer
Changed every instance of 'conf' in the API to 'config'.
Robert Brewer avatarRobert Brewer
Moved _wsgi_callable to _cptree, and we now import _cpwsgi as cherrypy.wsgi. Also made {{{App.__call__}}} route to {{{App.wsgiapp}}} so the latter can be replaced by user code (i.e. it's not a special method).
Robert Brewer avatarRobert Brewer
Moved merge out of {{{Application.__init__}}} so custom namespaces can be defined per-app. Also allow Tree.mount to accept an Application instance (instead of a root which gets wrapped in an Application).
Robert Brewer avatarRobert Brewer
Oops. Forgot the namespaces for cherrypy.tree.
Robert Brewer avatarRobert Brewer
Logging cleanups:
Robert Brewer avatarRobert Brewer
API and docstring cleanups:
Robert Brewer avatarRobert Brewer
More (final?) config overhaul work:
Robert Brewer avatarRobert Brewer
Overhaul of config system:
Robert Brewer avatarRobert Brewer
Fix for #553 (pure WSGI apps on the tree). Request.app now MUST be a cherrypy.Application instance (not None) before Request.run() is called.
  1. Prev
  2. 1
  3. 2
  4. 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.