Commit graph

55 commits

Author SHA1 Message Date
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
Mike Blume
cf8cf00f94 a bit less verbosity -- this gets imported a lot if you're using runserver 2010-09-20 22:18:09 +00:00
Mike Blume
62f43b97d2 update logging style a bit 2010-09-20 17:59:25 +00:00
Mike Blume
62dbac1c26 some controls on ouput verbosity 2010-09-20 17:43:16 +00:00
Mike Blume
5df66876d7 ignore build folder 2010-09-20 17:32:46 +00:00
Mike Blume
be1db1de12 ignore .pyc files 2010-09-20 17:32:43 +00:00
Mike Blume
f289dc9f81 doc new features 2010-09-20 17:32:41 +00:00
Mike Blume
df61513e71 allow more flexibility in lockout display
creates settings for either an URL to redirect to, or a template to
display.
2010-09-20 17:32:31 +00:00
Mike Blume
063111434d log to arbitrary loggers 2010-09-15 09:46:38 -07:00
Mike Blume
7bc8e8a3b3 ask forgiveness, not permission 2010-09-15 09:46:32 -07:00
Mike Blume
5f10ffddc2 move check_request out to its own function, so folks can import it.
check_request takes a request and a boolean, is_unsuccessful.

It updates the database as needed, then returns True if the response
should continue unchanged, and False if it should be blocked.

it also logs out the request if we're blocking.
2010-09-15 07:41:18 +00:00
Mike Blume
a27ac6444b check for lockout immediately, rather than mucking with the database.
This has the side effect that a locked-out user attempting to log in does
not reset their cooloff time. This is good, since the reverse may feel
overly 'punitive' to the user.
2010-09-15 03:39:24 +00:00
Mike Blume
8a4f146cb3 fix some variable name issues 2010-09-15 03:36:31 +00:00
Mike Blume
a6c2e2c622 document cooloff feature 2010-09-14 21:29:10 +00:00
Mike Blume
49de80206d add nifty cooloff feature.
Allows user to define an amount of time after which old failed attempts
will be forgotten.
2010-09-14 21:28:42 +00:00
codekoala
9b72adfee9 Updated the README with info for hg and git 2009-12-16 23:37:58 -05:00
codekoala
eafc81b7d8 GC #1 - I've implemented some of the groovy features offered by philipn. Thanks! 2009-12-16 23:24:30 -05:00