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
0a98d2ac2b
Release 2.2.0
2016-07-20 11:54:31 -05:00
Camilo Nova
0239e173e0
🔥 Clean weird logic when processing proxy ips
2016-07-20 11:38:37 -05:00
Camilo Nova
ea9a87b7de
Release 2.1.0
2016-07-14 16:14:25 -05:00
Diederik van der Boor
8f011917dc
Add default_app_config so you can just use axes in INSTALLED_APPS
2016-07-07 11:12:29 +02:00
Camilo Nova
5ba8aa4580
Release 2.0.0
2016-06-24 11:55:13 -05:00
Camilo Nova
730857a158
☀️ Migrated from Middleware and added support for django 1.10
2016-06-24 11:31:01 -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
Camilo Nova
19f4e709e8
🔥 Do some cleaning
2016-06-24 08:41:24 -05:00
Camilo Nova
7a395011a4
Removed filter by ip address
2016-06-23 17:34:57 -05:00
Artur Mullakhmetov
dfe7d84907
Fix ISO8601 time duration format.
2016-06-20 17:40:17 +03:00
Camilo Nova
a87ffa6874
Merge pull request #158 from mullakhmetov/json-response-type
...
Added JSON response type.
2016-06-07 09:12:10 -05:00
Joeri Bekker
99fd05e68c
Added AXES_NEVER_LOCKOUT_WHITELIST option to prevent certain IPs from being locked out.
2016-06-02 13:40:31 +02:00
Artur Mullakhmetov
5627d1c285
Merge remote-tracking branch 'upstream/master' into json-response-type
...
# Conflicts:
# axes/decorators.py
2016-05-30 16:36:39 +03:00
Artur Mullakhmetov
1c303ceec5
Add json response and iso8601 tests.
2016-05-30 16:08:34 +03:00
Artur Mullakhmetov
06a97de5d9
Edit json response. Context now contains ISO 8601 formatted cooloff time.
2016-05-30 16:05:10 +03:00
Artur Mullakhmetov
7444c4e3b3
Add iso8601 translator.
2016-05-30 15:59:48 +03:00
Camilo Nova
142f49d919
Merge pull request #161 from yograterol/patch-1
...
Added app_label for RemovedInDjango19Warning
2016-05-26 08:56:17 -05:00
Yohan Graterol
677fa3986b
Added app_label for RemovedInDjango19Warning
2016-05-23 08:02:33 -05:00
Radosław Luter
dfc2a50f2c
use render shortcut for rendering LOCKOUT_TEMPLATE
2016-05-20 17:44:20 +02:00
Артур Муллахметов
2643de5e59
Add humanize COOLOFF_TIME output. Additional in HttpReponse case,
...
substitutive in JSON response case.
2016-05-13 11:50:17 +03:00
Артур Муллахметов
4e8f94d7c2
Add json response on ajax request.
2016-05-13 11:15:38 +03:00
Steve Meinel
8e8bfab789
BUGFIX: Missing migration
2016-05-12 15:14:23 -07: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
Jonas Trappenberg
d10d1cfa7f
Decorate auth_views.login only once
2016-04-21 17:53:53 -07:00
Serhiy Zahoriya
d193641bad
Fixing #126 , possibly breaking compatibility with Django<=1.7
2016-03-11 19:43:01 +02:00
Michael van de Waeter
a4ed01c22d
Made migrations py3 compatible
2016-03-08 22:41:10 +01:00
Patrick Hagemeister
d7b2a18305
Fixes whitelist check when BEHIND_REVERSE_PROXY
2016-01-29 12:44:56 +01:00
Marco Schweighauser
3637a8038d
Add db indexes to CommonAccess model
2015-12-17 13:50:29 -08:00
ibaguio
78099e5571
added initial migration files to support django 1.7 &up
2015-11-16 22:02:19 +08:00
Ann Paul
74f50d8211
Iterate over ip addresses only once
2015-10-23 08:56:32 -07:00
Camilo Nova
035dca0b44
Merge pull request #131 from jdunck/fast-path-unlockable
...
Immediately return from is_already_locked if the user is not lockable
2015-10-17 16:42:42 -05:00
Jeremy Dunck
57e667ac73
Immediately return from is_already_locked if the user is not lockable
2015-10-13 14:34:11 -07:00
Joey Wilhelm
4dae514972
Removed an unnecessary six.u() call. Also excluded Py 3.4/Django 1.4 from tests
2015-10-12 13:21:28 -07:00
Joey Wilhelm
b36e5513d9
Improved performance & DoS prevention on query2str
2015-10-09 16:08:27 -07:00
Joey Wilhelm
e56906b766
Stopped using render_to_response so that other template engines work
2015-10-06 18:40:41 -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
Dale O'Brien
68f0d5ee86
Add username to LOCKOUT_TEMPLATE template context
...
So I can use their username in the lockout template, e.g. something like this,
2015-07-06 13:18:03 +10: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
Vladimir Shaykovskiy
c43cd7bb9d
Fixed create_new_failure_records(), added feature to lock out by USER+IP combination only
...
Removed unnecessary separating of one failure attempt on two AccessAttempt objects(according to current code it's not required).
Added optional feature to lock out account login from particular IP.
2015-03-20 20:56:15 +03:00
Camilo Nova
cb2c014334
Improved the way we ask if a user is lockable
...
Fixes #113
2015-02-24 11:16:24 -05:00
Patrick Miller
4727fb639f
added middleware to decorate views with watched_login
2014-12-23 08:17:34 -07:00
Adrian Lopez
23e0ad9635
Syntax error fixed - closes #104
2014-11-25 00:49:27 +01:00
AJ
b77daf2657
refactored password form field for it can be set from settings
...
added extra logic in decorated login to handle two_factor no redirecty login
added extra logic in decorated login to handle two_factor no redirecty login part 2
added extra logic in decorated login to handle two_factor no redirecty login part 3
removed extra changes
2014-10-01 21:06:41 -07:00