1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-02 00:38:27 +09:00
whippy-edition/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 Instance helper to replace site title helper (#2038) 2017-04-18 00:16:32 +02:00
models Add media dimensions (#2448) 2017-04-26 03:48:12 +02:00
presenters Adds version to about/more and API (#2181) 2017-04-21 03:30:59 +02:00
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 Punycode URI normalization (#2370) 2017-04-25 02:47:31 +02:00