Commit graph

35 commits

Author SHA1 Message Date
Pierre Lalet
6e64c62fbf Add new management command axes_reset_ip_username 2023-11-28 20:37:39 +01:00
Gregory DAVID
1849552f45 Implement AccessFailureLog recordings 2022-04-08 22:16:19 +03:00
Aleksi Häkli
d6581058eb
Fix symlink for builds 2022-01-08 21:59:38 +02:00
Aleksi Häkli
69c7a02183 Update Django and Python version support 2022-01-08 21:39:25 +02:00
Hasan Ramezani
d674fa6296 Bump prospector from 1.3.1 to 1.5.3 2021-12-08 09:00:51 +01:00
Aleksi Häkli
eedba80ef9 Roll back axes_reset_username style update 2020-09-20 22:00:59 +03:00
David Smith
baed1377f2 Split requirements files and bumped black/mypy versions 2020-09-17 15:06:07 +03:00
Aleksi Häkli
93bb73552e
Upgrade CI tooling to use automatic code formatting 2019-09-28 19:28:17 +03:00
Aleksi Häkli
d8c6632384
Make reset for attempts and logs pluggable
Fixes #454
2019-07-11 15:31:14 +02:00
Aleksi Häkli
0a708ae3ea
Rename logs reset command 2019-07-09 12:55:28 +02:00
tlebrize
1253d6aeaa added delete_access_logs management commands as well as tests for it #455 2019-07-09 12:12:54 +02:00
Aleksi Häkli
2f319cfff7 Add backwards compatibility link for axes_reset_user 2019-05-01 14:30:21 +03:00
Aleksi Häkli
b46e7cce01
Drop Python 3.5 support
Most of our users are already running on Python 3.6+
and dropping 3.5 and below in a future oriented release
allows us to focus on implementing more readable codebases.

Fixes #417

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-03-09 21:49:45 +02:00
Aleksi Häkli
ff6cb8bffd
Move utils to helpers module
In order to offer backwards compatible import path for the
axes.utils.reset function it has to have a separate
implementation that can be imported independently from
the axes.helpers functions that are used by the
AxesBaseHandler implementation.

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-25 22:54:40 +02:00
Aleksi Häkli
46fc538193
Add cache handler and refactor tests
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-23 20:19:37 +02:00
Aleksi Häkli
b120fc6fde
Remove redundant AccessAttempt.failures property
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-22 19:55:10 +02:00
Aleksi Häkli
030810df79
Drop Python 2.7 and Python 3.4 support
Fixes #395

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-07 17:28:26 +02:00
Aleksi Häkli
ecadddbf5d
Improve management commands, docs, and tests
Fixes #362

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-03 16:03:30 +02:00
Aleksi Häkli
69c97d4cee
Ignore argument definitions and import reports for signal handlers and utilities
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-04-21 17:08:09 +03:00
Aleksi Häkli
df8feb4f69
Backport unicode string literals for Python 2.7
Fixes #328
2018-04-18 15:21:09 +03:00
Adam Taylor
790a106f2a Changed the way output is handled in the management commands 2017-11-17 17:34:03 -05:00
Vladimir Nani
9c8ab657ba Reset lockouts for user 2016-10-24 12:24:32 +03:00
Eva Marques
54902242c1 Fix bug when using the optional IP parameter
When the IP parameter is used the first element of kwargs needs to be skipped because its value is the string 'ip'.
2016-09-27 17:55:51 +01:00
Aaron Redalen
d5a5e46b2f Reset all attempts when ip not specified
When no ip address positional arguments are specified, reset all attempts, as with reset() and per documentation.
2016-08-05 09:40:12 -07:00
Aaron Redalen
1addfaecb6 Make ip positional argument optional 2016-08-05 09:00:11 -07:00
Camilo Nova
19f4e709e8 🔥 Do some cleaning 2016-06-24 08:41:24 -05:00
Serhiy Zahoriya
d193641bad Fixing #126, possibly breaking compatibility with Django<=1.7 2016-03-11 19:43:01 +02:00
Adrian Lopez
23e0ad9635 Syntax error fixed - closes #104 2014-11-25 00:49:27 +01:00
Camilo Nova
6ea41bb624 Merge pull request #66 from nicois/master
Python 3 compatibility fix for db_reset
2014-04-09 06:54:41 -05:00
Mariano Vassallo
9e7b1f9767 Admin command to list login attemps 2014-03-20 13:13:52 -03:00
Nick Farrell
3788b0d9bf Python 3 compatibility fix for db_reset 2014-02-08 22:54:35 +11:00
Camilo Nova
cf1091d411 Improved axes_reset command. Fixes #52 2013-07-27 12:16:54 -05:00
Mike Blume
b1b0cb390e lots of pep8 fixes 2011-04-12 21:05:32 +00:00
Mike Blume
b74dec0151 fix kwargs bug 2011-02-13 19:33:23 +00:00
Mike Blume
50a3d4861f add reset management command 2011-01-25 21:41:06 +00:00