Commit graph

321 commits

Author SHA1 Message Date
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
Enrico Tröger
7f57a86408 Reduce logging of reverse proxy IP lookup and use configured logger
Instead of logging the notice that django.axes looks for a HTTP header
set by a reverse proxy on each attempt, just log it one-time on first
module import.
Also use the configured logger (by default axes.watch_login) for the
message to be more consistent in logging.
2014-05-24 13:48:39 +02:00
Peter Kuma
b6c3eeeaed Limit amount of POST data logged (#73)
Limiting the length of value is not enough, as there could be arbitrary
number of them, or very long key names.
2014-05-22 10:07:24 +02:00
Camilo Nova
4daba3daa3 Limit the length of the values logged into the database. Refs #73 2014-05-10 12:38:04 -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
10356ffe41 Added django 1.7 for testing 2014-05-10 10:19:25 -05:00
Camilo Nova
8dc1622e99 Travis file cleanup 2014-05-10 09:56:28 -05:00
Camilo Nova
87a740439d Merge branch 'Andrew-Crosio-django1.7_compatibility' 2014-05-10 09:45:14 -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
Andrew Crosio
cdb1866cbb fix for django 1.7 exception not existing 2014-04-25 14:55:46 +04:00
Camilo Nova
6152fc925d Removed python 2.6 from testing 2014-04-09 07:49:51 -05:00
Camilo Nova
8b648b8775 Use django built-in six version 2014-04-09 07:42:18 -05:00
Camilo Nova
d9e8b8cd88 Added six as requirement 2014-04-09 07:25:24 -05:00
Camilo Nova
5d61187348 Added python 2.6 for travis testing 2014-04-09 07:19:04 -05:00
Camilo Nova
5cc1dd2215 Merge pull request #69 from amrhassan/master
Replaced u string literal prefixes with six.u() calls
2014-04-09 07:15:14 -05: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
Camilo Nova
6ea41bb624 Merge pull request #66 from nicois/master
Python 3 compatibility fix for db_reset
2014-04-09 06:54:41 -05:00
Camilo Nova
ebabed7136 Merge pull request #65 from barseghyanartur/master
Added example project and helper scripts
2014-04-09 06:49:51 -05:00
Camilo Nova
c8232773d1 Merge pull request #72 from marianov/master
Admin command to list login attemps
2014-04-09 06:45:58 -05:00
Mariano Vassallo
9e7b1f9767 Admin command to list login attemps 2014-03-20 13:13:52 -03:00
Amr Hassan
f6f494cc11 Replaced six imports with django.utils.six ones 2014-03-05 11:43:05 +02:00
Amr Hassan
c90ee0562a Replaced u string literal prefixes with six.u() calls to make it compatible with Python 3.2 2014-03-02 12:20:21 +02:00
Flavio Curella
0a1377866f replaced assertIns and assertNotIns with assertContains and assertNotContains 2014-02-26 23:52:28 +01:00
Flavio Curella
98bafd3926 added py3k to travis 2014-02-26 22:36:38 +01:00
Nick Farrell
864508bd13 update test cases to be python3 compatible 2014-02-08 23:38:06 +11:00
Nick Farrell
3788b0d9bf Python 3 compatibility fix for db_reset 2014-02-08 22:54:35 +11:00
Artur Barseghyan
e819c70049 removed trash from example urls 2013-12-24 19:41:06 +01:00
Artur Barseghyan
29a22b97f4 added django installer 2013-12-24 19:37:01 +01:00
Artur Barseghyan
b67374dfb3 added example project and helper scripts 2013-12-24 19:30:30 +01:00
Camilo Nova
778f208cc1 Release 1.3.6 2013-11-23 11:17:15 -05:00
Camilo Nova
19182a4b43 Improved formatting 2013-11-07 19:08:16 -05:00
Camilo Nova
03c8282f89 Updated repository url and made some cleanup 2013-11-07 19:01:56 -05:00