1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-11 21:28:23 +09:00
mastodon/app/controllers/api/v1
Eugen Rochko fce8464077
Ensure that boolean params in the API are parsed for truthiness (#6575)
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.
2018-03-01 02:47:59 +01:00
..
accounts Ensure that boolean params in the API are parsed for truthiness (#6575) 2018-03-01 02:47:59 +01:00
apps Fix #5104 - GET /api/v1/apps/verify_credentials to confirm app works (#5112) 2017-09-30 22:05:42 +02:00
instances Represent numbers by strings in instance activity API (#6198) 2018-01-05 22:38:33 +01:00
lists Add list of lists component to web UI (#5811) 2017-12-05 23:02:27 +01:00
statuses Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
timelines Ensure that boolean params in the API are parsed for truthiness (#6575) 2018-03-01 02:47:59 +01:00
accounts_controller.rb Ensure that boolean params in the API are parsed for truthiness (#6575) 2018-03-01 02:47:59 +01:00
apps_controller.rb Fix #5104 - GET /api/v1/apps/verify_credentials to confirm app works (#5112) 2017-09-30 22:05:42 +02:00
blocks_controller.rb Fix pagination in Api::V1::BlocksController (#5285) 2017-10-09 17:30:31 +02:00
custom_emojis_controller.rb Improve admin UI for custom emojis, add copy/disable/enable (#5231) 2017-10-05 23:42:05 +02:00
domain_blocks_controller.rb Clean up for api/base controller (#3629) 2017-06-07 20:09:25 +02:00
favourites_controller.rb Merge queries in Api::V1::FavouritesController (#4359) 2017-07-25 16:01:03 +02:00
follow_requests_controller.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
follows_controller.rb Fix POST /api/v1/follows error when already following (#4878) 2017-09-10 15:09:06 +02:00
instances_controller.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
lists_controller.rb Limit users to 50 lists, remove pagination from lists API (#5933) 2017-12-09 01:32:29 +01:00
media_controller.rb Focal points (#6520) 2018-02-22 00:35:46 +01:00
mutes_controller.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
notifications_controller.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
reports_controller.rb Federated reports (#6570) 2018-02-28 06:54:55 +01:00
search_controller.rb Ensure that boolean params in the API are parsed for truthiness (#6575) 2018-03-01 02:47:59 +01:00
statuses_controller.rb Make PreviewCard records reuseable between statuses (#4642) 2017-09-01 16:20:16 +02:00
streaming_controller.rb Clean up for api/base controller (#3629) 2017-06-07 20:09:25 +02:00