Commit Graph

738 Commits

Author SHA1 Message Date
Pig Fang
8845958ec4 Fix unintented escaping in profile page 2019-03-21 23:04:25 +08:00
Pig Fang
3a4844a5dd Build plugin "bs-super-cache" into core 2019-03-21 12:44:15 +08:00
Pig Fang
4b553c3c92 Build "get-score-by-sharing" into core 2019-03-20 23:28:04 +08:00
Pig Fang
d27dc54377 Build "redis" plugin into core 2019-03-20 11:00:14 +08:00
Pig Fang
3366237828 Split "resource" as a dedicated page 2019-03-20 10:01:42 +08:00
Pig Fang
accdffa88a Reuse code 2019-03-20 09:38:16 +08:00
Pig Fang
61b687275f UI tweak 2019-03-20 08:52:24 +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
30e07a9c3b Fix regression [skip ci] 2019-03-18 13:34:32 +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
afb65615b0 Build "seo-meta-tags" into core 2019-03-16 21:52:09 +08:00
Pig Fang
3bf9b18d64 Build "static-file-cdn" into core 2019-03-16 19:56:50 +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
5915b3ec17 Reimplementing closet 2019-03-14 23:55:49 +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
9ddf5ec311 removed unused blade views 2019-02-28 15:30:36 +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
82ab3289db Fix favicon 2018-10-19 22:23:47 +08:00
Pig Fang
12539d5f9d Modify path of front-end resources 2018-10-19 21:42:14 +08:00
Pig Fang
9def3808e3 Support frontend custom l10n text 2018-09-15 17:14:20 +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
8359967b16 Reduce text on player_name_length option 2018-09-08 10:30:24 +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
5be159eede Prevent from replacing i18n data directly 2018-09-06 22:18:07 +08:00
Pig Fang
1a079c90c4 Upgrade to Laravel 5.7 2018-09-06 16:26:03 +08:00
Pig Fang
35488ecca1 Tweak 2018-09-05 23:34:53 +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
839bb88359 Fix loading fallback front-end l10n files 2018-08-22 10:27:30 +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
printempw
f1378367d7 Update email template 2018-08-21 14:36:42 +08:00
printempw
1f58f2f524 Fix logging out at homepage 2018-08-21 14:35:09 +08:00
printempw
0f869cac3e Update notice of unavailable plugins registry 2018-08-21 14:34:27 +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
printempw
fbafb8daa7 Allow HTML in tips of update scripts 2018-08-21 09:08:46 +08:00
Pig Fang
6eac8cf2c7 Restrict PluginController access to super admin only 2018-08-21 09:05:29 +08:00
Pig Fang
30c05ea9b8 Fix loading CSS on error page 2018-08-21 09:03:30 +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
a8fa68a611 Fix CSRF verification for OptionForm 2018-08-20 23:14:05 +08:00
printempw
23b2abdfaf Fix form validation rules 2018-08-20 23:12:02 +08:00
Pig Fang
aff8e9f058 Fix CSRF verification 2018-08-20 23:09:26 +08:00
Pig Fang
1275ca92e3 Show FAQ link on fatal error modal 2018-08-20 22:45:06 +08:00
printempw
e6d35dd400 Update translations 2018-08-20 22:39:14 +08:00
printempw
ef3f9fccaa Allow customizing homepage by overriding translation strings 2018-08-20 22:23:41 +08:00
Pig Fang
dd2f2030da Optimize deleting element from array 2018-08-20 22:19:05 +08:00
Pig Fang
da8ac77ace Add webpack alias 2018-08-20 21:39:27 +08:00
Pig Fang
98d228da4c Fix front-end resources 2018-08-19 19:02:22 +08:00
Pig Fang
f6d022c377 Add plugins management page 2018-08-19 17:39:33 +08:00
Pig Fang
32104da31f Change view extension from .tpl to .blade.php 2018-08-19 11:53:24 +08:00
Pig Fang
6b4812b251 Add plugin marketplace 2018-08-19 11:39:14 +08:00
Pig Fang
37bdaceeb9 Fix tests 2018-08-18 09:48:39 +08:00
printempw
5b3b2da64c Specify update source by environment variable 2018-08-17 23:29:14 +08:00
Pig Fang
ad32b718eb Use guzzle to download update packages 2018-08-17 23:24:08 +08:00
Pig Fang
2305a80102 Remove Utils class 2018-08-17 22:54:26 +08:00
Pig Fang
b7f0a5b23e Add "quick apply" button at skinlib.show page 2018-08-17 21:38:44 +08:00
Pig Fang
799ccf83ec Add notice for applying textures from closet 2018-08-17 17:52:08 +08:00
Pig Fang
4a72442fdb Add a option for requiring player name when register 2018-08-17 17:03:38 +08:00
Pig Fang
939d71923b Enhance rate limit for sending password reset email 2018-08-17 16:07:24 +08:00
Pig Fang
9000bd6916 Retrieve external data in data 2018-08-17 14:49:11 +08:00
Pig Fang
b5468cc143 Support email verification 2018-08-17 12:32:44 +08:00
Pig Fang
706ca1938b Update mail template of password reset 2018-08-16 18:10:09 +08:00
Pig Fang
40deffb3b9 Limit login attempts by IP address 2018-08-16 17:57:24 +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
767436610c Clean up 2018-08-16 16:38:21 +08:00
Pig Fang
71cd20052b Remove unused files 2018-08-16 16:36:19 +08:00
Pig Fang
deda5cf11c Add skin library "show" page 2018-08-16 16:34:27 +08:00
Pig Fang
d39f95d634 Fix polyfill 2018-08-16 15:22:58 +08:00
Pig Fang
2f9ded7646 Fix render escaped l10n 2018-08-16 15:12:48 +08:00
Pig Fang
298dfc1064 Enable more ESLint rules 2018-08-16 14:50:11 +08:00
Pig Fang
733e694ba0 Add "upload" page 2018-08-15 16:44:21 +08:00
Pig Fang
a573f0efe3 Retrieve initial data from query string 2018-08-14 23:45:32 +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
f71a9b3dd8 Remove old JavaScript files 2018-08-12 17:56:00 +08:00
Pig Fang
d32eb379ba Add "reset" page 2018-08-12 17:50:04 +08:00
Pig Fang
96af04433c Support retrieving route params 2018-08-12 17:33:30 +08:00
Pig Fang
85d9677a64 Tweak imports 2018-08-12 17:17:54 +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
59e4bf628e Fix serializing data from Blade to JavaScript 2018-08-12 10:46:18 +08:00
Pig Fang
c0ac92604f Revert: fix button state 2018-08-12 10:34:09 +08:00
Pig Fang
4470b7ba9c Add missing logout 2018-08-12 09:31:50 +08:00
Pig Fang
0889276494 Fix button state 2018-08-12 09:31:35 +08:00
Pig Fang
b29caca472 Extract style 2018-08-12 09:18:45 +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
fea37bc512 Fix HTTP headers 2018-08-12 08:48:42 +08:00
Pig Fang
f7d156ac79 Remove old JavaScript files 2018-08-11 15:09:17 +08:00
Pig Fang
be798afe5c Remove old css file 2018-08-11 11:59:59 +08:00
Pig Fang
ca1f5fdb69 Add players page 2018-08-11 11:59:11 +08:00
Pig Fang
9b846a4733 Update css of skin previewer 2018-08-10 15:15:40 +08:00
Pig Fang
c9e92bbbbb Add missing css 2018-08-10 14:59:34 +08:00