activitypub-academy/app
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
..
chewy Change algorithm of tootctl search deploy to improve performance (#18463) 2022-05-22 22:16:43 +02:00
controllers Add /api/v1/admin/domain_blocks (#18247) 2022-06-01 17:31:36 +02:00
helpers Fix errors when rendering RSS feeds (#18531) 2022-05-26 23:02:42 +02:00
javascript Change label of publish button to be "Publish" again (#18583) 2022-06-01 05:03:12 +02:00
lib Fix TagManager#local_url? erroring out on invalid URL (#18580) 2022-05-31 18:25:24 +02:00
mailers Prevent use locale with empty string (#18543) 2022-05-28 14:32:08 +02:00
models Add /api/v1/admin/domain_blocks (#18247) 2022-06-01 17:31:36 +02:00
policies Remove sign-in token authentication, instead send e-mail about new sign-in (#17970) 2022-04-06 20:58:12 +02:00
presenters Add /api/v1/accounts/familiar_followers to REST API (#17700) 2022-03-07 09:36:47 +01:00
serializers Add /api/v1/admin/domain_blocks (#18247) 2022-06-01 17:31:36 +02:00
services Fix concurrent unfollowing decrementing follower count more than once (#18527) 2022-05-26 22:14:47 +02:00
validators Remove IP matching from e-mail domain blocks (#18190) 2022-04-29 23:27:03 +02:00
views Add lang html attr to each posts (#18544) 2022-05-28 15:50:36 +02:00
workers Prevent use locale with empty string (#18543) 2022-05-28 14:32:08 +02:00