about summary refs log tree commit diff
path: root/app/controllers/api/v1/timelines/public_controller.rb
AgeCommit message (Collapse)Author
2019-11-18Remove `FilterHelper` include from timeline APIs.multiple creatures
2019-11-17Do away with the kludgy solution of applying users' filters from API ↵multiple creatures
controllers; we will do this in the `Status` model instead, and at the database level.
2019-10-05apply custom filters to world and tag timelines the slow way until the ↵multiple creatures
custom filter system gets changed
2019-09-15stop pre-caching media on public, home, direct, & list timelinesmultiple creatures
2019-09-02fix tag timeline media prefetching, remove `limit_params` from prefetch queriesmultiple creatures
2019-09-01pre-emptively fetch missing remote media when a timeline's api page is readmultiple creatures
2019-08-18privacy - require authentication on all timeline endpoints to make life ↵multiple creatures
difficult for fediverse archivers
2018-09-28Support min_id-based pagination in REST API (#8736)Eugen Rochko
* Allow min_id pagination in Feed#get * Add min_id pagination to home and list timeline APIs * Add min_id pagination to account statuses, public and tag APIs * Remove unused stub in reports API * Use min_id pagination in notifications, favourites, and fix order * Fix HomeFeed#from_database not using paginate_by_id
2018-04-02Fix unpermitted parameters warning when generating pagination URLs (#6995)Eugen Rochko
2018-03-01Add only_media param to public and hashtag timelines API (#6576)Eugen Rochko
2018-03-01Ensure that boolean params in the API are parsed for truthiness (#6575)Eugen Rochko
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.
2017-07-07Refactor JSON templates to be generated with ActiveModelSerializers instead ↵Eugen Rochko
of Rabl (#4090)
2017-06-07Clean up for api/base controller (#3629)Matt Jankowski
* Move ApiController to Api/BaseController * API controllers inherit from Api::BaseController * Add coverage for various error cases in api/base controller
2017-05-31Refactor and spec coverage for api/v1/timelines actions (#3482)Matt Jankowski
2017-05-23Refactor of API timeline actions (#3263)Matt Jankowski
- Increase coverage to exercise all parts of each action - Move into namespace to share common code - Misc refactor of each action for smaller methods, simpler code