Ken Cochrane
3b58e9bc16
fixed a couple of issues from previous commits, imported signals in models to load them correctly.
2012-11-25 19:41:55 -05:00
Ken Cochrane
82296db695
Added ability to flag user accounts as unlockable, by having a field in the UserProfile called nolockout and set to True, if not there it is ignored
2012-11-25 18:39:14 -05:00
Ken Cochrane
4e16a85aed
added ipaddress as a param to the user_locked_out signal; also added a signal reciever for user_logged_out so that we can log when the user logs out in the accessLog table.
2012-11-25 18:20:56 -05:00
Ken Cochrane
2b77673336
added a signal for when a user gets locked out
2012-11-25 17:42:55 -05:00
Ken Cochrane
9682a39528
Added AccessLog model to log all access attempts. refactored the models so there is a common abstract base class. Also added the model to django admin
2012-11-25 15:46:45 -05:00
Alex Clark ☺
f8028ddb63
Update setup.py
...
Don't import from axes
2012-10-25 19:46:37 -03:00
Josh VanderLinden
bd88ac1e7c
Incorporating changes offered by kostrom in pull request #6 a flippin year ago...
2012-08-26 00:36:52 -06:00
Josh VanderLinden
6cb6b37a64
Merge pull request #15 from benkonrath/timezone
...
Use django timezone.now() to get current time.
2012-07-05 20:08:16 -07:00
Ben Konrath
9225835dd1
Use django timezone.now() to get current time.
...
Fallback to python datetime.now() when timezone is not available (Django <
1.4). This has been tested with Django 1.4 and 1.3.1.
2012-07-03 11:29:25 +02:00
Josh VanderLinden
6789ab6e24
Removed tag 1.2.4-rc1
2012-06-11 08:48:32 -06:00
Josh VanderLinden
02b7571718
Added tag 1.2.5-rc1 for changeset 928120acc477
2012-06-11 08:47:09 -06:00
Josh VanderLinden
f31a5227f5
Apparently 1.2.4-rc1 was already pushed to PyPI a while ago :)
2012-06-11 08:47:05 -06:00
Josh VanderLinden
c3f0b3c188
Added tag 1.2.4-rc1 for changeset 5a0199cff324
2012-06-11 08:41:45 -06:00
Josh VanderLinden
3d2479de37
Updated the README a bit
2012-06-11 08:41:41 -06:00
Mike Blume
d7d514078f
the command is axes_reset
...
fix documentation. Close #12
2012-06-10 21:32:21 -07:00
Mike Blume
ed4b27c732
be careful about whether USE_TZ exists
...
should fix github issue #13
2012-06-10 21:23:23 -07:00
Josh VanderLinden
4a64812e16
Merge pull request #10 from benkonrath/master
...
patch for Django timezone support in datetime
2012-05-18 09:38:46 -07:00
Ben Konrath
5cf1f2dd59
Update Django timezone support based on comments from Josh VanderLinden.
2012-05-16 19:33:08 +02:00
Ben Konrath
f85f3e001d
Add Django timezone support to datetime when enabled.
2012-05-11 10:24:34 +02:00
Mike Blume
9a6f96c4be
don't put this whole thing in a try
2011-04-12 21:05:32 +00:00
Mike Blume
b1b0cb390e
lots of pep8 fixes
2011-04-12 21:05:32 +00:00
Mike Blume
5e022c56d1
version bump
2011-03-16 17:33:33 +00:00
Mike Blume
50733bce76
make failures a property
2011-03-16 15:13:06 +00:00
Mike Blume
887df1ac4b
lose settings import -- we don't seem to be using it.
2011-03-16 15:12:51 +00:00
Mike Blume
e91600dbe2
separete RequestContext from context data we pass in
2011-03-16 15:12:30 +00:00
Mike Blume
8f7ac3fdbe
version bump
2011-02-13 19:34:43 +00:00
Mike Blume
b74dec0151
fix kwargs bug
2011-02-13 19:33:23 +00:00
Mike Blume
30c4347a77
version bump
2011-02-13 17:26:52 +00:00
Mike Blume
50a3d4861f
add reset management command
2011-01-25 21:41:06 +00:00
Josh VanderLinden
c5ad01720c
Added tag 1.2.1-rc1 for changeset 48981134694f
2010-12-30 20:38:50 -05:00
Josh VanderLinden
dd53c0217b
Fixed some reStructuredText problems in the README
2010-12-30 20:33:54 -05:00
Josh VanderLinden
0e49d282c8
Adding README.rst to the manifest
2010-12-30 20:30:44 -05:00
Josh VanderLinden
6cc216c14a
Removing any passwords from the request data. (GC #2 )
2010-12-27 22:16:08 -05:00
Josh VanderLinden
39b2afea28
Removing the dist directory
2010-12-27 21:53:37 -05:00
Josh VanderLinden
dc1235b6a9
Updating authors. Version bump.
...
--HG--
extra : rebase_source : 8fdd7f6c7a4c86df8074ea0f7222eff0c7a3b5ca
2010-12-27 21:51:51 -05:00
Mike Blume
7af0764340
Introduce (and document) replacement staff_member_required decorator.
2010-10-18 03:38:42 +00:00
Mike Blume
58453048a9
factor lockout_response into its own helper function
2010-10-18 03:33:50 +00:00
Mike Blume
aa1bc1456b
provide more fine-grained control over login patching
2010-10-18 03:32:21 +00:00
Mike Blume
6d1c0131a1
Document reset() function and some new parameter defaults
2010-10-11 22:58:45 +00:00
Josh VanderLinden
474e7a3d21
Linking README to README.rst
2010-10-01 17:46:01 -04:00
Josh VanderLinden
12387668be
Renaming README to README.rst
...
--HG--
rename : README => README.rst
2010-10-01 17:44:25 -04:00
Josh VanderLinden
5a238b30ea
Removing symlink to README
2010-10-01 17:44:01 -04:00
Josh VanderLinden
c01158b74d
Updating ignores
2010-10-01 17:42:47 -04:00
Josh VanderLinden
2c066c7080
Merging in changes from MichaelBlume, with some modifications of my own.
2010-10-01 17:41:38 -04:00
Mike Blume
75eef30053
let git and hg ignore eachother
2010-09-29 21:11:41 +00:00
Mike Blume
bd04aac6cd
bump version
2010-09-27 17:44:57 +00:00
Mike Blume
aa411ddcd6
add reset command.
...
from axes.utils import reset
reset() will reset all lockouts and access records.
reset(ip) will clear lockout/records for ip
reset will print a message to std out if there is nothing to reset,
unless called with silent = True
2010-09-27 17:43:23 +00:00
Mike Blume
a1d4d098ad
bump this up to 1.0 RC 1
2010-09-24 22:46:04 +00:00
Mike Blume
7e7f52e80c
locking someone out deserves a warn, not just an info
2010-09-24 22:42:21 +00:00
Mike Blume
c4304f6a89
successful login resets failure count
...
If a user fails to login, then logs in successfully, we wipe the slate.
2010-09-20 23:18:14 +00:00