Commit Graph

285 Commits

Author SHA1 Message Date
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
ae4be6fbda Refactor static routes 2019-12-22 17:28:55 +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
a3e74065f9 Add grid for closet page 2019-12-14 14:30:38 +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
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
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
2da0a3576b Replace Element msgbox with Bootstrap modal 2019-11-30 12:01:17 +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
f8844cb549 Specify base URL at <base> element 2019-11-26 17:59:14 +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
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
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
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
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
Pig Fang
7cb3e246a8 Fix possible duplicated signings (fix #68) 2019-06-25 22:59:05 +08:00
Pig Fang
66182eaabc Optimize panel of changing color 2019-06-15 17:55:18 +08:00
Pig Fang
95c2866b01 Fix cloning response object 2019-05-23 11:26:34 +08:00
Pig Fang
50dbd4ee52 Better UX for backend errors (fix #64) 2019-05-22 23:55:37 +08:00
Pig Fang
979290c71c Fix test 2019-05-19 10:30:00 +08:00
yushijinhun
b4ab63907c
Test cases for #61 2019-05-18 21:04:19 +08:00
Pig Fang
7127970f23 Fix that state of skin library page can't be saved 2019-05-08 23:29:57 +08:00
Pig Fang
aec1c1312e Refactor 2019-05-08 11:41:49 +08:00
Pig Fang
929cc14761 Fix model can't walk after resetting model (fix #53) 2019-05-08 10:52:18 +08:00
Pig Fang
f88e60e07f Refactor importing ElementUI 2019-05-07 23:56:25 +08:00
Pig Fang
72780a6217 Preview player automatically if user has only one player (fix #46) 2019-05-07 17:49:07 +08:00
Pig Fang
7b8b318402 Detect type automatically when uploading texture 2019-05-04 17:09:44 +08:00
Pig Fang
5ea5d76b70 Upgrade dependencies 2019-05-03 09:49:48 +08:00
Pig Fang
f7c8dc87ce Truncate too long texture name (fix #44) 2019-05-02 09:25:28 +08:00
Pig Fang
fb10962ff9 Expand content policy alert 2019-05-01 20:15:41 +08:00
Pig Fang
a769d91464 Extract common code as component 2019-04-28 15:32:18 +08:00
Pig Fang
d8bec1d1fb Add APIs for closet 2019-04-28 11:38:38 +08:00
Pig Fang
e2c125648f Support OAuth2 2019-04-25 23:24:24 +08:00
Pig Fang
122477c5c3 Add RESTful APIs about players 2019-04-24 13:10:03 +08:00
Pig Fang
1c205f6842 New API: add new player 2019-04-23 23:03:12 +08:00
Pig Fang
6d03e47526 Nomalize JSON response structure 2019-04-23 19:14:41 +08:00
Pig Fang
0486ddc5a1 Normalize JSON response structure 2019-04-23 11:47:45 +08:00
Pig Fang
8bab3699ba Add option about transparent navigation bar 2019-04-19 19:32:15 +08:00
Pig Fang
b36aa1c9f9 Fix 2D preivew (fix #33) 2019-04-10 13:09:40 +08:00
Pig Fang
c9f75f70d1 Defer checking updates 2019-04-08 14:42:40 +08:00
Pig Fang
d7b78324f8 Simplify downloading packages 2019-04-05 17:23:27 +08:00
Pig Fang
4305b722ca Switch to Laravel's validation expcetion handler 2019-04-05 08:58:00 +08:00
Pig Fang
e2c6028196 Show chars captcha even "invisible" is on 2019-04-04 10:19:32 +08:00
Pig Fang
13559e229d Fix front end test 2019-04-03 23:16:05 +08:00
Pig Fang
bf479ad6a6 Fix alerting 2019-04-03 09:46:59 +08:00
Pig Fang
1f2d7a98ce Better UX about players 2019-04-01 21:45:59 +08:00
Pig Fang
bd86b7936a Layout tiny tweaks 2019-04-01 09:56:04 +08:00
Pig Fang
6d5ab8ed2e Hide cape if cape is empty 2019-03-31 16:31:42 +08:00
Pig Fang
3022f9f337 Fix downloading texture 2019-03-31 15:12:49 +08:00
Pig Fang
7589ec8f2b Use buttons from Element UI 2019-03-30 18:36:01 +08:00
Pig Fang
9a095732fa Build plugin "report-textures" into core 2019-03-30 11:38:30 +08:00
Pig Fang
9feed83fcc UI tweak 2019-03-29 09:58:58 +08:00
Pig Fang
19a51f8df7 Restructure files 2019-03-28 16:37:01 +08:00
Little_Qiu
f6845ab22c Improve text prompts when reCAPTCHA is enabled 2019-03-27 13:33:29 +08:00
Pig Fang
a311e814d1 UI tweak 2019-03-27 11:50:39 +08:00
Pig Fang
77e69f23e3 Extract common code 2019-03-27 11:29:08 +08:00
Pig Fang
a5d2659d98 Refactor 2019-03-27 11:09:11 +08:00
Pig Fang
64658fd9f2 Enable reCAPTCHA on "forgot" page 2019-03-27 11:07:04 +08:00
Pig Fang
164195e0dc Remove iCheck 2019-03-26 23:41:13 +08:00
Pig Fang
716423bd88 Beautify texture upload page 2019-03-26 22:04:27 +08:00
Pig Fang
a1e38eec1f Rework skin library filter 2019-03-26 17:42:27 +08:00
Pig Fang
f7c03a3fac Beautify user dashboard 2019-03-26 09:44:04 +08:00
Pig Fang
c168970723 Remove "toastr" and "sweetalert2" 2019-03-25 22:01:57 +08:00
Pig Fang
04b8f73ac4 Support invisible reCAPTCHA 2019-03-24 15:45:50 +08:00
Pig Fang
d5903f6412 Should reset reCAPTCHA (fix #28) 2019-03-24 11:43:19 +08:00
Pig Fang
1fa155c213 Support reCAPTCHA 2019-03-24 09:58:37 +08:00
Pig Fang
aec3fe4a87 Support limiting single player 2019-03-22 21:40:12 +08:00
Pig Fang
4b553c3c92 Build "get-score-by-sharing" into core 2019-03-20 23:28:04 +08:00
Pig Fang
accdffa88a Reuse code 2019-03-20 09:38:16 +08:00
Pig Fang
8a6aeb0657 Hoist router 2019-03-19 19:29:44 +08:00
Pig Fang
bf364c5f5f Reorg views 2019-03-18 15:00:18 +08:00
Pig Fang
f64e6494c6 One operation to change permission 2019-03-18 13:24:03 +08:00
Pig Fang
d1d4c54818 Migrate to TypeScript 2019-03-18 09:55:24 +08:00
Pig Fang
5d80b8e06a Migrate to TypeScript partially 2019-03-17 21:09:46 +08:00
Pig Fang
3b033be048 Refactor front-end 2019-03-17 15:59:52 +08:00
Pig Fang
9633625e3d Reuse common code 2019-03-17 15:26:12 +08:00
Pig Fang
9872221dc3 Fix linting errors 2019-03-17 10:21:18 +08:00
Pig Fang
a1cfbe7f5b Allow to reset avatar 2019-03-17 09:46:02 +08:00
Pig Fang
0dfdf593ca Allow set avatar from skinlib 2019-03-17 00:12:56 +08:00
Pig Fang
70c9226bf8 Hide setAsAvatar if texture is cape 2019-03-16 23:47:56 +08:00
Pig Fang
6778fc6d08 Fix linting errors 2019-03-15 16:50:16 +08:00
Pig Fang
5f2f3a0d45 New eslint config 2019-03-15 11:42:41 +08:00
Pig Fang
ceac906771 Rename column player_name to name 2019-03-13 13:16:51 +08:00
Pig Fang
69b6d3685d Remove feedback 2019-03-12 20:51:46 +08:00
Pig Fang
1ff8e631fe
Remove settings of preference (#8)
Resolve #6
2019-03-02 21:13:17 +08:00
Pig Fang
e44b3b5d22 fix tests 2019-02-19 16:37:29 +08:00
Pig Fang
764c4ae94d Fix previewing high-res texture on upload page 2018-09-13 23:46:23 +08:00
Pig Fang
43051bad90 Finish button of BS update 2018-09-13 18:10:23 +08:00
Pig Fang
6bfe30b394 Always throw an Error instance 2018-09-11 23:29:02 +08:00
Pig Fang
205a8f54f0 Simplify fetch calls on high level 2018-09-11 18:56:01 +08:00
Pig Fang
8ee01b7adb Emit an event after previewer mounted 2018-09-10 18:37:43 +08:00
Pig Fang
130d16a2f0 Reduce global variables pollution 2018-09-09 09:28:05 +08:00
Pig Fang
4c40900910 Move emitting to each fetcher 2018-09-08 15:31:04 +08:00
Pig Fang
4db7872c02 Emit an event after mounted 2018-09-08 14:40:53 +08:00
Pig Fang
cd43fb6f0e Fix retrieving csrf token 2018-09-08 14:31:08 +08:00
Pig Fang
23b360e8d7 Upgrade dependencies 2018-09-08 13:25:14 +08:00
Pig Fang
d32d72ee4d Upgrade dependencies 2018-09-08 11:56:00 +08:00
Pig Fang
6e4a1dfc6f Add more tests 2018-09-08 10:11:44 +08:00
Pig Fang
47207476ff Add more tests 2018-09-07 23:58:00 +08:00
Pig Fang
544b30c830 Fix for dropdown menu in admin panel 2018-09-07 22:26:34 +08:00
Pig Fang
f20e2bcfe3 Add tests for i18n 2018-09-07 10:44:57 +08:00
Pig Fang
f55412035d Add event emitter 2018-09-07 10:14:31 +08:00
Pig Fang
af9cf005ff Fix toggling verification state 2018-08-23 11:13:54 +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
dd2f2030da Optimize deleting element from array 2018-08-20 22:19:05 +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
4a72442fdb Add a option for requiring player name when register 2018-08-17 17:03:38 +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
deda5cf11c Add skin library "show" page 2018-08-16 16:34:27 +08:00
Pig Fang
733e694ba0 Add "upload" page 2018-08-15 16:44:21 +08:00