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.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 whet 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
0.0.4
remove basemodel restrictions from setup.py
0.0.3
fixed issue, where reset password would check for csrf on GET request [Veronica Zgirvaci]
0.0.2
fixed MANIFEST.in, to include .yml, and .mako files
0.0.1
initial package creation
prepared for CI on travis-ci, and coverage reports on coveralls.io
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.0.tar.gz
.
File metadata
- Download URL: pyramid_fullauth-0.3.0.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81febc225648c91bfd4e8ce31827cac8320d13abd18aff7c1a5ed572fd0f2772 |
|
MD5 | ba23ce7e4cfc03c5b071ed3dd9c36432 |
|
BLAKE2b-256 | 255385a1e546e7a905571e5c9817bc20f842a9c83848030a747cb0588ff4c333 |
File details
Details for the file pyramid_fullauth-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pyramid_fullauth-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 63.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72179760cd5905979833fdcf22e75a3ed0c1c5a5839f2949a25f58e6c898cc73 |
|
MD5 | 3689081a2cfc52c787ae1352b247d4a6 |
|
BLAKE2b-256 | 41a90ef55d0ea5e80dadcecd4c4858b2f3b5350de2fb8d1ea74ed64ff883ce62 |
File details
Details for the file pyramid_fullauth-0.3.0-py2.7.egg
.
File metadata
- Download URL: pyramid_fullauth-0.3.0-py2.7.egg
- Upload date:
- Size: 125.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c24d50415ce1cdf25f86fd3fcbdc5a4dd4608279d0cddb509f5e3317a491e975 |
|
MD5 | 35642a82b6e8efbd939442af9b6e9e0a |
|
BLAKE2b-256 | 4bd3ddc7f74e8553af254e60b6bb66376f83f2d118c9e0f4580194f63416bae2 |