summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2017-04-29final cleanup of csrf decoupling in #2854Michael Merickel
- Renamed `SessionCSRFStoragePolicy` to `LegacySessionCSRFStoragePolicy` for the version that uses the legacy `ISession.get_csrf_token` and `ISession.new_csrf_token` apis and set that as the default. - Added new `SessionCSRFStoragePolicy` that stores data in the session similar to how the `SessionAuthenticationPolicy` works. - `CookieCSRFStoragePolicy` did not properly return the newly generated token from `get_csrf_token` after calling `new_csrf_token`. It needed to cache the new value since the response callback does not affect the current request. - `CookieCSRFStoragePolicy` was not forwarding the `domain` value to the `CookieProfile` causing that setting to be ignored. - Removed `check_csrf_token` from the `ICSRFStoragePolicy` interface to simplify implementations of storage policies. - Added an introspectable item for the configured storage policy so that it appears on the debugtoolbar. - Added a change note on `ISession` that it no longer required the csrf methods. - Leave deprecated shims in ``pyramid.session`` for ``check_csrf_origin`` and ``check_csrf_token``.
2017-04-26Move CSRF storage policy registration out of PHASE_1 config and simplify ↵Matthew Wilkes
tests given previous improvements to CSRF.
2017-04-26Apply drafting changes to documentation.Matthew Wilkes
2017-04-12Use the webob CookieProfile in the Cookie implementation, rename some ↵Matthew Wilkes
implemenations based on feedback, split CSRF implementation and option configuration and make the csrf token function exposed as a system default rather than a renderer event.
2017-04-12Rename implementation to ICSRFStoragePolicyMatthew Wilkes
2017-04-12Fix tests and documentation in various places, and feedback following reviewJure Cerjak
regarding naming of variables and code cleanup.
2017-04-12Create a new ICSRF implementation for getting CSRF tokens, split out from ↵Matthew Wilkes
the session machinery. Adds configuration of this to the csrf_options configurator commands. Make the default implementation a fallback to the old one. Documentation patches for new best practices given updates CSRF implementation.
2017-04-10add execution policy to pyramid request processing diagramsSteve Piercy
2017-04-08grammar fixSteve Piercy
2017-03-14add Mako to options for pyramid-cookiecutter-starterSteve Piercy
2017-03-10add Chameleon as option to pyramid-cookiecutter-starterSteve Piercy
2017-03-01use correct directory name for cookiecutter generated README.txtSteve Piercy
(cherry picked from commit 40dd034) Refs: https://github.com/Pylons/pyramid-cookiecutter-starter/pull/22
2017-02-28Merge pull request #2965 from stevepiercy/masterSteve Piercy
update pyramid-cookiecutter-starter prompts and reformat presentation…
2017-02-28update pyramid-cookiecutter-starter prompts and reformat presentation of all ↵Steve Piercy
cookiecutter prompts
2017-02-25Add newline to make docs happyBert JW Regeer
2017-02-25add an IExecutionPolicy that can wrap the routerMichael Merickel
2017-02-05update templates per deform 2.0 migration notesSteve Piercy
- See https://github.com/Pylons/pyramid/issues/2897#issuecomment-277494816 - Closes #2897
2017-02-04configuration should not be quotedSteve Piercy
- closes #2944
2017-02-03update links and reST syntax for mod_wsgiSteve Piercy
2017-01-31Fix typoPavlo Kapyshin
2017-01-28Minor changeJohn Jimenez
"functions, classes or any callable that accept" was messing with the flow while reading. Proposed change flows a little better for me. (cherry picked from commit 87d8aba)
2017-01-28Minor changeJohn Jimenez
distinguish between Pyramid itself and view code raising the exception as in previous exception listing. (cherry picked from commit eb166fb)
2017-01-27Minor changeJohn Jimenez
minor change to flow better (cherry picked from commit 0c705c9)
2017-01-26undo borkage: wsgiref does not use listen, it uses portSteve Piercy
- ref: #2919
2017-01-26grammar fixesSteve Piercy
2017-01-26rest syntax fixSteve Piercy
2017-01-26rest syntax fixSteve Piercy
2017-01-26grammar fixSteve Piercy
2017-01-22save a redirectSteve Piercy
(cherry picked from commit 981869a)
2017-01-21forward port item for pylons_sphinx_latesturlSteve Piercy
2017-01-20Fix typo to be consistent with API docsSteve Piercy
- Closes #2904
2017-01-17link to method in whatsnewMichael Merickel
2017-01-17prep 1.8b1Michael Merickel
2017-01-15changelog for #2901Michael Merickel
2017-01-15update mod_wsgi tutorial to use a cookiecutterMichael Merickel
closes #2890
2017-01-15changelog cleanupsMichael Merickel
2017-01-15Update Windows docsSteve Piercy
- Installation overhauled - update project.rst to remove duplication - Windows paths never end with "\" except for a drive name, for example C:\ - use backslashes for paths - backslashes cannot be used for line continuation on Windows - update extra packages for Windows - Python now has a Windows launcher
2017-01-15Update Windows installation docsSteve Piercy
2017-01-10update docs per ↵Steve Piercy
https://github.com/Pylons/pyramid/commit/fb7a98bbdacebc4edfef8fb3e6093bb9e6590111
2017-01-10fix unittests in wiki2 to work without deps on py2 and py3Michael Merickel
fixes #2882
2017-01-08Update project.rstramgoer
incorrect cookietcutter path for windows environment %VENV%\Scripts\cookiecutter
2017-01-04Merge pull request #2893 from mmerickel/document-registry-as-dictMichael Merickel
improve the registry documentation to cover usage as a dictionary
2017-01-02add changelog and whatsnew entry for #2888 and #2889Steve Piercy
2017-01-02Merge pull request #2889 from stevepiercy/docs-cookiecutter-changes-onlyMichael Merickel
Docs cookiecutter changes only - Quick Tutorial and all other files
2017-01-02Waitress dropped 2.6 and 3.2 supportSteve Piercy
2017-01-02improve the registry documentation to cover usage as a dictionaryMichael Merickel
fixes #2891
2017-01-01Remove notes about cookiecutter installation, as they now remove sudo for ↵Steve Piercy
most systems
2016-12-28fix link targetSteve Piercy
2016-12-27update Sphinx link targetSteve Piercy
2016-12-27undo update for tutorials/modwsgiSteve Piercy
- This requires changes with virtual environments, pcreate, and possibly configuration files. Deferring.