summaryrefslogtreecommitdiff
path: root/TODO.txt
AgeCommit message (Collapse)Author
2011-01-20gardenChris McDonough
2011-01-20gardenChris McDonough
2011-01-20gardenChris McDonough
2011-01-19GardeningBlaise Laflamme
2011-01-19- Added "Adding Methods to the Configurator via ``add_directive``" section toChris McDonough
Advanced Configuration narrative chapter.
2011-01-19- Using the ``pyramid.view.bfg_view`` alias for ``pyramid.view.view_config``Chris McDonough
(a backwards compatibility shim) now issues a deprecation warning.
2011-01-19gardenChris McDonough
2011-01-19gardenChris McDonough
2011-01-19- The ``pyramid_zodb``, ``pyramid_routesalchemy`` and ``pyramid_alchemy``Chris McDonough
paster templates now use a default "commit veto" hook when configuring the ``repoze.tm2`` transaction manager in ``development.ini``. This prevents a transaction from being committed when the response status code is within the 400 or 500 ranges. See also http://docs.repoze.org/tm2/#using-a-commit-veto.
2011-01-19gardenChris McDonough
2011-01-19- Fix deprecated example showing ``chameleon_zpt`` API call in testingChris McDonough
narrative chapter.
2011-01-19gardenChris McDonough
2011-01-19gardenChris McDonough
2011-01-19gardenChris McDonough
2011-01-19gardenChris McDonough
2011-01-19- When a ``pyramid.exceptions.Forbidden`` error is raised, its status codeChris McDonough
now ``403 Forbidden``. It was previously ``401 Unauthorized``, for backwards compatibility purposes with ``repoze.bfg``. This change will cause problems for users of Pyramid with ``repoze.who``, which intercepts ``401 Unauthorized`` by default, but allows ``403 Forbidden`` to pass through. Those deployments will need to configure ``repoze.who`` to also react to ``403 Forbidden``.
2011-01-18gardenChris McDonough
2011-01-18gardenChris McDonough
2011-01-16gardenChris McDonough
2011-01-16gardenChris McDonough
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