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-16 16:28:52 +02:00
2017-04-25 02:47:31 +02:00
2017-04-13 13:02:02 +02:00
2017-04-17 15:54:33 +02:00
2017-04-05 00:29:56 +02:00
2017-04-05 00:47:17 +02:00
2017-04-05 00:29:56 +02:00
2017-03-04 00:00:48 +01:00
2017-04-17 15:54:33 +02:00
2017-04-09 14:45:01 +02:00
2017-04-23 04:43:42 +02:00
2017-01-13 03:24:41 +01:00