| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2009-06-22 | Useless marker. | Chris McDonough | |
| 2009-06-22 | - Add a ``view_for`` attribute to the ``route`` ZCML directive. This | Chris McDonough | |
| attribute should refer to an interface or a class (ala the ``for`` attribute of the ``view`` ZCML directive). | |||
| 2009-06-22 | Back to dev. | Chris McDonough | |
| 2009-06-22 | Update test output. | Chris McDonough | |
| 2009-06-22 | Prep for 1.0a1. | Chris McDonough | |
| 2009-06-22 | Typo. | Chris McDonough | |
| 2009-06-22 | We weren't computing the virtual root correctly in a corner case. | Chris McDonough | |
| 2009-06-22 | More micro-optimizations to the default traverser. | Chris McDonough | |
| Fix registerModels to use the right traversal info names. | |||
| 2009-06-22 | - The values of ``subpath``, ``traversed``, and ``virtual_root_path`` | Chris McDonough | |
| attached to the request object are always now tuples instead of lists (performance). | |||
| 2009-06-22 | Unused import. | Chris McDonough | |
| 2009-06-22 | Gardening. | Chris McDonough | |
| 2009-06-22 | Gardening. | Chris McDonough | |
| 2009-06-22 | Back to *subpath in urldispatch tutorial. | Chris McDonough | |
| 2009-06-22 | Add documentation for *subpath. | Chris McDonough | |
| Switch back to using a route with a subpath in the bfgalchemy paster template. | |||
| 2009-06-22 | - Adding ``*path_info`` to a route no longer changes the PATH_INFO for | Chris McDonough | |
| a request that matches using URL dispatch. This feature was only there to service the ``repoze.bfg.wsgi.wsgiapp2`` decorator and it did it wrong; use ``*subpath`` instead now. - The interface generation performed for named request factories had the wrong base classes. | |||
| 2009-06-21 | Make urldispatch put matchdict into environ. | Chris McDonough | |
| Traverser no longer returns matchdict. | |||
| 2009-06-21 | - Make Routes mapper responsible for doing magic to fix up PATH_INFO | Chris McDonough | |
| and SCRIPT_NAME when a ``path_info`` key exists in the matchdict. This used to be done in the traverser, which made no sense. | |||
| 2009-06-21 | Make views that do not have a route_name match when any route is used. | Chris McDonough | |
| 2009-06-19 | Fix strange test breakage. | Tres Seaver | |
| 2009-06-19 | Move pushpage support out into separate distribution. | Tres Seaver | |
| 2009-06-19 | - Add interface docs related to how to create authentication policies | Chris McDonough | |
| and authorization policies to the "Security" narrative chapter. | |||
| 2009-06-19 | - Move BBB logic for registering an | Chris McDonough | |
| IAuthenticationPolicy/IForbiddenView/INotFoundView based on older concepts from the router module's ``make_app`` function into the ``repoze.bfg.zcml.zcml_configure`` callable, to service compatibility with scripts that use "zope.configuration.xmlconfig" (replace with ``repoze.bfg.zml.zcml_configure`` as necessary to get BBB logic) | |||
| 2009-06-19 | - Added a (fairly sad) "Combining Traversal and URL Dispatch" chapter | Chris McDonough | |
| to the narrative documentation. | |||
| 2009-06-19 | Ignores. | Chris McDonough | |
| 2009-06-19 | - A new ZCML directive was added named ``notfound``. This ZCML | Chris McDonough | |
| directive can be used to name a view that should be invoked when the request can't otherwise be resolved to a view callable. For example:: <notfound view="helloworld.views.notfound_view"/> - A new ZCML directive was added named ``forbidden``. This ZCML directive can be used to name a view that should be invoked when a view callable for a request is found, but cannot be invoked due to an authorization failure. For example:: <forbidden view="helloworld.views.forbidden_view"/> | |||
| 2009-06-19 | Add a router chapter. | Chris McDonough | |
| 2009-06-19 | Edit. | Chris McDonough | |
| 2009-06-18 | IForbiddenView utility registration -> forbidden directive | Chris McDonough | |
| INotFoundView utility registry -> notfound directive | |||
| 2009-06-18 | IForbiddenView utility directive -> forbidden zcml directive | Chris McDonough | |
| 2009-06-18 | Change configure.zcml of authorization to use forbidden. | Chris McDonough | |
| Ignores. | |||
| 2009-06-18 | Move view derivation code into a function. | Chris McDonough | |
| 2009-06-18 | Rejigger tutorial in the face of request-only default views. | Chris McDonough | |
| 2009-06-18 | Use request-only view calling convention in routesalchemy template. | Chris McDonough | |
| 2009-06-18 | Coverage. | Chris McDonough | |
| 2009-06-18 | Add path module tests. | Chris McDonough | |
| 2009-06-18 | Document request-only calling convention. | Chris McDonough | |
| 2009-06-18 | - Allow views to be *optionally* defined as callables that accept only | Chris McDonough | |
| a request object, instead of both a context and a request (which still works, and always will). The following types work as views in this style: - functions that accept a single argument ``request``, e.g.:: def aview(request): pass - new and old-style classes that have an ``__init__`` method that accepts ``self, request``, e.g.:: def View(object): __init__(self, request): pass - Arbitrary callables that have a ``__call__`` method that accepts ``self, request``, e.g.:: def AView(object): def __call__(self, request): pass view = AView() This likely should have been the calling convention all along, as the request has ``context`` as an attribute already, and with views called as a result of URL dispatch, having the context in the arguments is not very useful. C'est la vie. | |||
| 2009-06-18 | (no commit message) | Chris McDonough | |
| 2009-06-18 | - Cache the absolute path in the caller's package globals within | Chris McDonough | |
| ``repoze.bfg.path`` to get rid of repeated (expensive) calls to os.path.abspath. | |||
| 2009-06-18 | - Add ``reissue_time`` and ``timeout`` parameters to | Chris McDonough | |
| ``repoze.bfg.authentication.AuthTktAuthenticationPolicy`` constructor. If these are passed, cookies will be reset every so often (cadged from the same change to repoze.who lately). | |||
| 2009-06-18 | repoze.bfg.request.get_request -> repoze.bfg.threadlocal.get_current_request | Chris McDonough | |
| repoze.bfg.registry.get_registry -> repoze.bfg.threadlocal.get_current_registry Remove getSiteManager from registry module. | |||
| 2009-06-18 | - The matchdict related to the matching of a Routes route is available | Chris McDonough | |
| on the request as the ``matchdict`` attribute: ``request.matchdict``. If no route matched, this attribute will be None. | |||
| 2009-06-18 | General formatting. | Chris McDonough | |
| 2009-06-15 | - Make 404 responses slightly cheaper by showing | Chris McDonough | |
| ``environ["PATH_INFO"]`` on the notfound result page rather than the fullly computed URL. | |||
| 2009-06-15 | - Move LRU cache implementation into a separate package | Chris McDonough | |
| (``repoze.lru``). | |||
| 2009-06-15 | Comment. | Chris McDonough | |
| 2009-06-11 | Avoid the use of *subpath. | Chris McDonough | |
| 2009-06-11 | Make bw compat. | Chris McDonough | |
| 2009-06-11 | # provide backwards compatibility for applications which | Chris McDonough | |
| # used routes (at least apps without any custom "context # factory") in BFG 0.9.X and before | |||
| 2009-06-11 | Document route_name (badly). | Chris McDonough | |
