Pig Fang
e87c52d30f
Fill database info automatically in setup
...
Ref: #30
2019-03-31 11:07:42 +08:00
Pig Fang
d9efa1d5ff
Declare sharable user instance in master view
2019-03-31 09:08:31 +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
44edb23ba2
Fix English text
2019-03-30 14:45:54 +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
f16c416176
Hide comment area by default
2019-03-29 09:04:57 +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
e25a3623a5
Fix i18n key
2019-03-27 10:42:39 +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
b6cf6d21a1
Rework admin panel
2019-03-26 10:42:25 +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
2397ebc565
Remove recaptcha_mirror option
2019-03-24 10:14:27 +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
2267a2cadb
Remove UserRepository
2019-03-23 11:06:36 +08:00
Pig Fang
b4ef665848
Refactor
2019-03-23 00:20:28 +08:00
Pig Fang
aec3fe4a87
Support limiting single player
2019-03-22 21:40:12 +08:00
Pig Fang
6793ccea30
Remove unused code
2019-03-22 11:13:21 +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
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
Pig Fang
7fdb6da915
Case
2018-08-09 17:08:07 +08:00
Pig Fang
516a7b4798
Add "change color" box
2018-08-09 17:07:20 +08:00
Pig Fang
9699a4434a
Remove unused content
2018-08-09 15:37:51 +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
9e92684593
Fix <small> font size
2018-08-08 18:33:12 +08:00
Pig Fang
ceadadbe95
Change font awesome icon
2018-08-08 18:19:21 +08:00
Pig Fang
e3b5cbc36f
Hot reload for development
2018-08-08 18:17:11 +08:00
Pig Fang
ca9a025fad
Update style of admin panel
2018-08-08 15:39:05 +08:00
Pig Fang
05c6ce13bc
Fix linting warning
2018-08-08 15:33:06 +08:00
Pig Fang
023968ef9d
Copy Chart.js as-is
2018-08-08 15:30:26 +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
4e9c0b9d45
Fix style of home page
2018-08-07 09:25:20 +08:00
Pig Fang
0198cf84f5
Use Minecraft font for logo
2018-08-06 18:44:01 +08:00
Pig Fang
8fd5350ee3
Fix sweetalert2 style
2018-08-06 18:37:00 +08:00
Pig Fang
c333720fa3
Fix querying single user
2018-08-06 18:26:42 +08:00
Pig Fang
472477efa0
Fix form style
2018-08-06 16:51:04 +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
5e4bc4b564
Use Fetch API
2018-08-05 15:33:08 +08:00
Pig Fang
a2e6315198
Simplify input validator
2018-08-05 14:36:44 +08:00
Pig Fang
33de864504
Add more ESLint rules and format
2018-08-05 09:47:29 +08:00
Pig Fang
3c2aa37967
Optimize webpack build
2018-08-04 10:22:16 +08:00
Pig Fang
b0097eacbd
Remove pre-script section
2018-08-03 16:30:34 +08:00
Pig Fang
43afaa3e8d
Optimize loading fonts
2018-08-03 10:35:06 +08:00
Pig Fang
3dfa5c6e4e
Add profile page
2018-08-02 17:29:43 +08:00
Pig Fang
d946810c46
Fix css of toastr
2018-08-02 15:01:07 +08:00
Pig Fang
7e72e3c01b
Update global style
2018-08-02 09:52:20 +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
72946e2474
Add more TypeScript declarations
2018-07-31 22:20:42 +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
0423bef836
Fix running jQuery plugins
2018-07-31 09:16:56 +08:00
Pig Fang
7985321022
Add default skin
2018-07-30 15:45:29 +08:00
Pig Fang
6c6cecc5bd
Add missing l10n
2018-07-30 11:43:31 +08:00
Pig Fang
5b72834c62
Add missing style
2018-07-30 11:42:10 +08:00
Pig Fang
821357cf35
Add fonts
2018-07-30 11:24:36 +08:00
Pig Fang
2eb6e294cf
Fix test
2018-07-30 09:52:39 +08:00
Pig Fang
b666f59554
Fix Promise polyfill
2018-07-30 09:05:15 +08:00
Pig Fang
48704bd3ce
Support front-end i18n
2018-07-29 18:56:07 +08:00
Pig Fang
e69e7be1d9
Use webpack instead of parcel
2018-07-29 15:31:54 +08:00
Pig Fang
d3abbcdf82
Update test
2018-07-29 08:50:25 +08:00
Pig Fang
f43ce12a87
Add polyfill for IE
2018-07-28 11:12: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
Pig Fang
f6dec9d447
Get ready for using Vue.js
2018-07-25 15:32:08 +08:00
Pig Fang
11afeea08d
Add L10n support for program copyright style
2018-07-22 16:46:37 +08:00
Pig Fang
5e3e2bf688
Return 204 instead of 200 for CDN cache
2018-07-22 16:42:58 +08:00
Pig Fang
e60d73b410
Remove bs_announcement function and parsedown
2018-07-22 16:32:34 +08:00
Pig Fang
d05cd4aab2
Throw PrettyPageException when cipher is invalid
2018-07-22 16:23:49 +08:00
Pig Fang
d16483bacb
Add custom HTTP-500 error page
2018-07-22 16:16:29 +08:00
Pig Fang
aa149f4f3e
Allow overriding translations
2018-07-22 11:06:16 +08:00
Pig Fang
02ba6ed3df
Allow overriding views
2018-07-22 10:58:29 +08:00
Pig Fang
1dc145cc9a
Generate random salt and app key by default
2018-07-22 09:39:27 +08:00
Pig Fang
10a0cd09db
Add option for denying directly downloading textures
2018-07-22 09:38:42 +08:00
Pig Fang
0233e44ccd
Add a setup step to fill database info
2018-07-21 16:55:36 +08:00
Pig Fang
0ded695295
Nickname is required in setup
2018-07-20 17:23:54 +08:00
Pig Fang
712b754c09
Fix i18n
2018-07-20 16:51:45 +08:00
Pig Fang
5b1667d798
Add regexp rule support for texture name
2018-07-20 15:41:15 +08:00
Pig Fang
fdf618b2be
Use Laravel's auth system and use another captcha generator
2018-07-20 14:42:43 +08:00
Pig Fang
3c24a166e8
Use signed URL to simplify resetting password
2018-07-18 11:04:34 +08:00
Pig Fang
c6d8108c8c
use @lang directive
2018-07-17 11:06:55 +08:00
Pig Fang
a8a3ba4ec9
add types shims
2018-07-17 09:39:14 +08:00
Pig Fang
3df2f2dda9
use Blade::if to check if a user is admin
2018-07-17 09:29:10 +08:00
Pig Fang
9cd6e0945d
booleanify public property
2018-07-16 11:10:01 +08:00
Pig Fang
e1df46b7cd
use stylus instead of sass
2018-07-10 14:19:58 +08:00
printempw
da34062a9c
Add L10n support for site name and description
2018-07-06 14:49:39 +08:00
printempw
12b32fce3d
Update introduction text about scores
2018-07-06 14:09:17 +08:00
printempw
815fef7f3d
Enhance rendering notice for unsatisfied plugin dependencies
2018-06-29 20:54:40 +08:00
printempw
b4e8b7e8c9
Update tests of plugins
2018-06-29 18:26:48 +08:00
printempw
967e1642d3
Update plugins management page for resolving dependencies
2018-06-29 16:45:43 +08:00
printempw
c45b478de2
Add .env variables for customizing the path to load plugins from
2018-06-28 12:32:58 +08:00
printempw
f24aeb5a7a
Add l10n support for announcement and copyright text, close #115
2018-06-19 19:57:33 +08:00
printempw
e7f95fe956
Add short description for setting model preference
2018-06-19 17:45:43 +08:00
printempw
abde385776
Add more validation rules for player name
2018-06-19 11:51:34 +08:00
printempw
6926ae21ff
Use swal to show error message when adding players
2018-06-19 11:47:50 +08:00
printempw
53fd30f093
Add placeholder method to OptionFormText
2018-06-18 21:50:10 +08:00
printempw
64b904107a
Update the text on console
2018-06-17 14:42:55 +08:00
printempw
36064873e3
Revert "Add a option for adding a player after registered"
...
This feature will be implemented as a plugin. This reverts commit ad255252b57b135ddecf89aa1331c40c97324be9.
2018-06-15 22:44:30 +08:00
Pig Fang
a2ad367651
feat: better DataTables AJAX error
2018-03-18 10:49:49 +08:00
printempw
c0ae401600
Update default site name
2018-02-25 09:19:48 +08:00
printempw
62af291091
Add button to clear selected textures in closet
2018-02-24 18:14:15 +08:00
printempw
4c54a391be
Remove package fx3costa/laravelchartjs
2018-02-24 17:08:32 +08:00
printempw
da48fd84dc
Adjust allowed maximum password length to 32
2018-02-24 16:32:19 +08:00
printempw
efe5c6229c
Update initialization of datatables
2018-02-24 15:59:56 +08:00
printempw
a13d5a947a
Fix tooltips on data tables
2018-02-24 13:51:32 +08:00
printempw
31391be8c3
Use laravelchartjs package to generate overview chart
2018-02-24 13:33:24 +08:00
printempw
4d8856e0f4
Adjust canvas style of skinview3d
2018-02-24 13:31:37 +08:00
printempw
459439f132
Fix tests for skinview3d
2018-02-24 00:08:24 +08:00
printempw
249c9f290d
Avoid operating skinViewer instance directly outside the module
2018-02-24 00:08:09 +08:00
printempw
0373c0ada6
Remove tests for texture-preview module
2018-02-24 00:01:44 +08:00
printempw
d54709c23d
Add default texture for alex model
2018-02-23 23:17:29 +08:00
printempw
0a0b25b5af
Update initialization of skinview3d
2018-02-23 22:32:08 +08:00
printempw
76b607dfd2
Fix DOM selector of changing player name
2018-02-23 22:18:18 +08:00
printempw
d2d8eef15f
Migrate to skinview3d completely
2018-02-23 22:16:51 +08:00
printempw
9505efb797
Update vendor i18n files
2018-02-23 18:51:29 +08:00
printempw
6d579f8b1e
Add plugin configs to sidebar menu
2018-02-23 18:12:12 +08:00
printempw
9bf7dccb64
Fix generating sidebar
2018-02-23 16:51:50 +08:00
printempw
98e27151ff
Fix bootstrap tooltips
2018-02-23 16:26:53 +08:00
printempw
b876b99459
Switch to skinview3d on skinlib pages
2018-02-23 16:22:08 +08:00
printempw
0bb3ef55b3
Replace three.msp.js with skinview3d
2018-02-23 16:16:52 +08:00
printempw
2d43a05a54
Fix codebase due to dependencies update
2018-02-23 12:08:27 +08:00
printempw
35c5b469a0
Add check for escapeshellarg function
2018-02-22 23:07:23 +08:00
printempw
3725ec26f7
Check existing tables before running database migrations
2018-02-22 22:29:25 +08:00
printempw
6a977b6de4
Add support for SQLite database
2018-02-22 21:38:23 +08:00
printempw
8ceec96224
Optimize SQL queries on view admin.index
2018-02-22 19:17:40 +08:00
printempw
90af85d00f
Fix using JavaScript protocol in a.href
2018-02-16 20:15:26 +08:00
printempw
3ebc206e7d
Remove lib docCookies
2018-02-16 19:54:07 +08:00
printempw
42e06e8954
Add .editorconfig
2018-02-16 15:39:55 +08:00
Pig Fang
74f17494a4
fix(i18n): clarify wrong password
2018-01-04 22:07:16 +08:00
Pig Fang
acadfd73bb
fix(i18n): fix wrong i18n key for "player" page
2018-01-01 23:02:18 +08:00
Pig Fang
846f29ef6d
style(js): stricter eslint rules ( #108 )
...
* style(js): stricter eslint rules
* build: ignore .eslintignore
2017-12-29 23:28:11 +08:00
Pig Fang
b1fa8c098b
refactor(common): refactor polyfill of String.prototype.includes
2017-12-27 17:47:13 +08:00
Pig Fang
04a88a2e30
build: remove commonjs exports
2017-12-24 11:40:15 +08:00
Pig Fang
88502a3db1
test(all): remove console output when testing
2017-12-24 10:54:00 +08:00
Pig Fang
e4ee22ad75
Fix missing parameter
2017-12-16 11:15:18 +08:00
Pig Fang
bec9bdf3f3
Fix iterating items for closet and skin library
...
`for...of` is a feature of ES6,
however Babel will transpile this syntax to `Symbol.iterator()`,
which does not supported on IE11.
We won't add `Symbol` polyfill,
because it will increase JS file size.
`Array.prototype.reduce` is of ES5 and supported on IE11.
2017-12-16 11:03:37 +08:00
Pig Fang
76b6d68bc2
Update JSDoc
2017-12-09 15:32:25 +08:00
Pig Fang
a97128da1e
Move "setTexture" function to "closet"
2017-12-04 14:41:53 +08:00
gplane
b834264c3e
Update JavaScript tests
2017-11-29 13:52:32 +08:00
Pig Fang
4ebd54707e
Update JavaScript tests
2017-11-26 23:57:52 +08:00
Pig Fang
09ccae26c4
Use event listener instead of inline href
...
Using inline `href` to execute JavaScript in Firefox doesn't work.
2017-11-24 22:27:33 +08:00
Pig Fang
577c5ab8df
Use fallback locale for JavaScript in I18N
2017-11-24 20:03:44 +08:00
Pig Fang
b19565bf8b
Add tests for PluginController
2017-11-16 14:09:08 +08:00
Pig Fang
aaf612f2d9
Add tests for PlayerController
2017-11-14 23:25:04 +08:00
printempw
9f19897528
Tweak i18n text
2017-11-09 20:49:15 +08:00
Pig Fang
42a42ef8c7
Use async/await and update tests
2017-11-08 13:33:03 +08:00
printempw
64d8b44a13
Adjust the position of auto-add-player checkbox
2017-11-07 20:08:03 +08:00
Pig Fang
6a5a198b1d
Fix missing texture type after renaming item in closet
2017-11-06 16:19:59 +08:00
Pig Fang
594954dbe2
Make responsive for closet
...
fix #89
2017-11-06 11:07:24 +08:00
Pig Fang
bce4ed4a42
Add a option for adding a player after registered
2017-11-05 20:56:52 +08:00
Pig Fang
8d1adc7e4d
Add security check before resetting password
2017-11-05 10:25:20 +08:00
Pig Fang
ed27972608
Add tests for ClosetController
2017-11-04 20:25:54 +08:00
Pig Fang
b6ffa970cf
Add tests for AdminController
2017-11-04 20:25:54 +08:00
gplane
6df8babc7d
Tweak i18n text
2017-08-19 08:50:27 +08:00
printempw
b948f27692
Fix signing out after changing password
2017-08-07 14:46:03 +08:00
printempw
52281dd25c
Add option destroyOnClose for showModal
2017-08-07 14:43:22 +08:00
printempw
231a91e367
Fix translation of getting textures
2017-08-07 13:48:20 +08:00
printempw
4bf0de92c5
Define default skin/avatar image in one place
2017-08-07 13:38:46 +08:00
printempw
64d6900434
Add fucking test for sending feedbacks
2017-08-07 13:14:49 +08:00
printempw
0f611d56f6
Adjust frequency of sending feedbacks
2017-08-07 10:16:25 +08:00
printempw
19f75f4a0d
Add test for checking updates
2017-08-06 23:39:18 +08:00
printempw
3ab2db4133
Fix tests
2017-08-06 23:12:07 +08:00
printempw
1852e9f4fb
Separate scripts about checking updates from HTML
2017-08-06 23:08:09 +08:00
printempw
efb7cf07e5
Fix removing items from closet
2017-08-06 22:40:30 +08:00
printempw
86c5343c55
Move all iCheck initialization to layout.js
2017-08-06 22:31:09 +08:00
printempw
c25332008f
Revert "Make iCheck color followed by body theme"
...
This reverts commit e4ae3c7130c4aa73cf276b451c763a533a78da82.
2017-08-06 22:09:19 +08:00
gplane
37654eb807
Make iCheck color followed by body theme
2017-08-06 18:06:29 +08:00
gplane
0771c4c2dd
Use "min" as unit when sign remaining time is less than 1 hour
2017-08-06 17:05:04 +08:00
printempw
a2edc469ac
Show precision time when sign remaining time is less than 1 hour
2017-08-05 23:43:35 +08:00
printempw
cb2ce86aae
Enhance detection of mobile browser scrolling #80
2017-08-05 18:22:03 +08:00
printempw
56be384dfd
Fix sending statistics
2017-08-05 16:09:32 +08:00
printempw
bc7679fd0d
Use default background image when option leaved empty
2017-08-05 14:35:28 +08:00
printempw
904ab9f05b
Fix responsive home page, close #80
2017-08-04 10:21:03 +08:00
printempw
d5f7c704dd
Add dangling commas in module.exports
2017-08-01 14:42:17 +08:00
printempw
5fd8ef62aa
Update tests
2017-08-01 14:39:44 +08:00
printempw
3e798d9cc5
Simplify the form of catching ajax errors
2017-08-01 12:24:32 +08:00
printempw
07110d2580
Fix adding event listener using jQuery
2017-08-01 12:19:23 +08:00
printempw
f29ab3042d
Fix XSS when searching skinlib
2017-07-31 12:51:00 +08:00
printempw
2ea4920851
Update font-family of mail title
2017-07-30 16:33:27 +08:00
printempw
0566d4e7e0
Throw exception when two plugins use the same name definition
2017-07-30 16:11:23 +08:00
printempw
e170d6685f
Fix searching player count of user at admin page
2017-07-30 14:48:40 +08:00
printempw
153f515f15
Minor bug fixes for tests
2017-07-28 18:22:59 +08:00
printempw
28c4d555d4
Merge pull request #76 from g-plane/master
...
为 JavaScript 代码添加单元测试
2017-07-28 04:54:03 -05:00
printempw
4e546076ef
Fix ajax URL of managing plugins
2017-07-28 17:51:18 +08:00
gplane
d1faaf64f5
Add unit test for JavaScript files
2017-07-20 15:36:59 +08:00
printempw
54a0ac3618
Apply new style for login page
2017-07-14 10:37:00 +08:00
printempw
a8ac404c98
Remove reference to index.js
2017-07-14 09:45:30 +08:00
printempw
52a18195cd
Use ES6 destructuring assignment syntax
2017-07-14 09:34:09 +08:00
printempw
3a74329548
Rename sign in to sign
2017-07-14 09:17:52 +08:00
printempw
7d7b35f5fd
Fix translation for user menu
2017-07-14 09:02:56 +08:00
printempw
eb0e5bc589
Fix clearing current filters when switching laguage
2017-07-14 08:47:42 +08:00
printempw
1154b219fe
Fix translation of jQuery datatables
2017-07-14 08:29:57 +08:00
printempw
397da60f4f
Forbid operations when user lacks permission
2017-07-14 08:21:29 +08:00
printempw
8bb885d476
Prevent default behavior of clicking button at login page
2017-07-13 21:37:37 +08:00
printempw
a51523e54c
Fix url of setting user avatar
2017-07-13 21:24:05 +08:00
printempw
104f5a32a7
Refactor & modulize JavaScript files
2017-07-13 17:03:21 +08:00
printempw
ddb0e0bff8
Remove file headers
2017-07-12 22:28:20 +08:00
printempw
d9206e955d
Use url() to generate absolute url in JavaScript files
2017-07-12 22:19:23 +08:00
printempw
b873ffef9c
Adjust filename of source files
2017-07-03 20:54:19 +08:00
printempw
d9abb7c99f
Fix minor bugs
2017-06-30 16:36:59 +08:00
printempw
8df825d16a
Fix fucking auto height reseting caused by AdminLTE
2017-06-30 14:04:32 +08:00
printempw
c9bdc1b6e9
Fix background image placeholder
2017-06-30 12:04:27 +08:00
printempw
b6506e2776
Add placeholder for background image at homepage
2017-06-30 10:43:34 +08:00
printempw
34962255a2
Add ajax pagination & search for skinlib
2017-06-30 10:33:41 +08:00
printempw
e83b9d1268
Fix translation for accessing non-existent plugin configuration
2017-06-29 15:02:11 +08:00
printempw
10801b8f7d
Redirect to last requested path after logging in
2017-06-28 20:42:51 +08:00
printempw
1957f97807
Add option for detecting IP address via which header
2017-06-28 19:50:34 +08:00
printempw
fda8d9fd35
Fix not clearing cape preview when switching players
2017-06-28 17:23:57 +08:00
printempw
f07cc0f76f
Add extra links in user-menu for admins
2017-06-27 22:51:14 +08:00
printempw
2ed5dad582
Fix determining URL with language preferred
2017-05-06 21:50:31 +08:00
printempw
48c8aeb6ff
Fix real-time nickname hinting when transfering players
2017-05-06 21:21:19 +08:00
printempw
b800d6fe07
Fix user status after ban/unban
2017-05-05 12:07:47 +08:00
printempw
a47070f4e3
Fix unhandled uid format
2017-05-05 11:57:41 +08:00
gplane
189a796a7f
Fix reloading plugins table
2017-04-28 19:54:26 +08:00
gplane
dfbe6400d4
Add some redirectings for admin panel
2017-04-27 18:02:05 +08:00
gplane
2ca383628e
Fix redirect after updating profile
2017-04-27 16:38:40 +08:00
gplane
97bcfa2686
Fix updating email address
...
Add detecting whether email is existed or not
2017-04-27 09:25:42 +08:00
gplane
b54ddb6fb2
Add changing player name in admin panel
2017-04-27 08:52:55 +08:00
gplane
e134296565
Fix detection of options of clearing textures
2017-04-27 00:02:48 +08:00
gplane
9d16e20db5
Fix missing preview of cape in player management
...
of user center.
2017-04-27 00:00:42 +08:00
gplane
2649840644
Fix misspelling of "general.js"
2017-04-26 23:48:39 +08:00
gplane
8f0487b0ee
Update text about changing texture of player
2017-04-26 23:47:47 +08:00
gplane
ca9aded3df
Add option for choosing types of textures to be cleared
2017-04-26 23:39:10 +08:00
gplane
e0fee86ea7
Fix missing filter when switching language
2017-04-26 21:07:42 +08:00
gplane
ffc2de2e4a
Remove English hint for search page
2017-04-26 20:50:20 +08:00
gplane
602e52d9e6
Fix displaying player name rule
2017-04-26 17:50:10 +08:00
gplane
8a8a4e57ee
Show message when closet is empty
...
after deleting textures.
2017-04-26 17:43:34 +08:00
gplane
8a6ef9e437
Use "url()" function
2017-04-26 17:34:24 +08:00
gplane
8abed82899
Fix applying textures to player
2017-04-26 17:05:15 +08:00
gplane
12bdac3bb4
Fix removing table row when deleting user
2017-04-26 16:32:17 +08:00
gplane
800cebcc8f
Remove lodash
2017-04-26 15:58:53 +08:00
gplane
911724881c
Fix getting default value of user management
2017-04-26 15:32:26 +08:00
gplane
44999af7d8
Display nickname before changing texture owner
2017-04-26 15:28:53 +08:00
gplane
4b8a40ce59
Fix status text of user management
2017-04-25 23:24:03 +08:00
gplane
93364ef723
Add default value when renaming texture in skin library
2017-04-25 22:03:12 +08:00
gplane
b0f29c5036
Add i18n for sweetalert2 in admin panel
2017-04-25 17:31:08 +08:00
gplane
16ff93c32d
Add i18n for "Applicable Model" in skin library
2017-04-24 17:08:39 +08:00
gplane
5c7b8bf6b2
Optimize filter of skin library
2017-04-24 17:02:29 +08:00
gplane
874f4bd681
Remove file suffix when uploading
2017-04-24 11:35:55 +08:00
gplane
f53bb7acb6
Optimize closet
...
1. Use jqPaginator
2. Use CSR for closet
3. Use AJAX for closet
4. Just type to search instead of pressing ENTER key
5. Link to skin library is according to current category when closet is empty
6. Texture indicator shows category of texture
2017-04-24 11:26:53 +08:00
gplane
7607beebaf
Use sweetalert2 instead of built-in function
2017-04-23 11:46:51 +08:00
gplane
80f82b4b87
Fix text about banning user
2017-04-22 23:38:59 +08:00
gplane
b6dfc1c2a4
Fix text about returning score
2017-04-22 23:02:48 +08:00
gplane
5b15b6922c
Fix link of cleaning filter
2017-04-22 18:40:44 +08:00
gplane
4ae8ed2d82
Use CSR for DataTables
2017-04-22 18:36:22 +08:00
gplane
e708c0363e
Add default value when renaming closet item
2017-04-22 09:17:39 +08:00
gplane
8b002ab157
Add menu item of cleaning filter
2017-04-21 16:55:34 +08:00
gplane
2c9ba2c277
Fix i18n
2017-04-21 12:34:12 +08:00
gplane
f2b51fbd2a
Generate preview on img clicked only
2017-04-21 00:18:51 +08:00
gplane
6e5ed604cd
Bluring when updating score in admin panel
2017-04-21 00:09:13 +08:00
gplane
3e27625064
Update storage display when checking in
2017-04-21 00:05:45 +08:00
gplane
e3e70a59e6
Update texture name when choosing file again
2017-04-20 23:46:06 +08:00
gplane
7dcc1eb87e
Fix preview link of admin panel
2017-04-20 23:16:38 +08:00
printempw
5db84529de
Merge branch 'master' of github.com:printempw/blessing-skin-server
2017-02-03 14:26:14 +08:00
printempw
c19eec5a90
fix division by zero when user score < rate
2017-02-03 14:25:17 +08:00
HaLuLu-MECHREVO X6Ti
c4a2b22c30
add detection for size of HD skins
2017-01-25 15:34:43 +08:00
printempw
0d338ab4a7
move setup.wizard.master to setup.master
2017-01-22 22:32:50 +08:00
printempw
4c248bd88a
fix reference of styles on setup pages
2017-01-22 22:19:19 +08:00
printempw
8498d7c76d
fix wrong link to texture detail #48
2017-01-22 18:54:02 +08:00
printempw
24137cf2a9
fix wrong css reference
2017-01-22 16:35:09 +08:00
printempw
81bc32fa6d
fix division by zero
2017-01-22 16:28:58 +08:00
printempw
38018276e5
fix changing current language at texture detail page
2017-01-22 15:58:52 +08:00
printempw
2804a2b079
print a brand on every pages' console
2017-01-21 14:38:03 +08:00
printempw
314fde72e8
remove default breadcrumb
2017-01-21 13:35:38 +08:00
printempw
a086584a41
update dom id of copyright text
2017-01-21 12:59:35 +08:00