| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-05-12 | add some tests for excview tween | Michael Merickel | |
| 2016-05-10 | fix excview tween to reraise the original exception if left unhandled by ↵ | Michael Merickel | |
| exception views fixes #2566 | |||
| 2016-05-10 | execute scaffolds using pip and py.test | Michael Merickel | |
| 2016-05-10 | ensure invoke_exception_view always returns a response | Michael Merickel | |
| 2016-05-06 | scaffolds: Allow `py.test` to be run on new project without specifying test ↵ | Vincent Férotin | |
| module path. | |||
| 2016-05-01 | remove pyramid_tm from development.ini | Steve Piercy | |
| - fixes #2538 | |||
| 2016-04-27 | avoid executing the discriminator functions multiple times | Michael Merickel | |
| 2016-04-26 | do not enforce default permissions on exception views | Michael Merickel | |
| - this normalizes the behavior to work similar to require_csrf - if an explicit permission= is set on the view it will still be enforced, this just affects a default permission via config.set_default_permission - permission=NO_PERMISSION_REQUIRED was already forced on for notfound and forbidden views, this just helps out with other exception views | |||
| 2016-04-24 | Allow Sphinx doctests to run and pass with `make doctest ↵ | Steve Piercy | |
| SPHINXBUILD=$VENV/bin/sphinx-build`. - TODO: two tests in `docs/narr/hooks.rst` | |||
| 2016-04-23 | Merge pull request #2523 from int3l/master | Tres Seaver | |
| import/docstring adjustments in decorator module | |||
| 2016-04-23 | Fix all the stinky linkie rot via `make linkcheck ↵ | Steve Piercy | |
| SPHINXBUILD=$VENV/bin/sphinx-build`, but don't bother with HISTORY.txt or whatsnew-xx | |||
| 2016-04-23 | adjustment and update docstring to be consistant | int3l | |
| 2016-04-23 | import/docstring adjustments in decorator module | int3l | |
| 2016-04-19 | Merge branch 'pr/2520' into feature/appveyor-ci | Michael Merickel | |
| 2016-04-19 | remove vestiges of pyramid.require_default_csrf | Michael Merickel | |
| 2016-04-19 | Make tests pass under Windows | Christoph Zwerschke | |
| 2016-04-19 | replace pyramid.require_default_csrf setting with ↵ | Michael Merickel | |
| config.set_default_csrf_options | |||
| 2016-04-18 | disable csrf checking on all exception views unless explicitly turned on | Michael Merickel | |
| 2016-04-17 | request.host_port is a str not an int | Donald Stufft | |
| 2016-04-17 | fix csrf setting error message | Michael Merickel | |
| 2016-04-16 | drop py27-only features at least temporarily | Michael Merickel | |
| call me nostalgic | |||
| 2016-04-16 | add docs and backward incompatibility notices for #2501 | Michael Merickel | |
| 2016-04-16 | fix format string to work on py26 | Michael Merickel | |
| 2016-04-16 | In addition to CSRF token, verify the origin too | Donald Stufft | |
| Add an additional layer of protection against CSRF by verifying the actual origin of the request in addition to the CSRF token. We only do this check on sites hosted behind HTTPS because only HTTPS sites have evidence to show that the Referrer header is not being spuriously removed by random middleware boxes. | |||
| 2016-04-15 | Have Automatic CSRF on all unsafe HTTP methods | Donald Stufft | |
| Instead of only protecting against unsafe POST requests, have the automatic CSRF protect on all methods which are not defined as "safe" by RFC2616. | |||
| 2016-04-15 | Only Accept CSRF Tokens in headers or POST bodies | Donald Stufft | |
| Previously `check_csrf_token` would allow passing in a CSRF token in through a the URL of a request. However this is a security issue because a CSRF token must not be allowed to leak, and URLs regularly get copy/pasted or otherwise end up leaking to the outside world. | |||
| 2016-04-14 | Update documentation | Bert JW Regeer | |
| 2016-04-14 | Remove unused import | Bert JW Regeer | |
| 2016-04-14 | Switch to sha512 in AuthTktAuthenticationPolicy | Bert JW Regeer | |
| 2016-04-14 | Merge branch 'master' into feature/json_exceptions | Bert JW Regeer | |
| 2016-04-14 | We don't use default_match, so remove it | Bert JW Regeer | |
| 2016-04-14 | Update test to verify the default is text/html | Bert JW Regeer | |
| 2016-04-14 | Make text/html the preferred server return | Bert JW Regeer | |
| This matches the original code whereby it would return an HTML page if you sent an Accept header of */*. | |||
| 2016-04-12 | For */* case, MIMEAccept picks first server offer | Bert JW Regeer | |
| This means that to make "text/plain" the default, we need to specifically make it the first thing we offer. For anything else, since the server offers are all weighted equally, the client order should be accepted. | |||
| 2016-04-12 | PEP8 | Bert JW Regeer | |
| 2016-04-12 | We don't need to explicitly set charset for text/* | Bert JW Regeer | |
| application/json however doesn't have a charset, so we just specify that as UTF-8 for the purpose of encoding the bytes. | |||
| 2016-04-12 | Test that JSON responses are actually JSON | Bert JW Regeer | |
| We also test out the custom formatter that allows the user to change how the JSON is formatted for the exception. | |||
| 2016-04-12 | Add new tests to verify we get what we ask for | Bert JW Regeer | |
| This simply makes sure we get back the appropriate Content-Type based upon our Accept header. | |||
| 2016-04-12 | Update tests to verif Content-Type header | Bert JW Regeer | |
| 2016-04-12 | Explicit set Accept header to text/html | Bert JW Regeer | |
| The default is now text/plain, so explicitly set the accept header for what we want to accept. | |||
| 2016-04-12 | Use MIMEAccept not Accept | Bert JW Regeer | |
| Accept doesn't understand the notation of major/minor masks. | |||
| 2016-04-12 | Using WebOb's acceptparse find best mimetype to use | Bert JW Regeer | |
| We default to text/plain. | |||
| 2016-04-12 | Merge branch 'master' into feature/require-csrf | Michael Merickel | |
| 2016-04-12 | Merge branch 'master' into feature/BeforeTraversal | Bert JW Regeer | |
| 2016-04-12 | - use an environment variable and venv. See ↵ | Steve Piercy | |
| https://github.com/Pylons/pyramid/pull/2468#discussion_r59311019 - rename stanza from `testing_extras` to `tests_require` - switch from nose to pytest | |||
| 2016-04-11 | Merge branch 'master' into docs/easy-install-to-pip.2104 | Michael Merickel | |
| 2016-04-11 | remove theme.min.css, it serves no purpose | Michael Merickel | |
| 2016-04-11 | fix readme to show directions in both alchemy and zodb | Michael Merickel | |
| 2016-04-11 | - add trailing line ending | Steve Piercy | |
| 2016-04-11 | - update narr/project.rst to use pip instead of setup.py | Steve Piercy | |
| - update starter scaffold tests and setup.py (used in `narr/project.rst` and `narr/testing.rst`) - update links to documentation | |||
