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
Claire 28329ba62f
Add /api/v1/admin/domain_blocks (#18247)
* Add /api/v1/admin/domain_blocks

Fixes #18140

- `GET /api/v1/admin/domain_blocks` lists domain blocks
- `GET /api/v1/admin/domain_blocks/:id` shows one by ID
- `DELETE /api/v1/admin/domain_blocks/:id` deletes a given domain block
- `POST /api/v1/admin/domain_blocks` to create a new domain block:
  if it conflicts with an existing one, returns an error with
  an attribute `existing_domain_block` with the rendered domain block

* Simplify conflict handling as suggested in review
4 years ago
..
activitypub Fix suspended users being able to access APIs that don't require a user (#18524) 4 years ago
admin Fix single Redis connection being used across all threads (#18135) 4 years ago
api Add /api/v1/admin/domain_blocks (#18247) 4 years ago
auth Fix confirmation redirect to app without `Location` header (#18523) 4 years ago
concerns Remove sign-in token authentication, instead send e-mail about new sign-in (#17970) 4 years ago
disputes Change old moderation strikes to be displayed in a separate page (#17566) 4 years ago
oauth Fix error when trying to revoke OAuth token without supplying a token (#18205) 4 years ago
settings Refactor how Redis locks are created (#18400) 4 years ago
well_known Remove Keybase integration (#17045) 4 years ago
about_controller.rb
account_follow_controller.rb
account_unfollow_controller.rb
accounts_controller.rb Change RSS feeds (#18356) 4 years ago
application_controller.rb Add logging of S3-related errors (#16381) 5 years ago
authorize_interactions_controller.rb Fix double render error when authorizing interaction (#18203) 4 years ago
custom_css_controller.rb Remove set-cookie header on custom.css (#16314) 5 years ago
directories_controller.rb Change trending hashtags to be affected be reblogs (#16164) 5 years ago
emojis_controller.rb
filters_controller.rb
follower_accounts_controller.rb Add `/api/v1/accounts/familiar_followers` to REST API (#17700) 4 years ago
following_accounts_controller.rb Fix double render error when authorizing interaction (#18203) 4 years ago
health_controller.rb
home_controller.rb Change routing paths to use usernames in web UI (#16171) 5 years ago
instance_actors_controller.rb Fix instance actor not being dereferenceable (#17457) 4 years ago
intents_controller.rb
invites_controller.rb
manifests_controller.rb
media_controller.rb Fix error when rendering public pages with media attachments (#16763) 4 years ago
media_proxy_controller.rb Refactor how Redis locks are created (#18400) 4 years ago
public_timelines_controller.rb
relationships_controller.rb
remote_follow_controller.rb
remote_interaction_controller.rb
shares_controller.rb
statuses_cleanup_controller.rb Add feature to automatically delete old toots (#16529) 5 years ago
statuses_controller.rb Fix error when trying to render component for media without meta (#16112) 5 years ago
tags_controller.rb Change RSS feeds (#18356) 4 years ago