Commit graph

1861 commits

Author SHA1 Message Date
kuldeepkhatke
af65488dc6 Added status column to list display 2025-07-06 23:06:41 +03:00
kuldeepkhatke
e4e0299252 AccessAttemptAdmin.list_display datatype change tuple->list for customization 2025-07-06 23:06:41 +03:00
dependabot[bot]
75c29bd6f8 chore(deps): bump coverage from 7.8.2 to 7.9.2
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.8.2 to 7.9.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.8.2...7.9.2)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.9.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-05 16:24:01 +03:00
dependabot[bot]
95f321e7c7 chore(deps): bump tox from 4.26.0 to 4.27.0
Bumps [tox](https://github.com/tox-dev/tox) from 4.26.0 to 4.27.0.
- [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.26.0...4.27.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-version: 4.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-05 16:23:53 +03:00
dependabot[bot]
bebbbe924e chore(deps): bump pytest-subtests from 0.14.1 to 0.14.2
Bumps [pytest-subtests](https://github.com/pytest-dev/pytest-subtests) from 0.14.1 to 0.14.2.
- [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.1...v0.14.2)

---
updated-dependencies:
- dependency-name: pytest-subtests
  dependency-version: 0.14.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-05 16:23:44 +03:00
dependabot[bot]
34a350568e chore(deps): bump pytest-cov from 6.1.1 to 6.2.1
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 6.1.1 to 6.2.1.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v6.1.1...v6.2.1)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-version: 6.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-05 16:23:36 +03:00
dependabot[bot]
8340a7a82f chore(deps): bump prospector from 1.17.1 to 1.17.2
Bumps [prospector](https://github.com/prospector-dev/prospector) from 1.17.1 to 1.17.2.
- [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.1...v1.17.2)

---
updated-dependencies:
- dependency-name: prospector
  dependency-version: 1.17.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-05 16:23:20 +03:00
kuldeepkhatke
392dfa0e44 Reverted , remove change from AxesDatabaseHandler.user_login_failed 2025-07-05 16:19:19 +03:00
kuldeepkhatke
baace5c27b Added separate UT for complete, partial & no delete senarios 2025-07-05 16:19:19 +03:00
kuldeepkhatke
ba7b72f9d9 Updated expires_at for null, blank False, lte query update, admin expiration logic simplify 2025-07-05 16:19:19 +03:00
kuldeepkhatke
01ccf5b213 Updated get_individual_attempt_expiry() func placement & renamed to get_attempt_expiration() 2025-07-05 16:19:19 +03:00
kuldeepkhatke
d8e6c939fe Modified expiration create queryset logic 2025-07-05 16:19:19 +03:00
kuldeepkhatke
94a66c7346 Added actual queryset call UT 2025-07-05 16:19:19 +03:00
kuldeepkhatke
f5951e966c Modified access_attempt as pk 2025-07-05 16:19:19 +03:00
kuldeepkhatke
f583e93718 Modified verbiage changes & removed comment 2025-07-05 16:19:19 +03:00
kuldeepkhatke
74c24c0e78 Added unittest for AXES_USE_ATTEMPT_EXPIRATION flag 2025-07-05 16:19:19 +03:00
kuldeepkhatke
df8fb35e18 Shifted epired_at filed to new model 2025-07-05 16:19:19 +03:00
kuldeepkhatke
a1e9eff875 Renamed AXES_INDIVIDUAL_ATTEMPT_EXPIRY flag to AXES_USE_ATTEMPT_EXPIRATION 2025-07-05 16:19:19 +03:00
kuldeepkhatke
0fd9ccd1d4 Added individual attempt expiry feature 2025-07-05 16:19:19 +03:00
dependabot[bot]
864dfc2d9a
Merge pull request #1315 from jazzband/dependabot/pip/pytest-8.4.0 2025-06-06 17:19:25 +00:00
dependabot[bot]
d1fad02076
Merge pull request #1314 from jazzband/dependabot/pip/mypy-1.16.0 2025-06-06 17:18:44 +00:00
dependabot[bot]
d79c7de4e5
chore(deps): bump pytest from 8.3.5 to 8.4.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.5 to 8.4.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.5...8.4.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 8.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 17:14:34 +00:00
dependabot[bot]
c9f092a3be
chore(deps): bump mypy from 1.15.0 to 1.16.0
Bumps [mypy](https://github.com/python/mypy) from 1.15.0 to 1.16.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 17:14:32 +00:00
dependabot[bot]
9becd0061e chore(deps): bump coverage from 7.8.0 to 7.8.2
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.8.0 to 7.8.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.8.0...7.8.2)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 20:13:06 +03:00
dependabot[bot]
7e495fb5fd chore(deps): bump prospector from 1.16.1 to 1.17.1
Bumps [prospector](https://github.com/prospector-dev/prospector) from 1.16.1 to 1.17.1.
- [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.16.1...v1.17.1)

---
updated-dependencies:
- dependency-name: prospector
  dependency-version: 1.17.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 20:12:50 +03:00
dependabot[bot]
6cb8dc7a46 chore(deps): bump tox from 4.25.0 to 4.26.0
Bumps [tox](https://github.com/tox-dev/tox) from 4.25.0 to 4.26.0.
- [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.25.0...4.26.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-version: 4.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 20:12:41 +03:00
AmirAli Bahramjerdi
a340dec892
Merge pull request #1308 from AmirAli-BahramJerdi/add-farsi-locale
Add Persian (fa) translation for django-axes
2025-05-16 13:28:54 -07:00
AmirAli-BahramJerdi
eea9939a45 Add Persian translation for django-axes 2025-05-16 23:49:58 +03:30
Aleksi Häkli
31038278bd
Add version 8 migration notes. 2025-05-10 14:01:18 +03:00
Aleksi Häkli
a58344c3ef
Remove Django 5.0 from supported versions 2025-05-10 13:56:07 +03:00
Aleksi Häkli
9bc11398f4
Remove Django 5.0 from supported versions 2025-05-10 13:55:20 +03:00
Aleksi Häkli
dfa39d07c0
Remove Django 5.0 from supported versions 2025-05-10 13:54:14 +03:00
Aleksi Häkli
6d2c7b1431
Version 8.0.0 2025-05-10 13:53:23 +03:00
nefrob
bd3b56237d refactor: move db accessing attempt fns to handler methods 2025-05-10 13:46:09 +03:00
nefrob
8356498a44 chore: clean attempt logic as db handler method 2025-04-29 10:10:25 +03:00
Aleksi Häkli
933756090a
Version 7.1.0 2025-04-23 18:52:54 +03:00
dependabot[bot]
3ff5ada46d chore(deps): bump pytest from 8.3.4 to 8.3.5
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.4 to 8.3.5.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.4...8.3.5)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 17:03:06 +03:00
dependabot[bot]
4115d59d14 chore(deps): bump pytest-django from 4.10.0 to 4.11.1
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 4.10.0 to 4.11.1.
- [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.10.0...v4.11.1)

---
updated-dependencies:
- dependency-name: pytest-django
  dependency-version: 4.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 17:02:55 +03:00
Aleksi Häkli
5e7fbca52c fix: resolve credentials for clean_expired_user_attempts 2025-04-23 17:02:37 +03:00
dependabot[bot]
599fbc0da0 chore(deps): bump tox from 4.24.1 to 4.25.0
Bumps [tox](https://github.com/tox-dev/tox) from 4.24.1 to 4.25.0.
- [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.24.1...4.25.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 11:59:22 +03:00
dependabot[bot]
b4792ff868 chore(deps): bump prospector from 1.14.1 to 1.16.1
Bumps [prospector](https://github.com/PyCQA/prospector) from 1.14.1 to 1.16.1.
- [Release notes](https://github.com/PyCQA/prospector/releases)
- [Changelog](https://github.com/prospector-dev/prospector/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/PyCQA/prospector/compare/v1.14.1...v1.16.1)

---
updated-dependencies:
- dependency-name: prospector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 11:59:15 +03:00
dependabot[bot]
82a6ac63bb chore(deps): bump coverage from 7.6.12 to 7.8.0
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.12 to 7.8.0.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.6.12...7.8.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 11:59:08 +03:00
dependabot[bot]
93d8285006 chore(deps): bump pytest-cov from 6.0.0 to 6.1.1
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 6.0.0 to 6.1.1.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v6.0.0...v6.1.1)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 11:58:59 +03:00
parul-aro
0115648a1d feat(cleanup): allow credentials in cleanup method 2025-04-23 11:54:17 +03:00
Mathieu Kniewallner
479a355d22 chore: explicitly require Python >= 3.9 2025-04-23 11:42:02 +03:00
Mathieu Kniewallner
fdf22fffba chore: explicitly require Django >= 4.2 2025-04-23 11:42:02 +03:00
Mathieu Kniewallner
682e4261c9 ci: exclude Python 3.13 for Django 4.2 2025-04-23 11:42:02 +03:00
Mathieu Kniewallner
133f19b2f5 chore: correctly test against Django 4.2 2025-04-23 11:42:02 +03:00
Mathieu Kniewallner
3e3da350ea chore: support Django 5.2 2025-04-23 11:42:02 +03:00
dependabot[bot]
ff9c3296ef chore(deps): bump prospector from 1.14.0 to 1.14.1
Bumps [prospector](https://github.com/PyCQA/prospector) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/PyCQA/prospector/releases)
- [Changelog](https://github.com/prospector-dev/prospector/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/PyCQA/prospector/compare/1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: prospector
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 13:17:31 +02:00