Commit Graph

7 Commits (ba917e15f66c7848fe943e571d1ec5eeb549b59d)

Author SHA1 Message Date
Eugen Rochko 33513753b9
Fix unpermitted parameters warning when generating pagination URLs ()
abcang 37b043d447 Improve performance of account_media_status_ids ()
Eugen Rochko fce8464077
Ensure that boolean params in the API are parsed for truthiness ()
Use Rails smart boolean cast to account for values such as "f",
"0", "false", etc. Previously, if a param was present in the request,
it would count as true.
Eugen Rochko 9caa90025f Pinned statuses ()
* Pinned statuses

* yarn manage:translations
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
Matt Jankowski 73540ffe6b Clean up for api/base controller ()
* Move ApiController to Api/BaseController

* API controllers inherit from Api::BaseController

* Add coverage for various error cases in api/base controller
Matt Jankowski 5c63523972 Spec coverage and refactor for the api/v1/accounts controllers ()