Commit graph

1192 commits

Author SHA1 Message Date
Артур Муллахметов
6b932b856c Issue #155. Lockout response status code changed to 403. 2016-05-12 23:01:18 +03:00
Camilo Nova
5d3b03ef37 Merge pull request #154 from hiqlabs/issue151-private-ips
Set IP public/private classifier to be compliant with RFC 1918.
2016-04-28 12:17:10 -05:00
Silas Barta
70af6ea206 Set IP public/private classifier to be compliant with RFC 1918. 2016-04-27 13:48:50 -07:00
Camilo Nova
339f5def76 Merge pull request #149 from teeberg/decorate-login-once
Decorate auth_views.login only once
2016-04-26 11:18:59 -05:00
Jonas Trappenberg
d10d1cfa7f Decorate auth_views.login only once 2016-04-21 17:53:53 -07:00
Camilo Nova
8222309573 Fixes #148 2016-03-28 14:46:05 -05:00
Camilo Nova
1a78de81f1 Merge pull request #145 from int-ua/master
Fixing #126, possibly breaking compatibility with Django<=1.7
2016-03-28 14:44:20 -05:00
Camilo Nova
defc6aaae7 Merge pull request #146 from kelseyq/patch-1
Add note for upgrading users about new migration files
2016-03-15 14:25:23 -05:00
Kelsey Gilmore-Innis
81d091b431 Add note for upgrading users about new migration files
related to #143
2016-03-11 10:20:26 -08:00
Serhiy Zahoriya
d193641bad Fixing #126, possibly breaking compatibility with Django<=1.7 2016-03-11 19:43:01 +02:00
Camilo Nova
ffa1e7689c Merge pull request #144 from ideallical/feature/py3_compatible_migrations
Made migrations py3 compatible
2016-03-11 07:30:47 -05:00
Michael van de Waeter
a4ed01c22d Made migrations py3 compatible 2016-03-08 22:41:10 +01:00
Camilo Nova
73907f0298 Merge pull request #141 from HageMaster3108/bugfix/reverse-proxy-whitelist-fix
Reverse Proxy Whitelist fix
2016-01-29 08:33:04 -05:00
Patrick Hagemeister
d7b2a18305 Fixes whitelist check when BEHIND_REVERSE_PROXY 2016-01-29 12:44:56 +01:00
Camilo Nova
31a54fac00 Release 1.6.0 2016-01-07 07:59:29 -05:00
Camilo Nova
d5832365a5 Merge pull request #138 from Schweigi/master
Add missing db indexes for CommonAccess model
2015-12-18 07:55:56 -05:00
Marco Schweighauser
3637a8038d Add db indexes to CommonAccess model 2015-12-17 13:50:29 -08:00
Camilo Nova
b71ee5d914 Merge pull request #136 from ibaguio/add-migration-files
added initial migration files to support django 1.7 &up
2015-11-16 14:41:41 -05:00
ibaguio
78099e5571 added initial migration files to support django 1.7 &up 2015-11-16 22:02:19 +08:00
Camilo Nova
e1286c7f92 Merge pull request #134 from annp89/master
Iterate over ip addresses only once
2015-10-23 15:36:25 -05: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
Camilo Nova
660f41b92f Tweak markdown 2015-10-15 08:09:14 -05:00
Camilo Nova
1ce68370cc Added documentation on how to use a captcha. Fixes #91 2015-10-15 08:07:44 -05:00
Camilo Nova
a9c9e0a0e8 Merge pull request #129 from tarkatronic/optimized-query2str
Fixes #127 & #73 - Improved the implementation of query2str
2015-10-15 07:45:32 -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
d3369c2721 Added Python 3.4 and Django 1.8.5 to the testing matrix 2015-10-09 16:08:49 -07:00
Joey Wilhelm
b36e5513d9 Improved performance & DoS prevention on query2str 2015-10-09 16:08:27 -07:00
Camilo Nova
6dcba2bfc4 Merge pull request #128 from tarkatronic/template-engine-agnostic
Stopped using render_to_response so that other template engines work
2015-10-09 09:02:08 -05:00
Joey Wilhelm
e56906b766 Stopped using render_to_response so that other template engines work 2015-10-06 18:40:41 -07:00
Alex Clark
a267c97058 Release 1.5.0 2015-09-11 11:21:06 -04:00
Camilo Nova
697147b46f Merge pull request #125 from AFioca/master
Fix #_get_user_attempts to include username when filtering AccessAtte…
2015-09-01 11:13:35 -05: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
Alex Clark
2b33478456 Release 1.4.0
- Update meta
- Add new make targets for release
2015-08-10 08:04:52 -04:00
Camilo Nova
30c218cc8a Merge pull request #123 from Moco/master
Add username to LOCKOUT_TEMPLATE template context
2015-07-06 14:11:25 -05: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
493184b3e7 Merge pull request #121 from django-pci/revert-120-master
Revert "properly use username and IP when pulling attempts.
2015-06-26 11:25:45 -05: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
Camilo Nova
56e0d8df33 Merge pull request #120 from SteveByerly/master
properly use username and IP when pulling attempts. add test and easier testing command.
2015-06-23 14:50:26 -05:00
Steve Byerly
4a926c7cc6 properly use username and IP when pulling attempts. add test. 2015-06-23 09:16:01 -07:00
Alex Clark
877f824039 Update 2015-04-29 08:16:37 -04:00
Alex Clark
47d686a326 Merge pull request #119 from toabi/lockout-signal
Fixes sending the user_locked_out signal
2015-04-29 08:15:09 -04: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
0188f25547 Updated django version 2015-03-23 09:10:57 -05:00
Camilo Nova
41ad3cc806 Cleaned testing, removing global state and made some tweaks 2015-03-23 08:56:22 -05:00
Camilo Nova
d20f52819f Merge pull request #118 from Oik741/master
Fixed create_new_failure_records(), added feature to lock out by USER+IP
2015-03-20 17:41:02 -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
Alex Clark
4a7b90e98e Add pyroma 2015-02-11 12:04:06 -05:00