Source

CherryPy / cherrypy / test / test_session.py

Author Commit Message Labels Comments Date
Default avatar shel...@shellegouarch-pc.rennes.envivio.com
HTTP error messages have changed accross Python versions.
Branches
cherrypy-3.1.x
Sylvain Hellegouarch avatarSylvain Hellegouarch
fixed test error message which wasn't what was expected
Branches
cherrypy-3.1.x
Robert Brewer avatarRobert Brewer
Merge from trunk for today's fixes [2072] to [2080].
Tags
cherrypy-3.1.1
Branches
cherrypy-3.1.x
Robert Brewer avatarRobert Brewer
Various session fixes, including #717 (sessions should have a __len__ function).
Robert Brewer avatarRobert Brewer
Half of the fix for #717 (sessions should have a __len__ function). Not implemented yet for PG, Memcached.
Robert Brewer avatarRobert Brewer
Fix for #709 (Cherrypy accepts user-supplied session identifiers). Also fixed some problems with regenerated id's.
Robert Brewer avatarRobert Brewer
Removing decorator in test_session for Python 2.3 compatibility
Robert Brewer avatarRobert Brewer
Fix for #710 (Allow forcing a new session id).
Robert Brewer avatarRobert Brewer
Oops.
Robert Brewer avatarRobert Brewer
Doc updates, better memcached detection in test_session, and changed cherrypy.url to be more easily mockable.
Robert Brewer avatarRobert Brewer
New MemcachedSession class. The Session class API had to change a bit: 'setup' must now be a classmethod.
Robert Brewer avatarRobert Brewer
Better trunk fix for #680 (session init bugs).
Robert Brewer avatarRobert Brewer
Fix for #640 (cherrypy.session does not implement {{{__contains__}}}).
Robert Brewer avatarRobert Brewer
Added {{{__delitem__}}} to ThreadLocalProxy to support {{{del cherrypy.session[key]}}}.
Robert Brewer avatarRobert Brewer
Fixed hang on InternalRedirect with sessions tool.
Robert Brewer avatarRobert Brewer
Fix for #525 (Support Deleting Sessions).
Robert Brewer avatarRobert Brewer
Overhaul of config system:
Robert Brewer avatarRobert Brewer
Made all imports absolute "just in case" for Python 2.5.
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.
Robert Brewer avatarRobert Brewer
Removed "filter" from lots of places, including renaming of tests.
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.