| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-07-28 | - A ``repoze.bfg.events.subscriber`` decorator was added. This | Chris McDonough | |
| decorator decorates module-scope functions, which are then treated as event listeners after a scan() is performed. See the Events narrative documentation chapter and the ``repoze.bfg.events`` module documentation for more information. | |||
| 2009-11-02 | - Add a new event type: ``repoze.bfg.events.AfterTraversal``. Events | Chris McDonough | |
| of this type will be sent after traversal is completed, but before any view code is invoked. Like ``repoze.bfg.events.NewRequest``, This event will have a single attribute: ``request`` representing the current request. Unlike the request attribute of ``repoze.bfg.events.NewRequest`` however, during an AfterTraversal event, the request object will possess attributes set by the traverser, most notably ``context``, which will be the context used when a view is found and invoked. The interface ``repoze.bfg.events.IAfterTraversal`` can be used to subscribe to the event. For example:: <subscriber for="repoze.bfg.interfaces.IAfterTraversal" handler="my.app.handle_after_traverse"/> Like any framework event, a subscriber function should expect one parameter: ``event``. | |||
| 2008-10-02 | Fix failing class_implements test, add object implements test. | Chris McDonough | |
| 2008-10-02 | Make sure the IWSGIApplicationCreatedEvent interface actually implements the ↵ | Malthe Borch | |
| contract (and test this). | |||
| 2008-07-31 | - Add event sends for INewRequest and INewResponse. See the | Chris McDonough | |
| events.rst chapter in the documentation's ``api`` directory. | |||
