Commit Graph

1185 Commits

Author SHA1 Message Date
Pig Fang
acadfd73bb fix(i18n): fix wrong i18n key for "player" page 2018-01-01 23:02:18 +08:00
Pig Fang
49deeb3f99 perf(closet): update score after removing textures 2018-01-01 15:53:56 +08:00
Pig Fang
846f29ef6d style(js): stricter eslint rules (#108)
* style(js): stricter eslint rules

* build: ignore .eslintignore
2017-12-29 23:28:11 +08:00
Pig Fang
55a137f014 test(services): add tests for repositories 2017-12-28 12:52:29 +08:00
Pig Fang
776a0a67ae test(model): add tests for "User" model 2017-12-27 18:40:16 +08:00
Pig Fang
b1fa8c098b refactor(common): refactor polyfill of String.prototype.includes 2017-12-27 17:47:13 +08:00
Pig Fang
f4c21a0cb2 test(model): add tests for "player" model 2017-12-26 20:07:26 +08:00
Pig Fang
a5615eb090 test(model): add tests for "Closet" model 2017-12-26 19:32:17 +08:00
Pig Fang
325d150908 test: output tests result verbosely 2017-12-24 15:47:13 +08:00
Pig Fang
04a88a2e30 build: remove commonjs exports 2017-12-24 11:40:15 +08:00
Pig Fang
88502a3db1 test(all): remove console output when testing 2017-12-24 10:54:00 +08:00
Pig Fang
11852b81f1 chore(deps): Upgrade lib "regenerator" 2017-12-23 22:34:42 +08:00
Pig Fang
46c246b5ff Add empty "plugins" dir when packaging 2017-12-18 23:41:57 +08:00
Pig Fang
e33ac27d6c Do compilation before entering watching mode 2017-12-17 19:22:09 +08:00
Pig Fang
38b6307776 Remove unused code 2017-12-16 21:03:57 +08:00
Pig Fang
e4ee22ad75 Fix missing parameter 2017-12-16 11:15:18 +08:00
Pig Fang
bec9bdf3f3 Fix iterating items for closet and skin library
`for...of` is a feature of ES6,
however Babel will transpile this syntax to `Symbol.iterator()`,
which does not supported on IE11.
We won't add `Symbol` polyfill,
because it will increase JS file size.
`Array.prototype.reduce` is of ES5 and supported on IE11.
2017-12-16 11:03:37 +08:00
Pig Fang
76b6d68bc2 Update JSDoc 2017-12-09 15:32:25 +08:00
Pig Fang
26742e3ae3 Add tests for Services/Hook 2017-12-04 17:04:04 +08:00
Pig Fang
97874039c6 Add tests for Services/Minecraft 2017-12-04 15:11:23 +08:00
Pig Fang
a97128da1e Move "setTexture" function to "closet" 2017-12-04 14:41:53 +08:00
gplane
3e5e2cc0ec Update tests for middleware 2017-11-30 10:02:29 +08:00
gplane
946e0c12e3 Remove unused code 2017-11-29 17:02:11 +08:00
gplane
b834264c3e Update JavaScript tests 2017-11-29 13:52:32 +08:00
Pig Fang
4ebd54707e Update JavaScript tests 2017-11-26 23:57:52 +08:00
Pig Fang
14b7cc670c Update tests for PlayerController 2017-11-24 23:05:49 +08:00
Pig Fang
09ccae26c4 Use event listener instead of inline href
Using inline `href` to execute JavaScript in Firefox doesn't work.
2017-11-24 22:27:33 +08:00
Pig Fang
88f7fe6850 Fix wrong i18n detection on Edge & IE 2017-11-24 20:05:48 +08:00
Pig Fang
577c5ab8df Use fallback locale for JavaScript in I18N 2017-11-24 20:03:44 +08:00
Pig Fang
157c9e8b22 Update tests for SkinlibController 2017-11-24 18:54:30 +08:00
Pig Fang
55c2fb38ac Update tests for SetupController 2017-11-20 19:56:24 +08:00
Pig Fang
163396c6d9 Update tests for HomeController 2017-11-20 00:04:28 +08:00
Pig Fang
2e5c1f7890 Use VFS for testing 2017-11-19 12:49:24 +08:00
Pig Fang
79038d3c63 Add PHP 5.5 in Travis CI 2017-11-18 23:41:37 +08:00
Pig Fang
1ab25e80e6 Add tests for UpdateController 2017-11-18 20:36:31 +08:00
Pig Fang
99aee71cc8 Add tests for UserController 2017-11-18 13:25:08 +08:00
Pig Fang
7d48c6a609 Use "memory" driver for testing 2017-11-17 17:46:06 +08:00
Pig Fang
6cd5fce271 Download plugins in setUp function 2017-11-17 07:56:43 +08:00
Pig Fang
a413927980 Add tests for TextureController 2017-11-17 07:40:29 +08:00
Pig Fang
b19565bf8b Add tests for PluginController 2017-11-16 14:09:08 +08:00
Pig Fang
faa73bebc9 Do some checks before updating player profile 2017-11-15 14:00:11 +08:00
Pig Fang
aaf612f2d9 Add tests for PlayerController 2017-11-14 23:25:04 +08:00
printempw
6b2393e9e9 Bump version to v3.3.2 2017-11-09 21:20:42 +08:00
printempw
81b76d12ce Fix regenerator-runtime 2017-11-09 20:51:28 +08:00
printempw
2612bf1cfe Update gulp script 2017-11-09 20:50:56 +08:00
printempw
9f19897528 Tweak i18n text 2017-11-09 20:49:15 +08:00
printempw
f8e033db15 Fix CI configuration 2017-11-09 18:24:23 +08:00
printempw
dd75c20464 Update composer dependencies 2017-11-09 16:54:50 +08:00
printempw
08afd5df89 Fix checking specific environment file 2017-11-09 16:32:18 +08:00
printempw
e5db3a720c Update configuration of Travis CI 2017-11-09 16:22:23 +08:00