summaryrefslogtreecommitdiff
path: root/docs/narr/viewconfig.rst
AgeCommit message (Collapse)Author
2015-10-19resolve whitespace diff between master and 1.6-branchSteve Piercy
2015-10-12rewrap 79 colsSteve Piercy
2015-10-12minor grammar, wrap 79 colsSteve Piercy
2015-09-12Fix possessive form, from PR by @uralbashSteve Piercy
2015-06-06More idiomatic codeKiss György
2015-05-27add an example decorator showing a response being used unconditionallyMichael Merickel
2015-03-26fix out of date match_param docsMichael Merickel
2014-05-01fix #1253Michael Merickel
2014-02-10- Garden PR #1121Steve Piercy
2014-01-19update narrative docs about iterable decorator argumentMichael Merickel
2013-10-27Security APIs on pyramid.request.RequestMatt Russell
The pyramid.security Authorization API function has_permission is made available on the request. The pyramid.security Authentication API functions are now available as properties (unauthenticated_userid, authenticated_userid, effective_principals) and methods (remember_userid, forget_userid) on pyramid.request.Request. Backwards compatibility: For each of the APIs moved to request method or property, the original API in the pyramid.security module proxies to the request. Reworked tests to check module level b/c wrappers call through to mixins for each API. Tests that check no reg on request now do the right thing. Use a response callback to set the request headers for forget_userid and remember_userid. Update docs. Attempt to improve a documentation section referencing the pyramid.security.has_permission function in docs/narr/resources.rst Ensures backwards compatiblity for `pyramid.security.forget` and `pyramid.security.remember`.
2013-09-22try to clarify the docs to avoid "if '__main__'" confusionMichael Merickel
2013-09-22typoMichael Merickel
2013-09-02move docs section to a more appropriate placeChris McDonough
2013-08-13Merge remote-tracking branch 'origin/master' into docs.gettingstartedPaul Everitt
Conflicts: docs/index.rst docs/latexindex.rst setup.py
2013-08-12All wrapped up, pre-merge.Paul Everitt
2013-08-09"repetion" to "repetition"tisdall
2013-07-27Move .. versionadded:: 1.2 to end of ``match_param`` definition so that when ↵Steve Piercy
building PDF it does not pause and wait for user to hit RETURN. This is now consistent with other placements of this directive as well.
2013-07-24indicate version in which not_ was addedChris McDonough
2013-07-24add not_ predicate featureChris McDonough
2013-04-05fix some cross-referencesTshepang Lekhonkhobe
2013-04-01Fix reST markup and spelling of "hand"Catalin Iacob
2013-03-22remove unused ignore-next-block directiveTshepang Lekhonkhobe
2013-03-21Resolve conflict.Tres Seaver
2013-03-12Merge pull request #874 from tshepang/paragraphMichael Merickel
improve paragraph
2013-03-12Merge pull request #871 from tshepang/repetitionMichael Merickel
remove info that was given in the preceding paragraph
2013-03-12Merge pull request #896 from tshepang/consistencyMichael Merickel
consistency fixes
2013-03-12Merge pull request #890 from tshepang/miscMichael Merickel
miscellaneous doc improvements
2013-03-09consistencyTshepang Lekhonkhobe
2013-03-082.5 no longer supportedTshepang Lekhonkhobe
2013-03-06capitalizeTshepang Lekhonkhobe
2013-03-05grammar fixesTshepang Lekhonkhobe
2013-02-26improve paragraphTshepang Lekhonkhobe
2013-02-26grammarTshepang Lekhonkhobe
2013-02-25grammarTshepang Lekhonkhobe
2013-02-23this info was given in the preceding paragraphTshepang Lekhonkhobe
2013-01-30use the more appropriate directivesTshepang Lekhonkhobe
2013-01-06fix import typo in docsReed O'Brien
2013-01-01typoTshepang Lekhonkhobe
2012-10-28- Added an ``effective_principals`` route and view predicate.Chris McDonough
2012-10-26- New ``physical_path`` view predicate. If specified, this value should be aChris McDonough
string or a tuple representing the physical traversal path of the context found via traversal for this predicate to match as true. For example: ``physical_path='/'`` or ``physical_path='/a/b/c'`` or ``physical_path=('', 'a', 'b', 'c')``. This is not a path prefix match or a regex, it's a whole-path match. It's useful when you want to always potentially show a view when some object is traversed to, but you can't be sure about what kind of object it will be, so you can't use the ``context`` predicate. The individual path elements inbetween slash characters or in tuple elements should be the Unicode representation of the name of the resource and should not be encoded in any way.
2012-10-13add docs and changelog noteChris McDonough
2012-09-19A ``check_csrf`` view predicate was added. For example, you can now doChris McDonough
``config.add_view(someview, check_csrf=True)``. When the predicate is checked, if the ``csrf_token`` value in ``request.params`` matches the csrf token in the request's session, the view will be permitted to execute. Otherwise, it will not be permitted to execute.
2012-02-24More trivial typosPaul Winkler
2012-01-30clarify that there's no technical restriction on the value of request_methodPaul Winkler
2012-01-25Minor fix - change attribute to be prevent_auto rather than preserve_autodavidjb
2011-12-14Flesh out new view_defaults feature and add docs, change notes, and add to ↵Chris McDonough
whatsnew.
2011-09-07add squishy whats-unique section to introductionChris McDonough
2011-08-29add match_param to the narrative docsChris McDonough
2011-07-30Updated all of the docs to reflect the new pyramid.* settings prefix.Michael Merickel