Mercurial > public > sg101
log gpp/antispam/decorators.py @ 505:a5d11471d031
age | author | description |
---|---|---|
Sat, 03 Dec 2011 19:13:38 +0000 | 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. |
Sun, 25 Sep 2011 00:49:05 +0000 | 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. |
Sat, 27 Aug 2011 04:23:30 +0000 | Brian Neal | Fixing #224; make sure we block IP's that have tripped the rate limiter or have been manually blocked. |