Asher Foa
13848bdb5f
Fix typo in tests
2021-10-21 11:07:56 +03:30
Vasyl Dizhak
8c5c43f482
#750 , fix lockout failure when providing AXES_USERNAME_CALLABLE
2021-10-11 20:59:06 +03:00
sarahboyce
403076ef51
feat(helpers): update get_client_str to accept request object
...
Use case: include more info about the user in the client_str.
username is already included in the arguments but that would require a separate DB call.
https://github.com/jazzband/django-axes/issues/782
2021-09-02 17:40:05 +03:00
Yuta Okamoto
17c5d3f314
set None to failures_since_start
2021-08-31 21:24:26 +03:00
Yuta Okamoto
945754eb15
make failures_since_start accessible to the views
2021-08-31 21:24:26 +03:00
phil-bell
2368a7af38
adding test for different http response code
2021-08-19 16:02:32 +03:00
Aleksi Häkli
ac86d4b213
Adjust commentation and log messages
2021-06-29 17:50:37 +03:00
smtydn
1a8d96e242
Add AXES_CLIENT_STR_CALLABLE setting
2021-05-19 20:54:57 +03:00
Michael O'Connor
170dacc112
Integrate AXS_SENSITIVE_PARAMETERS functionality with AXES_PASSWORD_FORM_FIELD
2021-05-03 17:10:45 +03:00
Michael O'Connor
f54c4f095b
Add option to cleanse sensitive GET and POST params in database handler
2021-05-03 17:10:45 +03:00
Aleksi Häkli
69af352d6e
Mark flaky tests on database handler tests on PyPy runtime
...
The database handler tests fail from time to time due to slow PyPy startup time
which results in tests failing unexpectedly which only happens on PyPy.
This PR requires CPython runtime to pass the tests and indicates failures,
but does not fail the test suite due to them.
2021-03-01 13:49:53 +02:00
Nat Gordon
d4e97123f2
Add support to reset attempts on the cache handler
2021-02-15 20:20:49 +02:00
Aleksi Häkli
b6b26e492f
Optimize imports as part of cleanup round
2021-01-07 18:23:33 +02:00
Aleksi Häkli
5d042aa105
Clean up test structure
...
Move old test_utils content to test_helpers
to better correlate with current submodule naming
2021-01-07 18:23:33 +02:00
Aleksi Häkli
a5045f62fe
Move tests outside project source folder
2021-01-07 18:23:33 +02:00