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
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