Commit Graph

229 Commits

Author SHA1 Message Date
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
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
d32eb379ba Add "reset" page 2018-08-12 17:50:04 +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
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
ca1f5fdb69 Add players page 2018-08-11 11:59:11 +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
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
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
a2e6315198 Simplify input validator 2018-08-05 14:36:44 +08:00
Pig Fang
3dfa5c6e4e Add profile page 2018-08-02 17:29:43 +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
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
2eb6e294cf Fix test 2018-07-30 09:52:39 +08:00
Pig Fang
d3abbcdf82 Update test 2018-07-29 08:50: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