Commit Graph

800 Commits

Author SHA1 Message Date
Pig Fang
5ea1187f2a fix adding texture from skinlib to closet 2020-04-26 21:57:14 +08:00
Pig Fang
840722c80b fix pagination 2020-04-26 21:31:19 +08:00
Pig Fang
bec071fdb9 remove first page and last page of pagination 2020-04-26 17:52:18 +08:00
Pig Fang
262dca0f8e tweak html tag 2020-04-26 11:12:10 +08:00
Pig Fang
f4eae872d1 remove fallback locale property 2020-04-23 11:47:26 +08:00
Pig Fang
57632d52bc fix plugins management page 2020-04-23 11:34:42 +08:00
Pig Fang
f0e3b6a866 fix skin library page 2020-04-07 15:52:57 +08:00
Pig Fang
71a1caf95d expose React to global at development env 2020-04-06 16:55:12 +08:00
Pig Fang
04703cc7e5 handle http 400 properly 2020-04-06 10:53:51 +08:00
Pig Fang
2039a0a554 tweak test 2020-04-05 10:22:09 +08:00
Pig Fang
988b0ace8c add commands for managing plugin 2020-04-05 10:15:00 +08:00
Pig Fang
31bd48eec7 add missing page URL query 2020-04-01 14:43:21 +08:00
Pig Fang
6423afdc2d fix tests 2020-04-01 10:19:25 +08:00
Pig Fang
31ebd8bd35 fix i18n of missing uploader 2020-04-01 10:07:34 +08:00
Pig Fang
058e0d9f22 clean up 2020-03-30 12:15:17 +08:00
Pig Fang
a886935b12 extract vue from main chunk 2020-03-30 10:29:17 +08:00
Pig Fang
fd2e3f2c1b rewrite "password reset" with React 2020-03-30 10:12:35 +08:00
Pig Fang
490f8f3bac fix type errors 2020-03-30 09:22:18 +08:00
Pig Fang
361444ca7e rewrite registration page with React 2020-03-29 23:02:43 +08:00
Pig Fang
6c4f5d61f4 tweak 2020-03-29 10:16:06 +08:00
Pig Fang
b93efb91ae simplify 2020-03-28 18:26:07 +08:00
Pig Fang
9f560c67bd rewrite "Translations" page with React 2020-03-28 18:25:12 +08:00
Pig Fang
0efcde3172 tweak modal types 2020-03-28 16:09:12 +08:00
Pig Fang
6dc22f73f7 upgrade deps 2020-03-28 12:18:52 +08:00
Pig Fang
aa835f7d03 rewrite login page with React 2020-03-27 22:56:08 +08:00
Pig Fang
effba662a0 fix pagination click event 2020-03-27 16:38:07 +08:00
Pig Fang
8f2f57ffc8 fix skin library history state 2020-03-27 12:24:11 +08:00
Pig Fang
2229fcf66b rewrite "auth.forgot" page with React 2020-03-26 18:15:13 +08:00
Pig Fang
1b8c335cac add captcha component 2020-03-26 17:54:01 +08:00
Pig Fang
375fcb38b4 fix emitting mounted event 2020-03-26 11:49:34 +08:00
Pig Fang
458d462831 load viewer backgrounds via webpack 2020-03-26 10:24:44 +08:00
Pig Fang
be46c524ef add initial value for blessing.extra 2020-03-26 10:14:28 +08:00
Pig Fang
f4276d1ccf "table" tag should not be used for layout 2020-03-24 18:44:45 +08:00
Pig Fang
c219a0f03f rewrite skin library with React 2020-03-24 18:05:46 +08:00
Pig Fang
1d6da0eab9 add command 2020-03-24 10:07:04 +08:00
Pig Fang
79bacf69e0 remove outline for "a" element 2020-03-23 10:38:45 +08:00
Pig Fang
c50f265b8e refactor closet command 2020-03-22 12:21:17 +08:00
Pig Fang
ce297f66f9 tweak 2020-03-21 17:34:42 +08:00
Pig Fang
4c981529e1 add closet command for Web CLI 2020-03-21 17:30:44 +08:00
Pig Fang
4c52f82393 refactor pagination 2020-03-20 19:03:10 +08:00
Pig Fang
d603f48bad refactor 2020-03-20 17:14:18 +08:00
Pig Fang
b6c58ef23f rewrite texture detail page with React 2020-03-20 16:19:18 +08:00
Pig Fang
d27034425a fix toast style 2020-03-19 10:00:21 +08:00
Pig Fang
4f76f05003 fix closet previewer don't apply texture type
fix #152
2020-03-19 09:26:29 +08:00
Pig Fang
60c628dd11 tweak style of avatar (close #150) 2020-03-18 10:33:07 +08:00
Pig Fang
2907ad4bb4 refactor 2020-03-16 14:27:30 +08:00
Pig Fang
a879af3405 reduce build size 2020-03-14 17:00:35 +08:00
Pig Fang
76a504bb9c tweak webpack build 2020-03-14 16:13:56 +08:00
Pig Fang
b63149d30a fix test 2020-03-12 11:22:40 +08:00
Pig Fang
8cfe2e1292 fix types error 2020-03-12 10:56:14 +08:00
Pig Fang
271c950ad9 add two new ways to install plugin 2020-03-12 10:41:41 +08:00
Pig Fang
4ce25a918c return an object when fetch failed 2020-03-11 22:24:20 +08:00
Pig Fang
59f8f33df7 extract component 2020-03-10 15:57:57 +08:00
Pig Fang
48de60b43a update detect method of texture type 2020-03-07 09:54:06 +08:00
Pig Fang
ed04dd1740 fix "score cost per closet item" isn't calculated
at "texture upload" page
2020-03-06 10:15:01 +08:00
Pig Fang
18a2817472 fix style of background 2020-03-05 16:39:14 +08:00
Pig Fang
27e6042b93 rewrite texture upload page 2020-03-05 16:16:08 +08:00
Pig Fang
bc0531c737 fix button style of skin viewer 2020-03-05 09:34:45 +08:00
Pig Fang
af24dcf9f9 add custom background for skin viewer 2020-03-04 19:37:17 +08:00
Pig Fang
c4ce144be2 make terminal window be draggable 2020-03-01 22:07:45 +08:00
Pig Fang
4dde7fc13c make "CSRF token mismatched" error friendly 2020-02-27 16:02:39 +08:00
Pig Fang
efc71da574 refactor 2020-02-24 09:27:28 +08:00
Pig Fang
f721ac269c add bsh 2020-02-17 18:27:56 +08:00
Pig Fang
76bf342681 Merge branch 'react' into dev 2020-02-16 10:07:23 +08:00
Pig Fang
d811f92dda add missing "mounted" event 2020-02-12 10:11:06 +08:00
Pig Fang
ec4e222c0e remove unnecessary "async" 2020-02-12 10:03:52 +08:00
Pig Fang
ca7db2585f rewrite "EmailVerification" UI widget 2020-02-12 10:02:15 +08:00
Pig Fang
19ad09920b build closet page with React 2020-02-11 16:40:26 +08:00
Pig Fang
9dca4c1585 hide pagination when total pages is invalid 2020-02-10 17:52:36 +08:00
Pig Fang
89055fe192 add pagination component 2020-02-10 15:59:56 +08:00
Pig Fang
576a4c442f fix type errors 2020-02-10 11:56:16 +08:00
Pig Fang
3dcd6bfac1 remove unused code 2020-02-10 11:47:27 +08:00
Pig Fang
ec948ef1c2 build "bind players" page with React 2020-02-09 11:05:02 +08:00
Pig Fang
6a7d9d0fde clean up 2020-02-09 10:50:15 +08:00
Pig Fang
8e104c2422 build notifications list with React 2020-02-08 18:22:52 +08:00
Pig Fang
a6dc3bd068 clean up 2020-02-08 17:14:32 +08:00
Pig Fang
22f68cd9fc build players page with React 2020-02-08 17:09:43 +08:00
Pig Fang
d119b054be tweak OAuth mgmt page 2020-02-08 09:51:46 +08:00
Pig Fang
55f9ba1cff refactor 2020-02-07 15:21:43 +08:00
Pig Fang
2d57248654 add alias 2020-02-07 15:20:02 +08:00
Pig Fang
39ed588d83 make it immutable 2020-02-07 15:15:38 +08:00
Pig Fang
36328f1cb8 remove unused attribute 2020-02-07 10:34:01 +08:00
Pig Fang
aa1ce17351 tweak viewer component 2020-02-07 09:59:49 +08:00
Pig Fang
a5085af86c turn custom fallback as function 2020-02-06 14:54:23 +08:00
Pig Fang
5b7055611d fix skin viewer 2020-02-06 09:56:09 +08:00
Pig Fang
d6834a2ead tweak plugins mgmt page 2020-02-06 09:49:33 +08:00
Pig Fang
6e559ef90e tweak tests 2020-02-06 09:27:27 +08:00
Pig Fang
dc62f87b74 allow to clear toasts 2020-02-06 09:22:10 +08:00
Pig Fang
de08ab6736 allow custom fallback 2020-02-06 09:01:21 +08:00
Pig Fang
82dade1ee1 tweak Modal 2020-02-06 08:53:37 +08:00
Pig Fang
b083ee8788 refactor Modal mechanism 2020-02-05 18:48:30 +08:00
Pig Fang
54c4891fd2 allow to pass element directly 2020-02-05 14:56:49 +08:00
Pig Fang
93f64b034f build OAuth mgmt page with React 2020-02-05 10:37:14 +08:00
Pig Fang
de64694002 clear timeout on unmount 2020-02-05 10:05:32 +08:00
Pig Fang
5917e62286 add role for toast 2020-02-05 09:21:29 +08:00
Pig Fang
09c5aae79a add more tests 2020-02-04 12:28:35 +08:00
Pig Fang
54b948d01e rework toast with React 2020-02-04 12:23:14 +08:00
Pig Fang
d9f55d610c refactor event emitter 2020-02-04 11:29:58 +08:00
Pig Fang
ef2da499e5 tweak Suspense fallback 2020-02-03 10:16:21 +08:00
Pig Fang
6430576761 simplify code 2020-02-02 15:48:14 +08:00
Pig Fang
f0599d5a88 build skin viewer with React 2020-02-02 10:18:05 +08:00
Pig Fang
100e5960e7 rework error pages and setup pages 2020-02-01 12:44:39 +08:00
Pig Fang
2bd1a8c073 fix tests 2020-01-31 15:58:48 +08:00
Pig Fang
1d87171808 rewrite user dashboard with React 2020-01-31 15:58:37 +08:00
Pig Fang
e6cb4072e5 quick fix 2020-01-30 18:50:51 +08:00
Pig Fang
36a516d584 add generics at fetch 2020-01-28 16:27:11 +08:00
Pig Fang
4953e15369 add new Modal option 2020-01-28 10:41:10 +08:00
Pig Fang
d62db082e7 add scss 2020-01-27 15:49:09 +08:00
Pig Fang
225985834a fix tsconfig 2020-01-27 11:56:32 +08:00
Pig Fang
999167e11e fix hooks deps 2020-01-27 11:50:29 +08:00
Pig Fang
7c144b3e14 rewrite "Modal" component in React 2020-01-23 22:52:09 +08:00
Pig Fang
11e927cc61 add "jest-dom" 2020-01-23 09:51:50 +08:00
Pig Fang
be0f74ad64 remove unused code 2020-01-21 11:08:52 +08:00
Pig Fang
4c066ac38a make user report page be static 2020-01-21 11:07:20 +08:00
Pig Fang
cd3260af3e rewrite plugins mgmt page with react 2020-01-21 10:22:20 +08:00
Pig Fang
dff01981d7 update build step 2020-01-16 16:14:49 +08:00
Pig Fang
7ecea9e7e6 new plugins management page 2020-01-16 12:33:14 +08:00
Pig Fang
85f9f8378a use correct html element 2020-01-15 10:11:17 +08:00
Pig Fang
4c735aa8e4 refactor plugins marketplace 2020-01-14 11:37:21 +08:00
Pig Fang
16916fd006 fix tests 2020-01-13 17:31:10 +08:00
Pig Fang
8c06286607 fix TypeScript errors 2020-01-13 17:19:34 +08:00
Pig Fang
cf6f1aa547 support searching players when applying textures 2020-01-13 12:01:13 +08:00
Pig Fang
092eedfdf4 refactor routes 2020-01-13 08:37:57 +08:00
Pig Fang
6b3446cf86 display 3D avatar when applying texture to player 2020-01-12 09:57:55 +08:00
Pig Fang
b1ccdb47f2 switch server-side texture renderer 2020-01-12 09:27:39 +08:00
Pig Fang
6c221c28d6 refactor updater 2020-01-06 22:47:29 +08:00
Pig Fang
d7a60a842d remove auto update check 2020-01-05 17:37:56 +08:00
Asnxthaony
bcca87936a
Fix 2d preview in player management 2020-01-01 08:50:31 +08:00
Pig Fang
b220b60ece Fix retrieving keyword from query string 2019-12-29 23:57:44 +08:00
Pig Fang
78ae974e7a Optimize invoking skinview3d 2019-12-24 19:33:35 +08:00
Pig Fang
ae4be6fbda Refactor static routes 2019-12-22 17:28:55 +08:00
Pig Fang
1e21f4508c Add grid for upload page 2019-12-16 11:02:39 +08:00
Pig Fang
6bf003e7dc Add grid for texture detail page 2019-12-16 10:49:09 +08:00
Pig Fang
a14688264b Support disable portal 2019-12-16 10:29:10 +08:00
Pig Fang
d61eb8a098 Fix tests 2019-12-15 23:44:39 +08:00
Pig Fang
703a760b24 Add grid for players list 2019-12-15 22:52:49 +08:00
Pig Fang
c2b81efb4b Add FAQ link at error page 2019-12-14 14:52:28 +08:00
Pig Fang
a3e74065f9 Add grid for closet page 2019-12-14 14:30:38 +08:00
Pig Fang
37f8355dd4 Apply new ES syntax: Optional Chaining 2019-12-14 00:08:21 +08:00
Pig Fang
56bd71c063 Refactor user profile page
to be static
2019-12-13 15:47:07 +08:00
Pig Fang
a697a9a5d3 Apply linter fixes 2019-12-13 10:55:57 +08:00
Pig Fang
920d45a723 Add "STAFF" badge for admin & show badges at texture detail page 2019-12-11 23:29:20 +08:00
Pig Fang
1480815123 Display modals at center 2019-12-10 14:20:14 +08:00
Pig Fang
f9b32c8e69 Check dependencies and conflicts before installing plugin
fixes #109
2019-12-09 23:30:49 +08:00
Pig Fang
66becb27d0 Detect Readme of plugin automatically 2019-12-08 23:58:44 +08:00
Pig Fang
8a66a70ced Optimize table of UI text customization 2019-12-08 19:32:53 +08:00
Pig Fang
ce5b343617 Fix for too long texture name 2019-12-08 10:29:49 +08:00
Pig Fang
060578ca95 Fix AJAX error alert 2019-12-05 18:54:50 +08:00
Pig Fang
5f202c3cee Fix about Jest 2019-12-05 11:42:34 +08:00
Pig Fang
ed9d856c43 Add new color settings 2019-12-04 16:45:09 +08:00
Pig Fang
f41b912e53 Fix type definitions 2019-12-01 19:05:02 +08:00
Pig Fang
ec42b4b4eb Remove Element UI 2019-12-01 18:08:21 +08:00
Pig Fang
264369699a Replace Element "Message" with Bootstrap "Alert" 2019-12-01 17:52:30 +08:00
Pig Fang
beec114717 Remove modal after closed 2019-12-01 14:45:33 +08:00
Pig Fang
6cd5e9a1e7 Tweak test 2019-12-01 00:00:44 +08:00
Pig Fang
1e4454cdc0 Rename test 2019-11-30 23:19:03 +08:00
Pig Fang
c858bbf5be Refactor 2019-11-30 23:11:12 +08:00
Pig Fang
2da0a3576b Replace Element msgbox with Bootstrap modal 2019-11-30 12:01:17 +08:00
Pig Fang
92282daa9e Tweak code 2019-11-29 09:27:07 +08:00
Pig Fang
aada1148fb Reuse <Modal> component 2019-11-28 21:35:27 +08:00
Pig Fang
991475041b Fix <Modal> component 2019-11-28 17:04:37 +08:00
Pig Fang
a0a950089e Allow to specify id for modal 2019-11-28 16:31:39 +08:00
Pig Fang
e5b8a130a0 Rewrite showModal 2019-11-28 16:24:12 +08:00
Pig Fang
84afc32d84 Revert "Specify base URL at <base> element"
This reverts commit f8844cb549.
2019-11-27 23:57:28 +08:00
Pig Fang
c75f4429ac Use native controls 2019-11-27 17:21:48 +08:00
Pig Fang
6aa458c95b New default home page background 2019-11-27 15:06:09 +08:00
Pig Fang
6321cea0da Add @types/bootstrap 2019-11-27 14:34:03 +08:00
Pig Fang
f8844cb549 Specify base URL at <base> element 2019-11-26 17:59:14 +08:00
Pig Fang
0fbf16acad Tweak webpack config 2019-11-26 13:01:15 +08:00
Pig Fang
a724543dac Add some type annotations 2019-11-26 11:49:10 +08:00
Pig Fang
383e20acbd Tweak Jest setup file 2019-11-26 11:44:44 +08:00
Pig Fang
7235375581 Upgrade ESLint-related 2019-11-25 23:30:51 +08:00
Pig Fang
52dae783e8 Upgrade to AdminLTE v3 2019-11-24 14:32:58 +08:00
Pig Fang
5df36ae8ea Replace $nextTick with flushPromises 2019-11-21 09:33:28 +08:00
Pig Fang
96c22e20af Fix TypeScript errors 2019-11-21 09:23:50 +08:00
Pig Fang
2a2491ac93 Do not extract Switch component 2019-09-19 23:19:17 +08:00
Pig Fang
bb898ea2e4 Use message to report plugin errors
Instead of `notification`
2019-09-19 23:09:53 +08:00
Pig Fang
82140b6893 Blade -> Twig (almost finished) 2019-09-19 22:13:25 +08:00
Pig Fang
3b1866ffba Blade -> Twig 2019-09-18 23:06:48 +08:00
Pig Fang
9403ae356d Blade -> Twig (wip) 2019-09-17 23:10:44 +08:00
Pig Fang
54d3b76c13 Add support of customizing UI text 2019-09-08 18:57:19 +08:00
Pig Fang
a72d46d2f2 Add more methods on blessing.fetch 2019-09-08 15:20:49 +08:00
Pig Fang
9ff8ea0893 Load front-end i18n text at back-end 2019-09-07 17:18:58 +08:00
Pig Fang
70280d0acc Fix lint 2019-08-31 09:15:20 +08:00
Pig Fang
c44ff192ba Catch plugin's bootstrapper exceptions 2019-08-31 09:12:51 +08:00
Pig Fang
5465399eda Fix lint 2019-08-25 17:32:39 +08:00
Pig Fang
deb8c44e45 Improve text of plugins management 2019-08-25 15:54:29 +08:00
Pig Fang
eb836357b8 Refactor plugin system (part 10) 2019-08-15 11:57:55 +08:00
Pig Fang
85a67a5332 Refactor plugin system (part 7) 2019-08-13 18:42:17 +08:00
Pig Fang
4de51a464a Fix that model was reset after resetting skin previewing 2019-08-08 11:29:42 +08:00
Pig Fang
53781536e7 Some fields at admin panel shouldn't be sortable 2019-07-26 15:41:50 +08:00
Pig Fang
fe55b0be9d Fix linting errors 2019-07-12 22:41:44 +08:00
Pig Fang
718c7a61a5 Fix redirecting without URL query string after logged in 2019-07-12 15:53:49 +08:00
Pig Fang
c387794e17 Add option for fixed background 2019-07-10 10:53:19 +08:00
Pig Fang
a082bec096 Add option for hiding introduction of home page 2019-07-10 10:18:10 +08:00
Pig Fang
82ddeb63c4 Optimize form validation 2019-07-08 16:13:49 +08:00
Pig Fang
a4d4dcfa9c Optimize form validation 2019-07-08 13:10:34 +08:00
Pig Fang
4196a952e0 Optimize exception stack of Ajax error 2019-07-08 12:01:26 +08:00
Asnxthaony
68343b0a31 Fix rename in closet (#80) 2019-07-07 09:40:30 +08:00
Pig Fang
7a7cc2ddd9 Notifications 2019-07-03 16:19:13 +08:00