Rodrigo Nogueira
c93105e93d
Merge fd78bdfa20 into b14b78a16e
2026-03-21 02:54:57 -03:00
Rodrigo Nogueira
fd78bdfa20
Fix py314-djqa CI checks
2026-03-21 02:54:39 -03:00
Rodrigo Nogueira
1c678ec087
Merge remote-tracking branch 'upstream/master' into feature/retry-after-header
...
# Conflicts:
# docs/4_configuration.rst
2026-03-21 00:42:43 -03:00
Rodrigo Nogueira
4f5bfb8c1c
refactor: update Retry-After header handling in AxesMiddleware and tests
2026-03-21 00:38:59 -03:00
Rodrigo Nogueira
b14b78a16e
docs: narrow cool-off docs changes and keep table format
Test / build (Python 3.10, Django 4.2) (push) Has been cancelled
Test / build (Python 3.11, Django 4.2) (push) Has been cancelled
Test / build (Python 3.12, Django 4.2) (push) Has been cancelled
Test / build (Python 3.14, Django 4.2) (push) Has been cancelled
Test / build (Python 3.10, Django 5.2) (push) Has been cancelled
Test / build (Python 3.11, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 5.2) (push) Has been cancelled
Test / build (Python 3.13, Django 5.2) (push) Has been cancelled
Test / build (Python 3.14, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 6.0) (push) Has been cancelled
Test / build (Python 3.13, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django main) (push) Has been cancelled
Test / build (Python 3.14, Django qa) (push) Has been cancelled
2026-03-20 12:24:11 +02:00
rodrigo.nogueira
e4cdd72231
docs: Fix typo in AXES_LOCKOUT_PARAMETERS description and add a blank line.
2026-03-20 12:24:11 +02:00
rodrigo.nogueira
3fc256c8d2
docs: Update lockout configuration table title and column widths.
2026-03-20 12:24:11 +02:00
rodrigo.nogueira
1aa8509cdc
docs: clarify AXES_COOLOFF_TIME and AXES_USE_ATTEMPT_EXPIRATION descriptions and add common configuration examples.
2026-03-20 12:24:11 +02:00
rodrigo.nogueira
46e206af49
docs: Revamp and expand the configuration options documentation.
2026-03-20 12:24:11 +02:00
dependabot[bot]
0d7f4bdb43
chore(deps): bump coverage from 7.13.4 to 7.13.5
...
Bumps [coverage](https://github.com/coveragepy/coveragepy ) from 7.13.4 to 7.13.5.
- [Release notes](https://github.com/coveragepy/coveragepy/releases )
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst )
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.13.4...7.13.5 )
---
updated-dependencies:
- dependency-name: coverage
dependency-version: 7.13.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-20 10:08:26 +02:00
dependabot[bot]
cc0387ae60
chore(deps): bump tox from 4.49.1 to 4.50.1
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.49.1 to 4.50.1.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.49.1...4.50.1 )
---
updated-dependencies:
- dependency-name: tox
dependency-version: 4.50.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-20 10:08:24 +02:00
Rodrigo Nogueira
051323166d
style: restore spacing in test_helpers
2026-03-16 16:09:22 -03:00
Rodrigo Nogueira
359843c60f
Merge remote-tracking branch 'upstream/master' into feature/retry-after-header
...
# Conflicts:
# axes/middleware.py
2026-03-16 16:04:45 -03:00
Rodrigo Nogueira
a9e9704318
refactor: handle Retry-After in middleware with opt-in setting
2026-03-16 16:01:17 -03:00
Enrico Tröger
fdd7b22cd3
Clarify and/or conditions in AXES_LOCKOUT_PARAMETERS examples
Test / build (Python 3.10, Django 4.2) (push) Has been cancelled
Test / build (Python 3.11, Django 4.2) (push) Has been cancelled
Test / build (Python 3.12, Django 4.2) (push) Has been cancelled
Test / build (Python 3.14, Django 4.2) (push) Has been cancelled
Test / build (Python 3.10, Django 5.2) (push) Has been cancelled
Test / build (Python 3.11, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 5.2) (push) Has been cancelled
Test / build (Python 3.13, Django 5.2) (push) Has been cancelled
Test / build (Python 3.14, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 6.0) (push) Has been cancelled
Test / build (Python 3.13, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django main) (push) Has been cancelled
Test / build (Python 3.14, Django qa) (push) Has been cancelled
2026-03-16 18:55:20 +02:00
dependabot[bot]
a5d14cd630
chore(deps): bump black from 26.1.0 to 26.3.1
...
Bumps [black](https://github.com/psf/black ) from 26.1.0 to 26.3.1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/26.1.0...26.3.1 )
---
updated-dependencies:
- dependency-name: black
dependency-version: 26.3.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 18:54:27 +02:00
dependabot[bot]
2a31c0133f
chore(deps): bump tox from 4.34.1 to 4.49.1
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.34.1 to 4.49.1.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.34.1...4.49.1 )
---
updated-dependencies:
- dependency-name: tox
dependency-version: 4.49.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 18:54:17 +02:00
dependabot[bot]
4624eed684
chore(deps): bump pytest-django from 4.11.1 to 4.12.0
...
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django ) from 4.11.1 to 4.12.0.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases )
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v4.11.1...v4.12.0 )
---
updated-dependencies:
- dependency-name: pytest-django
dependency-version: 4.12.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 18:54:13 +02:00
rodrigo.nogueira
ef91ba9b61
style: apply black formatting
2026-02-22 01:58:59 -03:00
rodrigo.nogueira
c9563bc29c
feat: Add Retry-After HTTP header to lockout responses when AXES_COOLOFF_TIME is configured, along with documentation and tests.
2026-02-21 18:44:23 -03:00
Aleksi Häkli
e27ce891ea
Version 8.3.1
Test / build (Python 3.10, Django 4.2) (push) Has been cancelled
Test / build (Python 3.11, Django 4.2) (push) Has been cancelled
Test / build (Python 3.12, Django 4.2) (push) Has been cancelled
Test / build (Python 3.14, Django 4.2) (push) Has been cancelled
Test / build (Python 3.10, Django 5.2) (push) Has been cancelled
Test / build (Python 3.11, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 5.2) (push) Has been cancelled
Test / build (Python 3.13, Django 5.2) (push) Has been cancelled
Test / build (Python 3.14, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 6.0) (push) Has been cancelled
Test / build (Python 3.13, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django main) (push) Has been cancelled
Test / build (Python 3.14, Django qa) (push) Has been cancelled
2026-02-11 22:15:47 +02:00
dependabot[bot]
c3dcd1ba51
chore(deps): bump coverage from 7.13.3 to 7.13.4
...
Bumps [coverage](https://github.com/coveragepy/coveragepy ) from 7.13.3 to 7.13.4.
- [Release notes](https://github.com/coveragepy/coveragepy/releases )
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst )
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.13.3...7.13.4 )
---
updated-dependencies:
- dependency-name: coverage
dependency-version: 7.13.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-11 22:14:42 +02:00
Aleksi Häkli
41ebdc3063
Try to run all tox QA commands even if some fail
2026-02-11 22:14:31 +02:00
Aleksi Häkli
31c69dbea5
Simplify black formatting rules
2026-02-11 22:14:31 +02:00
Aleksi Häkli
bdd0c9546a
Fix prospector errors
2026-02-11 22:14:31 +02:00
Aleksi Häkli
4b77eb69ee
Run black autoformatting
2026-02-11 22:14:31 +02:00
Aleksi Häkli
5acae054b4
Update Black formatting rules
2026-02-11 22:14:31 +02:00
Aleksi Häkli
d59a289407
Suppress mypy type errors
...
Update Mypy Python version to 3.14
2026-02-11 22:14:31 +02:00
Aleksi Häkli
23ee2fca44
Update version support matrix to run tox QA tests properly on GitHub
2026-02-11 22:14:31 +02:00
Aleksi Häkli
4ea615811b
Implement custom lazy object to avoid JSON errors with Celery
...
Fixes jazzband/django-axes#1391
2026-02-11 22:14:31 +02:00
Aleksi Häkli
b4fb3088b4
Version 8.3.0
Test / build (Python 3.10, Django 4.2) (push) Has been cancelled
Test / build (Python 3.11, Django 4.2) (push) Has been cancelled
Test / build (Python 3.12, Django 4.2) (push) Has been cancelled
Test / build (Python 3.14, Django 4.2) (push) Has been cancelled
Test / build (Python 3.10, Django 5.2) (push) Has been cancelled
Test / build (Python 3.11, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 5.2) (push) Has been cancelled
Test / build (Python 3.13, Django 5.2) (push) Has been cancelled
Test / build (Python 3.14, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 6.0) (push) Has been cancelled
Test / build (Python 3.13, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django main) (push) Has been cancelled
Test / build (Python 3.14, Django qa) (push) Has been cancelled
2026-02-09 10:37:38 +02:00
Hugo van Kemenade
6c8feada83
Replace removed pkg_resources with stdlib
2026-02-09 10:35:54 +02:00
Aleksi Häkli
b441ccd5fc
Version 8.2.0
Test / build (Python 3.10, Django 4.2) (push) Has been cancelled
Test / build (Python 3.11, Django 4.2) (push) Has been cancelled
Test / build (Python 3.12, Django 4.2) (push) Has been cancelled
Test / build (Python 3.14, Django 4.2) (push) Has been cancelled
Test / build (Python 3.10, Django 5.2) (push) Has been cancelled
Test / build (Python 3.11, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 5.2) (push) Has been cancelled
Test / build (Python 3.13, Django 5.2) (push) Has been cancelled
Test / build (Python 3.14, Django 5.2) (push) Has been cancelled
Test / build (Python 3.12, Django 6.0) (push) Has been cancelled
Test / build (Python 3.13, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django 6.0) (push) Has been cancelled
Test / build (Python 3.14, Django main) (push) Has been cancelled
Test / build (Python 3.14, Django qa) (push) Has been cancelled
2026-02-06 20:50:14 +02:00
dependabot[bot]
1d9964be16
chore(deps): bump tox from 4.32.0 to 4.34.1
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.32.0 to 4.34.1.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.32.0...4.34.1 )
---
updated-dependencies:
- dependency-name: tox
dependency-version: 4.34.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 20:37:05 +02:00
dependabot[bot]
60e3cceb1d
chore(deps): bump black from 25.11.0 to 26.1.0
...
Bumps [black](https://github.com/psf/black ) from 25.11.0 to 26.1.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/25.11.0...26.1.0 )
---
updated-dependencies:
- dependency-name: black
dependency-version: 26.1.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 20:36:57 +02:00
shayan taki
8f5e9965d8
Add unit tests for security check W006
2026-02-06 20:31:41 +02:00
dependabot[bot]
cf0be90f11
chore(deps): bump sphinx-rtd-theme from 3.0.2 to 3.1.0
...
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme ) from 3.0.2 to 3.1.0.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst )
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/3.0.2...3.1.0 )
---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
dependency-version: 3.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 20:23:07 +02:00
dependabot[bot]
d033b70235
chore(deps): bump prospector from 1.17.3 to 1.18.0
...
Bumps [prospector](https://github.com/prospector-dev/prospector ) from 1.17.3 to 1.18.0.
- [Release notes](https://github.com/prospector-dev/prospector/releases )
- [Changelog](https://github.com/prospector-dev/prospector/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/prospector-dev/prospector/compare/v1.17.3...v1.18.0 )
---
updated-dependencies:
- dependency-name: prospector
dependency-version: 1.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 20:22:52 +02:00
dependabot[bot]
b14e861631
chore(deps): bump coverage from 7.13.0 to 7.13.3
...
Bumps [coverage](https://github.com/coveragepy/coveragepy ) from 7.13.0 to 7.13.3.
- [Release notes](https://github.com/coveragepy/coveragepy/releases )
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst )
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.13.0...7.13.3 )
---
updated-dependencies:
- dependency-name: coverage
dependency-version: 7.13.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 20:22:46 +02:00
rodrigo.nogueira
6703b66f17
Fix circular import with custom user models
...
Fixes #1280
- Use SimpleLazyObject to defer get_user_model() evaluation
- Prevents circular import when custom user models import from axes
- Add test coverage for lazy evaluation in test_conf.py
2026-02-06 20:19:42 +02:00
rodrigo.nogueira
95a8043341
Fix AttributeError when optional settings are undefined
...
Fixes #1328
- Add None as default value in axes_conf_check
- Add test coverage for missing settings scenario
2026-02-06 20:19:42 +02:00
Aleksi Häkli
f2af7c993b
chore: remove deprecated requirements-*.txt files
2025-12-19 22:07:09 +02:00
Aleksi Häkli
8869a9e594
chore: update dependencies
2025-12-19 22:02:28 +02:00
Aleksi Häkli
0735c71432
chore: use single requirements file
...
Multiple files seem to break some IDEs and package management solutions
2025-12-19 21:54:43 +02:00
Aleksi Häkli
332a5f57d0
Version 8.1.0
2025-12-19 21:41:15 +02:00
Aleksi Häkli
a30b68aec9
chore: update mypy to 1.19.1
2025-12-19 21:28:28 +02:00
dependabot[bot]
29005e2f6f
chore(deps): bump actions/cache from 4 to 5
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-19 21:20:39 +02:00
dependabot[bot]
dd172ec1a5
chore(deps): bump actions/checkout from 5 to 6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-19 21:20:19 +02:00
dependabot[bot]
0d5795cdf2
chore(deps): bump black from 25.9.0 to 25.11.0
...
Bumps [black](https://github.com/psf/black ) from 25.9.0 to 25.11.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/25.9.0...25.11.0 )
---
updated-dependencies:
- dependency-name: black
dependency-version: 25.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-19 21:20:12 +02:00
dependabot[bot]
2fce8fafdf
chore(deps): bump pytest-subtests from 0.14.2 to 0.15.0
...
Bumps [pytest-subtests](https://github.com/pytest-dev/pytest-subtests ) from 0.14.2 to 0.15.0.
- [Release notes](https://github.com/pytest-dev/pytest-subtests/releases )
- [Changelog](https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-subtests/compare/v0.14.2...v0.15.0 )
---
updated-dependencies:
- dependency-name: pytest-subtests
dependency-version: 0.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-19 21:20:06 +02:00