Commit Graph

388 Commits

Author SHA1 Message Date
Pig Fang
c09544d942 Fix for Font Awesome 5 2018-08-21 14:50:47 +08:00
Pig Fang
5fcb33bf16 Simplify code 2018-08-21 14:49:49 +08:00
Pig Fang
3dd5943e17 Use text field instead of html field in SweetAlert2 2018-08-21 14:49:16 +08:00
Pig Fang
83c675d2fc Fix OptionForm rendering on mobile 2018-08-21 12:04:04 +08:00
Pig Fang
9b3eff0f3a Change SweetAlert2 type in plugin update alert 2018-08-21 11:06:41 +08:00
Pig Fang
f3fab514a5 Add missing updates checking 2018-08-21 10:49:02 +08:00
Pig Fang
7b8b9dc379 Add missing feedback function 2018-08-21 10:14:47 +08:00
Pig Fang
7103d52a6e Clean up 2018-08-21 09:13:43 +08:00
Pig Fang
f058b92ca9 Make notice box on player page always expanded 2018-08-21 08:45:39 +08:00
Pig Fang
0a2f952056 Fix test 2018-08-20 23:33:31 +08:00
Pig Fang
1c2e3a19ca Add likes count to items on skinlib page 2018-08-20 23:30:05 +08:00
Pig Fang
d30f049111 Fix CSRF on upload page 2018-08-20 23:24:21 +08:00
Pig Fang
aff8e9f058 Fix CSRF verification 2018-08-20 23:09:26 +08:00
Pig Fang
1275ca92e3 Show FAQ link on fatal error modal 2018-08-20 22:45:06 +08:00
Pig Fang
dd2f2030da Optimize deleting element from array 2018-08-20 22:19:05 +08:00
Pig Fang
da8ac77ace Add webpack alias 2018-08-20 21:39:27 +08:00
Pig Fang
98d228da4c Fix front-end resources 2018-08-19 19:02:22 +08:00
Pig Fang
f6d022c377 Add plugins management page 2018-08-19 17:39:33 +08:00
Pig Fang
6b4812b251 Add plugin marketplace 2018-08-19 11:39:14 +08:00
Pig Fang
b7f0a5b23e Add "quick apply" button at skinlib.show page 2018-08-17 21:38:44 +08:00
Pig Fang
799ccf83ec Add notice for applying textures from closet 2018-08-17 17:52:08 +08:00
Pig Fang
4a72442fdb Add a option for requiring player name when register 2018-08-17 17:03:38 +08:00
Pig Fang
9000bd6916 Retrieve external data in data 2018-08-17 14:49:11 +08:00
Pig Fang
b5468cc143 Support email verification 2018-08-17 12:32:44 +08:00
Pig Fang
bf8ec12645 Support changing texture model from skinlib 2018-08-16 17:42:54 +08:00
Pig Fang
d657e88dd8 Fix risky test 2018-08-16 16:46:46 +08:00
Pig Fang
71cd20052b Remove unused files 2018-08-16 16:36:19 +08:00
Pig Fang
deda5cf11c Add skin library "show" page 2018-08-16 16:34:27 +08:00
Pig Fang
d39f95d634 Fix polyfill 2018-08-16 15:22:58 +08:00
Pig Fang
2f9ded7646 Fix render escaped l10n 2018-08-16 15:12:48 +08:00
Pig Fang
298dfc1064 Enable more ESLint rules 2018-08-16 14:50:11 +08:00
Pig Fang
733e694ba0 Add "upload" page 2018-08-15 16:44:21 +08:00
Pig Fang
a573f0efe3 Retrieve initial data from query string 2018-08-14 23:45:32 +08:00
Pig Fang
f17cc18995 Prevent possible XSS 2018-08-14 23:43:56 +08:00
Pig Fang
190e54578a Add index page of skin library 2018-08-14 23:27:36 +08:00
Pig Fang
7e4ae5381b Use server side table 2018-08-13 11:08:14 +08:00
Pig Fang
f71a9b3dd8 Remove old JavaScript files 2018-08-12 17:56:00 +08:00
Pig Fang
d32eb379ba Add "reset" page 2018-08-12 17:50:04 +08:00
Pig Fang
96af04433c Support retrieving route params 2018-08-12 17:33:30 +08:00
Pig Fang
85d9677a64 Tweak imports 2018-08-12 17:17:54 +08:00
Pig Fang
131540e3f1 Add "forgot" page 2018-08-12 16:09:20 +08:00
Pig Fang
b343707978 Add register page 2018-08-12 11:16:57 +08:00
Pig Fang
c0ac92604f Revert: fix button state 2018-08-12 10:34:09 +08:00
Pig Fang
4470b7ba9c Add missing logout 2018-08-12 09:31:50 +08:00
Pig Fang
0889276494 Fix button state 2018-08-12 09:31:35 +08:00
Pig Fang
b29caca472 Extract style 2018-08-12 09:18:45 +08:00
Pig Fang
718ec2f7b4 Add login page 2018-08-12 08:56:42 +08:00
Pig Fang
7cfb961e2b Use Jest's fake timers 2018-08-12 08:55:42 +08:00
Pig Fang
fea37bc512 Fix HTTP headers 2018-08-12 08:48:42 +08:00
Pig Fang
f7d156ac79 Remove old JavaScript files 2018-08-11 15:09:17 +08:00
Pig Fang
be798afe5c Remove old css file 2018-08-11 11:59:59 +08:00
Pig Fang
ca1f5fdb69 Add players page 2018-08-11 11:59:11 +08:00
Pig Fang
9b846a4733 Update css of skin previewer 2018-08-10 15:15:40 +08:00
Pig Fang
c9e92bbbbb Add missing css 2018-08-10 14:59:34 +08:00
Pig Fang
7fdb6da915 Case 2018-08-09 17:08:07 +08:00
Pig Fang
516a7b4798 Add "change color" box 2018-08-09 17:07:20 +08:00
Pig Fang
6d4db993e4 Fix risky test 2018-08-09 15:34:36 +08:00
Pig Fang
887fcbdc90 Add players management page 2018-08-09 15:34:21 +08:00
Pig Fang
9e92684593 Fix <small> font size 2018-08-08 18:33:12 +08:00
Pig Fang
ceadadbe95 Change font awesome icon 2018-08-08 18:19:21 +08:00
Pig Fang
e3b5cbc36f Hot reload for development 2018-08-08 18:17:11 +08:00
Pig Fang
ca9a025fad Update style of admin panel 2018-08-08 15:39:05 +08:00
Pig Fang
05c6ce13bc Fix linting warning 2018-08-08 15:33:06 +08:00
Pig Fang
b0bdc3e7b2 Upgrade to Font Awesome 5 2018-08-08 12:30:50 +08:00
Pig Fang
f0e177d62d Add user dashboard page 2018-08-08 09:50:35 +08:00
Pig Fang
4e9c0b9d45 Fix style of home page 2018-08-07 09:25:20 +08:00
Pig Fang
0198cf84f5 Use Minecraft font for logo 2018-08-06 18:44:01 +08:00
Pig Fang
8fd5350ee3 Fix sweetalert2 style 2018-08-06 18:37:00 +08:00
Pig Fang
c333720fa3 Fix querying single user 2018-08-06 18:26:42 +08:00
Pig Fang
472477efa0 Fix form style 2018-08-06 16:51:04 +08:00
Pig Fang
6c6c01fb16 Use fetch and remove axios 2018-08-06 13:16:10 +08:00
Pig Fang
6a14339c56 Add "Users Management" page 2018-08-06 12:14:20 +08:00
Pig Fang
8a83a176ce Add flushPromises for tests 2018-08-06 09:30:54 +08:00
Pig Fang
5e4bc4b564 Use Fetch API 2018-08-05 15:33:08 +08:00
Pig Fang
a2e6315198 Simplify input validator 2018-08-05 14:36:44 +08:00
Pig Fang
33de864504 Add more ESLint rules and format 2018-08-05 09:47:29 +08:00
Pig Fang
3c2aa37967 Optimize webpack build 2018-08-04 10:22:16 +08:00
Pig Fang
43afaa3e8d Optimize loading fonts 2018-08-03 10:35:06 +08:00
Pig Fang
3dfa5c6e4e Add profile page 2018-08-02 17:29:43 +08:00
Pig Fang
d946810c46 Fix css of toastr 2018-08-02 15:01:07 +08:00
Pig Fang
7e72e3c01b Update global style 2018-08-02 09:52:20 +08:00
Pig Fang
b7f0ddd7f0 Add closet page 2018-08-02 09:45:33 +08:00
Pig Fang
5bccfd3d26 Mock assets files 2018-08-01 22:36:12 +08:00
Pig Fang
379ddd5251 Update test infrastructure 2018-07-31 22:58:35 +08:00
Pig Fang
72946e2474 Add more TypeScript declarations 2018-07-31 22:20:42 +08:00
Pig Fang
f97504d164 Update mock 2018-07-31 17:05:24 +08:00
Pig Fang
7ab91a568d Change module mapping 2018-07-31 10:42:14 +08:00
Pig Fang
21dfb21c41 Use swal.mixin 2018-07-31 10:37:34 +08:00
Pig Fang
7206f5952b Upgrade sweetalert2 to v7 2018-07-31 10:19:51 +08:00
Pig Fang
8d23a14c79 Disable console output in unit test 2018-07-31 10:18:14 +08:00
Pig Fang
0423bef836 Fix running jQuery plugins 2018-07-31 09:16:56 +08:00
Pig Fang
7985321022 Add default skin 2018-07-30 15:45:29 +08:00
Pig Fang
6c6cecc5bd Add missing l10n 2018-07-30 11:43:31 +08:00
Pig Fang
5b72834c62 Add missing style 2018-07-30 11:42:10 +08:00
Pig Fang
821357cf35 Add fonts 2018-07-30 11:24:36 +08:00
Pig Fang
2eb6e294cf Fix test 2018-07-30 09:52:39 +08:00
Pig Fang
b666f59554 Fix Promise polyfill 2018-07-30 09:05:15 +08:00
Pig Fang
48704bd3ce Support front-end i18n 2018-07-29 18:56:07 +08:00
Pig Fang
e69e7be1d9 Use webpack instead of parcel 2018-07-29 15:31:54 +08:00
Pig Fang
d3abbcdf82 Update test 2018-07-29 08:50:25 +08:00
Pig Fang
f43ce12a87 Add polyfill for IE 2018-07-28 11:12:25 +08:00
Pig Fang
3946314ae0 Update test 2018-07-27 18:54:39 +08:00
Pig Fang
18274d4d22 Add missing files 2018-07-27 16:54:36 +08:00
Pig Fang
69e9641bf4 Add test for component "ClosetItem" 2018-07-27 16:17:22 +08:00
Pig Fang
9eeaf5989e Remove unused line 2018-07-27 11:56:07 +08:00
Pig Fang
c120c58dda Add Vue component for skinview3d 2018-07-27 09:54:23 +08:00
Pig Fang
f6dec9d447 Get ready for using Vue.js 2018-07-25 15:32:08 +08:00
Pig Fang
3c24a166e8 Use signed URL to simplify resetting password 2018-07-18 11:04:34 +08:00
Pig Fang
a8a3ba4ec9 add types shims 2018-07-17 09:39:14 +08:00
Pig Fang
9cd6e0945d booleanify public property 2018-07-16 11:10:01 +08:00
Pig Fang
e1df46b7cd use stylus instead of sass 2018-07-10 14:19:58 +08:00
printempw
815fef7f3d Enhance rendering notice for unsatisfied plugin dependencies 2018-06-29 20:54:40 +08:00
printempw
b4e8b7e8c9 Update tests of plugins 2018-06-29 18:26:48 +08:00
printempw
967e1642d3 Update plugins management page for resolving dependencies 2018-06-29 16:45:43 +08:00
printempw
e7f95fe956 Add short description for setting model preference 2018-06-19 17:45:43 +08:00
printempw
6926ae21ff Use swal to show error message when adding players 2018-06-19 11:47:50 +08:00
printempw
64b904107a Update the text on console 2018-06-17 14:42:55 +08:00
printempw
36064873e3 Revert "Add a option for adding a player after registered"
This feature will be implemented as a plugin. This reverts commit ad255252b57b135ddecf89aa1331c40c97324be9.
2018-06-15 22:44:30 +08:00
Pig Fang
a2ad367651 feat: better DataTables AJAX error 2018-03-18 10:49:49 +08:00
printempw
62af291091 Add button to clear selected textures in closet 2018-02-24 18:14:15 +08:00
printempw
da48fd84dc Adjust allowed maximum password length to 32 2018-02-24 16:32:19 +08:00
printempw
efe5c6229c Update initialization of datatables 2018-02-24 15:59:56 +08:00
printempw
a13d5a947a Fix tooltips on data tables 2018-02-24 13:51:32 +08:00
printempw
31391be8c3 Use laravelchartjs package to generate overview chart 2018-02-24 13:33:24 +08:00
printempw
4d8856e0f4 Adjust canvas style of skinview3d 2018-02-24 13:31:37 +08:00
printempw
459439f132 Fix tests for skinview3d 2018-02-24 00:08:24 +08:00
printempw
249c9f290d Avoid operating skinViewer instance directly outside the module 2018-02-24 00:08:09 +08:00
printempw
0373c0ada6 Remove tests for texture-preview module 2018-02-24 00:01:44 +08:00
printempw
d54709c23d Add default texture for alex model 2018-02-23 23:17:29 +08:00
printempw
0a0b25b5af Update initialization of skinview3d 2018-02-23 22:32:08 +08:00
printempw
76b607dfd2 Fix DOM selector of changing player name 2018-02-23 22:18:18 +08:00
printempw
d2d8eef15f Migrate to skinview3d completely 2018-02-23 22:16:51 +08:00
printempw
9505efb797 Update vendor i18n files 2018-02-23 18:51:29 +08:00
printempw
9bf7dccb64 Fix generating sidebar 2018-02-23 16:51:50 +08:00
printempw
98e27151ff Fix bootstrap tooltips 2018-02-23 16:26:53 +08:00
printempw
b876b99459 Switch to skinview3d on skinlib pages 2018-02-23 16:22:08 +08:00
printempw
0bb3ef55b3 Replace three.msp.js with skinview3d 2018-02-23 16:16:52 +08:00
printempw
2d43a05a54 Fix codebase due to dependencies update 2018-02-23 12:08:27 +08:00
printempw
90af85d00f Fix using JavaScript protocol in a.href 2018-02-16 20:15:26 +08:00
printempw
3ebc206e7d Remove lib docCookies 2018-02-16 19:54:07 +08:00
printempw
42e06e8954 Add .editorconfig 2018-02-16 15:39:55 +08:00
Pig Fang
acadfd73bb fix(i18n): fix wrong i18n key for "player" page 2018-01-01 23:02:18 +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
b1fa8c098b refactor(common): refactor polyfill of String.prototype.includes 2017-12-27 17: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
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
a97128da1e Move "setTexture" function to "closet" 2017-12-04 14:41:53 +08:00