summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-31Typo.Tres Seaver
2010-12-31note previous changeChris McDonough
2010-12-31Merge branch 'viewderiver'Chris McDonough
Conflicts: pyramid/config.py
2010-12-31ignore another subdirChris McDonough
2010-12-31use inbuilt PageTextTemplateFile rather than a hand-rolled subclass of ↵Chris McDonough
TemplateFile
2010-12-30clean up chameleon_zpt test setup and teardownChris McDonough
2010-12-30clean up chameleon text test setup and teardownChris McDonough
2010-12-30move translator out of method scope to make intent clear that its not a closureChris McDonough
2010-12-30Merge branch 'refs/heads/master' into viewderiverRob Miller
Conflicts: CONTRIBUTORS.txt
2010-12-30Merge branch 'mgedmin-master'Chris McDonough
2010-12-31Sign the contributor agreement.Marius Gedminas
2010-12-31Typo: runnning -> running.Marius Gedminas
2010-12-31ReST formatting fix in Request class docstring.Marius Gedminas
2010-12-30typosChris McDonough
2010-12-30factor defaultviewmapper to dispatch in a slightly more readable wayChris McDonough
2010-12-30stray header lineChris McDonough
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-29make sure view returned from view mapper preserves all attrsChris McDonough
2010-12-29preserve_attrs->wraps_view, break out preserve_attrs bulk into ↵Chris McDonough
preserve_view_attrs, make sure decorator preserves view attrs
2010-12-29simplify guard logic for __action_decorator__Chris McDonough
2010-12-29adjust tests to work w/ latest merge and changesRob Miller
2010-12-29Merge remote branch 'refs/remotes/upstream/viewderiver' into ra_view_decorationRob Miller
Conflicts: CHANGES.txt pyramid/config.py
2010-12-29factor deriver from mapperChris McDonough
2010-12-29Merge branch 'master' into viewderiverChris 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-29gardenChris McDonough
2010-12-29git title rightChris McDonough
2010-12-29resource->assetChris McDonough
2010-12-29fix misleading exampleChris McDonough
2010-12-28Enforce that _action_decorator must be a classmethodRob Miller
2010-12-28change ``MyView`` to ``MyHandler``, since it's a handler we're mockingRob Miller
2010-12-28record handler _action_decorator classmethod supportRob Miller
2010-12-28Added support for an _action_decorator classmethod on handler classes.Rob Miller
2010-12-28Recorded description of last change and added self to contributors list.Rob Miller
2010-12-28add decorator argument to add_view method to support auto-wrapping view ↵Rob Miller
callables with a decorator at view registration time
2010-12-28Merge branch 'master' into viewderiverChris McDonough
2010-12-28Merge branch 'mgedmin-master'Chris McDonough
2010-12-29Whitespace bigotry.Marius Gedminas
2010-12-29Merge branch 'master' of git://github.com/Pylons/pyramidMarius Gedminas
2010-12-29Markup fix.Marius Gedminas
2010-12-28Merge branch 'mgedmin-master'Chris McDonough
2010-12-29Fix quoting.Marius Gedminas
2010-12-29Added missing :meth:.Marius Gedminas