Metadata-Version: 2.0
Name: pyramid-fullauth
Version: 0.3.2
Summary: This package intends to provide full authentication / authorisation
    implementation for pyramid applications
Home-page: https://github.com/fizyk/pyramid_fullauth
Author: Grzegorz Sliwinski
Author-email: fizyk@fizyk.net.pl
License: MIT License
Keywords: python authentication authorisation pyramid
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: pyramid-localize
Requires-Dist: pyramid (>=1.4)
Requires-Dist: pyramid-mako
Requires-Dist: tzf.pyramid-yml (>=1.0)
Requires-Dist: pyramid-basemodel
Requires-Dist: velruse
Provides-Extra: docs
Requires-Dist: sphinx; extra == 'docs'
Provides-Extra: tests
Requires-Dist: mock; extra == 'tests'
Requires-Dist: pytest-pyramid; extra == 'tests'
Requires-Dist: pytest-dbfixtures; extra == 'tests'
Requires-Dist: mysql-python; extra == 'tests'
Requires-Dist: psycopg2; extra == 'tests'
Requires-Dist: pytest-cov; extra == 'tests'

pyramid_fullauth
================

.. image:: https://pypip.in/v/pyramid_fullauth/badge.png
    :target: https://pypi.python.org/pypi/pyramid_fullauth/
    :alt: Latest PyPI version

.. image:: https://pypip.in/d/pyramid_fullauth/badge.png
    :target: https://pypi.python.org/pypi/pyramid_fullauth/
    :alt: Number of PyPI downloads

.. image:: https://pypip.in/wheel/pyramid_fullauth/badge.png
    :target: https://pypi.python.org/pypi/pyramid_fullauth/
    :alt: Wheel Status

.. image:: https://pypip.in/egg/pyramid_fullauth/badge.png
    :target: https://pypi.python.org/pypi/pyramid_fullauth/
    :alt: Egg Status

.. image:: https://pypip.in/license/pyramid_fullauth/badge.png
    :target: https://pypi.python.org/pypi/pyramid_fullauth/
    :alt: License

Pyramid fullauth's goal is to provide full plug-in registration functionality for pyramid, with user managing

Package status
--------------

.. image:: https://travis-ci.org/fizyk/pyramid_fullauth.png?branch=master
    :target: https://travis-ci.org/fizyk/pyramid_fullauth
    :alt: Tests

.. image:: https://coveralls.io/repos/fizyk/pyramid_fullauth/badge.png?branch=master
    :target: https://coveralls.io/r/fizyk/pyramid_fullauth?branch=master
    :alt: Coverage Status

.. image:: https://requires.io/github/fizyk/pyramid_fullauth/requirements.png?branch=master
   :target: https://requires.io/github/fizyk/pyramid_fullauth/requirements/?branch=master
   :alt: Requirements Status

Package resources
-----------------

* Bug tracker: https://github.com/fizyk/pyramid_fullauth/issues
* Documentation: http://pyramid-fullauth.readthedocs.org/
* PyPI: https://pypi.python.org/pypi/pyramid_fullauth

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 <https://github.com/fizyk/pyramid_fullauth/issues/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


