summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Preparing for 2.2.0beta releasecherrypy-2.2.0betaRemi Delon2006-01-271-0/+6
|
* Added "cherrypy.lowercase_api" switch so that users can say "I'm using the ↵Remi Delon2006-01-273-20/+45
| | | | new lowercase API" and get a (small) speed boost from it.
* Fixes for header.elements now returning [] instead of None.Robert Brewer2006-01-263-4/+4
|
* Fix #449Sylvain Hellegouarch2006-01-261-1/+1
|
* Better document session.acquire_lock()Remi Delon2006-01-262-8/+21
|
* Deprecated "initOnly" and "serverClass". New names are "init_only" and ↵Remi Delon2006-01-266-34/+48
| | | | "server_class"
* Deprecating simpleCookie (use "simple_cookie" instead)Remi Delon2006-01-264-15/+17
|
* Wrote script to test the session filter in a realistic situation. The script ↵Remi Delon2006-01-261-0/+118
| | | | 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.
* Improvements to sessionfilter: using lazy loading of session data (so data ↵Remi Delon2006-01-261-67/+83
| | | | is never loaded/saved if user doesn't access it). Make acquire_lock work as expected.
* Reverting changeset [926]: Removing "is_app_root" proof of concept since we ↵Remi Delon2006-01-252-13/+0
| | | | decided to go with the tree.mount() route for now.
* Fixed silly mistake from previous changeset in sessionfilter. pep8-ified codeRemi Delon2006-01-251-48/+49
|
* Catch case where clean_up is called by 2 concurrent threadsRemi Delon2006-01-251-2/+7
|
* Fix for #446 (tree.mount should optionally set its own baseurl from config).Robert Brewer2006-01-251-5/+12
|
* Hopefully fixed #420Remi Delon2006-01-241-8/+6
|
* Fix for #422, #412 and #289Remi Delon2006-01-241-5/+22
|
* Fix for serveFile if the extension is uppercase (like "picture.JPG").Robert Brewer2006-01-231-1/+1
|
* Don't lock session file when trying to clean up old session. This is not ↵Remi Delon2006-01-221-6/+3
| | | | needed since we're only reading the file and not writing to it.
* Fix for #423Remi Delon2006-01-221-1/+3
|
* Fixed #440Remi Delon2006-01-221-1/+1
|
* created modified_since function so that applications can check manually if a ↵Sylvain Hellegouarch2006-01-201-10/+30
| | | | file has been modified since a given date
* Changing "2.2.0-beta" into "2.2.0beta"Remi Delon2006-01-133-3/+3
|
* added a content_types option to the static_filter. you can now do:Sylvain Hellegouarch2006-01-131-2/+7
| | | | | | | | | | [/path] static_filter.on = True static_filter.content_types = {'atom': 'application/atom+xml', 'rss': 'application/rss+xml'} static_filter.dir = '/path/to/' http://host/feed.atom will return application/atom+xml http://host/feed.rss will return application/rss+xml
* Proof of concept idea to handle multiple apps: adding a cherrypy.url() ↵Remi Delon2006-01-122-0/+12
| | | | function and a is_app_root class attribute for apps
* Had broken a few things in changeset [924]. Fixing them. Tests now run fine ↵Remi Delon2006-01-121-4/+6
| | | | again.
* Better formatting of tracebacks: the page handler is now included at the ↵Remi Delon2006-01-121-1/+6
| | | | 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
* New mount_point and url methods on cherrypy.tree.Robert Brewer2006-01-102-9/+53
|
* A more inclusive, os-level check for staticfilter uplevel attacks.Robert Brewer2006-01-101-5/+15
|
* Test for staticfilter uplevel security, plus a more-informative error if ↵Robert Brewer2006-01-102-3/+10
| | | | staticfilter can't obtain an absolute path.
* Patch for serious security flaw in staticfilterRemi Delon2006-01-102-3/+7
|
* Changed camelCase "streamResponse" to lowercase "stream_response".Robert Brewer2006-01-086-7/+7
|
* Fix for #436.Robert Brewer2006-01-081-1/+1
|
* Fix for #434 (importing from cherrypy.lib.filter broken in trunk).Robert Brewer2006-01-071-1/+14
|
* Speed optimization in sessionauthenticatefilterRemi Delon2006-01-051-1/+1
|
* Removed redundant test for favicon.Robert Brewer2006-01-052-5/+2
|
* Oops. Forgot to assign cherrypy.root if missing.Robert Brewer2006-01-041-1/+1
|
* Fix for #362 (Filters do not guarantee all methods are run (when errors occur)).Robert Brewer2006-01-043-14/+56
|
* Fix for #145. See the ticket for details about this fix.Robert Brewer2006-01-0313-100/+215
|
* Fix for #430 (serveFile should require abs paths).Robert Brewer2006-01-022-12/+9
|
* Fix for #425. See the ticket comments for lots of details.Robert Brewer2006-01-012-62/+56
|
* seen_threads really should belong to the Server class.Robert Brewer2005-12-311-7/+6
|
* Made custom Request subclasses easier to implement:Robert Brewer2005-12-312-12/+15
| | | | | 1. Moved some required code from Request._run to Request.run, so overriding _run doesn't have to repeat it. 2. The _cpserver.Server class now has a request_class attribute, which is used to instantiate the class returned by server.request. It defaults to _cphttptools.Request.
* Changed filters._input_order to filters.input_filters. Same for "output". ↵Robert Brewer2005-12-312-14/+23
| | | | You can now also insert classes into those lists (not just the class name in a string).
* Added a clear() method to the MemoryCache class of the cache_filter. You can ↵Sylvain Hellegouarch2005-12-302-2/+18
| | | | | | now clear the cache by doing cherrypy._clear_cache = True That fixes ticket 425
* The HTTTPErrorTemplate was using XHTML but the response content-type was set ↵Sylvain Hellegouarch2005-12-301-5/+3
| | | | to text/html which is wrong. Since many user agents can't understand XHTML when using the correct content type, I've changed the template to use regular HTML
* Fix for #402 (staticfilter errors if .on but no .file nor .dir).Robert Brewer2005-12-302-0/+15
|
* Fix for #361 (Misleading error message).Robert Brewer2005-12-302-1/+8
|
* Use cPickle in sessionfilter if available.Robert Brewer2005-12-301-1/+4
|
* Fix for #413 (Improve configuration error behavior).Robert Brewer2005-12-303-1/+22
|
* Fix for #404, #417 (index files and staticfilter). New "static_filter.index" ↵Robert Brewer2005-12-293-16/+48
| | | | config entry.
* Test for [878] (serve dynamic content alongside static).Robert Brewer2005-12-292-3/+17
|