Matt Jankowski
85d9053b36
Move pagination_params
into API::BaseController
( #28845 )
2024-05-30 14:56:48 +00:00
Matt Jankowski
b5115850bb
Move repeated insert_pagination_headers
method to api base class ( #29606 )
2024-03-18 10:11:53 +00:00
Matt Jankowski
9754967d5f
Move pagination_max_id
and pagination_since_id
into api/base controller ( #28844 )
2024-03-13 08:51:44 +00:00
Daniel M Brasil
ce8b5899ae
Fix POST /api/v1/admin/domain_allows
returning 200 when no domain is specified ( #24958 )
2023-05-22 13:44:49 +02:00
Matt Jankowski
6e226f5a32
Fix Rails/ActionOrder cop ( #24692 )
2023-04-30 06:46:39 +02:00
Eugen Rochko
276b85bc91
Fix admin APIs returning deleted object instead of empty object upon delete ( #19479 )
...
Fix #19153
2022-10-30 02:43:57 +02:00
Eugen Rochko
44b2ee3485
Add customizable user roles ( #18641 )
...
* Add customizable user roles
* Various fixes and improvements
* Add migration for old settings and fix tootctl role management
2022-07-05 02:41:40 +02:00
Claire
35588d09e2
Add /api/v1/admin/domain_allows ( #18668 )
...
- `GET /api/v1/admin/domain_allows` lists allowed domains
- `GET /api/v1/admin/domain_allows/:id` shows one by ID
- `DELETE /api/v1/admin/domain_allows/:id` deletes a given domain from the list
of allowed domains
- `POST /api/v1/admin/domain_allows` to allow a new domain:
if that domain is already allowed, the existing DomainAllow will be returned
2022-06-23 23:12:01 +02:00