Commit Graph

1140 Commits

Author SHA1 Message Date
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
Steven Qiu
ad528520ca Support custom textures storage directory (#127)
* Support custom textures storage directory

* fix test

* update changelog

Co-authored-by: Pig Fang <g-plane@hotmail.com>
2020-01-22 11:06:02 +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
8bb6f2e53c tweak loading brand icons 2020-01-16 15:48:28 +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
c1923cfaa1
New Crowdin translations (#124)
[skip ci]
2020-01-13 08:58:56 +08:00
Pig Fang
6c64d191ab remove responding 204 for unexisted players 2020-01-13 08:41:35 +08:00
Pig Fang
092eedfdf4 refactor routes 2020-01-13 08:37:57 +08:00
Pig Fang
1170a528d6 removed cache for existence of player 2020-01-12 11:58:34 +08:00
Pig Fang
97ec85b289 remove cache for profile json 2020-01-12 10:28:43 +08:00
Pig Fang
d85c6d840b update changelog 2020-01-12 10:04:51 +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
Pig Fang
9608555345 hide block when no oauth providers 2020-01-05 11:07:25 +08:00
Pig Fang
70d8614d84 support utf8mb4 2020-01-04 10:30:05 +08:00
Asnxthaony
bcca87936a
Fix 2d preview in player management 2020-01-01 08:50:31 +08:00
Pig Fang
9988520f45 fixed avatar can't be resized
when requesting an non-existed user
2019-12-31 23:03:37 +08:00
Pig Fang
1f5c0af0aa fix lang attribute of HTML 2019-12-31 10:00:27 +08:00
Pig Fang
611f6c8cee Remove Universal Skin API from core 2019-12-30 23:29:44 +08:00
Pig Fang
07566c4c16 Remove Legacy API from core 2019-12-30 11:09:01 +08:00
Pig Fang
f9e4436503 Update changelog 2019-12-30 10:12:13 +08:00
Pig Fang
b220b60ece Fix retrieving keyword from query string 2019-12-29 23:57:44 +08:00
Pig Fang
cd2af03663
New Crowdin translations (#123) [skip ci] 2019-12-29 15:57:29 +08:00
Pig Fang
a18f068387 Remove enabling or disabling Redis via Web UI 2019-12-29 15:51:43 +08:00
Pig Fang
4689010466 Remove API preference 2019-12-29 15:43:40 +08:00
Pig Fang
7f46e1510b Remove helper function "get_string_replaced" 2019-12-25 18:37:10 +08:00
Pig Fang
56e63b8c38
New Crowdin translations (#120)
[skip ci]
2019-12-25 17:41:07 +08:00
Pig Fang
71543da2f7 Remove "3rd-party comment" from core 2019-12-25 17:33:57 +08:00
Pig Fang
c868b05232 New password algorithm: Argon2i 2019-12-25 16:28:24 +08:00
Pig Fang
4efd787460
New Crowdin translations (#119)
[skip ci]
2019-12-25 15:25:17 +08:00
Pig Fang
cf497ad38c Change method of retrieving IP 2019-12-24 23:59:25 +08:00
Pig Fang
78ae974e7a Optimize invoking skinview3d 2019-12-24 19:33:35 +08:00
Pig Fang
da422ab1e8 Update gitignore policy 2019-12-23 23:14:31 +08:00
Pig Fang
ae4be6fbda Refactor static routes 2019-12-22 17:28:55 +08:00
Pig Fang
3e249a9902
New Crowdin translations (#117)
[skip ci]
2019-12-22 16:56:17 +08:00
Pig Fang
95d1ebe3ba Tweak user profile page 2019-12-22 16:38:42 +08:00
Pig Fang
35c07cdb63 Fix validating player name 2019-12-22 14:25:22 +08:00
Pig Fang
2d73124fed
New Crowdin translations (#116)
[skip ci]
2019-12-22 12:38:36 +08:00
Pig Fang
85d0104362 Allow char "§" for player name & Refactor 2019-12-22 11:50:39 +08:00
Pig Fang
fd61380758
New Crowdin translations (#115)
[skip ci]
2019-12-22 11:17:43 +08:00
Pig Fang
9cc83dad30 Remove restriction of texture name and nickname 2019-12-22 10:46:10 +08:00
Pig Fang
fa2048c7bd
New Crowdin translations (#114)
[skip ci]
2019-12-19 11:00:45 +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
52cd75ca54 Update changelog 2019-12-16 10:09:00 +08:00
Pig Fang
60ccc1174a
New Crowdin translations (#113)
[skip ci]
2019-12-15 23:47:23 +08:00
Pig Fang
d61eb8a098 Fix tests 2019-12-15 23:44:39 +08:00
Pig Fang
ef1a092ca3 Clean up unused i18n strings 2019-12-15 23:07:23 +08:00
Pig Fang
703a760b24 Add grid for players list 2019-12-15 22:52:49 +08:00
Pig Fang
6b6cec7f43 Add grid for admin dashboard 2019-12-15 21:04:20 +08:00
Pig Fang
79a96ec6d8 Add grid for status page 2019-12-15 19:04:30 +08:00
Pig Fang
0b5596ce33
New Crowdin translations (#112)
[skip ci]
2019-12-15 11:33:08 +08:00
Pig Fang
91fbb42431 Add OAuth client 2019-12-15 11:19:10 +08:00
Pig Fang
ee4d0f6fea Update changelog 2019-12-14 15:04:32 +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
c6959ebc81 Lengthened ip field to support IPv6 2019-12-14 10:03:11 +08:00
Pig Fang
37f8355dd4 Apply new ES syntax: Optional Chaining 2019-12-14 00:08:21 +08:00
Pig Fang
96fd445415 Add grid for user dashboard 2019-12-13 19:29:57 +08:00
Pig Fang
7950132954 Add grid for user profile page 2019-12-13 18:53:47 +08:00
Pig Fang
d5ffea34d9 Add gap between badges 2019-12-13 17:42:55 +08:00
Pig Fang
d5aad4375f
New Crowdin translations (#111) [skip ci] 2019-12-13 16:03:06 +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
243a164063
New Crowdin translations (#110)
[skip ci]
2019-12-10 11:25:07 +08:00
Pig Fang
f9b32c8e69 Check dependencies and conflicts before installing plugin
fixes #109
2019-12-09 23:30:49 +08:00
Pig Fang
eb62e04c1c
New Crowdin translations (#107) 2019-12-09 16:38:06 +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
0b09be3e9c Fix home page at mobile 2019-12-08 10:56:55 +08:00
Pig Fang
ce5b343617 Fix for too long texture name 2019-12-08 10:29:49 +08:00
Pig Fang
e3a34a4013 Fix badges 2019-12-08 09:59:34 +08:00
Pig Fang
6fc099bb34 Fix "*.master" templates 2019-12-07 16:39:04 +08:00
Pig Fang
a70260ca41 New method addAlert on OptionForm 2019-12-05 23:42:51 +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
322ef7cdeb Blade -> Twig (for forms) 2019-12-03 17:03:30 +08:00
Pig Fang
c91919b6d9 Update changelog 2019-12-03 12:54:07 +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
f414849051 Fix skin library page skeleton 2019-11-30 13:02:06 +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
7aa044324c Update changelog 2019-11-24 14:42:15 +08:00
Pig Fang
52dae783e8 Upgrade to AdminLTE v3 2019-11-24 14:32:58 +08:00