pyramid_fullauth
Pyramid fullauth’s goal is to provide full plug-in registration functionality for pyramid, with user managing
Package status
Package resources
Bug tracker: https://github.com/fizyk/pyramid_fullauth/issues
Documentation: http://pyramid-fullauth.readthedocs.org/
Instalation
pip install pyramid_fullauth
or add pyramid_fullauth to your setup.py requirements.
Tests
You’ll need: packages defined in extra_requires[tests] to run tests, and then:
py.test
CHANGELOG
0.3.2
catch all HTTPRedirect instead of just HTTPFound.
redirect with HTTPSeeOther instead of HTTPFound where applicable.
0.3.1
fixes MANIFEST.in to include yaml files - fixes #33.
0.3.0
Features
configure root factory if it hasn’t been already done
configure session factory only if it hasn’t been configured before
configure authorization policy only if it hasn’t been configured before
configure authentication policy only if it hasn’t been configured before
logged in user will be redirected always away from login page
views reorganisation - grouping by their function
replaced force_logout decorator with logout request method
small login view simplification
tests
rewritten tests to use pytest_pyramid
unified session with pyramid_basemodel’s
parametrize tests against two most recent pyramid versions and sqlalchemy
- turned on pylama to check code with linters:
pep8
pep257
pyflakes
mccabe
add pytest-dbfixtures, and run tests against postgresql and mysql as well
drop python 2.6 from tests
100% test coverage
0.2.3
weaker pyramid_yml requirements. Use registry['config'] instead of request.config which gets added only when explicitly including tzf.pyramid_yml package.
remove default_config with permission set for forbidden views. Throwning errors in pyramid 1.5a3
remove lazy=’load’ for relationship between AuthenticationProvider and User models as it was incorrect. Fixes error while using with sqlalchemy 0.9
0.2.2
copy all headers when login user. fixes issue, when headers set in AfterLogin event would not get passed
0.2.1
fixed csrf_check in password:reset:continue action
updated translation files
0.2.0
migrated tests to py.test
removed nose and lxml from test requirements
extracted UserEmailMixin from User model
validation exception improvements
set licensing to MIT License
fixed general error message for register_POST processing
activate action no longer gives 404 error after first use. Default is message about token being invalid or used [veronicazgirvaci]
- extending csrf_check predicate:
Can be turned on/off in settings.
Failed check rises 401 Unauthorised error
Backwards Incompatibilities
token variable is changed into csrf_token in fullatuh views
view no longer returns error messages on failed csrf token. Rises 401 Unauthorised error instead.
0.1.0
add localize to requirements. Ability to translate registerlogin communicates
ability to set custom session factory [with Veronica Zgirvaci help]
moved password validation to one place
Release files for pyramid-fullauth 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyramid_fullauth-0.3.2.tar.gz | 44.5 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyramid_fullauth-0.3.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
| pyramid_fullauth-0.3.2-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 235.0 kB
Release files / pyramid_fullauth-0.3.2.tar.gz
| Download URL | pyramid_fullauth-0.3.2.tar.gz |
|---|---|
| Size | 44.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75c8be22f65bfb89ef4a8fff16f0d411e2844eed7735a0f281e057049f3f30d5
|
|
BLAKE2b-256 checksum How to use checksums |
a8bcc94bbf36430bd68551d33629540ee13566146c77974217ffe9b477fdfe13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyramid_fullauth-0.3.2-py2.py3-none-any.whl
| Download URL | pyramid_fullauth-0.3.2-py2.py3-none-any.whl |
|---|---|
| Size | 64.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fbf1a01f406b8a41484c1b2c2f0845690a30f5c0a8eaffbba46e38e797bf7ae7
|
|
BLAKE2b-256 checksum How to use checksums |
9cf4773b5db16be53664fd13bd1de9598af99c2a8573d5927532f6e4f04414bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyramid_fullauth-0.3.2-py2.7.egg
| Download URL | pyramid_fullauth-0.3.2-py2.7.egg |
|---|---|
| Size | 126.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c75c474032a8610f54c7fabbdc2d6215c8a1910d40174c7f3e7f7cfa01f789bd
|
|
BLAKE2b-256 checksum How to use checksums |
ab2ccac20ba6cb12ccb1806b8c329942b88ac9cacaa92ecbcb46a763d26492f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |