This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/views/api/v1/statuses
Francis Chong 193dddb433 Add media dimensions (#2448)
* Fixes #1985

- add migration AddMediaAttachmentMeta, which add meta field to media_attachments
- before saving attachment, set file meta if needed
- add meta in api

* add spec

* align the “size” format for image and video

* fix code climate

* fixes media_attachment_spec.rb
2017-04-26 03:48:12 +02:00
..
_media.rabl Add media dimensions (#2448) 2017-04-26 03:48:12 +02:00
_mention.rabl untested!! spoiler hotfix for replies 2017-02-04 17:33:46 -05:00
_show.rabl Fix some views still not using counter caches 2017-03-31 14:02:07 +02:00
_tags.rabl Adding hashtags 2016-11-05 17:13:14 +01:00
accounts.rabl Fix reblogged/favourited caching; add API endpoints for who favd/reblogged status 2016-11-03 14:50:22 +01:00
card.rabl Fix #463 - Fetch and display previews of URLs using OpenGraph tags 2017-01-20 01:00:14 +01:00
context.rabl Caching should work correctly now (fingers crossed) 2016-11-03 14:12:45 +01:00
index.rabl Adding public timeline 2016-10-07 16:00:11 +02:00
show.rabl Fix #552 - Replace image links with image icons in status text in the UI 2017-02-05 15:25:55 +01:00