mastodon/app/models
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
..
concerns Remove .keep in models (#1892) 2017-04-16 16:28:52 +02:00
form
web
account.rb
account_filter.rb
application_record.rb
block.rb
domain_block.rb
export.rb
favourite.rb
feed.rb
follow.rb
follow_request.rb
import.rb
media_attachment.rb
mention.rb
mute.rb
notification.rb
preview_card.rb
remote_follow.rb
report.rb
report_filter.rb
setting.rb
status.rb
stream_entry.rb
subscription.rb
tag.rb
user.rb
web.rb