Skip to main content

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

Build Status

Coverage

Project Coverage

Latest PyPI Release

Latest PyPI Release

License

onegov.user is released under GPLv2

Changelog

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onegov.user-0.10.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

onegov.user-0.10.0-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file onegov.user-0.10.0.tar.gz.

File metadata

File hashes

Hashes for onegov.user-0.10.0.tar.gz
Algorithm Hash digest
SHA256 10516df83381b45739908886232b1545a75693fc364e0c077e18068299c18433
MD5 05e39184cbff17ec01c72dc0f1aa6459
BLAKE2b-256 bacefaf879153b905871200e5470fed506395ab60b8a63888171224ddddd0672

See more details on using hashes here.

File details

Details for the file onegov.user-0.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for onegov.user-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 633caabad893b68d4037ffe2c49a0ff10fef894806ce05296a07f68263474add
MD5 aa88afeed40c46a39280b8d967e05957
BLAKE2b-256 f09bef05ab7132cab125e108a63a3ce30971eafe007f26a68eb0c6b5e840b9af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page