Source

CherryPy / cherrypy / __init__.py

Author Commit Message Labels Comments Date
Remi Delon
Preparing for 2.1-rc2 release
Robert Brewer
Final cleanups for [698] and #321. cherrypy.server is now an instance of cherrpy._cpserver.Server, instead of a module.
Robert Brewer
Ugly fix for #321. cherrypy.server could really use some encapsulation now. 1. server.start now MUST be called from the main thread, or restart and interrupts won't work. You can stop and restart CherryPy safely now with the server.stop and server.restart methods. However, stop() only suspends the process; if you want to shut down the CP process, raise SystemExit or KeyboardInterrupt. If you need to do so in your own threads, set cherrypy._interrupt to an instance of one …
Robert Brewer
Fix for #309 (confusion between threads and requests).
Remi Delon
Preparing for 2.1.0-rc1 release
Robert Brewer
Fix for ticket #249 (ExposeAs recipe). The underscore hack is retained (and not reversed). %xx chars (ticket #104) were fixed in [561], so neither #104 nor #248 (firefox hack) apply anymore to #249.
Remi Delon
More session improvements: support cleaning up old sessions, support notifying users when a session is created/deleted, new PostgreSQL backend
Remi Delon
Checking in first draft of new session implementation (see ticket #275). Only RAM and File storage so far, and it doesn't clean up old sessions
Robert Brewer
Newline fixes.
Robert Brewer
1. First stage of new access.log (ticket #257). Access log must be enabled in config. Old log not affected (yet). 2. New tests for both logs. 3. New "debug" messages in _cphttptools. 4. Bugfix: staticfilter path when "global". 5. Bugfix: test suite was not honoring --1.1 flag.
Remi Delon
Changing version numbers and ChangeLog for 2.1.0-beta release
Michael Robinson
sessionFilter: fixed expired() bug. Finished implementing the session filter configuration changes. cherrypy.session is an alias for cherrypy.session.default, so you can use cherrypy.session[key], or cherrypy.session.default[key], but the session attributes (sessionKey, timeout, ...) can only be accessed through cherrypy.session.default
Robert Brewer
Added optional code-coverage run to CP, including test suite. Install Rees or Batchelder's coverage.py to use it.
Robert Brewer
Added a cherrypy._appserver_state flag. Helps report errors when server.start() has not been called or did not complete normally.
Michael Robinson
sessionFilter cleanups
Robert Brewer
cherrypy.request, response, sessions, and threadData are now instantiated on "import cherrypy" (was: inside server.start()).
Robert Brewer
Implements ticket #195. 1. cpg module removed, all content moved into cherrypy.__init__. 2. Removed some circular imports in sessionfilter by moving sessionfilter.sessionfilter and _sessionTypes into sessionfilter.__init__. 3. renamed _cpconfig to "config". 4. renamed _cpserver to "server". 5. renamed cperror to _cperror; cherrypy.__init__ now imports * from _cperror.
Robert Brewer
New version string, and fix for ticket #99.
Tags
cherrypy-2.1.0-alpha
Remi Delon
Remco Boerma
converted \r\n to \n in all the .conf, .txt and .py files. '''use tools/linefeed.py before committing something''' No other change has been made.
Remi Delon
small fixes for new cpg.response.body iterable type; getting ready for 2.0.0b release
Remi Delon