Commit Graph

12 Commits

Author SHA1 Message Date
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
630b4570ef Add specs for RateLimiter::LimitExceeded#description. 2018-06-19 07:48:03 +08:00
320cd9a19e UX: rate limiter message will say to wait "a few seconds" instead of 0 to 3 seconds 2018-06-18 14:14:47 -04:00
Sam
5a9622163d FIX: regression around rate limiter 2017-12-04 21:44:16 +11:00
5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
06591022fe FEATURE: Generous badge 2016-03-15 16:08:29 -04:00
622d804d46 FEATURE: Add rejection message on rejected IncomingEmail
FIX: Better RateLimit description in rejected IncomingEmail
FEATURE: Send email when hitting a rate limit
2016-03-07 16:56:17 +01:00
0b4cb5cf0d Add better error messages for rate limits. 2015-09-24 13:52:46 -04:00
3620c8c85e Move descriptions for rate limiting errors into the exception 2015-09-24 13:52:46 -04:00
Sam
bb20f64cb2 use standard error so its easier to catch 2015-03-23 12:20:50 +11:00
cafc75b238 remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
21b5628528 Initial release of Discourse 2013-02-05 14:16:51 -05:00