1
0
Fork 0
forked from fedi/mastodon
mastodon/app/controllers
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
..
admin Move admin/pubsubhubbub controller to admin/subscriptions (#3442) 2017-05-31 20:39:35 +02:00
api Redirect to streaming_api_base_url (#3579) 2017-06-05 12:09:29 +02:00
auth Fix empty flash message on the settings page (#3345) 2017-05-27 13:04:28 +02:00
concerns Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 2017-06-07 17:23:26 +02:00
oauth Fix #1165 - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
settings change sidekiq queueing to bulk push (#3536) 2017-06-04 00:11:15 +02:00
well_known Ensure well_known controllers use WEB_DOMAIN by including RoutingHelper (#2388) 2017-06-02 22:21:36 +02:00
about_controller.rb Clean up about page (#1282) 2017-04-09 14:47:25 +02:00
account_follow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
account_unfollow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
accounts_controller.rb Remove redundant call of recent scope in AccountsController (#3330) 2017-05-26 16:35:25 +02:00
api_controller.rb Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 2017-06-07 17:23:26 +02:00
application_controller.rb Show error message to suspended user (#3281) 2017-05-24 16:39:09 +02:00
authorize_follows_controller.rb Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 2017-04-30 00:23:45 +02:00
follower_accounts_controller.rb Introduce recent to Follow (#3247) 2017-05-23 13:12:19 +02:00
following_accounts_controller.rb Introduce recent to Follow (#3247) 2017-05-23 13:12:19 +02:00
home_controller.rb Fix Doorkeeper error (#2534) 2017-04-27 18:04:28 +02:00
manifests_controller.rb Fix #3063 - Add dynamic app manifest (#3563) 2017-06-06 19:29:42 +02:00
media_controller.rb Extract authorization policy for viewing statuses (#3150) 2017-05-29 18:22:22 +02:00
remote_follow_controller.rb Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
statuses_controller.rb Extract authorization policy for viewing statuses (#3150) 2017-05-29 18:22:22 +02:00
stream_entries_controller.rb Extract authorization policy for viewing statuses (#3150) 2017-05-29 18:22:22 +02:00
tags_controller.rb Return missing page when tag does not exist (#2563) 2017-04-28 15:11:21 +02:00