Commit Graph

625 Commits

Author SHA1 Message Date
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
Pig Fang
ab7b3841b5 Tweak the order of "report" table 2019-07-03 09:30:42 +08:00
Pig Fang
f93e0d1755 Fix occasion of mounted event of plugins system 2019-07-02 17:39:41 +08:00
Pig Fang
0bbeaa7246 Make front end assets URL flexible 2019-07-02 11:35:29 +08:00
Pig Fang
f1232724df Fix occasion of mounted event of plugins system 2019-07-02 10:59:21 +08:00
Pig Fang
f064b9271c Tweak some links at closet page 2019-07-01 23:16:46 +08:00
Pig Fang
7cb3e246a8 Fix possible duplicated signings (fix #68) 2019-06-25 22:59:05 +08:00
Pig Fang
0a1f9ea3d6 Fix type errors 2019-06-18 13:12:47 +08:00
Pig Fang
66182eaabc Optimize panel of changing color 2019-06-15 17:55:18 +08:00
Pig Fang
ad7f885235 Tweak chart 2019-06-02 23:06:50 +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
9d2ec9a955 Tweak 2019-05-19 10:32:28 +08:00
Pig Fang
979290c71c Fix test 2019-05-19 10:30:00 +08:00
yushijinhun
4012cfc46f
Fix #61 2019-05-18 21:04:21 +08:00
yushijinhun
b4ab63907c
Test cases for #61 2019-05-18 21:04:19 +08:00
yushijinhun
8ef45c37e3
Fix default steve skin may be displayed in slim model 2019-05-11 22:55:14 +08:00
yushijinhun
f4cbda6168
Fix style 2019-05-11 22:39:31 +08:00
yushijinhun
6b6fb8d33d
Fix previewing model is not set in closet & players page 2019-05-11 22:34:11 +08:00
yushijinhun
f53ce777b3
Fix previewing doesn't use specified model
Related: 2eab303457
2019-05-11 22:16:39 +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
5e1ea64c66 Expose some Element UI components 2019-05-07 18:52:22 +08:00
Pig Fang
72780a6217 Preview player automatically if user has only one player (fix #46) 2019-05-07 17:49:07 +08:00
时光
7e3145d230 Make dashboard circles middle (#51) 2019-05-06 10:32:40 +08:00
Pig Fang
7b8b318402 Detect type automatically when uploading texture 2019-05-04 17:09:44 +08:00
Pig Fang
2eab303457 Fix previewing alex textures 2019-05-04 13:31:46 +08:00
Pig Fang
d418083495 Fix dropdown menu of skin library 2019-05-04 11:51:24 +08:00
Pig Fang
04269b57e9 Fix closet pagination 2019-05-03 23:17:17 +08:00
Pig Fang
c2906ecc4f Fix style of language menu 2019-05-03 15:15:10 +08:00
Pig Fang
5ea5d76b70 Upgrade dependencies 2019-05-03 09:49:48 +08:00
Pig Fang
403089157a FIx chart [skip ci] 2019-05-02 23:30:58 +08:00
Pig Fang
60ad06cfbb Fix style of avatar 2019-05-02 18:52:37 +08:00
Pig Fang
9d2bf8ad40 Split two axises 2019-05-02 16:57:34 +08:00
Pig Fang
c7d56637f4 Fix width of chart at admin panel 2019-05-02 09:54:50 +08:00
Pig Fang
f7c8dc87ce Truncate too long texture name (fix #44) 2019-05-02 09:25:28 +08:00
Pig Fang
2ffc2244ec Tweak style of score notice at upload page 2019-05-01 20:37:51 +08:00
Pig Fang
fb10962ff9 Expand content policy alert 2019-05-01 20:15:41 +08:00
Pig Fang
0c858cb6c3 Add an event hook after i18n loaded 2019-05-01 19:42:13 +08:00
Pig Fang
a769d91464 Extract common code as component 2019-04-28 15:32:18 +08:00
Pig Fang
fc0a9ccf6b Clean up CSS 2019-04-28 15:16:16 +08:00
Pig Fang
a7ac10bc8c Clean up 2019-04-28 14:58:14 +08:00
Pig Fang
d8bec1d1fb Add APIs for closet 2019-04-28 11:38:38 +08:00
Pig Fang
8a2aaccabe Refactor entry file 2019-04-27 22:06:09 +08:00
Pig Fang
15f22dd10c Tweak lintings 2019-04-27 14:12:02 +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
9d31faa533 Fix language dropdown for mobile (fix #39) 2019-04-23 19:52:00 +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
8fa1477d7d Clean console output 2019-04-06 23:01:33 +08:00
Pig Fang
d7b78324f8 Simplify downloading packages 2019-04-05 17:23:27 +08:00
Pig Fang
c5d2082308 Tweak console 2019-04-05 09:09:40 +08:00
Pig Fang
108bd260a4 Tweak webpack 2019-04-05 09:00:43 +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
ac4fb12e42 Remove type limitation on login page 2019-04-03 10:24:33 +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
8521217d4a Tweak style of user dashboard 2019-03-30 19:06:32 +08:00
Pig Fang
7589ec8f2b Use buttons from Element UI 2019-03-30 18:36:01 +08:00
Pig Fang
fd01a352a4 Load i18n from element-ui 2019-03-30 15:48:34 +08:00
Pig Fang
e7f8503578 Allow fallback i18n 2019-03-30 15:04:55 +08:00
Pig Fang
867ef34628 Hide content policy link if it is empty 2019-03-30 14:46:12 +08:00
Pig Fang
e49c40cc08 Switch to new slot syntax 2019-03-30 14:39:55 +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
Pig Fang
afc5854615 Tweak build 2019-03-28 10:24:09 +08:00
Pig Fang
be41f1a6b8 Simplify imports 2019-03-28 09:15:11 +08:00
Little_Qiu
f6845ab22c Improve text prompts when reCAPTCHA is enabled 2019-03-27 13:33:29 +08:00
Pig Fang
37cc838137 Tweak imports 2019-03-27 13:06:03 +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
3e7836b9ff Simplify build 2019-03-27 10:50:17 +08:00
Pig Fang
ddc65ddd23 Tweak 2019-03-27 10:38:42 +08:00
Pig Fang
164195e0dc Remove iCheck 2019-03-26 23:41:13 +08:00
Pig Fang
3622ed7548 Remove iCheck partially 2019-03-26 23:31:15 +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
c60e36b1a0 Make responsive in user dashboard 2019-03-26 11:43:31 +08:00
Pig Fang
9e14a3cffb Fix chart-related issues 2019-03-26 10:21:44 +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
51713c5b16 Tiny fixes 2019-03-24 15:49:42 +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
f6040707e1 Generate extra data in controllers 2019-03-23 19:52:14 +08:00
Pig Fang
aec3fe4a87 Support limiting single player 2019-03-22 21:40:12 +08:00
Pig Fang
21707dbe5d Set sortField automatically 2019-03-22 10:40:45 +08:00
Pig Fang
8845958ec4 Fix unintented escaping in profile page 2019-03-21 23:04:25 +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
c770cd017e Allow load multiple modules 2019-03-19 19:18:24 +08:00
Pig Fang
a4c49d6634 Replace Chart.js with ECharts 2019-03-19 19:16:03 +08:00
Pig Fang
33d431606d Allow loading pure script 2019-03-19 15:36:47 +08:00
Pig Fang
bf364c5f5f Reorg views 2019-03-18 15:00:18 +08:00
Pig Fang
b6668a8eeb Fix ESLint rules 2019-03-18 14:36:43 +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
cfe419d41c Migrate to TypeScript 2019-03-17 23:39:48 +08:00
Pig Fang
83c1806d2b Tweak webpack config 2019-03-17 23:10:40 +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
36f2e86a42 Reformat Stylus 2019-03-17 11:19:07 +08:00
Pig Fang
d54a9e4602 Use Minecraft font in skinlib 2019-03-17 11:00:15 +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
1e7071ebe3 Fix compatibility of sweetalert2 with bootstrap 3 2019-03-15 19:13:38 +08:00
Pig Fang
8a9ea940a4 Upgrade dependencies 2019-03-15 17:39:24 +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
a75b358751 Add "download" button 2019-03-12 23:56:48 +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
709ecf6f9b upgrade deps 2019-02-19 11:55:54 +08:00
Pig Fang
12539d5f9d Modify path of front-end resources 2018-10-19 21:42:14 +08:00
Pig Fang
764c4ae94d Fix previewing high-res texture on upload page 2018-09-13 23:46:23 +08:00
Pig Fang
972c639730 Simplify code 2018-09-13 18:53:04 +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
9f0e08b84f Expose walkFetch method for plugins 2018-09-09 12:59:56 +08:00
Pig Fang
130d16a2f0 Reduce global variables pollution 2018-09-09 09:28:05 +08:00
Pig Fang
4cd1d91f39 Fix text update after state changed 2018-09-08 23:45:25 +08:00
Pig Fang
87100e9ae7 Expose internal function to global for plugins 2018-09-08 23:34:12 +08:00
Pig Fang
e355c8df68 Delay emitting mounted event 2018-09-08 21:26:25 +08:00
Pig Fang
016367a0a8 Postpone the emitting 2018-09-08 15:39:14 +08:00
Pig Fang
4c40900910 Move emitting to each fetcher 2018-09-08 15:31:04 +08:00
Pig Fang
f0d4e5bfdb Add type definitions for event emitter 2018-09-08 15:27:41 +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
825e376777 Drop support for IE 2018-09-05 23:27:02 +08:00
Pig Fang
bc8319e20e Hoist module "toastr" 2018-08-24 09:08:34 +08:00
Pig Fang
af9cf005ff Fix toggling verification state 2018-08-23 11:13:54 +08:00
Pig Fang
36f9fee280 Fix loading css of admin page 2018-08-22 10:26:05 +08:00
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