Commits

Show all
Author Commit Message Labels Comments Date
Florent Xicluna
Fix routing system for complex rules with defaults.
Florent Xicluna
Fix typo. #461
Thomas Waldmann
FileSystemCache: use atomic rename to update cache, fixes concurrency issues If one read the cache while another process was updating it, reading likely failed (and get() returned None due to exception being catched). This can be avoided if writing happens to a temporary file which gets atomically renamed to the real file afterwards, so the real cache file always has valid/complete contents. Aside from that, this maybe also avoids file sharing problems (esp. on win32). _…
Thomas Waldmann
fix FileSystemCache.clear() confusing cache key vs. cache filename using a new internal method _list_dir() now to get a list of cache filenames (absolute filenames). this method will also be used later to filter out the temp files we will need when updating the cache using a tempfile and a atomic rename. added a test for FileSystemCache.clear()
Thomas Waldmann
cache: improve docstrings, use open() instead of file()
Armin Ronacher
Documented last changeset.
Thomas Waldmann
fix FileSystemCache._prune issues, see below fixed confusion of cache keys with fs cache filenames added 'rb' file opening mode made sure the file gets closed in all cases (this is especially important for some platforms if we want to remove that file) added a test for the _prune code
Armin Ronacher
Meh
Armin Ronacher
That should be a ref of course
Armin Ronacher
Fixed a typo in the docs
Armin Ronacher
url_unquote_plus now accepts unicode strings again.
Armin Ronacher
Micro optimizations and refactoring
Armin Ronacher
Moved ident func call out of the look for custom ident functions
Armin Ronacher
Removed useless lock for locals
Armin Ronacher
The local manager can now accept custom ident functions in the constructor that are forwarded to the wrapped local objects.
Armin Ronacher
The routing system now accepts a parameter to change the encoding error behaviour.
Armin Ronacher
Automated merge with ssh://team@pocoo.org/werkzeug-main
Armin Ronacher
Added a way to query for allowed methods
Georg Brandl
Nix unnecessary import.
mitsuhiko
removed germanism
mitsuhiko
Committed a fix for #471. pydoc should work now
mitsuhiko
There will be a 0.7
mitsuhiko
Automated merge with ssh://team@pocoo.org/werkzeug-main
mitsuhiko
Werkzeug no longer overrides the Date header when creating a conditional HTTP response.
mitsuhiko
disabled ipv6
Christopher Grebs
added 'allow_subdomain_redirects' option to werkzeug.test.Client. This allows the test client to redirect to subdomains on the same domain (usefull for multi-subdomain applications), but still not to external targets. This is an optional feature so we assume the user knows that all his subdomains (at least those get tested) are handled by his application.
mitsuhiko
Added some missing asserts and removed useless test.
mitsuhiko
Added missing AUTHORS entry.
Florent Xicluna
Fix import_string function and test, after fd6937a2f119
Florent Xicluna
Remove fake circular dependencies.
  1. Prev
  2. Next