summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests
AgeCommit message (Collapse)Author
2008-08-06 - Small url dispatch overhaul: the ``connect`` method of theChris McDonough
``urldispatch.RoutesMapper`` object now accepts a keyword parameter named ``context_factory``. If this parameter is supplied, it must be a callable which returns an instance. This instance is used as the context for the request when a route is matched. - The registration of a RoutesModelTraverser no longer needs to be performed by the application; it's in the bfg ZCML now.
2008-08-04 - Add a ``request_type`` attribute to the available attributes of aChris McDonough
``bfg:view`` configure.zcml element. This attribute will have a value which is a dotted Python path, pointing at an interface. If the request object implements this interface when the view lookup is performed, the appropriate view will be called. - Remove "template only" views. These were just confusing and were never documented.
2008-07-31 - Add event sends for INewRequest and INewResponse. See theChris McDonough
events.rst chapter in the documentation's ``api`` directory.
2008-07-290.2.5: add model_url.Chris McDonough
2008-07-22Add url-based dispatch.Chris McDonough
2008-07-22Provide the entire environment to the traverser (in anticipation of having ↵Chris McDonough
e.g. Routes traverser).
2008-07-22NaiveTraverser -> ModelGraphTraverser.Chris McDonough
2008-07-20 - Add API functions for authenticated_userid and effective_principals.Chris McDonough
2008-07-20 - Add authenticated_userid and effective_principals API to securityChris McDonough
policy.
2008-07-20 - Add find_interface API.Chris McDonough
2008-07-19Add wsgiapp decorator.Chris McDonough
2008-07-19Yup.Chris McDonough
2008-07-19Bug.Chris McDonough
2008-07-19 - The concept of "view factories" was removed in favor of alwaysChris McDonough
calling a view, which is a callable that returns a response directly (as opposed to returning a view). As a result, the ``factory`` attribute in the bfg:view ZCML statement has been renamed to ``view``. Various interface names were changed also. - ``render_template`` and ``render_transform`` no longer return a Response object. Instead, these return strings. The old behavior can be obtained by using ``render_template_to_response`` and ``render_transform_to_response``.
2008-07-18Using Chris's help, changed signature of interface to support what the XSLT ↵Paul Everitt
processors expects. Fixed tests to assert that interface.
2008-07-17Be consistent about naming given docs.Chris McDonough
2008-07-16(no commit message)Paul Everitt
2008-07-16Added 'repoze.bfg.push:pushpage' decoratorTres Seaver
o Creates BFG views from callables which take (context, request) and return a mapping of top-level names.
2008-07-16Add convenience has_permission function.Chris McDonough
2008-07-16Add security.Chris McDonough
2008-07-15If the root object provides ILocation, wrap items in location proxiesChris McDonough
as necessary as we traverse.
2008-07-14Warn if views return non-Response objects.Chris McDonough
2008-07-14Test for case when view is response.Chris McDonough
2008-07-14Render templates explicitly in views.Chris McDonough
2008-07-14Test pickleability of registry actions.Chris McDonough
2008-07-14And, just to maximally confuse Paul, come full circle, and don't require ↵Chris McDonough
that the template be spelled on the class, while still allowing us to pickle the registry actions.
2008-07-14Less magical templated view model: make custom template views responsible for Chris McDonough
knowing their template's name.
2008-07-13Don't stash away the context.Chris McDonough
2008-07-13Use an application-local component registry.Chris McDonough
2008-07-12Clear the component registry.Chris McDonough
2008-07-12Speculative: cause routers to accept an app_context (the zcml configuration ↵Chris McDonough
context), so we can later enable an app-local component registry.
2008-07-12metaconfigure.py -> zcml.pyChris McDonough
2008-07-12Add explicit viewname logic.Chris McDonough
2008-07-12THe redirect-on-slash story isn't part of the publisher.Chris McDonough
2008-07-11Add security policy checks.Chris McDonough
2008-07-08Reuse the same PageTemplateFile for all requests to the same view.Chris McDonough
2008-07-08Redirect on default view if name doesn't end with slash.Chris McDonough
Rejigger sample app, adding more templates.
2008-07-08Call it TemplateView.Chris McDonough
2008-07-08Add a browser:page directive type and make our sample app use it.Chris McDonough
2008-07-07Look up a view after traversal; adapt it to IWSGIApplication.Chris McDonough
2008-07-05Add a plug point for a security policy.Chris McDonough
2008-07-05Use WebOb.Chris McDonough
Return a NotFound when we can't adapt.
2008-07-05IWSGIApplication -> IWSGIApplicationFactoryChris McDonough
The router is not middleware.
2008-07-05policy -> traversal.Chris McDonough
2008-07-04Depend on zope.componentChris McDonough
Use an adapter to perform traversal.
2008-07-04Don't depend on ZODB; shuffle policy responsibilities around a little.Chris McDonough
2008-07-04Complete tests.Chris McDonough
2008-07-04Start on bfg.Chris McDonough