log
graph
tags
bookmarks
branches
changeset
browse
file
diff
comparison
annotate
file log
raw
help
Mercurial
>
public
>
sg101
log gpp/antispam/decorators.py @ 520:
e94570675664
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
less
more
|
(0)
tip
age
author
description
2011-12-03
Brian Neal
Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
2011-09-25
Brian Neal
Refactor RateLimiter so that if Redis is not running, everything still runs normally (minus the rate limiting protection). My assumption that creating a Redis connection would throw an exception if Redis wasn't running was wrong. The exceptions actually occur when you issue a command. This is for #224.
2011-08-27
Brian Neal
Fixing #224; make sure we block IP's that have tripped the rate limiter or have been manually blocked.
2011-08-25
Brian Neal
Implement rate limiting on registration and login for #224.
less
more
|
(0)
tip