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
Alex Clark
f6c0e4fdd7
Ditch setuptools/easy_install instructions
2015-02-11 12:00:22 -05:00
Alex Clark
ed15836970
Prepare 1.3.9
2015-02-11 11:59:13 -05:00
Alex Clark
6bd5a50cb8
Merge pull request #110 from patgmiller/middleware-wraps-view
...
added middleware to decorate views with watched_login
2014-12-23 14:01:51 -05:00
Patrick Miller
4727fb639f
added middleware to decorate views with watched_login
2014-12-23 08:17:34 -07:00
Camilo Nova
20dfda1a5c
Merge pull request #109 from Zeioth/master
...
Syntax error fixed - closes #104
2014-11-25 07:50:55 -05:00
Adrian Lopez
23e0ad9635
Syntax error fixed - closes #104
2014-11-25 00:49:27 +01:00
Camilo Nova
c060bde49b
Merge pull request #100 from AJRenold/two_factor
...
PASSWORD_FORM_FIELD set from django settings file
2014-10-23 07:06:08 -05:00
Alex Clark ☺
e2c00596ce
Merge pull request #105 from kouk/patch-1
...
Update README.rst to document #97
2014-10-13 10:38:17 -04:00
Konstantinos Koukopoulos
e6c5d06c3a
Update README.rst to document #97
2014-10-13 17:36:56 +03:00
Alex Clark ☺
281df366f3
Merge pull request #103 from robromano/master
...
Update Travis config to test latest versions of Django, and 1.7 is officially released
2014-10-09 12:47:59 -04:00
Robert Romano
4559ca5e9e
Update Travis config to test latest versions of Django, including 1.7 which is officially released
2014-10-09 12:34:19 -04:00
Alex Clark
d0be3bcbef
Update
2014-10-07 07:49:35 -04:00
Alex Clark
4fa6c2c35a
Nit
...
lowercase pip
2014-10-07 07:47:51 -04:00
Alex Clark
10920cd7e5
Rename org
2014-10-07 07:47:37 -04:00
Alex Clark
621fac8404
Release 1.3.7
2014-10-05 09:17:54 -04: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
Alex Clark ☺
36a9d5d414
Merge pull request #99 from cericoda/master
...
Explain common issues where Axes fails silently
2014-09-30 07:47:50 -04:00
cericoda
dec4d46df6
Update README.rst
2014-09-30 12:36:23 +01:00
cericoda
c1ecff5de6
Update README.rst
2014-09-30 12:35:01 +01:00
Camilo Nova
a2860d287f
Merge pull request #97 from SteveByerly/master
...
Allow for user-defined username field for lookup in POST data
2014-09-17 16:12:07 -05:00
Camilo Nova
ee62450b79
Merge pull request #96 from zoten/master
...
Log out only if user was logged in
2014-09-17 16:10:34 -05:00
Camilo Nova
553922ce1a
Merge pull request #78 from marianov/master
...
Support for floats in cooloff time (i.e: 0.1 == 6 minutes)
2014-09-17 15:56:32 -05:00
Camilo Nova
4d9d240552
Merge pull request #75 from peterkuma/postdatafix-pr
...
Limit amount of POST data logged (#73 )
2014-09-17 15:55:48 -05:00
Steve Byerly
a11de14127
allow for user-defined username login form field
2014-09-09 14:32:14 -07:00
zoten
98d8a29a70
Log out only if user was logged in
...
Not useful to trigger a logout signal if the user was not authenticated, for logging purposes
2014-08-20 10:35:19 +02:00
Camilo Nova
5beadc96f5
Merge pull request #93 from 7wonders/master
...
Improve get_ip to try for real ip address
2014-08-14 11:46:00 -05:00
Scott Adams
2165a23c49
Improve get_ip to try for real ip address
2014-08-13 11:22:29 +02:00
Camilo Nova
36da5b0adc
Merge pull request #90 from polvoblanco/master
...
Change IPAddressField to GenericIPAddressField
2014-08-01 08:07:44 -05:00
polvoblanco
81bebc4c32
Change IPAddressField to GenericIPAddressField
...
When using a PostgreSQL database and the client does not pass an IP address you get an inet error. This is a known problem with PostgreSQL and the IPAddressField.
https://code.djangoproject.com/ticket/5622
It can be fixed by using a GenericIPAddressField instead.
2014-07-31 17:57:33 +01:00
Camilo Nova
a6a3e476ac
Merge pull request #80 from tutumcloud/split-forwarded-for
...
Get first X-Forwarded-For IP
2014-06-24 13:30:48 -05:00
Camilo Nova
878cb490f9
Merge pull request #81 from ericbulloch/master
...
White listing IP addresses behind reverse proxy.
2014-06-24 13:30:02 -05:00
Eric Bulloch
23a8481240
White listing IP addresses behind reverse proxy.
...
Allowing some IP addresses to have direct access to the app even if they
are behind a reverse proxy. Those IP addresses must still be on a white
list.
2014-06-24 12:05:27 -06:00
fermayo
5b94c44434
Get first X-Forwarded-For IP
2014-06-24 18:01:12 +02:00
Mariano Vassallo
a8cd749bd2
Support for floats in cooloff time (i.e: 0.1 == 6 minutes)
2014-05-28 16:22:06 -03:00
Camilo Nova
c93fa4055b
Merge pull request #77 from eht16/reverse_proxy_log_reducing
...
Reduce logging of reverse proxy IP lookup and use configured logger. Fixes #76
2014-05-24 10:09:35 -05:00