Commit Graph

9 Commits (6d2301988fdc0118c5583f48ba6da4a3b8247ba4)

Author SHA1 Message Date
Rakib Hasan 6d2301988f Fix for issue #462
Modified uploadCompose action to send media ids of attached
media when sending a request. Modified create method in MediaController
to check if when posting a video, there are no other media attached
to the status by looking at the media ids sent from the uploadCompose
action.
9 years ago
Alyssa Ross cefef2c571 Extract filename obfuscation into module 9 years ago
Andrea Faulds 7161f91313 Rename media to avoid exposing filename (fixes #207) 9 years ago
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance 9 years ago
Eugen Rochko b13e7dda1f API pagination for all collections using Link header 9 years ago
Eugen Rochko 9aecc0f48a Move timelines API from statuses to its own controller, add a check for
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
9 years ago
Eugen Rochko a9e40a3d80 Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
to the API
9 years ago
Eugen Rochko 2f5b205916 Catch Paperclip errors on /api/v1/media, return early from update profile service if XML given is nil 9 years ago
Eugen Rochko 4f9b7432dd Fix #52 - Add API versioning (v1) 9 years ago