summaryrefslogtreecommitdiff
path: root/repoze/bfg/router.py
AgeCommit message (Collapse)Author
2008-08-18 - Generated application differences: ``make_app`` entry pointChris McDonough
renamed to ``app`` in order to have a different name than the bfg function of the same name, to prevent confusion. - Add "options" processing to bfg's ``make_app`` to support runtime options. A new API function named ``get_options`` was added to the registry module. This function is typically used in an application's ``app`` entry point. The Paste config file section for the app can now supply the ``reload_templates`` option, which, if true, will prevent the need to restart the appserver in order for ``z3c.pt`` or XSLT template changes to be detected. - Use only the module name in generated project's "test_suite" (run all tests found in the package). - Default port for generated apps changed from 5432 to 6543 (Postgres default port is 6543).
2008-08-12Fix ITraverserFactory lookup; release 0.2.9.Chris McDonough
2008-07-31 - Add event sends for INewRequest and INewResponse. See theChris McDonough
events.rst chapter in the documentation's ``api`` directory.
2008-07-22Provide the entire environment to the traverser (in anticipation of having ↵Chris McDonough
e.g. Routes traverser).
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-16Doc tweaks.Chris McDonough
2008-07-16Zero in on making docs render properly.Chris McDonough
2008-07-16Security docs.Chris McDonough
2008-07-16Add security.Chris McDonough
2008-07-13Don't stash away the context.Chris McDonough
2008-07-13Use an application-local 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-12Remove unused import.Chris McDonough
Use lemonade index.
2008-07-12(no commit message)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-09Uh.Chris McDonough
2008-07-09Provide a policy for doing redirects.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-07Depend on z3c.pt.Chris McDonough
Use ZCML to configure applications.
2008-07-07Add a sample app.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-04Don't depend on ZODB; shuffle policy responsibilities around a little.Chris McDonough
2008-07-04Start on bfg.Chris McDonough