Petr Dlouhý
f2d3009279
add user_agent test, fix get_client_parameters tests
2022-11-24 21:58:57 +02:00
Simon Kern
556b56a84b
update testconfig: use AxesStandaloneBackend
2022-08-18 16:32:00 +03:00
Simon Kern
5590419f81
Use new backend base class in checks
...
In 5c4bca6cb6 a new backend base class was introduced. However the check and its corresponding tests still reference the old base class, thus triggering a warning on setups using the new backend base class.
resolves #907
2022-08-18 16:32:00 +03:00
Aleksi Häkli
4490013111
Migrate MD5 hashing to SHA256
...
Continue using MD5 hashing in Axes test settings
as it offers better performance for test runs
without compromising security for users
2022-05-16 10:41:07 +03:00
Shaheed Haque
99e10cb714
Update expected test results.
2022-05-11 17:08:55 +03:00
Hasan Ramezani
dc98a7b2e3
Allow float values for AXES_COOLOFF_TIME( #868 ).
2022-04-13 17:51:10 +03:00
Antoine Dujardin
9c2ceb7eb7
Add option to keep current behavior for cooloff reset
2022-04-08 22:17:05 +03:00
Antoine Dujardin
1015bad451
Don't reset cooloff time in case of login attempt during lockout
2022-04-08 22:17:05 +03:00
Gregory DAVID
246d884b84
Tests for AccessFailureLog
2022-04-08 22:16:19 +03:00
Hasan Ramezani
e4e88e01a3
Fix #845 -- Rename test functions
2022-03-02 17:12:45 +02:00
Hasan Ramezani
03c6798ebe
Add Django 4.0 to test matrix.
2021-12-14 21:29:34 +02:00
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