Commits

Author Commit Message Labels Comments Date
Robert Brewer
Fixed bug in request_config_section.
Branches
cherrypy
Robert Brewer
New static.serve_download function (sugar for serve_file with application/x-download attachment).
Branches
cherrypy
Robert Brewer
Objects on the CP tree may now possess a _cp_config attribute, which replaces _cp_tools, _cp_on_error, and _cp_filters. The Request object now keeps its own 'config' attribute (recalculated whenever object_path changes) which mixes _cp_config settings with settings in cherrypy.config. Every tool now has a merged_args method, which is used to pass arguments to the wrapped callable.
Branches
cherrypy
Robert Brewer
Lots of changes to error and log handling:
Branches
cherrypy
Robert Brewer
Mixins would be hard to, uh, mix. So we'll use _cp_tools for class-level tool declaration instead. My hope is that the two remaining special attributes (logging and on_error) can become tools, as well, and we can have a nice uniform API.
Branches
cherrypy
Robert Brewer
Moved dispatch, find_handler into _cputil.
Branches
cherrypy
Robert Brewer
All tests now pass with the new tool API (but xmlrpc hangs?).
Branches
cherrypy
Robert Brewer
Only one failing test now (sessions)!
Branches
cherrypy
Robert Brewer
Fixed test_custom_filters.py for the Tool API.
Branches
cherrypy
Robert Brewer
Tools: new Mixin attribute, and hooks.run now takes *args, **kwargs.
Branches
cherrypy
Robert Brewer
More tool improvements:
Branches
cherrypy
Robert Brewer
Moved the responsibility for setting response.body into the dispatch callable.
Branches
cherrypy
Robert Brewer
Renamed session.load to session.init, and fixed a bug in wrap.
Branches
cherrypy
Robert Brewer
Removed old_name option from get_special_attribute.
Branches
cherrypy
Robert Brewer
New 'root' arg to get_object_trail to allow dispatch from arbitrary points in the tree.
Branches
cherrypy
Robert Brewer
Removed a bunch of instances of the word "filter".
Branches
cherrypy
Robert Brewer
test_core works again.
Branches
cherrypy
Robert Brewer
Fixed session auth for new tool API.
Branches
cherrypy
Robert Brewer
Fixed session module for the new tool API.
Branches
cherrypy
Robert Brewer
Fixed response_headers test again.
Branches
cherrypy
Robert Brewer
Meh. No need to make a new Dispatcher every time. Functions are probably better.
Branches
cherrypy
Robert Brewer
Dispatchers shouldn't change request.object_path before calling the page handler. Moved that info into a new request.found_object_path variable.
Branches
cherrypy
Robert Brewer
More tool improvements:
Branches
cherrypy
Robert Brewer
Oops. _cphooks was transitory.
Branches
cherrypy
Robert Brewer
Fixed Tool.wrap methods (decorator-creators).
Branches
cherrypy
Robert Brewer
Fluff.
Branches
cherrypy
Robert Brewer
Fixed static tool and test.
Branches
cherrypy
Robert Brewer
Fixed xmlrpc tool and test. Plus:
Branches
cherrypy
Robert Brewer
Fixed the caching tool and test.
Branches
cherrypy
Robert Brewer
Fixed decode, encode, gzip tools and tests.
Branches
cherrypy
  1. Prev
  2. Next