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
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
account_follow_controller.rb
account_unfollow_controller.rb
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
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
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