1
0
Fork 1
forked from fedi/mastodon
mastodon/spec
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
..
controllers Localize with i18n for Devise::FailureApp (#2309) 2017-04-25 15:06:41 +02:00
fabricators Refresh webfinger (#1323) 2017-04-15 03:16:05 +02:00
features Introduce capybara and first feature spec (#1801) 2017-04-15 01:21:02 +02:00
fixtures Punycode URI normalization (#2370) 2017-04-25 02:47:31 +02:00
helpers Ensure i18n matches options (#2358) 2017-04-23 19:09:52 +02:00
javascript Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584) 2017-04-12 17:16:59 +02:00
lib Decodes URL containing IDN (#2436) 2017-04-25 15:03:51 +02:00
mailers Add digest e-mails 2017-03-04 00:00:48 +01:00
models Add media dimensions (#2448) 2017-04-26 03:48:12 +02:00
presenters About page contact email (#1839) 2017-04-15 13:33:25 +02:00
requests Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
routing Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
services Fix #2402 - Add Idempotency-Key header to PostStatusService that prevents (#2419) 2017-04-25 15:04:49 +02:00
support/matchers/model add more tests to models 2017-04-05 00:29:56 +02:00
views Add og:url tags (#2298) 2017-04-22 17:29:46 +02:00
rails_helper.rb Followers-only post federation (#2111) 2017-04-24 00:38:37 +02:00
spec_helper.rb Add more tests for AtomSerializer (#2096) 2017-04-18 22:30:17 +02:00