This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
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
2022-06-01 17:31:36 +02:00
..
activitypub Fix suspended users being able to access APIs that don't require a user (#18524) 2022-05-26 22:04:05 +02:00
admin
api Add /api/v1/admin/domain_blocks (#18247) 2022-06-01 17:31:36 +02:00
auth Fix confirmation redirect to app without `Location` header (#18523) 2022-05-26 22:03:54 +02:00
concerns
disputes
oauth
settings Refactor how Redis locks are created (#18400) 2022-05-13 00:02:35 +02:00
well_known
about_controller.rb
account_follow_controller.rb
account_unfollow_controller.rb
accounts_controller.rb Change RSS feeds (#18356) 2022-05-09 07:43:08 +02:00
application_controller.rb
authorize_interactions_controller.rb Fix double render error when authorizing interaction (#18203) 2022-05-01 00:56:34 +02:00
custom_css_controller.rb
directories_controller.rb
emojis_controller.rb
filters_controller.rb
follower_accounts_controller.rb
following_accounts_controller.rb Fix double render error when authorizing interaction (#18203) 2022-05-01 00:56:34 +02:00
health_controller.rb
home_controller.rb
instance_actors_controller.rb
intents_controller.rb
invites_controller.rb
manifests_controller.rb
media_controller.rb
media_proxy_controller.rb Refactor how Redis locks are created (#18400) 2022-05-13 00:02:35 +02:00
public_timelines_controller.rb
relationships_controller.rb
remote_follow_controller.rb
remote_interaction_controller.rb
shares_controller.rb
statuses_cleanup_controller.rb
statuses_controller.rb
tags_controller.rb Change RSS feeds (#18356) 2022-05-09 07:43:08 +02:00