Commit graph

1138 commits

Author SHA1 Message Date
Aleksi Häkli
752ca62475
Use pip cache for tests 2020-12-15 19:04:48 +02:00
Aleksi Häkli
79cdba447e
Adjust tox file to allow failures for Django master 2020-12-15 18:58:10 +02:00
Aleksi Häkli
53b4448b13
Deprecate pip cache 2020-12-15 15:27:09 +02:00
Aleksi Häkli
829962a594 Fix Django master version name 2020-12-15 11:04:00 +02:00
dependabot-preview[bot]
71326aefa5 Bump pytest from 6.1.2 to 6.2.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.2 to 6.2.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.2...6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 12:30:04 +00:00
dependabot-preview[bot]
d26780a6be Bump pytest-subtests from 0.3.2 to 0.4.0
Bumps [pytest-subtests](https://github.com/pytest-dev/pytest-subtests) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/pytest-dev/pytest-subtests/releases)
- [Changelog](https://github.com/pytest-dev/pytest-subtests/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-subtests/compare/0.3.2...0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 12:18:22 +00:00
Aleksi Häkli
2d228ea49b
Version 5.9.1 2020-12-02 18:00:05 +02:00
Ashok Argent-Katwala
3a7d154f65 Adjust formatting to match the lint check. 2020-12-02 17:55:30 +02:00
Ashok Argent-Katwala
146d7a20b7 Only do the work in the middleware if axes is enabled. 2020-12-02 17:55:30 +02:00
Jannis Leidel
23ca162097
Merge pull request #684 from jazzband/gha
Migrate to GitHub Actions.
2020-11-26 17:11:02 +01:00
Jannis Leidel
005313dcee
Remove unneeded cache key. 2020-11-26 11:36:06 +01:00
Jannis Leidel
9c88dfde54
Remove Travis cruft. 2020-11-26 11:31:02 +01:00
Jannis Leidel
d1fe6f23b7
Add release workflow. 2020-11-26 11:30:49 +01:00
Jannis Leidel
f156dd5158
Simplify matrix. 2020-11-26 11:20:05 +01:00
Jannis Leidel
b05e69a573
Try fixing the qa env. 2020-11-26 11:16:53 +01:00
Jannis Leidel
f9ce96caeb
Change matrix strategy. 2020-11-26 11:14:04 +01:00
Jannis Leidel
acf386e9ba
Write coverage file. 2020-11-26 11:03:50 +01:00
Jannis Leidel
0bf8ff9c34
Fix variable name. 2020-11-26 11:00:03 +01:00
Jannis Leidel
c53970631e
Quote DJANGO env var. 2020-11-26 10:44:32 +01:00
Jannis Leidel
eee3263d03
Ignore errors on master. 2020-11-26 10:33:22 +01:00
Jannis Leidel
21d0ed023a
Add tox changes. 2020-11-26 10:22:38 +01:00
Jannis Leidel
5695e3f426
Add initial GitHub Actions test workflow. 2020-11-26 10:20:21 +01:00
Hasan Ramezani
e83a86b51a Fixed 5.9.0 release entry. 2020-11-07 00:47:30 +02:00
Aleksi Häkli
648fe1d644
Version 5.9.0 2020-11-05 20:17:45 +02:00
Hasan Ramezani
22c564743d Prevent AccessAttempt creation for None username. 2020-11-05 20:06:49 +02:00
Hasan Ramezani
8aa88a6ab4 Add Python3.9 support. 2020-11-05 13:27:34 +02:00
dependabot-preview[bot]
d30c197518 Bump pytest from 6.1.1 to 6.1.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.1...6.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 18:07:20 +00:00
dependabot-preview[bot]
ff7948e182 Bump pytest-django from 4.0.0 to 4.1.0
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases)
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst)
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v4.0.0...v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 13:09:22 +00:00
dependabot-preview[bot]
d6aef62e08 Bump prospector from 1.3.0 to 1.3.1
Bumps [prospector](https://github.com/PyCQA/prospector) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/PyCQA/prospector/releases)
- [Changelog](https://github.com/PyCQA/prospector/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/PyCQA/prospector/compare/1.3.0...1.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-22 09:38:36 +00:00
dependabot-preview[bot]
78c2974d5b Bump pytest-django from 3.10.0 to 4.0.0
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 3.10.0 to 4.0.0.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases)
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst)
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v3.10.0...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 09:40:31 +00:00
Aleksi Häkli
7e6fceefa0
Version 5.7.2 2020-10-16 11:18:39 +03:00
Anatoly
baf2349adb Apply Black for py36 2020-10-16 11:15:40 +03:00
Anatoly
d0a1338eb4 Update documentation of AxesMiddleware 2020-10-16 11:15:40 +03:00
Anatoly
f17971d339 Update documentation of AxesMiddleware 2020-10-16 11:15:40 +03:00
Anatoly
660963345a Cover AxesMiddleware with more tests 2020-10-16 11:15:40 +03:00
Anatoly
ae49f3bdae Update django request in the AxesMiddleware if drf is used 2020-10-16 11:15:40 +03:00
dependabot-preview[bot]
1c40eae305 Bump tox from 3.20.0 to 3.20.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.20.0 to 3.20.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/3.20.1/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.20.0...3.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-16 08:12:58 +00:00
dependabot-preview[bot]
f01a816e28 Bump mypy from 0.782 to 0.790
Bumps [mypy](https://github.com/python/mypy) from 0.782 to 0.790.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.782...v0.790)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-16 08:12:14 +00:00
Andrew Arderne
2efdcdd575 Update 3_usage.rst
typo
2020-10-16 00:33:04 +03:00
dependabot-preview[bot]
1b86e8c0c6 Bump pytest from 6.1.0 to 6.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.0...6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 22:37:20 +03:00
Daniel Brown
ef39b3da2d Add username to docs of lockout template 2020-10-05 12:42:49 +03:00
Daniel Brown
55c5ce5eae Add cooloff_timedelta to docs of lockout template 2020-10-05 12:42:49 +03:00
Aleksi Häkli
ce846bf4eb Fix GitHub code editor whitespaces 2020-09-27 17:08:01 +03:00
Aleksi Häkli
aae0e295ef Add QA skip for import ordering 2020-09-27 17:08:01 +03:00
Aleksi Häkli
4b0d70f99a Version 5.7.1 2020-09-27 17:08:01 +03:00
Aleksi Häkli
f213a87c00 Add @toggleable decorator to signal handler
Conform to the toggleable logic for the AccessAttempt event handling
2020-09-27 17:08:01 +03:00
Aleksi Häkli
122f387171 Adjust init verbose and enabled mode handling
Reduce complexity and leave the enabled mode to be used
with the toggleable decorator that disables functionality
when AXES_ENABLED is set to False for testing etc.

This conforms with the previous behaviour and logic flow.
2020-09-27 17:08:01 +03:00
Aleksi Häkli
4cac338138 Add AXES_LOGGER deprecation notice to checks 2020-09-27 17:08:01 +03:00
Aleksi Häkli
00635d3ad0 Update initial module imports 2020-09-27 17:08:01 +03:00
Aleksi Häkli
7b33ecbf69
Clean up requirements specification 2020-09-26 22:23:19 +03:00