1
0
Fork 1
forked from fedi/mastodon
mastodon/app
Matt Jankowski f0634ba876 Coverage improvement and concern extraction for rate limit headers in API controller (#3625)
* Coverage for rate limit headers

* Move rate limit headers methods to concern

* Move throttle check to condition on before_action

* Move match_data variable into method

* Move utc timestamp to separate method

* Move header setting into smaller methods

* specs cleanup
2017-06-07 17:23:26 +02:00
..
controllers Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 2017-06-07 17:23:26 +02:00
helpers Resolve custom application stylesheet with Webpack (#3373) 2017-06-01 20:56:32 +02:00
javascript Small changes to japanese translation (#3620) 2017-06-07 10:15:35 +02:00
lib Allow "class" attribute on the "a" tag in sanitization (#3623) 2017-06-07 15:57:30 +02:00
mailers Remove unnecessary .keep files (#2976) 2017-05-11 01:45:42 +02:00
models Fix tag search order and not to use tsvector (#3611) 2017-06-06 16:07:06 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Bump version, improve how version is stored for better commit history (#2526) 2017-04-27 15:22:19 +02:00
services Fix Code Climate failed (regression from #3622) (#3624) 2017-06-07 15:57:59 +02:00
validators Added support for configurable reserved usernames (fix of #1382) (#3566) 2017-06-05 01:03:45 +02:00
views Don't show business e-mail if it's blank (#3619) 2017-06-07 09:57:47 +02:00
workers change sidekiq queueing to bulk push (#3536) 2017-06-04 00:11:15 +02:00