Commit Graph

981 Commits

Author SHA1 Message Date
Pig Fang
995c653fec Remove redundant setPrivacy function 2019-03-02 23:58:35 +08:00
Pig Fang
5332589b65 Use Laravel's built-in updater 2019-03-02 23:47:51 +08:00
Pig Fang
3cf19d8656
Apply fixes from StyleCI (#11)
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io).

---

For more information, click [here](https://github.styleci.io/analyses/8wKwbZ).
2019-03-02 22:58:37 +08:00
Pig Fang
1ff8e631fe
Remove settings of preference (#8)
Resolve #6
2019-03-02 21:13:17 +08:00
Pig Fang
5c8f4028ea Use files instead of hard-coded base64 2019-02-28 16:34:16 +08:00
Pig Fang
e528547b89
Laravel 5.8 (#5) 2019-02-27 23:44:50 +08:00
Pig Fang
6d93a78d22 fix: check tables if it's existed when db is connected 2019-02-18 17:15:14 +08:00
Pig Fang
f7b5046a38 skip db connection check before setup
close printempw/blessing-skin-server#133
2019-02-18 16:35:39 +08:00
Pig Fang
0d4f34770e fix tests 2019-02-17 20:12:42 +08:00
Pig Fang
46e7ef256d simplify 2019-02-17 09:11:57 +08:00
Pig Fang
14f80ab573 attempt to fix again 2019-02-16 18:16:57 +08:00
Pig Fang
3ddb560e33 attempt to fix again 2019-02-16 17:02:28 +08:00
Pig Fang
8255765ce4 check plugin instance before retrieving version 2019-02-16 16:56:53 +08:00
Pig Fang
752bb80885 attempt to fix risky ops 2019-02-16 16:45:58 +08:00
Pig Fang
b64e769f5a Copy plugin assets if version changed 2018-11-21 23:32:32 +08:00
Pig Fang
889e461bd6 Update the structure of plugins_enabled field 2018-11-21 22:53:27 +08:00
Pig Fang
02b7c6158d Process assets of plugins 2018-10-19 22:47:01 +08:00
Pig Fang
1e120d3ec7 Fix reading .env file 2018-10-19 21:43:25 +08:00
Pig Fang
12539d5f9d Modify path of front-end resources 2018-10-19 21:42:14 +08:00
timgiroux
cfbfe60f89 change variable name from rawPasswd to rawPassword (#128) 2018-10-09 19:00:26 +08:00
Pig Fang
eedb7e8449 Refactor 2018-09-14 15:46:44 +08:00
Pig Fang
ab34d7aa4f Add two events for closet 2018-09-10 21:32:42 +08:00
Pig Fang
0d6cc52d23 Regress for logging 2018-09-10 17:29:05 +08:00
Pig Fang
bfd71feac0 Update logging service 2018-09-09 13:00:10 +08:00
Pig Fang
d01daa4137 Regress to add parsedown to service container 2018-09-08 20:09:56 +08:00
Pig Fang
a09648c79d Rename service provider 2018-09-08 20:03:55 +08:00
Pig Fang
8359967b16 Reduce text on player_name_length option 2018-09-08 10:30:24 +08:00
Pig Fang
a864adbfb8 Fix sidebar menu for plugins 2018-09-06 23:14:54 +08:00
Pig Fang
1a079c90c4 Upgrade to Laravel 5.7 2018-09-06 16:26:03 +08:00
Pig Fang
0c82cd3950 Set model preference to slim when applying slim skin to new players 2018-08-21 14:47:37 +08:00
Pig Fang
7ec7eb2467 Fix big offset for Hook::addMenuItem 2018-08-21 14:43:46 +08:00
Pig Fang
5a2c010f3b Fix verification status for first user 2018-08-21 11:03:57 +08:00
Pig Fang
94652f4257 Fix URL processing 2018-08-21 10:40:37 +08:00
Pig Fang
6eac8cf2c7 Restrict PluginController access to super admin only 2018-08-21 09:05:29 +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
98d228da4c Fix front-end resources 2018-08-19 19:02:22 +08:00
Pig Fang
cf03da0a2e Update tests 2018-08-19 18:28:38 +08:00
Pig Fang
47a0a24a5e Remove datatables package 2018-08-19 17:53:54 +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
printempw
e1d686d1a7 Use Guzzle to request update source 2018-08-17 23:24:30 +08:00
Pig Fang
ad32b718eb Use guzzle to download update packages 2018-08-17 23:24:08 +08:00
printempw
6d505d275b Fix Hook::registerPluginTransScripts method 2018-08-17 22:54:54 +08:00
Pig Fang
2305a80102 Remove Utils class 2018-08-17 22:54:26 +08:00
printempw
8139bb7b0f Tweak code style of App\Services\Hook 2018-08-17 22:24:18 +08:00
printempw
6775728c50 Remove "Expires" header from png responses 2018-08-17 22:22:58 +08:00
printempw
16dbc6cff0 Fix timezone of Last-Modified header 2018-08-17 22:02:05 +08:00
Pig Fang
3ac4a98ecb Add helper function format_http_date 2018-08-17 21:41:11 +08:00
Pig Fang
57bf10dbc5 Remove DetectLanguagePrefer middleware from static routes 2018-08-17 21:40:28 +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
0ef92a5565 Update tests and composer autoload 2018-08-17 15:25:08 +08:00
Pig Fang
b7b3e32f22 Remove unused code 2018-08-17 14:33:35 +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
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
b3876468b2 Fix validating captcha 2018-08-12 16:00:21 +08:00
Pig Fang
fea37bc512 Fix HTTP headers 2018-08-12 08:48:42 +08:00
Pig Fang
e3b5cbc36f Hot reload for development 2018-08-08 18:17:11 +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
5788fb93c1 Disallow to delete administrator 2018-08-02 10:21:25 +08:00
Pig Fang
7b000bcab0 Add method for retrieving all players 2018-07-30 15:45:08 +08:00
Pig Fang
6102d27530 Support retrieving avatar by tid 2018-07-30 15:18:33 +08:00
Pig Fang
f6dec9d447 Get ready for using Vue.js 2018-07-25 15:32:08 +08:00
Pig Fang
148b6f6cc5 Apply two new middlewares 2018-07-24 09:58:10 +08:00
Pig Fang
93b3a165ab Tweak service providers for code readability 2018-07-23 09:20:21 +08:00
Pig Fang
3cf5c646c6 Refactor 2018-07-22 18:54:37 +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
26e81eba6e Refactor 2018-07-22 16:37:39 +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
e2703aad84 Use helper function report 2018-07-22 11:36:00 +08:00
Pig Fang
aa149f4f3e Allow overriding translations 2018-07-22 11:06:16 +08:00
Pig Fang
60996020f4 Fix test 2018-07-22 10:50:01 +08:00
Pig Fang
11b6078c57 Add error control for retrieving textures 2018-07-22 10:00:30 +08:00
Pig Fang
10a0cd09db Add option for denying directly downloading textures 2018-07-22 09:38:42 +08:00
Pig Fang
6031562851 Simplify environment check when booting 2018-07-21 18:43:33 +08:00
Pig Fang
0da5c0ce41 Fix handling validation errors 2018-07-21 17:56:04 +08:00
Pig Fang
b2a514d3fe Remove unused code 2018-07-21 17:55:44 +08:00
Pig Fang
ad99714882 Fix handling validation errors 2018-07-21 17:50:48 +08:00
Pig Fang
0233e44ccd Add a setup step to fill database info 2018-07-21 16:55:36 +08:00
Pig Fang
07e5d8b3ec Update route for captcha 2018-07-21 08:21:42 +08:00
Pig Fang
8bd60624a0 Fix validating captcha 2018-07-21 08:17:16 +08:00
Pig Fang
201fe21e6d Update PHP requirement 2018-07-20 17:32:27 +08:00
Pig Fang
0ded695295 Nickname is required in setup 2018-07-20 17:23:54 +08:00
Pig Fang
5b1667d798 Add regexp rule support for texture name 2018-07-20 15:41:15 +08:00
Pig Fang
a646d76bf3 Remove cipher CrazyCrypt1 2018-07-20 15:07:48 +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
24b2107c48 Fix processing cookies after deleting user 2018-07-19 10:46:01 +08:00
Pig Fang
389de2aa84 Refactor 2018-07-19 10:33:28 +08:00
Pig Fang
fa1c780786 Rename method on User model 2018-07-19 10:31:44 +08:00
Pig Fang
3c24a166e8 Use signed URL to simplify resetting password 2018-07-18 11:04:34 +08:00
Pig Fang
fa7bc18364 add IDE helper 2018-07-18 10:36:55 +08:00
Pig Fang
7820616b77 use Route::view and Route::redirect 2018-07-17 17:17:31 +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
0f7d44a2c9 refactor tests 2018-07-16 10:22:19 +08:00
Pig Fang
4fce311046 use localized site name in mail 2018-07-15 18:19:23 +08:00
Pig Fang
590f62d035 use mail.driver to determine whether password reset is disabled 2018-07-15 18:18:56 +08:00
Pig Fang
5a0908517e log the exceptions thrown by email service in detail 2018-07-15 18:15:55 +08:00
Pig Fang
209d74ab7a use mailable 2018-07-15 17:42:03 +08:00
Pig Fang
b520a464cb remove hack for test 2018-07-14 08:41:25 +08:00
Pig Fang
3f78b3755a fix catching ValidationException 2018-07-13 23:22:20 +08:00
Pig Fang
709baae712 fix and revert 2018-07-13 23:19:59 +08:00
Pig Fang
5b485b7b10 laravel api renaming 2018-07-13 22:57:01 +08:00
Pig Fang
c82d9e55a4 fix l10n on option form 2018-07-13 22:56:48 +08:00
Pig Fang
29576fd08e method renaming 2018-07-13 21:23:07 +08:00
Pig Fang
3f77c98783 fix tests of SkinlibController 2018-07-13 19:02:16 +08:00
Pig Fang
8e2b2c78fc fix for tests 2018-07-12 17:18:19 +08:00
Pig Fang
2cea484f50 fix for test 2018-07-12 10:52:58 +08:00
Pig Fang
7bd7deca37 refactor: retrieve closet in skin library 2018-07-12 08:56:44 +08:00
Pig Fang
0c7878f494 use pluck, lists was removed in 5.3 2018-07-11 16:45:38 +08:00
Pig Fang
85baa91a4a fix reading closet 2018-07-11 16:45:07 +08:00
Pig Fang
79746f9e81 use isEmpty on database query result 2018-07-11 16:11:52 +08:00
Pig Fang
16c2ba8b64 save closet after operations 2018-07-11 16:10:45 +08:00
Pig Fang
ef77bd7018 remove arguments in service providers 2018-07-11 16:09:54 +08:00
Pig Fang
e1b2f1806b add inline middleware to retrieve session 2018-07-11 16:09:22 +08:00
Pig Fang
5f3155baa4 fix closure arguments in Arr::where 2018-07-11 16:07:29 +08:00
Pig Fang
3db7799b65 fix handling exceptions 2018-07-11 16:06:10 +08:00
printempw
da34062a9c Add L10n support for site name and description 2018-07-06 14:49:39 +08:00
printempw
def8cc39b6 Add support for localized options 2018-07-06 14:46:25 +08:00
printempw
f2477f437b Use composer/semver to compare versions
Remove Utils::versionCompare method.
2018-06-30 16:31:39 +08:00
printempw
40485253ec Refine hashing uploaded file
Remove Utils::upload method.
Add bs_hash_file helper function.
Add HashingFile event.
2018-06-30 16:05:00 +08:00
printempw
3d9478a75c Move Player::getBinaryTexture method to TextureController 2018-06-29 22:45:00 +08:00
printempw
815fef7f3d Enhance rendering notice for unsatisfied plugin dependencies 2018-06-29 20:54:40 +08:00
printempw
4da044146f Update the parameter of PluginManager::getUnsatisfiedRequirements method 2018-06-29 18:14:55 +08:00
printempw
967e1642d3 Update plugins management page for resolving dependencies 2018-06-29 16:45:43 +08:00
printempw
cae51b3a7a Add dependency definition for plugins 2018-06-29 15:55:56 +08:00
printempw
86a5631431 Add composer support for plugins 2018-06-28 23:32:27 +08:00
printempw
0a307e9221 Refine texture preview generation
The methods in App\Services\Minecraft now accept binary image data as their first parameter.
The parameters of Minecraft::generatePreviewFromSkin is reordered.
Fix skin preview for Alex model textures.
Add more parameters to Minecraft::generatePreviewFromCape for specifying image size.
2018-06-28 21:55:33 +08:00
printempw
334eb7c3c5 Clear unnecessary filesystems 2018-06-28 18:25:31 +08:00
printempw
c45b478de2 Add .env variables for customizing the path to load plugins from 2018-06-28 12:32:58 +08:00
printempw
89ae8480da Remove dependency on php extension fileinfo 2018-06-19 21:04:15 +08:00
printempw
f24aeb5a7a Add l10n support for announcement and copyright text, close #115 2018-06-19 19:57:33 +08:00
printempw
c9f9a8ddb2 Fix placeholder of OptionFormText 2018-06-19 12:35:01 +08:00
printempw
abde385776 Add more validation rules for player name 2018-06-19 11:51:34 +08:00
printempw
b7a2d368f7 Fix maximum password length 2018-06-19 00:23:20 +08:00
printempw
53fd30f093 Add placeholder method to OptionFormText 2018-06-18 21:50:10 +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
ef2e44c5e9 test: fix coverage 2018-03-11 12:36:23 +08:00
Pig Fang
520a9c3b97 test: fix coverage 2018-03-11 12:01:14 +08:00
printempw
2da122f5cf Add custom user-agent support for Utils::download 2018-02-25 12:24:31 +08:00
printempw
9c5a48f2a8 Remove invalid Database facade 2018-02-25 09:19:18 +08:00
printempw
7cf044b2ce Fix adding private textures to closet for admins 2018-02-24 19:48:44 +08:00
printempw
6448b3bbab Set UTF-8 encoding for error messages 2018-02-24 19:21:04 +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
31391be8c3 Use laravelchartjs package to generate overview chart 2018-02-24 13:33:24 +08:00
printempw
d54709c23d Add default texture for alex model 2018-02-23 23:17: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
2d43a05a54 Fix codebase due to dependencies update 2018-02-23 12:08:27 +08:00
printempw
5e00131db4 Fix tests for SQLite database 2018-02-23 10:22:11 +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
5889df5b63 Remove class App\Services\Database 2018-02-22 20:41:09 +08:00
printempw
c2855e2e1d Add language alias for zh_HANS_CN 2018-02-22 18:32:53 +08:00
printempw
3ebc206e7d Remove lib docCookies 2018-02-16 19:54:07 +08:00
printempw
dd3f645e80 Adjust code style due to my OCD 2018-02-16 17:31:10 +08:00
printempw
e05d2064b8 Update php DocBlocks for events 2018-02-16 16:29:37 +08:00
printempw
77f828c817 Use App::runningInConsole method 2018-02-14 13:51:45 +08:00
printempw
7e6cc96e5e Return 403 instead when accessing private textures, close #111 2018-02-10 13:06:19 +08:00
Pig Fang
14517b1638 fix(closet): fix closet json result 2018-01-14 19:57:06 +08:00
Pig Fang
6f516cc2eb fix(preview): fix 2d skin preview for alex model 2018-01-04 13:10:41 +08:00
Pig Fang
49deeb3f99 perf(closet): update score after removing textures 2018-01-01 15:53:56 +08:00
Pig Fang
55a137f014 test(services): add tests for repositories 2017-12-28 12:52:29 +08:00
Pig Fang
776a0a67ae test(model): add tests for "User" model 2017-12-27 18:40:16 +08:00
Pig Fang
f4c21a0cb2 test(model): add tests for "player" model 2017-12-26 20:07:26 +08:00
Pig Fang
38b6307776 Remove unused code 2017-12-16 21:03:57 +08:00
Pig Fang
26742e3ae3 Add tests for Services/Hook 2017-12-04 17:04:04 +08:00
Pig Fang
97874039c6 Add tests for Services/Minecraft 2017-12-04 15:11:23 +08:00
gplane
946e0c12e3 Remove unused code 2017-11-29 17:02:11 +08:00
Pig Fang
88f7fe6850 Fix wrong i18n detection on Edge & IE 2017-11-24 20:05:48 +08:00
Pig Fang
157c9e8b22 Update tests for SkinlibController 2017-11-24 18:54:30 +08:00
Pig Fang
55c2fb38ac Update tests for SetupController 2017-11-20 19:56:24 +08:00
Pig Fang
1ab25e80e6 Add tests for UpdateController 2017-11-18 20:36:31 +08:00
Pig Fang
99aee71cc8 Add tests for UserController 2017-11-18 13:25:08 +08:00
Pig Fang
7d48c6a609 Use "memory" driver for testing 2017-11-17 17:46:06 +08:00
Pig Fang
a413927980 Add tests for TextureController 2017-11-17 07:40:29 +08:00
Pig Fang
b19565bf8b Add tests for PluginController 2017-11-16 14:09:08 +08:00
Pig Fang
faa73bebc9 Do some checks before updating player profile 2017-11-15 14:00:11 +08:00
Pig Fang
aaf612f2d9 Add tests for PlayerController 2017-11-14 23:25:04 +08:00
printempw
08afd5df89 Fix checking specific environment file 2017-11-09 16:32:18 +08:00
printempw
e5db3a720c Update configuration of Travis CI 2017-11-09 16:22:23 +08:00
printempw
0f065ef202 Try to avoid using site url which ends with index.php #101 2017-11-07 21:40:53 +08:00
printempw
6c7b494f16 Fix #104 2017-11-07 20:45:29 +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
249ac1b505 Fix adding texture to closet 2017-11-05 19:29:30 +08:00
Pig Fang
739bc17c3a Refactor Closet model 2017-11-05 16:54:01 +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
Pig Fang
abd27055c1 Add tests for AuthController 2017-11-04 20:25:54 +08:00
Pig Fang
2a895e1b88 Add tests for middleware and HomeController 2017-11-04 20:25:54 +08:00
gplane
74d6b55483 Add score check before setting privacy 2017-11-03 21:59:27 +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
a55f150eac Fix operating admin himself 2017-08-06 22:53:11 +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
fe721bd833 Skip copying vendor if error occurred when upgrading 2017-08-05 16:00:14 +08:00
printempw
4bf1058c46 Fix minor bug about error log 2017-08-05 15:31:47 +08:00
printempw
a8f4397be4 Enhance clearing compiled views 2017-08-05 15:10:08 +08:00
printempw
b06051dd91 Remove class App\Services\Storage 2017-08-05 15:04:06 +08:00
printempw
01a0d58c7d Update redirecting url of plugin market 2017-08-05 14:40:56 +08:00
printempw
bc7679fd0d Use default background image when option leaved empty 2017-08-05 14:35:28 +08:00
printempw
0566d4e7e0 Throw exception when two plugins use the same name definition 2017-07-30 16:11:23 +08:00
printempw
d15217ddcb Fix operating players of an admin himself on admin page 2017-07-30 14:42:26 +08:00
printempw
235141e2d9 Expect only new passwords to be at least 6 characters 2017-07-22 11:12:49 +08:00
printempw
3a74329548 Rename sign in to sign 2017-07-14 09:17:52 +08:00
printempw
397da60f4f Forbid operations when user lacks permission 2017-07-14 08:21:29 +08:00
printempw
b873ffef9c Adjust filename of source files 2017-07-03 20:54:19 +08:00
printempw
f4dc8cbcf9 Add detection of directory write permission 2017-06-30 11:23:26 +08:00
printempw
34962255a2 Add ajax pagination & search for skinlib 2017-06-30 10:33:41 +08:00
printempw
a0d1924165 Return exception in plain text for xhr requests 2017-06-29 21:34:02 +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
88ed00660a Fix password encryption of CrazyLogin #66 2017-06-28 18:38:48 +08:00
printempw
b7df1b362c Reset invalid player textures automatically 2017-06-28 17:13:07 +08:00
printempw
27c7a77f04 Add Chinese translation for runtime checking 2017-06-27 20:09:42 +08:00
printempw
6aebb483a1 Move route defination files to /routes 2017-06-27 19:48:18 +08:00
printempw
2665d5c56b Fix filter of skinlib 2017-05-05 12:43:53 +08:00
gplane
5365164ef5 Use 0 to reset texture for player in admin panel 2017-04-29 08:49:08 +08:00
gplane
dfbe6400d4 Add some redirectings for admin panel 2017-04-27 18:02:05 +08:00
gplane
d9552e268c Fix password length of installation 2017-04-27 12:42:04 +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
ca9aded3df Add option for choosing types of textures to be cleared 2017-04-26 23:39:10 +08:00
gplane
c723f0a780 Fix score calculation 2017-04-26 16:24:19 +08:00
gplane
44999af7d8 Display nickname before changing texture owner 2017-04-26 15:28:53 +08:00
gplane
293cb0e457 Redirect to index if search keyword is empty 2017-04-25 08:51:30 +08:00
gplane
4311af2a5f Fix type mistake 2017-04-24 17:16:54 +08:00
gplane
fdea88eb2b Add searching texture for uploaders themselves 2017-04-24 17:13:06 +08:00
gplane
5c7b8bf6b2 Optimize filter of skin library 2017-04-24 17:02:29 +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
8056216d3f Fix score calculation 2017-04-22 23:35:25 +08:00
gplane
4ae8ed2d82 Use CSR for DataTables 2017-04-22 18:36:22 +08:00
gplane
2b0f8b20c1 Fix score calculation 2017-04-21 18:44:11 +08:00
gplane
98ff895d3b Fix setting existing texture to be private 2017-04-21 18:11:17 +08:00
gplane
2986e6babd Fix showing private textures for owner 2017-04-21 16:48:25 +08:00
gplane
3e27625064 Update storage display when checking in 2017-04-21 00:05:45 +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
989b29a43a fix getting remaining time of signing in 2017-01-22 22:19:55 +08:00
printempw
b198ce5d35 fix binding email #47 2017-01-22 18:39:14 +08:00
printempw
233b2d4e39 return error message directly when requested with POST 2017-01-22 16:45:19 +08:00
printempw
38018276e5 fix changing current language at texture detail page 2017-01-22 15:58:52 +08:00
printempw
097194d542 redirect plugin market to g-plane/unofficial-plugins-market 2017-01-21 17:04:09 +08:00
printempw
b13552e5d1 use IoC container to call plugin callbacks 2017-01-20 21:36:29 +08:00
printempw
49fd8e4eb3 enhance directory structure of assets 2017-01-20 18:22:10 +08:00
printempw
100314dfd7 use babel to compile ES6 scripts to ES5 2017-01-19 23:07:13 +08:00
printempw
2be20b4bee fix default parameter value of OptionForm::addMessage 2017-01-19 12:57:36 +08:00
printempw
2461b47d75 clear unused imported namespaces 2017-01-18 22:57:15 +08:00
printempw
13e51464f6 separate checking installation as a middleware 2017-01-18 22:42:50 +08:00
printempw
294b008880 now maximum password length is extended to 64 2017-01-18 22:35:25 +08:00
printempw
c628a3da3e make language detector more accurate 2017-01-18 22:31:35 +08:00
printempw
4cfb3f27f6 use hash_equals() to compare password hash 2017-01-18 12:59:52 +08:00
printempw
47c758c5c0 fix comparing time of signing in 2017-01-18 12:56:37 +08:00
printempw
9ff5bbfcaa ✏️ use signing in instead of checking in 2017-01-17 22:57:16 +08:00
printempw
a0494ce3d0 fix awful indentation in i18n files of option pages 2017-01-17 22:16:03 +08:00
printempw
db15ff2314 fix url to config pages of plugins 2017-01-17 21:41:20 +08:00
printempw
5f9eb0b6fd add option for sending usage statistics 2017-01-15 16:20:29 +08:00
printempw
9486f19f5d add support for callback of enabling/disabling/deleting plugins 2017-01-14 21:31:21 +08:00
printempw
10a9397fd0 fix searching closet 2017-01-14 20:39:13 +08:00
printempw
ad159c7f20 add url field for plugins' package.json 2017-01-14 20:26:38 +08:00
printempw
3fcb991ac7 encrypt token cookie 2017-01-14 20:24:48 +08:00
printempw
ba6ae737ca set current language with query string 2017-01-14 19:28:27 +08:00
printempw
79f1608780 update custom error pages 2017-01-14 18:42:30 +08:00
printempw
6c34392c11 clear compiled view cache when update 2017-01-13 22:34:06 +08:00
printempw
38e24f4642 stop loop after adding all the contents 2017-01-08 16:12:28 +08:00
printempw
07b3a025a5 use name as unique identifier for plugins generally 2017-01-08 16:09:54 +08:00
printempw
954329a8e7 add useful functions for plugins 2017-01-08 16:05:54 +08:00
printempw
f6aadc71f0 add language-chooser for error pages 2017-01-08 15:20:50 +08:00
printempw
3569c43fb2 use Query Builder to get storage size used by user 2017-01-08 14:29:48 +08:00
printempw
118d8cc649 show current role at user/admin panel 2017-01-08 14:15:55 +08:00
printempw
1d4dca0ff3 update util functions 2017-01-08 13:44:03 +08:00
printempw
ee81077b00 fix custom version comparing 2017-01-08 13:28:58 +08:00
printempw
482f6efa02 fix determining request protocol behind load balancer & proxies 2017-01-08 13:26:33 +08:00
printempw
7d9535007e support hashing passwords with password_hash() 2017-01-08 12:49:32 +08:00
printempw
c018e132c8 add option for generating random APP_KEY & SALT when setup 2017-01-08 11:28:55 +08:00
printempw
acb4d643f7 update ciphers 2017-01-08 10:48:46 +08:00
printempw
4276b56e0c fix getting user from UserRepository by custom property 2017-01-08 10:40:22 +08:00
printempw
f5dd7c8c5f bind user.current at CheckAuthenticated middleware 2017-01-07 22:28:37 +08:00
printempw
2b175249cb fix encrypting user password when register 2017-01-05 23:06:44 +08:00
printempw
967ef3e1b0 fix comparing versions contain hyphen 2017-01-02 16:23:31 +08:00
printempw
f00033ab1b improve fault tolerance of missing directories 2017-01-02 14:49:28 +08:00
printempw
994b827643 add notice of enabling APP_DEBUG when error occured 2017-01-02 14:41:58 +08:00
printempw
7f966ce80d add hooks about loading assets 2017-01-02 14:37:16 +08:00
printempw
658a2d48f5 generate new APP_KEY automatically when setup 2017-01-02 13:28:23 +08:00
printempw
6c462d0a96 use jQuery DataTable to show plugins page 2017-01-02 12:19:34 +08:00
printempw
2125e05bc2 add support for using trans id in plugin title/description 2017-01-02 10:39:50 +08:00
printempw
cc6afebfec fix comparing string with bool value 2017-01-02 10:28:10 +08:00
printempw
27e9dea422 fix not deducting score when adding texture to closet 2017-01-02 00:19:55 +08:00
printempw
1830cd2e54 fix missing style of copyright text 2017-01-02 00:14:53 +08:00
printempw
c4f8004b41 fix determining invalid image type 2017-01-01 21:24:23 +08:00
printempw
fb64056cbd fix minor bugs caused by batch-import plugin 2017-01-01 16:37:29 +08:00
gplane
d36ac3643b working on i18n of update 2017-01-01 12:22:18 +08:00
printempw
4ae6d868bb use true/false instead of 1/0 in options 2016-12-31 23:36:44 +08:00
printempw
91d528d311 finish i18n work of option forms 2016-12-31 23:28:09 +08:00
printempw
ad459653b4 fix bug of langauge chooser at setup 2016-12-31 23:27:45 +08:00
printempw
3b96166ee8 finish i18n work of user/player management 2016-12-31 21:16:04 +08:00
printempw
47b0b17c15 fix installing failed when already installed incompletely 2016-12-31 16:43:23 +08:00
printempw
d622e455c7 add plugin_assets() helper function 2016-12-31 16:07:12 +08:00
printempw
dcbeb35155 add renderWithOutSubmitButton and disabled apis for OptionForm 2016-12-31 15:11:49 +08:00
printempw
ee5fec149e fix saving option values whose id is formatted as *[*] 2016-12-31 14:05:55 +08:00
printempw
f7159e0bbb use custom function to get client ip since Symfony's sucks 2016-12-31 13:56:53 +08:00
printempw
6d6abf41f5 add option for customizing favicon 2016-12-31 13:36:46 +08:00
printempw
2250b00c0a use DataTables at player management 2016-12-31 13:07:00 +08:00
printempw
3ca85aff8f use jQuery DataTables plugin at user management 2016-12-31 11:38:07 +08:00
printempw
35e49e58ab adjust style of .description 2016-12-30 20:55:33 +08:00
printempw
4c8d390d47 fix loading namespace of disabled plugins 2016-12-30 20:48:45 +08:00
printempw
77af4d2f95 bind Parsedown to container 2016-12-30 20:47:52 +08:00
printempw
d4453df8c2 working on i18n of admin panel 2016-12-30 20:37:27 +08:00
printempw
59d7a9c4c2 deprecate Option::save() 2016-12-30 19:35:07 +08:00
printempw
dbef0b0efd finish i18n of setup 2016-12-30 17:44:53 +08:00
printempw
e0a4667cc8 add detection for Accept-Language 2016-12-30 12:43:59 +08:00
printempw
cbec1d3869 rewrite option pages with new OptionForm 2016-12-29 23:14:09 +08:00
printempw
228c17ca68 add renderWithOutTable & renderInputTagsOnly for OptionForm 2016-12-29 13:11:46 +08:00
printempw
1d7dc13e18 refactor OptonForm 2016-12-28 23:28:15 +08:00
printempw
da7a0ac606 add option for score consumption of adding to closet 2016-12-28 13:08:17 +08:00
printempw
f31bd85445 add Markdown support for site announcement 2016-12-28 12:53:13 +08:00
printempw
886b15de87 add many styles for copyright text 2016-12-27 23:05:09 +08:00
printempw
5e567c48a5 add permission check for storage path 2016-12-27 22:31:52 +08:00
printempw
c37091d0f1 fix showing empty file when UploadFile::error !== UPLOAD_ERR_OK 2016-12-25 23:21:13 +08:00
printempw
33b89db7f5 implement ArrayAccess interface for plugins 2016-12-24 23:06:56 +08:00
printempw
043dabaccf add error handler of rendering exceptions in brief 2016-12-23 21:44:52 +08:00
printempw
04de047b8a fix bug of posting to /plugins/manage 2016-12-22 21:57:51 +08:00
printempw
af48273465 add option for returning score when deleting textures 2016-12-21 22:53:53 +08:00
printempw
2ee71b6d98 show custom error page when APP_DEBUG is false 2016-12-18 21:59:51 +08:00
printempw
70bed0c4c3 minor change of naming things and bug fixes 2016-12-18 17:32:46 +08:00
printempw
6e0ecf4d96 remove unnecessary directories 2016-12-17 23:00:07 +08:00
printempw
8677cd9376 rename middlewares 2016-12-17 22:45:08 +08:00
printempw
372be47ac8 fix parse error at index.php under PHP 5.3 2016-12-17 20:48:13 +08:00
printempw
55f8c87b92 add PluginController 2016-12-17 19:52:59 +08:00
printempw
94495614c3 separate runtime check to a function 2016-12-17 19:52:22 +08:00
printempw
2807c3ce6d enhance judgement of active menu 2016-12-17 19:02:56 +08:00
printempw
58014e9b1e fix not checking chinese player names 2016-12-17 18:17:34 +08:00
printempw
65acb7426b save modified options at terminable middleware instead of destruct function 2016-12-17 17:25:01 +08:00
printempw
4f30cc6eb7 use error control operater when invoking set_time_limit() 2016-12-16 22:54:12 +08:00
printempw
56cefa1ca5 check data of closet valid before loop 2016-12-16 22:51:50 +08:00
printempw
139db5c08d fix redirecting url after enable/disable plugins 2016-12-16 22:45:51 +08:00
printempw
efd57bfce0 use Request::ip() instead 2016-12-16 22:20:41 +08:00
printempw
28a66cba18 use methods from UrlGenerator to set root url & schema 2016-12-16 22:14:32 +08:00
printempw
8e75b3b605 remove temp file if uploaded file duplicated 2016-12-14 22:11:40 +08:00
printempw
223081cf05 add --force for database migration command 2016-12-14 22:10:48 +08:00
printempw
325ea187e0 fix rendering content of option form 2016-12-11 22:26:58 +08:00
printempw
a858456d38 add some application information for javascript 2016-12-10 22:01:05 +08:00
printempw
6ff4ad0c33 add support for multilevel menus 2016-12-10 21:30:24 +08:00
printempw
55534bb52b fix getting info of invalid texture 2016-12-10 19:49:45 +08:00
printempw
05edc193ae add event for rendering header & footer 2016-12-10 19:36:01 +08:00
printempw
91ff0fd2a7 start using laravel-debugbar 2016-12-10 18:55:08 +08:00
printempw
28ea2b2858 separate v2 data migrations as a plugin 2016-11-25 22:34:41 +08:00
printempw
3811f7d704 working on extracting of updates 2016-11-25 13:13:26 +08:00
printempw
9b6c18cd6b now we have an awesome progress bar when download updates 2016-11-25 12:54:20 +08:00
printempw
4ef6fba0c6 remove constant BASE_DIR 2016-11-21 21:50:24 +08:00
printempw
d2a2b81652 add event PluginWasDeleted 2016-11-19 22:02:02 +08:00
printempw
0d006dac66 add event UserProfileUpdated 2016-11-18 23:06:15 +08:00
printempw
eb3b963dca add custom messages & callbacks for option forms 2016-11-18 22:39:12 +08:00
printempw
a91da6cf3c fix rendering of option forms 2016-11-18 21:59:09 +08:00
printempw
b84a137cf7 fix rules for player names 2016-11-18 17:28:49 +08:00
printempw
58a2e10c0a add query string for avatars forcely 2016-11-18 17:24:13 +08:00
printempw
7004ab627c fix routes for setup wizard 2016-11-18 16:59:05 +08:00
printempw
589be0c892 move setup wizard into laravel framework 2016-11-18 16:46:58 +08:00
printempw
5fc43ed45b fix some minor issues for plugins 2016-11-17 17:32:12 +08:00
printempw
b232503fab add ability of selecting multi textures at closet 2016-11-13 12:20:30 +08:00
printempw
be4af844fe abstract forms for options 2016-11-12 23:50:41 +08:00
printempw
fdf2a82e2e fix removing ending slash of url 2016-11-11 23:04:53 +08:00
printempw
36925139db fix escaping unicode player name 2016-11-11 21:19:45 +08:00
printempw
11c88f28cd add log for password resetting 2016-11-07 22:34:34 +08:00
printempw
b42ad27f6f add events of player operations 2016-11-07 22:16:27 +08:00
printempw
a6751473f6 event CheckPlayerExists now returns bool value 2016-11-06 10:58:01 +08:00
printempw
1ee3ecd462 fix checking user password returned by event listeners 2016-11-05 21:23:07 +08:00
printempw
821cd025e9 fix unknown column username 2016-11-05 21:08:10 +08:00
printempw
e0a59900a3 add event EncryptUserPassword 2016-11-05 20:11:48 +08:00
printempw
ea1948dc59 fix bug at binding email 2016-11-05 20:11:31 +08:00
printempw
4e6cd56c39 fix class names of ciphers 2016-11-05 20:10:46 +08:00
printempw
e9ace93035 fix removing items from closet 2016-10-30 15:31:49 +08:00
printempw
f71190e286 update ciphers 2016-10-30 14:12:22 +08:00
printempw
6aaec6f658 working on events & data adapter 2016-10-30 11:57:26 +08:00
printempw
167c40f550 add last-modified header for json profiles 2016-10-30 11:56:59 +08:00
printempw
0df49ff670 fix using InvalidArgumentException 2016-10-29 21:31:58 +08:00
printempw
5c042ae0ab separate cache logic from core 2016-10-29 18:54:38 +08:00
printempw
2559f7907b add namespace hints for plugin views and translation 2016-10-27 22:52:26 +08:00
printempw
e6fedfd2f3 separate config generator as a plugin 2016-10-25 22:47:50 +08:00
printempw
f3e803f57f use app() instead of App::make() 2016-10-25 21:35:09 +08:00
printempw
329f4c86bc add class autoloader for plugins 2016-10-24 22:32:07 +08:00
printempw
7f79a654bd fix booting option repository at setup 2016-10-23 13:04:59 +08:00
printempw
429dc7c7a7 fix using array as class contant 2016-10-23 12:19:19 +08:00
printempw
e35fa9b85a refactor models 2016-10-23 11:41:52 +08:00
printempw
c849ed21fa abstract general Repository 2016-10-21 22:11:49 +08:00
printempw
d6e810da4a working on data adaptation 2016-10-17 17:51:51 +08:00
printempw
55414072e7 working on framework of plugins 2016-10-17 12:20:55 +08:00
printempw
688bf668e8 return bool value when option value is 0 or 1 2016-10-17 10:07:38 +08:00
printempw
82ada0930b add option for auto detecting asset url 2016-10-17 09:46:57 +08:00
printempw
1b1a198839 fix using ClosetModel 2016-10-16 22:06:31 +08:00
printempw
923b048e4f use awesome Carbon instead of awful strtotime() 2016-10-16 21:30:40 +08:00
printempw
ab4c72184a add menu item for importing data from v2 2016-10-16 20:29:12 +08:00
printempw
86d82931bb add option of max size of uploaded file 2016-10-16 20:18:40 +08:00
printempw
7f0e9a4178 add search for closet 2016-10-16 20:04:21 +08:00
printempw
b01d0fded2 use Query Builder to refactor Closet model 2016-10-16 18:54:36 +08:00
printempw
c09700ea57 enhance abstraction of Player model 2016-10-16 18:16:15 +08:00
printempw
d0a5191a61 abstract registering player 2016-10-07 16:06:38 +08:00
printempw
a22357d1c6 fix translation of auth.logout.fail 2016-10-06 17:57:07 +08:00
printempw
98a0d70571 fix cache-control header when return_200_when_notfound is on 2016-10-03 21:57:55 +08:00
printempw
41e0a628d6 modularize routes 2016-10-03 21:44:26 +08:00
printempw
f0532dcc6c fix minimal length of password 2016-10-02 20:30:27 +08:00
printempw
5efd875b06 fix PrettyPageException at setup pages 2016-09-30 23:21:04 +08:00
printempw
fa9629e796 fix updater 2016-09-30 21:00:47 +08:00
printempw
a4ad0d7e19 deprecate Utils::convertString() due to security 2016-09-30 20:54:10 +08:00
printempw
a079331bf8 enhance translations of skinlib 2016-09-30 20:46:15 +08:00
printempw
7ead22de93 enhance rendering menus 2016-09-30 17:00:41 +08:00
printempw
975e34db95 allow to re-upload textures which were setted to private 2016-09-30 16:31:45 +08:00
printempw
ee4cbd2092 fix cache control of json profile 2016-09-28 23:26:19 +08:00
printempw
fd7afd2ead fix i18n when http exception occurs 2016-09-28 17:54:07 +08:00
printempw
1618707e5d regenerate session id after logging out 2016-09-28 17:48:37 +08:00
printempw
65b0109d39 fix showing flash message 2016-09-28 13:03:33 +08:00
printempw
459c325597 fix translation of noticing wrong password 2016-09-27 22:41:10 +08:00
printempw
a877e93c3a fix getting environment variables 2016-09-27 22:35:04 +08:00
printempw
03fbf61cf8 fix checking in after zero 2016-09-27 22:32:15 +08:00
printempw
af95ef11d6 fix minus page numbers 2016-09-27 22:31:37 +08:00
printempw
446149c9ef fix url() function when using CDN 2016-09-27 22:15:51 +08:00
printempw
ddc84518ee fix version control of update urls 2016-09-25 15:59:00 +08:00
printempw
2e9ae091da add importing options automatically 2016-09-25 14:32:56 +08:00
printempw
c86dc05572 add options of caching things 2016-09-25 14:21:51 +08:00
printempw
084e04c30a add caching headers 2016-09-25 11:40:50 +08:00
printempw
15c3c55142 add renaming closet items 2016-09-25 10:35:16 +08:00
printempw
eb8f33ef8f fix bug of transferring player 2016-09-25 09:38:46 +08:00
printempw
f0ef6dec0d move static files to resources/assets 2016-09-25 00:03:07 +08:00
printempw
1e57e9cef4 redirect to former url after setting locale 2016-09-24 23:37:28 +08:00
printempw
effa0a42df working on i18n of controllers 2016-09-24 22:49:20 +08:00
printempw
1cdfb139c1 move language switcher to HomeController 2016-09-24 22:45:54 +08:00
printempw
6d5105b5cd check mime type of file out of laravel validator 2016-09-22 22:00:12 +08:00
printempw
d9b364556b working on i18n of user center 2016-09-15 23:03:58 +08:00
printempw
23f6e4b35e add helper function for menu and copyright 2016-09-15 20:35:46 +08:00
printempw
8507860b15 add helper function for header and footer 2016-09-15 11:04:08 +08:00
printempw
41f24b9a3a add menu for switching languages 2016-09-15 09:20:02 +08:00
printempw
0fe9cf19b4 add route for setting locale dynamically 2016-09-14 23:27:02 +08:00
printempw
9642c1c9b0 move assets to resources directory 2016-09-14 22:44:30 +08:00