Commit Graph

615 Commits

Author SHA1 Message Date
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