Revisions of python-django-rest-knox

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1217045 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 10)
- update to 5.0.2:
  * Implement AUTO_REFRESH_MAX_TTL to limit total token lifetime
    when AUTO_REFRESH = True
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1198089 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 9)
- update to 5.0.1:
  * Fix migration: retrieve `TOKEN_MODEL` from `knox_settings`
    instead of Django settings.
  * Tokens created prior to this release will no longer work
  * Fix migration reverse flow, enable migrate 0
  * Various documentation fixes and improvements
  * Drop `cryptography` in favor of hashlib
  * Make custom AuthModel work
  * Token prefix can be set in the setttings
  * Drop support for Django 4.0
  * Add support for Dango 4.2, 5.0 and Python 3.11 and 3.12
  * Cleanup legacy Python 2.0 code
  * Fix isort, flake8 usage for Python 3.10 in the test suite
  * Update Github actions version
  * Upgrade markdown dependency
  * Get rid of the `six` library
  * Add custom login / logout response support
  * Join the jazzband organization
  * Add pre-commit hooks
  * Add tracking of tests code coverage
  * Fix migrations when used in condition with a custom DB
  * Improve typing
  * Use `self.authenticate_header()` in `authenticate()` method
    to get auth header prefix

  * Use pytest-django to run the tests, rather than django-nose.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 957655 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 7)
- Update to 4.2.0:
  - compatibility with Python up to 3.10 and Django up to 4.0
  - Migration: "salt" field of model "AuthToken" is removed
- Remove upstreamed patches:
  - django3.patch
  - remove-django-nose.patch
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 918792 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 6)
- Add patch remove-django-nose.patch:
  * Use pytest-django to run the tests, rather than django-nose.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 798611 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 5)
- Add patch to build with Django 3.x:
  * django3.patch
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 791487 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 4)
- Update to 4.1.0:
  * Expiry format now defaults to whatever is used Django REST framework
  * The behavior can be overriden via EXPIRY_DATETIME_FORMAT setting
  * Fully customizable expiry format via format_expiry_datetime
  * Fully customizable response payload via get_post_response_data
  * Changes have been made to the create() method on the AuthToken model.
    It now returns the model instance and the raw token instead of just
    the token to allow the expiry field to be included in the success response.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 735851 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 3)
- Disable py2 build as it is unresolvable
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 693643 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 1)
- Initial spec for v3.6.0
Displaying all 10 revisions
openSUSE Build Service is sponsored by