Commit graph

57 commits

Author SHA1 Message Date
Jorge Galvis
de9fe09f5c Add test for get_cache_key function 2016-12-06 21:36:49 -05:00
Jorge Galvis
19affea1ba Merge branch 'master' into cache-attemps 2016-12-06 17:51:19 -05:00
Jorge Galvis
187195664b Fix tests after apply cache workflow 2016-12-06 16:46:16 -05:00
Camilo Nova
8fde5cf658 Merge pull request #207 from schinckel/only-check-on-post
Only look for lockable users on a POST.
2016-11-24 08:49:10 -05:00
Aleksi Häkli
41877cdecd Fix and add tests for IPv4 and IPv6 parsing
This patch does not fix IPv6 parsing with ports
2016-11-21 21:33:55 +02:00
Matthew Schinckel
90bf691e17 Fix failing test.
I think I'm just ensuring test coverage is not reduced now.
2016-11-17 16:57:12 +10:30
Matthew Schinckel
ddfd53d678 More tests. Still not entirely sure where I'm going with this yet. 2016-11-17 16:53:15 +10:30
Matthew Schinckel
68c7128885 Playing around with different is_user_lockable ideas. 2016-11-17 16:46:30 +10:30
Sam Kuehn
610f04120f fix python3 import 2016-11-07 09:02:13 -07:00
Sam Kuehn
c86f234a3a add test for is_ipv6 2016-11-04 14:54:03 -06:00
Yi Ming Yung
b49e685603 Added settings for disabling success accesslogs and added complete disabling of accesslogs 2016-11-04 14:09:48 +01:00
Camilo Nova
790f451092 Merge pull request #193 from slurms/master
Fix #192 -- AXES_DISABLE_ACCESS_LOG doesn't work.
2016-09-23 11:56:34 -05:00
Nick Sandford
99807d0a1b Fix #192 -- AXES_DISABLE_ACCESS_LOG doesn't work. 2016-09-23 14:58:29 +01:00
lip77us
cad837aac9 Added AXES_ONLY_USER_FAILURES to support only looking at the user ID and not the IP address. I needed to add this for offices that use the same IP. One user was locking the whole office out of my application. Tests updated as well. 2016-09-22 12:35:51 -07:00
Camilo Nova
a3a3798e53 Fixes status code 2016-08-18 11:13:30 -05:00
Camilo Nova
b9d5fae32a Fix for IIS used as reverse proxy. Closes #184 2016-08-18 10:55:27 -05:00
Sven Hertle
65ed32f866 Unsuccessful logins are logged even if access log is disabled 2016-08-11 12:45:53 +02:00
Sven Hertle
6b1c5787dc fixed tests 2016-08-10 17:18:57 +02:00
Sven Hertle
2b86159a40 Added possibility to disable access log 2016-08-10 16:35:02 +02:00
Camilo Nova
b20bad14f5 Removed unneeded test 2016-07-20 12:10:42 -05:00
Camilo Nova
5ece222de6 Remove unused method in test 2016-07-20 12:02:11 -05:00
Camilo Nova
08f40bc13b 🔥 Cleaning 2016-06-24 09:42:18 -05:00
Camilo Nova
036b47706a ☀️ Improved the way we run tests 2016-06-24 09:16:29 -05:00
Artur Mullakhmetov
dfe7d84907 Fix ISO8601 time duration format. 2016-06-20 17:40:17 +03:00
Artur Mullakhmetov
1c303ceec5 Add json response and iso8601 tests. 2016-05-30 16:08:34 +03:00
Артур Муллахметов
cef95f8bc3 Issue #155. Lockout response status code changed to 403. 2016-05-12 23:19:22 +03:00
Silas Barta
70af6ea206 Set IP public/private classifier to be compliant with RFC 1918. 2016-04-27 13:48:50 -07:00
Joey Wilhelm
b36e5513d9 Improved performance & DoS prevention on query2str 2015-10-09 16:08:27 -07:00
afioca
796bc43646 Fix #_get_user_attempts to include username when filtering AccessAttempts if AXES_LOCK_OUT_BY_COMBINATION_USER_AND_IP is True 2015-08-31 10:18:27 -04:00
Camilo Nova
2dfcf969d8 Revert "properly use username and IP when pulling attempts. add test and easier testing command." 2015-06-26 09:07:22 -05:00
Steve Byerly
4a926c7cc6 properly use username and IP when pulling attempts. add test. 2015-06-23 09:16:01 -07:00
Tobias Birmili
3a3b955225 Fixes sending the user_locked_out signal.
It also adds a test for that. Fixes #94.
2015-04-29 14:08:03 +02:00
Camilo Nova
41ad3cc806 Cleaned testing, removing global state and made some tweaks 2015-03-23 08:56:22 -05:00
Camilo Nova
22a7d7e160 Refactored tests to be more stable and faster 2014-05-10 12:09:25 -05:00
Camilo Nova
6973609cae Clean client references 2014-05-10 10:34:05 -05:00
Camilo Nova
9c468ecb4e Fixed admin login url 2014-05-10 10:31:57 -05:00
Camilo Nova
33fe4f02b3 Fixed conflict 2014-05-10 09:44:52 -05:00
Camilo Nova
bbd688b4d2 Remove hardcoded url path 2014-05-05 16:11:54 -05:00
Andrew Crosio
298ba366b8 fixing tests for django 1.7 2014-04-25 14:55:58 +04:00
Camilo Nova
4e2a9bd02d Fixes object type issue, response is not an string 2014-04-09 07:11:02 -05:00
Camilo Nova
26b8927c77 Fixed merge conflicts 2014-04-09 07:05:10 -05:00
Flavio Curella
0a1377866f replaced assertIns and assertNotIns with assertContains and assertNotContains 2014-02-26 23:52:28 +01:00
Nick Farrell
864508bd13 update test cases to be python3 compatible 2014-02-08 23:38:06 +11:00
Camilo Nova
38689a550d Added missing import 2013-11-07 18:54:35 -05:00
Camilo Nova
20ffed0fc4 Fixed conflict 2013-11-07 18:45:56 -05:00
Alexander Schrijver
bf208944fd Add tests for the cooling off period and for the cooling off period with
trusted users.
2013-08-14 11:29:15 +02:00
Camilo Nova
cf1091d411 Improved axes_reset command. Fixes #52 2013-07-27 12:16:54 -05:00
Camilo Nova
2e29240381 Fixed an issue when a user on django 1.4 logout 2013-04-20 18:39:59 -05:00
Camilo Nova
01edd72298 Improved tests so it really looks for the rabbit in the hole 2013-04-20 17:53:42 -05:00
Camilo Nova
dacdb32d18 Make sure axes can handle weird user agents. Fixes #38 2013-04-04 19:19:52 -05:00