A generic user model for OneGov.
Project description
Run the Tests
Install tox and run it:
pip install tox tox
Limit the tests to a specific python version:
tox -e py27
Conventions
Onegov User follows PEP8 as close as possible. To test for it run:
tox -e pep8
Onegov User uses Semantic Versioning
Build Status
Coverage
Latest PyPI Release
License
onegov.user is released under GPLv2
Changelog
0.22.5 (2019-07-18)
Redirect to login, instead of showing a 403, when Kerberos auth fails. [href]
Fixes string translations. [href]
0.22.4 (2019-07-18)
Fixes auth provider form failing without configured providers. [href]
0.22.3 (2019-07-18)
Enforces unique configurations for providers. [href]
Shows the found user in the response if the authentication fails. [href]
Fixes Kerberos provider not being able to authenticate valid requests. [href]
0.22.2 (2019-07-17)
Updates translations. [href]
0.22.1 (2019-07-17)
Fixes provider usermanagement form not storing certain values. [href]
0.22.0 (2019-07-17)
Adds experimental support for Kerberos. [href]
0.21.0 (2019-06-25)
Adds polymorphy support to the user groups collection. [href]
0.20.0 (2019-02-01)
Remembers the ID of the user group when logging in. [msom]
0.19.1 (2019-01-03)
Renders password fields with autocomplete=new-password/current-password. [href]
0.19.0 (2018-10-08)
Moves yubikey related functions to onegov.core. [href]
0.18.0 (2018-09-18)
Adds a phone number property to the user model. [msom]
0.17.7 (2018-08-17)
Improves password reset URL generation. [msom]
0.17.6 (2018-03-15)
0.17.5 (2018-03-15)
Better handle realnames containing only spaces. [href]
0.17.4 (2018-01-22)
Adds a few query helper methods to the user collection. [href]
0.17.3 (2018-01-18)
Changes tags filter to use OR instead of AND. [href]
0.17.2 (2018-01-17)
Adds a tags property to the user model. [href]
0.17.1 (2018-01-16)
Updates translations. [msom]
Requires Python 3.6. [href]
0.17.0 (2017-10-04)
Remember the open sessions and allow to force-close them (logout). [msom]
0.16.0 (2017-09-26)
Switches to onegov.search’s automatic language detection. [href]
0.15.1 (2017-08-18)
Allows to pass the group when creating users. [msom]
0.15.0 (2017-08-17)
Adds user groups. [msom]
Enables polymorphic subclasses on users. [msom]
0.14.1 (2017-07-12)
Removes the meta column (there is already a data). [msom]
0.14.0 (2017-07-10)
Adds a meta column. [msom]
0.13.2 (2017-07-04)
Refactor the initials method to be useful from outside. [href]
0.13.1 (2017-06-28)
Fixes syntax error in po file. [href]
0.13.0 (2017-06-28)
Adds the ability to create signup links to allow users to register themselves as editors or admins. [href]
0.12.1 (2017-06-28)
Updates Romansch translations. [msom]
0.12.0 (2017-06-26)
Adds the ability to filter the user collection with custom filters. [href]
0.11.0 (2017-06-22)
Adds forms and helper functions for password reset. [msom]
Adds French, Italian and Romansh translations. [msom]
0.10.1 (2017-05-02)
Adds the userprofile to the indexed values. [href]
0.10.0 (2017-04-27)
Forces all usernames to be lowercase. [href]
0.9.0 (2017-01-20)
Makes the user model searchable. [href]
0.8.4 (2016-11-25)
Fix user title sql expression not working as intended. [href]
0.8.3 (2016-10-28)
The login is now unskippable by default. [href]
0.8.2 (2016-10-27)
Adds the ability to check if the login can be skipped. [href]
0.8.1 (2016-10-24)
Fixes yubikey to otp raising an error if the yubikey is malformed. [href]
0.8.0 (2016-10-06)
Introduces a realname column. [href]
Adds the ability to query users by role through the collection. [href]
0.7.1 (2016-08-31)
Fixes yubikey property failing with empty values. [href]
Adds the ability to find a user by yubikey. [href]
0.7.0 (2016-08-30)
Adds the ability to check the format of a yubikey OTP. [href]
Adds the ability to extract the yubikey serial from one of its OTPs. [href]
Adds support for yubikey removal on the login form. [href]
0.6.4 (2016-08-30)
Be less clever about the existing user error, to avoid invalidating the session. [href]
0.6.3 (2016-08-30)
Raises an ExistingUserError when an existing user is added. [href]
0.6.2 (2016-08-26)
Adds the ability to query a user by id. [href]
0.6.1 (2016-08-26)
Log registrations for fail2ban integration. [href]
0.6.0 (2016-08-26)
Adds the ability to register new users and activate them with a token. [href]
0.5.0 (2016-08-24)
Adds the ability to create a login auth object to the current path. [href]
0.4.4 (2016-07-19)
Adds compatibility with Morepath 0.15. [href]
0.4.3 (2016-06-28)
Adds the ability to activate/deactivate users. [href]
Adds the ability to list users through the cli. [href]
0.4.2 (2016-05-30)
Catches signature verifcation error responses to the yubico server. [href]
0.4.1 (2016-05-30)
Adds compatibility with onegov.core 0.21.0.
0.4.0 (2016-01-13)
Adds an initials property to the user. [href]
Adds a title property to the user. [href]
0.3.1 (2015-12-16)
Turns the Yubikey field into an ordinary string field. [href]
Replayed Yubikeys no longer lead to an exception. [href]
0.3.0 (2015-11-20)
Adds 2FA support with Yubikey as the first possible option. [href]
0.2.1 (2015-10-15)
Use ‘de_CH’ translation instead of ‘de’. [href]
0.2.0 (2015-10-12)
Removes Python 2.x support. [href]
0.1.1 (2015-10-06)
Fixes ‘to’ parameter not being passed on by Auth.from_request. [href]
0.1.0 (2015-10-05)
Adds a generic authentication model for login/logout views. [href]
0.0.3 (2015-10-02)
Adds a generic login form [href]
0.0.2 (2015-06-26)
Adds support for onegov.core.upgrade [href]
Remove support for Python 3.3 [href]
0.0.1 (2015-04-29)
Initial Release [href]
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 Distribution
File details
Details for the file onegov.user-0.22.5.tar.gz
.
File metadata
- Download URL: onegov.user-0.22.5.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed02271885f6491829c5ce51491c27aa012b5a24673612f65a5dfbcf1a6dbc55 |
|
MD5 | 65cd8faf793dc252aad78a14dc753144 |
|
BLAKE2b-256 | 8ff6bccfce40ff948fe9ab821c0f6534c08ca9802962aa011f4f4a1455db5857 |
File details
Details for the file onegov.user-0.22.5-py3-none-any.whl
.
File metadata
- Download URL: onegov.user-0.22.5-py3-none-any.whl
- Upload date:
- Size: 47.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f14091ac28ec2b43f4b82bd2ad563170ba2d6e02401ea4a13f102f3c87bf1787 |
|
MD5 | 185ac1466f08b9b09826d9d9c1eaf28d |
|
BLAKE2b-256 | 443ed51ebaca20217ea9c9b9b418cde25d3f7fd4a9973be8ee659b83d81a0bb1 |