Matt Jankowski
0ba3ad4a35
Remove `body_json_ids` from api/v2/admin/accounts spec ( #32003 )
2 years ago
Matt Jankowski
d55f4fbda1
Add content type checks to api/v2 request specs ( #31983 )
2 years ago
Matt Jankowski
6b6a80b407
Remove `body_as_json` in favor of built-in `response.parsed_body` for JSON response specs ( #31749 )
2 years ago
Matt Jankowski
43e24dbb13
Use `include_pagination_headers` in more places ( #30999 )
2 years ago
Matt Jankowski
3a862439df
Remove unused account record in api/v2/admin/accounts spec ( #30397 )
2 years ago
Matt Jankowski
b6baab447d
Move `api/v2/admin/accounts` to request spec ( #28950 )
2 years ago
Matt Jankowski
cd64a5b2ec
Clean up of `RSpec/LetSetup` within `api/` ( #28448 )
2 years ago
Matt Jankowski
fd9dea21d0
DB speedup in `API::` controller/request specs ( #25516 )
3 years ago
Daniel M Brasil
b9bc9d0bda
Fix incorrect pagination headers in `/api/v2/admin/accounts` ( #25477 )
3 years ago
Matt Jankowski
4c5f62de99
Extract shared examples from api specs ( #25387 )
3 years ago
Matt Jankowski
c97b611b6b
Fix RSpec/InferredSpecType cop ( #24736 )
3 years ago
Nick Schonning
84cc805cae
Enable Style/FrozenStringLiteralComment for specs ( #23790 )
3 years ago
Nick Schonning
a7db0b41cd
Autofix Rubocop Lint/ParenthesesAsGroupedExpression ( #23682 )
3 years ago
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
4 years ago
Claire
894956e20c
Fix /api/v1/admin/accounts ( #17887 )
...
* Fix /api/v1/admin/accounts
Compatibility was broken since #17009 which changed the underlying filter class
without changing the controller.
This commits restore support for the old parameters.
* Add /api/v2/admin/accounts with the new parameters
* Add tests
* Add missing filter for `silenced` status
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
4 years ago