summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-03Merge git://github.com/caseman/pyramid into caseman-masterChris McDonough
2011-01-03gardenChris McDonough
2011-01-03Merge branch 'jahmad-master'Chris McDonough
2011-01-03Merge branch 'master' of https://github.com/jahmad/pyramid into jahmad-masterChris McDonough
2011-01-03Merge branch 'nek4life-master'Chris McDonough
2011-01-03Merge branch 'master' of https://github.com/nek4life/pyramid into ↵Chris McDonough
nek4life-master
2011-01-03Merge branch 'jkrebs-master'Chris McDonough
Conflicts: CHANGES.txt
2011-01-02typo:Chris McDonough
2011-01-02gardenChris McDonough
2011-01-02gardenChris McDonough
2011-01-02- Allow view callables to specify their preferred view mapper by respecting aChris McDonough
``__view_mapper__`` attribute. This setting can still be overridden by configuration-specified ``view_mapper`` argument to ``add_view``.
2011-01-02- Allow ``decorator=`` and ``view_mapper`` parameters to add_view andChris McDonough
``@view_config``.
2011-01-02allow _derive_view to pass all kwargs to ViewDeriver, pass 'package' from ↵Chris McDonough
add_view to view deriver
2011-01-02- Allow static renderer provided during view registration to be overridden atChris McDonough
request time via a request attribute named ``override_renderer``, which should be the name of a registered renderer. Useful to provide "omnipresent" RPC for existing views. - Convert ``add_view_mapper`` to ``set_view_mapper``. There will only be a single default view mapper. We no longer register named utilities for view mappers to provide alternates. - Previoulsy the ``view_mapper`` argument was required to be the *name* of an existing registered view mapper. We no longer register named utilities for view mappers, so now if an extension wants to override the view mapper used for a particular view registration, it can use the dotted name to a view mapper class or provide that class as ``view_mapper``.
2011-01-02add todo for current_route_urlChris McDonough
2011-01-02suggestion from raydeoChris McDonough
2011-01-02provide a reference target for modifying package structureChris McDonough
2011-01-02indirection is hardChris McDonough
2011-01-02fix oldstyle route syntaxChris McDonough
2011-01-02typo, add exampleChris 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.
2011-01-01rework paragraphs discussifng root factot configCasey Duncan
2011-01-01quote literalChris McDonough
2011-01-01- The class ``pyramid.authentication.AuthTktCookieHelper`` is now an API.Chris McDonough
This class can be used by third-party authentication policy developers to help in the mechanics of authentication cookie-setting.
2011-01-01rework opening explanation of the resource tree for clarityCasey Duncan
2011-01-01XXX try to clearly explain how the view name is derived during traversal, ↵Casey Duncan
confirm this is sufficiently truthy XXX
2011-01-01clarify traversal detailsCasey Duncan
2011-01-01reword for clarityCasey Duncan
2011-01-01simplify/clarifyCasey Duncan
2011-01-01clarify opening paragraphCasey Duncan
2011-01-01fix urlChris McDonough
2011-01-01resolve missing referenceChris McDonough
2010-12-31don't repeat the version so many timesCasey Duncan
2010-12-31simplify route/traversal relationship. No need to repeat ourselvesCasey Duncan
2010-12-31add word chapterCasey Duncan
2010-12-31add missing wordCasey Duncan
2010-12-31Remove resource location chapter and move intro parts to url dispatch. The ↵Casey Duncan
new much ado about traversal chapter takes care of selling traversal now
2010-12-31Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2010-12-31- The ``pyramid.interfaces.IAuthenticationPolicy`` interface now specifies anChris McDonough
``unauthenticated_userid`` method. This method supports an important optimization required by people who are using persistent storages which do not support object caching and whom want to create a "user object" as a request attribute. - A new API has been added to the ``pyramid.security`` module named ``unauthenticated_userid``. This API function calls the ``unauthenticated_userid`` method of the effective security policy. - An ``unauthenticated_userid`` method has been added to the dummy authentication policy returned by ``pyramid.config.Configurator.testing_securitypolicy``. It returns the same thing as that the dummy authentication policy's ``authenticated_userid`` method. - Since the ``pyramid.interfaces.IAuthenticationPolicy`` interface now specifies that a policy implementation must implement an ``unauthenticated_userid`` method, all third-party custom authentication policies now must implement this method. It, however, will only be called when the global function named ``pyramid.security.unauthenticated_userid`` is invoked, so if you're not invoking that, you will not notice any issues. - The (non-API) method of all internal authentication policy implementations previously named ``_get_userid`` is now named ``unauthenticated_userid``, promoted to an API method. If you were overriding this method, you'll now need to override it as ``unauthenticated_userid`` instead.
2010-12-31- A view callable wrapper registered in the registry now contains anChris McDonough
``__original_view__`` attribute which references the original view callable (or class).
2010-12-31clarify that the default root resource is emptyCasey Duncan
2010-12-31clarifyCasey Duncan
2010-12-31remove rendundant sentence that was redundantCasey Duncan
2010-12-31add myself as a contributor, ain't I something?Casey Duncan
2010-12-31add attribution for Rob MillerCasey Duncan
2010-12-31URL Matching to URL DispatchCasey Duncan
2010-12-31be more gender-neutralCasey Duncan
2010-12-31remove heading at topCasey Duncan
2010-12-31add much ado chapt to book tocCasey Duncan