summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2011-01-02typo, add exampleChris 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-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-01fix urlChris McDonough
2011-01-01resolve missing referenceChris McDonough
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-31Typo.Tres Seaver
2010-12-29factor deriver from mapperChris McDonough
2010-12-29fix from mikeChris McDonough
2010-12-29typoChris McDonough
2010-12-29- The (weak) "Converting a CMF Application to Pyramid" tutorial has beenChris McDonough
removed from the tutorials section. It was moved to the ``pyramid_tutorials`` Github repository.
2010-12-29git title rightChris McDonough
2010-12-29resource->assetChris McDonough
2010-12-29fix misleading exampleChris McDonough
2010-12-29Whitespace bigotry.Marius Gedminas
2010-12-29Markup fix.Marius Gedminas
2010-12-29Fix quoting.Marius Gedminas
2010-12-29Added missing :meth:.Marius Gedminas
2010-12-29Show the method signatures of pop_flash/peek_flash.Marius Gedminas
The narrative referred to popping messages from a particular queue, but the code examples didn't show how to indicate which queue you were interested in, leaving the reader a bit confused.
2010-12-29"one or more has" -> "one or more have".Marius Gedminas
Sounds more natural to me, and Googling for "one or more: singular or plural" seems to agree.
2010-12-29Rephrase sentence with no verb.Marius Gedminas
2010-12-29Typo: cam -> can.Marius Gedminas
2010-12-27include handler, translationdir, and localenegotiator zcml references in PDFChris McDonough
2010-12-27Prep for 1.0a8.Chris McDonough
2010-12-27- Add ``paster proute`` command which displays a summary of the routingChris McDonough
table. See the narrative documentation section within the "URL Dispatch" chapter entitled "Displaying All Application Routes". - Added narrative documentation section within the "URL Dispatch" chapter entitled "Displaying All Application Routes" (for ``paster proutes`` command).
2010-12-27wordingChris McDonough
2010-12-27remove inappropriate use of begin/endChris McDonough
2010-12-27remove unnecessary use of begin/endChris McDonough
2010-12-27wordingChris McDonough
2010-12-27- Reconcile "extending an existing application" chapter with existence ofChris McDonough
"advanced configuration" chapter.
2010-12-26wordingChris McDonough
2010-12-26wordingChris McDonough
2010-12-26explain relative asset specChris McDonough
2010-12-26wordingChris McDonough
2010-12-26wordingChris McDonough
2010-12-26- Merge "Static Assets" chapter into the "Assets" chapter.Chris McDonough
2010-12-26reorder chapterChris McDonough
2010-12-26remove unused importChris McDonough
2010-12-26Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2010-12-26- Move ZCML usage in Hooks chapter to Declarative Configuration chapter.Chris McDonough
2010-12-25typoDanny Navarro
2010-12-25typoDanny Navarro
2010-12-24fix permission discussionChris 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-24add 's'Chris McDonough
2010-12-24wordingChris McDonough
2010-12-24wordingChris McDonough
2010-12-24wordingChris McDonough
2010-12-24wordingChris McDonough