You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
7 years ago
..
admin Move admin/pubsubhubbub controller to admin/subscriptions (#3442) 7 years ago
api Redirect to streaming_api_base_url (#3579) 7 years ago
auth Fix empty flash message on the settings page (#3345) 8 years ago
concerns Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 7 years ago
oauth
settings change sidekiq queueing to bulk push (#3536) 7 years ago
well_known Ensure well_known controllers use WEB_DOMAIN by including RoutingHelper (#2388) 7 years ago
about_controller.rb
account_follow_controller.rb Restful refactor of accounts/ routes (#2133) 8 years ago
account_unfollow_controller.rb Restful refactor of accounts/ routes (#2133) 8 years ago
accounts_controller.rb Remove redundant call of recent scope in AccountsController (#3330) 8 years ago
api_controller.rb Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 7 years ago
application_controller.rb Show error message to suspended user (#3281) 8 years ago
authorize_follows_controller.rb Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 8 years ago
follower_accounts_controller.rb Introduce recent to Follow (#3247) 8 years ago
following_accounts_controller.rb Introduce recent to Follow (#3247) 8 years ago
home_controller.rb Fix Doorkeeper error (#2534) 8 years ago
manifests_controller.rb Fix #3063 - Add dynamic app manifest (#3563) 7 years ago
media_controller.rb Extract authorization policy for viewing statuses (#3150) 7 years ago
remote_follow_controller.rb Conditional validations no longer accept strings for if/unless (#3124) 8 years ago
statuses_controller.rb Extract authorization policy for viewing statuses (#3150) 7 years ago
stream_entries_controller.rb Extract authorization policy for viewing statuses (#3150) 7 years ago
tags_controller.rb Return missing page when tag does not exist (#2563) 8 years ago