Commit graph

1794 commits

Author SHA1 Message Date
Jacobus-afk
ce3bfd51be Update 4_configuration.rst - aligned table pipe column 2025-02-19 18:08:17 +02:00
Aleksi Häkli
9a7673a47e Update Python support matrix
Deprecate support for Python 3.8
Add support for Python 3.13
2024-12-02 18:23:57 +02:00
dependabot[bot]
4c3a36cf9a chore(deps): bump sphinx-rtd-theme from 2.0.0 to 3.0.1
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 2.0.0 to 3.0.1.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/2.0.0...3.0.1)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 10:11:56 +02:00
dependabot[bot]
d17e4ecd4b chore(deps): bump mypy from 1.11.2 to 1.13.0
Bumps [mypy](https://github.com/python/mypy) from 1.11.2 to 1.13.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.11.2...v1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 10:11:48 +02:00
dependabot[bot]
4511695e9f chore(deps): bump coverage from 7.6.1 to 7.6.4
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.1 to 7.6.4.
- [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.1...7.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 10:11:36 +02:00
dependabot[bot]
43965514cb chore(deps): bump prospector from 1.10.3 to 1.12.1
Bumps [prospector](https://github.com/PyCQA/prospector) from 1.10.3 to 1.12.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.10.3...v1.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 10:10:30 +02:00
dependabot[bot]
01c32f051f chore(deps): bump black from 24.8.0 to 24.10.0
Bumps [black](https://github.com/psf/black) from 24.8.0 to 24.10.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/24.8.0...24.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 10:10:17 +02:00
dependabot[bot]
71bcfba42d chore(deps): bump tox from 4.21.1 to 4.23.2
Bumps [tox](https://github.com/tox-dev/tox) from 4.21.1 to 4.23.2.
- [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.21.1...4.23.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 10:10:09 +02:00
Oscar van Leusen
67b94d0dfb Fix AXES_CLIENT_IP_CALLABLE error
Previously, the readme suggested the AXES_CLIENT_IP_CALLABLE function should have two arguments, but actually it only takes one argument.
2024-10-29 10:09:57 +02:00
dependabot[bot]
9acda1f892 chore(deps): bump tox from 4.21.0 to 4.21.1
Bumps [tox](https://github.com/tox-dev/tox) from 4.21.0 to 4.21.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.21.0...4.21.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 17:25:14 +03:00
Bruno Alla
77ae2a2d14 docs: fix broken settings table 2024-10-03 13:10:01 +03:00
Aleksi Häkli
d52be951a1
Version 7.0.0 2024-10-02 20:33:18 +03:00
Aleksi Häkli
4e89d72b92
Version 7 breaking changes notes 2024-10-02 20:30:44 +03:00
Bruno Alla
b54019fa0f Change AXES_COOLOFF_TIME callable to take exactly 1 argument 2024-10-02 20:15:31 +03:00
Bruno Alla
8ed0d82384 refactor: remove attempt_time parameter
As we pass down the whole request, we no longer need to extract the axes_attempt_time anymore.

This is a potential breaking change, but the impacted functions are not part of the documented API.
2024-10-02 20:15:31 +03:00
Bruno Alla
a304380853 feat: pass down the request in a few more places 2024-10-02 20:15:31 +03:00
Bruno Alla
510c8d18f5 feat: pass the request to get dynamic cool off period 2024-10-02 20:15:31 +03:00
Bruno Alla
3f4526e8f5 chore: revert unrelated stylistic change 2024-10-02 20:15:31 +03:00
Bruno Alla
2fb4c81243 feat: pass username to AXES_COOLOFF_TIME callback
If the AXES_COOLOFF_TIME is a callable or path to a callable taking
an argument, pass the username to it.

This should enable users to customize the cool off to be user dependant,
and possibly implement a growing cool-off time:

- First lockout cools off after 5 mins
- Second one after 10 mins
- etc...
2024-10-02 20:15:31 +03:00
Aleksi Häkli
3fa7fce3ad
Merge pull request #1230 from jazzband/dependabot/pip/tox-4.21.0
chore(deps): bump tox from 4.20.0 to 4.21.0
2024-10-01 15:49:25 +03:00
dependabot[bot]
66fbadff06
chore(deps): bump tox from 4.20.0 to 4.21.0
Bumps [tox](https://github.com/tox-dev/tox) from 4.20.0 to 4.21.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.20.0...4.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 12:30:43 +00:00
Aleksi Häkli
200351d574 Remove max-parallel limits for tests 2024-09-21 13:12:21 +03:00
Aleksi Häkli
dfa1eecfbf Version 6.5.2 2024-09-21 13:04:35 +03:00
Aleksi Häkli
3804e834a8 Drop PyPy support
Tests are failing and need updates to fully support PyPy 3.10.
If anyone needs PyPy support please feel free to fix the tox matrix
and open a PR that reintroduces PyPy support for the project.
2024-09-21 13:02:49 +03:00
Aleksi Häkli
0fb08fed86 Update test matrix
Run tests for Django 5.0 and 5.1
Run tests for Python 3.12
Add support for Django 5.1
Drop support for Django 3.2
2024-09-21 12:49:46 +03:00
Aleksi Häkli
f34ee54f98
Merge pull request #1224 from jazzband/dependabot/pip/mypy-1.11.2
chore(deps): bump mypy from 1.11.1 to 1.11.2
2024-09-21 11:33:27 +03:00
Aleksi Häkli
b685bfa80e
Merge pull request #1225 from jazzband/dependabot/pip/pytest-django-4.9.0
chore(deps): bump pytest-django from 4.8.0 to 4.9.0
2024-09-21 11:33:19 +03:00
Aleksi Häkli
a4e48ed004
Merge pull request #1227 from jazzband/dependabot/pip/pytest-8.3.3
chore(deps): bump pytest from 8.3.2 to 8.3.3
2024-09-21 11:33:12 +03:00
Aleksi Häkli
b00297c01a
Merge pull request #1229 from jazzband/dependabot/pip/tox-4.20.0
chore(deps): bump tox from 4.16.0 to 4.20.0
2024-09-21 11:33:03 +03:00
Aleksi Häkli
07483c6a15 Fix failing test case for new Django versions
See https://code.djangoproject.com/ticket/34968 for more details
2024-09-21 11:32:34 +03:00
dependabot[bot]
58498c9716
chore(deps): bump pytest-django from 4.8.0 to 4.9.0
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 4.8.0 to 4.9.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.8.0...v4.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-21 07:51:37 +00:00
dependabot[bot]
755c416198
chore(deps): bump pytest from 8.3.2 to 8.3.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.2 to 8.3.3.
- [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.2...8.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-21 07:51:37 +00:00
dependabot[bot]
3a69c3ec3b
chore(deps): bump mypy from 1.11.1 to 1.11.2
Bumps [mypy](https://github.com/python/mypy) from 1.11.1 to 1.11.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.11.1...v1.11.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-21 07:51:35 +00:00
Aleksi Häkli
9472011ed8
Merge pull request #1219 from jazzband/dependabot/pip/coverage-7.6.1
chore(deps): bump coverage from 7.6.0 to 7.6.1
2024-09-21 10:51:04 +03:00
Aleksi Häkli
574ab456d7
Merge pull request #1218 from jazzband/dependabot/pip/black-24.8.0
chore(deps): bump black from 24.4.2 to 24.8.0
2024-09-21 10:50:50 +03:00
dependabot[bot]
bfe66130fb
chore(deps): bump tox from 4.16.0 to 4.20.0
Bumps [tox](https://github.com/tox-dev/tox) from 4.16.0 to 4.20.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.16.0...4.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 12:26:48 +00:00
dependabot[bot]
f0be0d3b8a
chore(deps): bump coverage from 7.6.0 to 7.6.1
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.0 to 7.6.1.
- [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.0...7.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 12:22:47 +00:00
dependabot[bot]
9f350d52c0
chore(deps): bump black from 24.4.2 to 24.8.0
Bumps [black](https://github.com/psf/black) from 24.4.2 to 24.8.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/24.4.2...24.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 12:22:41 +00:00
Aleksi Häkli
2c4a4f6f8d
Merge pull request #1217 from jazzband/dependabot/pip/mypy-1.11.1
chore(deps): bump mypy from 1.11.0 to 1.11.1
2024-08-03 13:35:07 +03:00
dependabot[bot]
585d5a7bb9
chore(deps): bump mypy from 1.11.0 to 1.11.1
Bumps [mypy](https://github.com/python/mypy) from 1.11.0 to 1.11.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.11...v1.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-31 12:21:51 +00:00
Aleksi Häkli
ef7e8467b4
Merge pull request #1213 from jazzband/dependabot/pip/pytest-subtests-0.13.1
chore(deps): bump pytest-subtests from 0.12.1 to 0.13.1
2024-07-28 15:22:01 +03:00
dependabot[bot]
dcc8274f87
chore(deps): bump pytest-subtests from 0.12.1 to 0.13.1
Bumps [pytest-subtests](https://github.com/pytest-dev/pytest-subtests) from 0.12.1 to 0.13.1.
- [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.12.1...v0.13.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-28 12:21:56 +00:00
Aleksi Häkli
0f6f62177d
Merge pull request #1212 from jazzband/dependabot/pip/coverage-7.6.0
chore(deps): bump coverage from 7.5.4 to 7.6.0
2024-07-28 15:21:49 +03:00
Aleksi Häkli
b4863515a9
Merge pull request #1214 from jazzband/dependabot/pip/mypy-1.11.0
chore(deps): bump mypy from 1.10.1 to 1.11.0
2024-07-28 15:21:34 +03:00
dependabot[bot]
afdacb2548
chore(deps): bump coverage from 7.5.4 to 7.6.0
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.4 to 7.6.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.5.4...7.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-28 12:21:32 +00:00
Aleksi Häkli
3161af86e6
Merge pull request #1210 from jazzband/dependabot/pip/tox-4.16.0
chore(deps): bump tox from 4.15.1 to 4.16.0
2024-07-28 15:20:57 +03:00
Aleksi Häkli
1e442d7d39
Merge pull request #1216 from jazzband/dependabot/pip/pytest-8.3.2
chore(deps): bump pytest from 8.2.2 to 8.3.2
2024-07-28 15:20:47 +03:00
dependabot[bot]
a70ea19015
chore(deps): bump pytest from 8.2.2 to 8.3.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.2 to 8.3.2.
- [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.2.2...8.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 12:13:07 +00:00
dependabot[bot]
1637952978
chore(deps): bump mypy from 1.10.1 to 1.11.0
Bumps [mypy](https://github.com/python/mypy) from 1.10.1 to 1.11.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 12:22:30 +00:00
dependabot[bot]
b737f719e7
chore(deps): bump tox from 4.15.1 to 4.16.0
Bumps [tox](https://github.com/tox-dev/tox) from 4.15.1 to 4.16.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.15.1...4.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-03 12:07:59 +00:00