Commit Graph

12 Commits (44a3584e2d54488393e6f50e482ed61d2765e312)

Author SHA1 Message Date
Eugen Rochko f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617)
* Replace browserify with webpack

* Add react-intl-translations-manager

* Do not minify in development, add offline-plugin for ServiceWorker background cache updates

* Adjust tests and dependencies

* Fix production deployments

* Fix tests

* More optimizations

* Improve travis cache for npm stuff

* Re-run travis

* Add back support for custom.scss as before

* Remove offline-plugin and babili

* Fix issue with Immutable.List().unshift(...values) not working as expected

* Make travis load schema instead of running all migrations in sequence

* Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of
React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in
<UI />

* Add react definitions to places that use JSX

* Add Procfile.dev for running rails, webpack and streaming API at the same time
8 years ago
Henry Smith 08fce08217 Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584) 8 years ago
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
8 years ago
Eugen Rochko b2e504616a Remove broken test 8 years ago
Kai Schaper 19cfe64455 add/update specs for Button, DisplayName, DropdownMenu 8 years ago
Eugen Rochko d5e086a47b Adding application/jrd+json webfinger resource 8 years ago
Kai Schaper cbfc12044d actually use const 8 years ago
Kai Schaper b113cf97fb add chai-enzyme; add/improve Avatar component specs 8 years ago
Kai Schaper ecd4042c20 use ES6 arrow functions 8 years ago
Kai Schaper e0a4455622 add sinon; add basic Button component test 8 years ago
Kai Schaper 998f161e1d add jsdom; add basic Avatar component test 8 years ago
Kai Schaper d7c55853e9 set up Mocha/Chai/Enzyme for React component unit testing 8 years ago