1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/config
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
..
environments Fix parsing TRUSTED_PROXY_IP (#18051) 2022-04-19 08:11:58 +01:00
initializers Fix confirmation redirect to app without Location header (#18523) 2022-05-26 22:03:54 +02:00
locales Add /api/v1/admin/domain_blocks (#18247) 2022-06-01 17:31:36 +02:00
webpack Fix assets failing to build with OpenSSL 3 because of deprecated hash algorithm (#17930) 2022-04-01 23:55:32 +02:00
application.rb Change search indexing to use batches to minimize resource usage (#18451) 2022-05-18 23:29:14 +02:00
boot.rb
brakeman.ignore Fix IDN domains not being rendered correctly in a few left-over places (#17848) 2022-03-22 10:07:11 +01:00
database.yml Format JSON and YAML using Prettier (#17823) 2022-03-21 04:46:11 +01:00
deploy.rb Bump capistrano from 3.16.0 to 3.17.0 (#17774) 2022-03-29 18:49:00 +09:00
environment.rb
i18n-tasks.yml Bump i18n-tasks from 0.9.37 to 1.0.8 (#17993) 2022-04-08 20:14:50 +09:00
navigation.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
pghero.yml
puma.rb
routes.rb Add /api/v1/admin/domain_blocks (#18247) 2022-06-01 17:31:36 +02:00
secrets.yml
settings.yml Change e-mail notifications to only be sent when recipient is offline (#17984) 2022-04-08 18:03:31 +02:00
sidekiq.yml Change search indexing to use batches to minimize resource usage (#18451) 2022-05-18 23:29:14 +02:00
storage.yml
themes.yml
webpacker.yml