You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
8 years ago
..
_media.rabl Add media dimensions (#2448) 8 years ago
_mention.rabl untested!! spoiler hotfix for replies 8 years ago
_show.rabl Fix some views still not using counter caches 8 years ago
_tags.rabl Adding hashtags 8 years ago
accounts.rabl Fix reblogged/favourited caching; add API endpoints for who favd/reblogged status 8 years ago
card.rabl Fix #463 - Fetch and display previews of URLs using OpenGraph tags 8 years ago
context.rabl Caching should work correctly now (fingers crossed) 8 years ago
index.rabl
show.rabl Fix #552 - Replace image links with image icons in status text in the UI 8 years ago