1
0
Fork 0
forked from fedi/mastodon
Commit graph

5 commits

Author SHA1 Message Date
Eugen 12f72e1740 When avatar/header are GIF, generate static versions (#1428)
* When avatar/header are GIF, generate static versions.
Account API returns "avatar"/"avatar_static", "header"/"header_static"
Static version is the same as original for other cases
Web UI de-animates avatars in toots, lists of users

Fix #441, fix #596, prerequisite for #1064

* Fix JS test

* Add rake task to generate static avatars/headers from GIF ones, add test
2017-04-11 00:38:58 +02:00
Kai Schaper cbfc12044d actually use const 2016-10-12 18:18:55 +02:00
Kai Schaper b113cf97fb add chai-enzyme; add/improve Avatar component specs 2016-10-12 18:06:18 +02:00
Kai Schaper ecd4042c20 use ES6 arrow functions 2016-10-10 22:48:58 +02:00
Kai Schaper 998f161e1d add jsdom; add basic Avatar component test 2016-10-10 22:48:58 +02:00