| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2011-01-08 | - ``pyramid.interfaces.ISession.get_csrf_token`` now mandates that an | Chris McDonough | |
| implementation should return a *new* token if one doesn't already exist in the session (previously it would return None). The internal sessioning implementation has been changed. | |||
| 2011-01-07 | garden | Chris McDonough | |
| 2011-01-07 | - Document ``Configurator.set_view_mapper``. | Chris McDonough | |
| - Document ``__view_mapper__`` attribute and ``mapper`` argument to view configuration for view callable view mapper preference. | |||
| 2011-01-07 | - Allow ``decorator`` and ``mapper`` arguments to view ZCML directive. | Chris McDonough | |
| - Document ``decorator`` and ``mapper`` arguments in various places. | |||
| 2011-01-07 | garden | Chris McDonough | |
| 2011-01-04 | garden | Chris McDonough | |
| 2011-01-03 | done | Chris McDonough | |
| 2011-01-03 | - Add a new API ``pyramid.url.current_route_url``, which computes a URL based | Chris McDonough | |
| on the "current" route (if any) and its matchdict values. | |||
| 2011-01-03 | garden | Chris McDonough | |
| 2011-01-03 | garden | Chris McDonough | |
| 2011-01-02 | typo: | Chris McDonough | |
| 2011-01-02 | garden | Chris McDonough | |
| 2011-01-02 | garden | Chris McDonough | |
| 2011-01-02 | add todo for current_route_url | Chris McDonough | |
| 2011-01-02 | suggestion from raydeo | Chris McDonough | |
| 2011-01-02 | garden | Chris McDonough | |
| 2011-01-02 | - add a ``add_view_mapper`` API to Configurator. This API allows you to add | Chris McDonough | |
| a named implementation of a ``pyramid.interfaces.IViewMapperFactory`` interface. Its name can be passed as a ``view_mapper`` argument to ``config.add_view``. A view mapper allows objects that are meant to be used as view callables to have an arbitrary argument list and an arbitrary result. This feature will be used by Pyramid extension developers, not by "civilians". - New constructor argument to Configurator: ``default_view_mapper``. Useful to create systems that have view callables with alternate default calling conventions. - ``view_mapper`` argument to ``add_view`` should now be a view mapper *name* rather than an implementation. - Add ``view_mapper`` argument to ``view_config`` decorator constructor. - Remove (non-API) function of config.py named _map_view. - Fix docstring for ``decorator`` argument to add_view. - Factor invocation of view mapper into a viewderiver method. - Promote view rendering and decorating into viewderiver, out of view mapper. - Make requestonly into a function rather than a method of the default view mapper. | |||
| 2010-12-30 | - The "view derivation" code is now factored into a set of classes rather | Chris McDonough | |
| than a large number of standalone functions (a side effect of the ``view_mapper`` refactoring). - The ``pyramid.renderer.RendererHelper`` class has grown a ``render_view`` method, which is used by the default view mapper (a side effect of the ``view_mapper`` refactoring). - The object passed as ``renderer`` to the "view deriver" is now an instance of ``pyramid.renderers.RendererHelper`` rather than a dictionary (a side effect of ``view_mapper`` refactoring). | |||
| 2010-12-29 | garden | Chris McDonough | |
| 2010-12-27 | - Reconcile "extending an existing application" chapter with existence of | Chris McDonough | |
| "advanced configuration" chapter. | |||
| 2010-12-24 | garden | Chris McDonough | |
| 2010-12-24 | - Changed "Static Assets" narrative chapter: clarify that ``name`` represents | Chris McDonough | |
| a prefix unless it's a URL, added an example of a root-relative static view fallback for URL dispatch, added an example of creating a simple view that returns the body of a file. | |||
| 2010-12-24 | garden | Chris McDonough | |
| 2010-12-24 | - Added "Advanced Configuration" narrative chapter which documents how to | Chris McDonough | |
| deal with configuration conflicts, two-phase configuration, ``include`` and ``commit``. | |||
| 2010-12-24 | garden | Chris McDonough | |
| 2010-12-24 | garden | Chris McDonough | |
| 2010-12-24 | garden | Chris McDonough | |
| 2010-12-24 | garden | Chris McDonough | |
| 2010-12-24 | problems identified by Mike | Chris McDonough | |
| 2010-12-23 | garden | Chris McDonough | |
| 2010-12-22 | - Added CSRF token generation, as described in the narrative chapter entitled | Chris McDonough | |
| "Preventing Cross-Site Request Forgery Attacks". | |||
| 2010-12-22 | garden | Chris McDonough | |
| 2010-12-22 | garden | Chris McDonough | |
| 2010-12-22 | - Added flash messaging, as described in the "Flash Messaging" narrative | Chris McDonough | |
| documentation chapter. | |||
| 2010-12-19 | - Split off "Renderers" as its own chapter from "Views" chapter in narrative | Chris McDonough | |
| documentation. | |||
| 2010-12-19 | garden | Chris McDonough | |
| 2010-12-19 | add todo | Chris McDonough | |
| 2010-12-19 | - All environment variables which used to be prefixed with ``BFG_`` are now | Chris McDonough | |
| prefixed with ``PYRAMID_`` (e.g. ``BFG_DEBUG_NOTFOUND`` is now ``PYRAMID_DEBUG_NOTFOUND``) | |||
| 2010-12-19 | this already exists as cookie_on_exception | Chris McDonough | |
| 2010-12-19 | gardening | Chris McDonough | |
| 2010-12-18 | gardening | Chris McDonough | |
| 2010-12-16 | remove todo (thanks to jkrebs) | Chris McDonough | |
| 2010-12-15 | gardening | Chris McDonough | |
| 2010-12-14 | - Fix conflict exceptions so they have the right ``info`` when one | Chris McDonough | |
| configuration method is called from another. | |||
| 2010-12-13 | gardening | Chris McDonough | |
| 2010-12-09 | gardening | Chris McDonough | |
| 2010-12-09 | gardening | Chris McDonough | |
| 2010-12-09 | gardening | Chris McDonough | |
| 2010-12-09 | gardening | Chris McDonough | |
| 2010-12-09 | - Add a ``handler`` ZCML directive. This directive does the same thing as | Chris McDonough | |
| ``pyramid.configuration.add_handler``. | |||
