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
..
2017-04-05 00:29:56 +02:00
2017-04-05 00:29:56 +02:00
2016-03-19 12:13:47 +01:00
2017-04-05 00:29:56 +02:00
2017-04-05 00:29:56 +02:00
2017-04-09 14:45:01 +02:00
2017-04-26 01:22:51 +02:00