Commit Graph

377 Commits

Author SHA1 Message Date
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
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
148b6f6cc5 Apply two new middlewares 2018-07-24 09:58:10 +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
e2703aad84 Use helper function report 2018-07-22 11:36:00 +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
b2a514d3fe Remove unused code 2018-07-21 17:55:44 +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
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
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
7820616b77 use Route::view and Route::redirect 2018-07-17 17:17:31 +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
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
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
16c2ba8b64 save closet after operations 2018-07-11 16:10:45 +08:00
Pig Fang
e1b2f1806b add inline middleware to retrieve session 2018-07-11 16:09:22 +08:00
printempw
da34062a9c Add L10n support for site name and description 2018-07-06 14:49:39 +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
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
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
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
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
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
7e6cc96e5e Return 403 instead when accessing private textures, close #111 2018-02-10 13:06:19 +08:00
Pig Fang
6f516cc2eb fix(preview): fix 2d skin preview for alex model 2018-01-04 13:10:41 +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
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
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
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
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
34962255a2 Add ajax pagination & search for skinlib 2017-06-30 10:33:41 +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
b7df1b362c Reset invalid player textures automatically 2017-06-28 17:13:07 +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
b198ce5d35 fix binding email #47 2017-01-22 18:39:14 +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
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
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
10a9397fd0 fix searching closet 2017-01-14 20:39:13 +08:00