Commits

Author Commit Message Labels Comments Date
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.
Robert Brewer
Fixes for header.elements now returning [] instead of None.
Sylvain Hellegouarch
Fix #449
Remi Delon
Better document session.acquire_lock()
Remi Delon
Deprecated "initOnly" and "serverClass". New names are "init_only" and "server_class"
Remi Delon
Deprecating simpleCookie (use "simple_cookie" instead)
Remi Delon
Wrote script to test the session filter in a realistic situation. The script simulates lots of concurrent requests *from the same browser*. Right now this script is standalone and is not integrated in the test suite. This script already allowed me to catch bugs in the sessionfilter.
Remi Delon
Improvements to sessionfilter: using lazy loading of session data (so data is never loaded/saved if user doesn't access it). Make acquire_lock work as expected.
Remi Delon
Reverting changeset [926]: Removing "is_app_root" proof of concept since we decided to go with the tree.mount() route for now.
Remi Delon
Fixed silly mistake from previous changeset in sessionfilter. pep8-ified code
Remi Delon
Catch case where clean_up is called by 2 concurrent threads
Robert Brewer
Fix for #446 (tree.mount should optionally set its own baseurl from config).
Remi Delon
Hopefully fixed #420
Remi Delon
Fix for #422, #412 and #289
Robert Brewer
Fix for serveFile if the extension is uppercase (like "picture.JPG").
Remi Delon
Don't lock session file when trying to clean up old session. This is not needed since we're only reading the file and not writing to it.
Remi Delon
Fix for #423
Remi Delon
Fixed #440
Sylvain Hellegouarch
created modified_since function so that applications can check manually if a file has been modified since a given date
Remi Delon
Changing "2.2.0-beta" into "2.2.0beta"
Sylvain Hellegouarch
added a content_types option to the static_filter. you can now do:
Remi Delon
Proof of concept idea to handle multiple apps: adding a cherrypy.url() function and a is_app_root class attribute for apps
Remi Delon
Had broken a few things in changeset [924]. Fixing them. Tests now run fine again.
Remi Delon
Better formatting of tracebacks: the page handler is now included at the top. That way the error it still a string and not a tuple so an error message can be on multiple lines and it gets displayed fine in the browser
Robert Brewer
New mount_point and url methods on cherrypy.tree.
Robert Brewer
A more inclusive, os-level check for staticfilter uplevel attacks.
Robert Brewer
Test for staticfilter uplevel security, plus a more-informative error if staticfilter can't obtain an absolute path.
Remi Delon
Patch for serious security flaw in staticfilter
Robert Brewer
Changed camelCase "streamResponse" to lowercase "stream_response".
Robert Brewer
Fix for #436.
  1. Prev
  2. Next