mastodon/app
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
..
assets Toolbar icons accessible names (#1424) 2017-04-26 01:44:50 +02:00
controllers Localize with i18n for Devise::FailureApp (#2309) 2017-04-25 15:06:41 +02:00
helpers Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410) 2017-04-25 15:06:06 +02:00
lib Decodes URL containing IDN (#2436) 2017-04-25 15:03:51 +02:00
mailers
models Add media dimensions (#2448) 2017-04-26 03:48:12 +02:00
presenters
services attach_media should be in transaction of creation status (#2426) 2017-04-26 03:47:44 +02:00
validators Stricter whitelist rules (#2213) 2017-04-26 01:22:51 +02:00
views Add media dimensions (#2448) 2017-04-26 03:48:12 +02:00
workers