about summary refs log tree commit diff
path: root/app/controllers/api/v1/media_controller.rb
AgeCommit message (Collapse)Author
2017-09-28Add ability to specify alternative text for media attachments (#5123)Eugen Rochko
* Fix #117 - Add ability to specify alternative text for media attachments - POST /api/v1/media accepts `description` straight away - PUT /api/v1/media/:id to update `description` (only for unattached ones) - Serialized as `name` of Document object in ActivityPub - Uploads form adjusted for better performance and description input * Add tests * Change undo button blend mode to difference
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-30Improve spec coverage and clean up api/v1/media controller (#3467)Matt Jankowski
2017-04-04Fix ActionController::Parameters in API issueEugen Rochko
2016-11-24Extract filename obfuscation into moduleAlyssa Ross
2016-11-23Rename media to avoid exposing filename (fixes #207)Andrea Faulds
2016-11-15Fix rubocop issues, introduce usage of frozen literal to improve performanceEugen Rochko
2016-11-09API pagination for all collections using Link headerEugen Rochko
2016-11-08Move timelines API from statuses to its own controller, add a check forEugen Rochko
resources that require a user context vs those that don't (such as public timeline) /api/v1/statuses/public -> /api/v1/timelines/public /api/v1/statuses/home -> /api/v1/timelines/home /api/v1/statuses/mentions -> /api/v1/timelines/mentions /api/v1/statuses/tag/:tag -> /api/v1/timelines/tag/:tag
2016-10-22Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limitingEugen Rochko
to the API
2016-10-06Catch Paperclip errors on /api/v1/media, return early from update profile ↵Eugen Rochko
service if XML given is nil
2016-09-27Fix #52 - Add API versioning (v1)Eugen Rochko