Commits

Show all
Author Commit Message Labels Comments Date
Robert Brewer avatarRobert Brewer
Changing version to 3.0.0beta.
Tags
cherrypy-3.0.0beta
Robert Brewer avatarRobert Brewer
Removed the unnecessary trunk/tools folder.
Robert Brewer avatarRobert Brewer
New tools.referer, and moved test_response_headers into new test_misc_tools.
Robert Brewer avatarRobert Brewer
Fixes to test_states.
Robert Brewer avatarRobert Brewer
Fix for WSGI server if the same comma-separated header appears in both headers and trailer.
Robert Brewer avatarRobert Brewer
Removed double traceback from fallback error handler (as it doesn't apply anymore).
Robert Brewer avatarRobert Brewer
mod_python improvements:
Robert Brewer avatarRobert Brewer
Fix for #548 (Rename the before_main hook to before_handler and MainTool to HandlerTool).
Robert Brewer avatarRobert Brewer
More SessionAuth cleanups. Replaced 'login' with 'username' whenever appropriate ('login' should be used as the verb only ('log in'), not as a synonym for 'username'). Also made symmetric do_* and on_* methods. The new on_check method replaces the load_user_by_username method--this facilitates a user-supplied fix for #224 (store the user details in the session) by passing the same loaduserbyusername callback to tools.session_auth.on_login instead of tools.session_auth.on_check.
Robert Brewer avatarRobert Brewer
session_auth really should NOT use thread_data.
Robert Brewer avatarRobert Brewer
cptools.session_auth was growing an unwieldy number of parameters, so I moved it from a functional approach to an object. Also moved _cptools.setargs to Tool._setargs.
Robert Brewer avatarRobert Brewer
Fix for #556 (Allow error hooks to raise InternalRedirect). As a bonus, all uncaught errors in Request.run now get a fallback handler (before only errors in handle_error got that).
Robert Brewer avatarRobert Brewer
Fixed line endings in test_wsgi_ns.py.
Robert Brewer avatarRobert Brewer
Fix for #535 (Apache re-processes Range headers). _cpmodpy now uses a new "ignore_headers(['Range'])" Tool by default.
Robert Brewer avatarRobert Brewer
Fix to 2.1, 2.2, 3.0 for bugs in Range slicing and final boundary. Also made the output match Apache output (CRLFs).
Robert Brewer avatarRobert Brewer
Typos in test/modpy.py imports.
Robert Brewer avatarRobert Brewer
Fix for #560 (misleading log on socket_host="") for CP 2.2 and CP 3.
Robert Brewer avatarRobert Brewer
Fix for #527 (fragments in Request-URI). The builtin WSGI server now returns "400 Bad Request".
Robert Brewer avatarRobert Brewer
Fix for # 255 (use output from tidy). Untested, but then it never was before. :/
Robert Brewer avatarRobert Brewer
Fix for #506 (unrepr should support negative numbers).
Robert Brewer avatarRobert Brewer
Changed every instance of 'conf' in the API to 'config'.
Robert Brewer avatarRobert Brewer
Fix for #559 (allow config of WSGI middleware) via cherrypy.wsgi.pipeline. Includes tests.
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).
Default avatar Joseph Tate
Derive all exceptions from a CP defined class so that they can be handled as a group by CP applications
Robert Brewer avatarRobert Brewer
Global log.screen now True.
Robert Brewer avatarRobert Brewer
No need to encode a string twice. :/
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
raise ValueError on cherrypy.server.start() if no httpservers defined.
Robert Brewer avatarRobert Brewer
Fix for #433 (mapPathToObject should remove a trailing /, not just add it). CP 3 only. Configurable now via request.redirect_on_extra_slash and request.redirect_on_missing_slash. Also broke the slash logic out of find_handler, so it's more reusable.
Robert Brewer avatarRobert Brewer
Changed "simple_cookie" to just "cookie".
  1. Prev
  2. 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.