summaryrefslogtreecommitdiff
path: root/TODO.txt
AgeCommit message (Collapse)Author
2011-01-14gardenChris McDonough
2011-01-12gardenChris McDonough
2011-01-12- Deprecation warnings related to import of the following API functions wereChris McDonough
added: ``pyramid.traversal.find_model``, ``pyramid.traversal.model_path``, ``pyramid.traversal.model_path_tuple``, ``pyramid.url.model_url``. The instructions emitted by the deprecation warnings instruct the developer to change these method spellings to their ``resource`` equivalents. This is a consequence of the mass concept rename of "model" to "resource" performed in 1.0a7.
2011-01-12gardenChris McDonough
2011-01-12- Document the ``request.override_renderer`` attribute within the narrativeChris McDonough
"Renderers" chapter in a section named "Overriding A Renderer at Runtime".
2011-01-12FeaturesChris McDonough
-------- - ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` have been undeprecated. They are now the canonical setup and teardown APIs for test configuration, replacing "direct" creation of a Configurator. This is a change designed to provide a facade that will protect against any future Configurator deprecations. Paster Templates ---------------- - All paster templates now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand" within their ``tests.py`` module, as per decision in features above. Documentation ------------- - The wiki and wiki2 tutorials now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand", as per decision in features above. - The "Testing" narrative chapter now explains ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` instead of Configurator creation and ``Configurator.begin()`` and ``Configurator.end()``.
2011-01-09gardenChris McDonough
2011-01-09gardenChris McDonough
2011-01-09gardenChris McDonough
2011-01-09gardenChris McDonough
2011-01-09gardenChris McDonough
2011-01-09gardenChris McDonough
2011-01-08gardenChris McDonough
2011-01-08gardenChris McDonough
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