Commit graph

321 commits

Author SHA1 Message Date
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
codekoala
74676db7dc Added an ignores file 2009-12-16 21:48:05 -05:00
wheaties.box
e1e68ee2c0 Created tag 0.1.1-rc1
--HG--
extra : convert_revision : svn%3A6515f4ec-ab5a-11dd-8fd9-859366ca643a/trunk%404
2008-12-06 10:09:34 +00:00
wheaties.box
8dd2141605 Fixed a problem with what seems to be several levels of recursion causing many AccessAttempt objects to be created even though only one failed login attempt took place (for example). It seems to be working anyway...
--HG--
extra : convert_revision : svn%3A6515f4ec-ab5a-11dd-8fd9-859366ca643a/trunk%403
2008-12-06 09:50:52 +00:00
wheaties.box
404f02b85c Initial import
--HG--
extra : convert_revision : svn%3A6515f4ec-ab5a-11dd-8fd9-859366ca643a/trunk%402
2008-11-05 22:52:40 +00:00
unknown
d564fcc481 Initial directory structure.
--HG--
extra : convert_revision : svn%3A6515f4ec-ab5a-11dd-8fd9-859366ca643a/trunk%401
2008-11-05 16:54:22 +00:00