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
dependabot-preview[bot]
c059bce290
Bump pytest from 6.0.2 to 6.1.0
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.0.2 to 6.1.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.0.2...6.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-26 22:20:38 +03:00
Aleksi Häkli
33f0eaa6b9
Version 5.7.0
2020-09-26 21:46:43 +03:00
Aleksi Häkli
b569cdb991
Deprecate settings.AXES_LOGGER configuration flag
...
Fixes #634
The Django import system seems to produce errors
in certain configurations and especially when
MIGRATION_MODULES configuration is set globally.
This is most probably caused by misbehaving or cyclic
Python module imports in the Django application
instrumentatation chain that come up when the
MIGRATION_MODULES configuration is altered.
This patch migrates to the standard Python logging system
use and has less overhead and complexity for users as well.
Having a configurable logging prefix does not produce
a lot of benefits and is less flexible than having
all individual module logging configurations accessible
through the module __name__ parameter in Axes.
For example axes.handlers.* or axes.backends.*
are separately configurable in the new scheme
whereas they would have been both bundled under
the AXES_LOGGER log configuration.
2020-09-26 21:44:56 +03:00
Aleksi Häkli
2b560fe244
Version 5.6.2
2020-09-20 22:02:54 +03:00
Aleksi Häkli
eedba80ef9
Roll back axes_reset_username style update
2020-09-20 22:00:59 +03:00
dependabot-preview[bot]
7c37c2634f
Bump prospector from 1.2.0 to 1.3.0
...
Bumps [prospector](https://github.com/PyCQA/prospector ) from 1.2.0 to 1.3.0.
- [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.2.0...1.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-18 09:51:36 +00:00
dependabot-preview[bot]
e3e6e14779
Bump pytest-django from 3.9.0 to 3.10.0
...
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django ) from 3.9.0 to 3.10.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.9.0...v3.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-18 09:35:08 +00:00
Aleksi Häkli
8d04a7418b
Version 5.6.1
2020-09-17 15:07:26 +03:00
David Smith
baed1377f2
Split requirements files and bumped black/mypy versions
2020-09-17 15:06:07 +03:00
dependabot-preview[bot]
761aa81e0f
Bump pytest-django from 3.9.0 to 3.10.0
...
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django ) from 3.9.0 to 3.10.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.9.0...v3.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-15 09:35:02 +00:00