summaryrefslogtreecommitdiff
path: root/TODO.txt
AgeCommit message (Collapse)Author
2011-01-08- ``pyramid.interfaces.ISession.get_csrf_token`` now mandates that anChris 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-07gardenChris 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-07gardenChris McDonough
2011-01-04gardenChris McDonough
2011-01-03doneChris McDonough
2011-01-03- Add a new API ``pyramid.url.current_route_url``, which computes a URL basedChris McDonough
on the "current" route (if any) and its matchdict values.
2011-01-03gardenChris McDonough
2011-01-03gardenChris McDonough
2011-01-02typo:Chris McDonough
2011-01-02gardenChris McDonough
2011-01-02gardenChris McDonough
2011-01-02add todo for current_route_urlChris McDonough
2011-01-02suggestion from raydeoChris McDonough
2011-01-02gardenChris McDonough
2011-01-02- add a ``add_view_mapper`` API to Configurator. This API allows you to addChris 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 ratherChris 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-29gardenChris McDonough
2010-12-27- Reconcile "extending an existing application" chapter with existence ofChris McDonough
"advanced configuration" chapter.
2010-12-24gardenChris McDonough
2010-12-24- Changed "Static Assets" narrative chapter: clarify that ``name`` representsChris 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-24gardenChris McDonough
2010-12-24- Added "Advanced Configuration" narrative chapter which documents how toChris McDonough
deal with configuration conflicts, two-phase configuration, ``include`` and ``commit``.
2010-12-24gardenChris McDonough
2010-12-24gardenChris McDonough
2010-12-24gardenChris McDonough
2010-12-24gardenChris McDonough
2010-12-24problems identified by MikeChris McDonough
2010-12-23gardenChris McDonough
2010-12-22- Added CSRF token generation, as described in the narrative chapter entitledChris McDonough
"Preventing Cross-Site Request Forgery Attacks".
2010-12-22gardenChris McDonough
2010-12-22gardenChris McDonough
2010-12-22- Added flash messaging, as described in the "Flash Messaging" narrativeChris McDonough
documentation chapter.
2010-12-19- Split off "Renderers" as its own chapter from "Views" chapter in narrativeChris McDonough
documentation.
2010-12-19gardenChris McDonough
2010-12-19add todoChris McDonough
2010-12-19- All environment variables which used to be prefixed with ``BFG_`` are nowChris McDonough
prefixed with ``PYRAMID_`` (e.g. ``BFG_DEBUG_NOTFOUND`` is now ``PYRAMID_DEBUG_NOTFOUND``)
2010-12-19this already exists as cookie_on_exceptionChris McDonough
2010-12-19gardeningChris McDonough
2010-12-18gardeningChris McDonough
2010-12-16remove todo (thanks to jkrebs)Chris McDonough
2010-12-15gardeningChris McDonough
2010-12-14- Fix conflict exceptions so they have the right ``info`` when oneChris McDonough
configuration method is called from another.
2010-12-13gardeningChris McDonough
2010-12-09gardeningChris McDonough
2010-12-09gardeningChris McDonough
2010-12-09gardeningChris McDonough
2010-12-09gardeningChris McDonough
2010-12-09- Add a ``handler`` ZCML directive. This directive does the same thing asChris McDonough
``pyramid.configuration.add_handler``.