This package intends to provide full authentication / authorisation implementation for pyramid applications
Project description
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.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pyramid_fullauth-0.3.1.tar.gz
.
File metadata
- Download URL: pyramid_fullauth-0.3.1.tar.gz
- Upload date:
- Size: 46.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ae11937ea512e3bd142b68d40c8f61718d3958cee26fbc7d7ebac12ef6cb47 |
|
MD5 | 5f060ce8b0150509dbe8fb505f999a63 |
|
BLAKE2b-256 | a10850756f6289357f1da59b0bc1df7757eac40dbe31143db183662f196f1bd2 |
File details
Details for the file pyramid_fullauth-0.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pyramid_fullauth-0.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 64.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfd4348704f90f588a91b9ff822553f296714028a729042d448113143cfb5779 |
|
MD5 | 3ca2be5ad60a49d4d55eefed098bc127 |
|
BLAKE2b-256 | a5fff74d400a48f513eb0a10204e0f288b820ee151c9d8c61ba471a3c939e559 |
File details
Details for the file pyramid_fullauth-0.3.1-py2.7.egg
.
File metadata
- Download URL: pyramid_fullauth-0.3.1-py2.7.egg
- Upload date:
- Size: 125.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4796d45dec5df612582c0c1da8e11b39de0edd76752af2b730c72222176e1eb9 |
|
MD5 | 7fd5905b4ea9e45b5d9c36afa62287a7 |
|
BLAKE2b-256 | 7e36ddc8b679a1b585d038ecbe82265a4ee68e1189e68dae89a37741df85ee49 |