| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 2009-06-11 | Microspeedups. | Chris McDonough | |
| 2009-06-11 | We control the horizontal and vertical of request generation now, so there's | Chris McDonough | |
| no purpose in trying to account for non-Webob requests. | |||
| 2009-06-11 | Merge unifyroutesandtraversal branch into trunk | Chris McDonough | |
| 2009-06-08 | - The ``bfg_alchemy`` Paster template named "repoze.tm" in its | Chris McDonough | |
| pipeline rather than "repoze.tm2", causing the startup to fail. | |||
| 2009-06-07 | Extending explanation a little bit | Carlos de la Guardia | |
| 2009-06-07 | Virtualenv needs the win32api package to work | Carlos de la Guardia | |
| 2009-06-06 | typo | Carlos de la Guardia | |
| 2009-06-04 | I'll never keep this up to date. | Chris McDonough | |
| 2009-06-03 | Revert urldispatch-context-as-dict-subclass committed in r5175. Let's not ↵ | Chris McDonough | |
| make that promise yet. | |||
| 2009-06-03 | Subclass factories from dict in examples. | Chris McDonough | |
| 2009-06-03 | - The default routes context | Chris McDonough | |
| (``repoze.bfg.urldispatch.DefaultRoutesContext``) object now subclasses from ``dict``. This means you can use the mapping protocol in views against it. | |||
| 2009-06-02 | (no commit message) | Chris McDonough | |
| 2009-06-02 | Prep for 0.9.1. | Chris McDonough | |
| 2009-06-02 | - Add API named ``repoze.bfg.settings.get_settings`` which retrieves a | Chris McDonough | |
| derivation of values passed as the ``options`` value of ``repoze.bfg.router.make_app``. This API should be preferred instead of using getUtility(ISettings). I added a new ``repoze.bfg.settings`` API document as well. | |||
| 2009-06-02 | Typo. | Chris McDonough | |
| 2009-06-02 | - The ``repoze.bfg.location.locate`` API was removed: it didn't do | Chris McDonough | |
| enough to be very helpful and had a misleading name. | |||
| 2009-06-02 | The wiki2 tutorial has no disc. | Chris McDonough | |
| 2009-06-02 | Use bat instead of bash. | Chris McDonough | |
| 2009-06-02 | This is no longer an API. | Chris McDonough | |
| 2009-06-02 | Note non-APIness. | Chris McDonough | |
| 2009-06-02 | Remove this from the docs. | Chris McDonough | |
| 2009-06-02 | disambiguate decorator name | Reed OBrien | |
| 2009-06-02 | use the same name for the FrontPage object when describing the views in the ↵ | Carlos de la Guardia | |
| browser | |||
| 2009-06-02 | fixed typo | Carlos de la Guardia | |
| 2009-06-02 | - Add ``repoze.bfg.request.current_request`` function. This function | Chris McDonough | |
| should be used (**very sparingly**) to retrieve the "current" request. See the ``repoze.bfg.request`` API documentation for more information. | |||
| 2009-06-02 | change codeblock language on Windows example to use bat and stop coloring ↵ | Carlos de la Guardia | |
| backslashes as escape sequences | |||
| 2009-06-02 | change codeblock language on Windows example to use bat and stop coloring ↵ | Carlos de la Guardia | |
| backslashes as escape sequences | |||
| 2009-06-02 | corrected some mistakes in the mapping views sections and added more ↵ | Carlos de la Guardia | |
| explanation text | |||
| 2009-06-02 | fixed typo | Carlos de la Guardia | |
| 2009-06-02 | fixed typo | Carlos de la Guardia | |
| 2009-06-01 | was going to fix unclosed parentheses, but ended up refactoring sentence. | Carlos de la Guardia | |
