Commit Graph

648 Commits

Author SHA1 Message Date
Pig Fang
c87d19f258 tweak middlewares 2020-01-13 09:25:07 +08:00
Pig Fang
6c64d191ab remove responding 204 for unexisted players 2020-01-13 08:41:35 +08:00
Pig Fang
092eedfdf4 refactor routes 2020-01-13 08:37:57 +08:00
Pig Fang
1807309449 remove unused code 2020-01-12 17:14:23 +08:00
Pig Fang
f46737c8e3 remove "CheckPlayerExists" event in some places 2020-01-12 12:09:58 +08:00
Pig Fang
1170a528d6 removed cache for existence of player 2020-01-12 11:58:34 +08:00
Pig Fang
b816eb1c06 simplify 2020-01-12 11:47:36 +08:00
Pig Fang
97ec85b289 remove cache for profile json 2020-01-12 10:28:43 +08:00
Pig Fang
6b3446cf86 display 3D avatar when applying texture to player 2020-01-12 09:57:55 +08:00
Pig Fang
b1ccdb47f2 switch server-side texture renderer 2020-01-12 09:27:39 +08:00
Pig Fang
6c221c28d6 refactor updater 2020-01-06 22:47:29 +08:00
Pig Fang
d7a60a842d remove auto update check 2020-01-05 17:37:56 +08:00
Pig Fang
3c8f820780 remove unreachable code 2020-01-05 11:24:30 +08:00
Pig Fang
516c5ef762 add more events about players 2020-01-05 11:05:22 +08:00
Pig Fang
9988520f45 fixed avatar can't be resized
when requesting an non-existed user
2019-12-31 23:03:37 +08:00
Pig Fang
8703495f8f refactor 2019-12-31 22:39:33 +08:00
Pig Fang
1829f1dab5 App\Services\Rejection -> Blessing\Rejection 2019-12-31 18:41:16 +08:00
Pig Fang
02fecd46ae refactor 2019-12-31 18:34:52 +08:00
Pig Fang
e97d2743fb Clean up 2019-12-30 23:51:12 +08:00
Pig Fang
611f6c8cee Remove Universal Skin API from core 2019-12-30 23:29:44 +08:00
Pig Fang
07566c4c16 Remove Legacy API from core 2019-12-30 11:09:01 +08:00
Pig Fang
a18f068387 Remove enabling or disabling Redis via Web UI 2019-12-29 15:51:43 +08:00
Pig Fang
4689010466 Remove API preference 2019-12-29 15:43:40 +08:00
Pig Fang
d40726a718 App\Services\Filter -> Blessing\Filter 2019-12-29 11:49:31 +08:00
Pig Fang
71543da2f7 Remove "3rd-party comment" from core 2019-12-25 17:33:57 +08:00
Pig Fang
10d0957d66 Tweak UI 2019-12-25 16:11:13 +08:00
Pig Fang
facd92356c Simplify code 2019-12-25 15:50:34 +08:00
Pig Fang
9eae104402 Invoke Parsedown directly 2019-12-25 15:48:34 +08:00
Pig Fang
cf497ad38c Change method of retrieving IP 2019-12-24 23:59:25 +08:00
Pig Fang
2b827cf651 Add more events for authentication 2019-12-24 17:09:30 +08:00
Pig Fang
0195b0fbd0 Tweak path of options cache file 2019-12-23 23:28:46 +08:00
Pig Fang
7314b19a85 Tiny tweaks 2019-12-23 10:03:08 +08:00
Pig Fang
ae4be6fbda Refactor static routes 2019-12-22 17:28:55 +08:00
Pig Fang
591b9969aa Add filters for avatar 2019-12-22 17:22:05 +08:00
Pig Fang
8c8e7bbc23 Refactor 2019-12-22 16:18:59 +08:00
Pig Fang
85d0104362 Allow char "§" for player name & Refactor 2019-12-22 11:50:39 +08:00
Pig Fang
9cc83dad30 Remove restriction of texture name and nickname 2019-12-22 10:46:10 +08:00
Pig Fang
e21fb0fa31 Inline some helper functions 2019-12-21 15:50:29 +08:00
Pig Fang
1e21f4508c Add grid for upload page 2019-12-16 11:02:39 +08:00
Pig Fang
6bf003e7dc Add grid for texture detail page 2019-12-16 10:49:09 +08:00
Pig Fang
cb3527cd35 Apply php-cs-fixer fixes 2019-12-15 23:16:55 +08:00
Pig Fang
703a760b24 Add grid for players list 2019-12-15 22:52:49 +08:00
Pig Fang
6b6cec7f43 Add grid for admin dashboard 2019-12-15 21:04:20 +08:00
Pig Fang
79a96ec6d8 Add grid for status page 2019-12-15 19:04:30 +08:00
Pig Fang
25f9eb7f22 Mark verified for users from external services 2019-12-15 17:58:38 +08:00
Pig Fang
91fbb42431 Add OAuth client 2019-12-15 11:19:10 +08:00
Pig Fang
25a7134d63 Tiny tweak 2019-12-14 23:17:44 +08:00
Pig Fang
ff1dd4bacd Refactor 2019-12-14 15:45:44 +08:00
Pig Fang
a3e74065f9 Add grid for closet page 2019-12-14 14:30:38 +08:00
Pig Fang
6ead313999 Apply php-cs-fixer 2019-12-14 11:10:37 +08:00
Pig Fang
96fd445415 Add grid for user dashboard 2019-12-13 19:29:57 +08:00
Pig Fang
7950132954 Add grid for user profile page 2019-12-13 18:53:47 +08:00
Pig Fang
56bd71c063 Refactor user profile page
to be static
2019-12-13 15:47:07 +08:00
Pig Fang
920d45a723 Add "STAFF" badge for admin & show badges at texture detail page 2019-12-11 23:29:20 +08:00
Pig Fang
65d82fba64 Refactor 2019-12-10 23:40:32 +08:00
Pig Fang
f9b32c8e69 Check dependencies and conflicts before installing plugin
fixes #109
2019-12-09 23:30:49 +08:00
Pig Fang
66becb27d0 Detect Readme of plugin automatically 2019-12-08 23:58:44 +08:00
Pig Fang
776e8652a0 Support specifying enchants.config in plugin 2019-12-05 19:28:12 +08:00
Pig Fang
ed9d856c43 Add new color settings 2019-12-04 16:45:09 +08:00
Pig Fang
e7be95d3e2 Refactor 2019-12-03 15:41:54 +08:00
Pig Fang
84afc32d84 Revert "Specify base URL at <base> element"
This reverts commit f8844cb549.
2019-11-27 23:57:28 +08:00
Pig Fang
66c3c016f7 Fix button of clearing cache 2019-11-27 14:43:06 +08:00
Pig Fang
ff6277a0ca Read commit ID by executing Git at status page 2019-11-26 17:31:37 +08:00
Pig Fang
c665adf1c8 Fix detecting unknown locale 2019-11-26 16:53:19 +08:00
Pig Fang
0fbf16acad Tweak webpack config 2019-11-26 13:01:15 +08:00
Pig Fang
52dae783e8 Upgrade to AdminLTE v3 2019-11-24 14:32:58 +08:00
Pig Fang
bf4623c6ef Add hooks for ReportController 2019-11-20 15:01:09 +08:00
Pig Fang
200a5b2352 Fix translation service at setup 2019-11-13 14:27:22 +08:00
Pig Fang
c424465321 Fix locale detection 2019-10-07 19:37:38 +08:00
Pig Fang
74452a70de Fix loading style when development 2019-09-20 18:50:08 +08:00
Pig Fang
82140b6893 Blade -> Twig (almost finished) 2019-09-19 22:13:25 +08:00
Pig Fang
3b1866ffba Blade -> Twig 2019-09-18 23:06:48 +08:00
Pig Fang
9403ae356d Blade -> Twig (wip) 2019-09-17 23:10:44 +08:00
Pig Fang
cbad417f03 Remove "pray for kyoani" text 2019-09-12 19:33:48 +08:00
Pig Fang
050fa45993 Preprocess PHP version 2019-09-12 19:31:48 +08:00
Pig Fang
a87320fe09 Clean up .env files 2019-09-12 19:06:18 +08:00
Pig Fang
deab8be4a8 Upgrade to Laravel 6 2019-09-10 21:29:14 +08:00
Pig Fang
06a43b5f72 Remove response macros 2019-09-10 19:52:17 +08:00
Pig Fang
54d3b76c13 Add support of customizing UI text 2019-09-08 18:57:19 +08:00
Pig Fang
f9f2796529 Remove unused code 2019-09-07 11:15:23 +08:00
Pig Fang
98522a5cce
Apply fixes from StyleCI (#96)
[ci skip] [skip ci]
2019-09-07 11:00:35 +08:00
Pig Fang
b99246234b Tweak tests and containers 2019-09-07 10:18:24 +08:00
Pig Fang
13a2cd9b18 Refactor setup 2019-09-06 23:53:47 +08:00
Pig Fang
1d0ae52c7b Switch to another captcha library 2019-09-05 12:23:46 +08:00
Pig Fang
402eec0b3c Simplify syntax 2019-09-04 23:16:49 +08:00
Pig Fang
3fc176e07a Add more events and filters 2019-09-04 19:31:44 +08:00
Pig Fang
1e625f75bf Tweak Filters API 2019-09-03 23:07:10 +08:00
Pig Fang
3264e376cb Simplify importing Auth 2019-09-03 18:44:21 +08:00
Pig Fang
be86f161a2 Reinvent wheel: Filters API 2019-09-03 18:41:19 +08:00
Pig Fang
df3c1687ad Add filter can_rename_player 2019-09-02 23:33:51 +08:00
Pig Fang
ed80b2373b Fix dispatching event 2019-09-02 20:42:26 +08:00
Pig Fang
8f350b206f Add new events for renaming player 2019-08-31 12:14:39 +08:00
Pig Fang
347399c944 Add commit SHA at status page 2019-08-31 09:42:29 +08:00
Pig Fang
c9cdc6640c Add more info at status page 2019-08-28 16:04:26 +08:00
Pig Fang
49bf12675d Add more info at status page 2019-08-28 14:52:51 +08:00
Pig Fang
8bb617623e Add environment status page 2019-08-28 11:39:00 +08:00
Pig Fang
eb0818dc27 Fix cleaning options cache 2019-08-26 11:01:49 +08:00
Pig Fang
deb8c44e45 Improve text of plugins management 2019-08-25 15:54:29 +08:00
Pig Fang
63ac1c11dd Revert 2019-08-24 10:22:26 +08:00
Pig Fang
602fde7227 Add tests 2019-08-23 10:59:44 +08:00
Pig Fang
937186e34b Plugin system: allow to define conflicts 2019-08-21 11:48:42 +08:00
Pig Fang
4fcdfc2b7e Support multiple plugins directories 2019-08-19 23:06:17 +08:00
Pig Fang
42f0135704 Check plugin dependencies at PluginManager 2019-08-17 10:57:38 +08:00
Pig Fang
bf778e9405 Tweak 2019-08-16 17:09:40 +08:00
Pig Fang
43ede5b274 Ignore unreachable code 2019-08-16 14:48:38 +08:00
Pig Fang
372c7768d0
Apply fixes from StyleCI (#93)
[ci skip] [skip ci]
2019-08-15 23:27:29 +08:00
Pig Fang
3594b7abf8 Refactor plugin system (part 8) 2019-08-13 22:44:32 +08:00
Pig Fang
85a67a5332 Refactor plugin system (part 7) 2019-08-13 18:42:17 +08:00
Pig Fang
29ce9d3df1 Use built-in key:generate command 2019-08-09 11:20:36 +08:00
Pig Fang
2952d86c5e Tweak aliases 2019-08-08 18:00:11 +08:00
Pig Fang
dcf7300499 Perform type cast before returning value 2019-08-08 15:23:37 +08:00
Pig Fang
b771134688 Fix test 2019-08-08 15:02:21 +08:00
Pig Fang
7443766f4c Tweak policy of retrieve CA cert for GuzzleHttp 2019-08-04 18:19:53 +08:00
Pig Fang
4c51924940 Resolve User class from service container 2019-08-04 10:56:15 +08:00
Pig Fang
3f4837bb35 Refactor user model 2019-07-30 15:12:31 +08:00
Pig Fang
73beea6af4 Tweak 2019-07-30 14:37:31 +08:00
Pig Fang
67bcfc65a5 Refactor user model 2019-07-30 14:29:02 +08:00
Pig Fang
1ccddf5e74 Pray for Kyoto Animation 2019-07-18 22:02:55 +08:00
Pig Fang
718c7a61a5 Fix redirecting without URL query string after logged in 2019-07-12 15:53:49 +08:00
Pig Fang
c387794e17 Add option for fixed background 2019-07-10 10:53:19 +08:00
Pig Fang
a082bec096 Add option for hiding introduction of home page 2019-07-10 10:18:10 +08:00
Pig Fang
a36c31e5bd Check PHP version before updating 2019-07-05 14:48:12 +08:00
Pig Fang
4c2c74dafb Only super admin can visit update pages 2019-07-05 12:40:14 +08:00
Pig Fang
7a7cc2ddd9 Notifications 2019-07-03 16:19:13 +08:00
Pig Fang
a69bafd915 Fix that OAuth tables not created at installation (fix #72) 2019-06-30 23:25:48 +08:00
Pig Fang
66182eaabc Optimize panel of changing color 2019-06-15 17:55:18 +08:00
Pig Fang
42d212dc95 Allow to customize HTTP code
For rejecting accessing private texture
2019-06-04 22:45:57 +08:00
Pig Fang
672e80991a Simplify code 2019-06-04 22:22:49 +08:00
yushijinhun
a9affdced9
Fix #57 2019-05-19 17:04:17 +08:00
yushijinhun
2ed8001d27
Fix #58 2019-05-19 14:22:01 +08:00
Haowei Wen
d0609af143 Apply fixes from StyleCI 2019-05-19 05:49:44 +00:00
Pig Fang
9c0c72c166 Allow to process report more than once 2019-05-08 12:51:48 +08:00
Pig Fang
090c3b661b Tweak console commands 2019-05-07 18:47:40 +08:00
Pig Fang
a4c9736dfa Refactor deleting texture 2019-05-07 15:16:53 +08:00
Pig Fang
a35e265e66 Show today's data in adminstration panel 2019-05-07 14:06:26 +08:00
Pig Fang
9eb7b037ab Fix resetting options of "Customize" page 2019-05-05 20:04:36 +08:00
Pig Fang
b119a8de6d Regress likes field of textures table 2019-05-05 11:21:37 +08:00
Pig Fang
26a2b58048 Fix sorting skin library 2019-05-04 23:26:16 +08:00
Pig Fang
85eefad0b1 Fix sorting textures in skin library 2019-05-04 16:02:46 +08:00
Pig Fang
90836c6d1e Fix an error when updating 2019-05-03 23:44:04 +08:00
Pig Fang
04269b57e9 Fix closet pagination 2019-05-03 23:17:17 +08:00
Pig Fang
51c9bac405 Fix pagination of closet 2019-05-03 15:23:56 +08:00
Pig Fang
33c345b6e6 Upgrade dependencies 2019-05-03 10:34:50 +08:00
Pig Fang
a9844142aa Simplify update steps 2019-05-03 08:46:15 +08:00
Pig Fang
d519a4824a Register command at setup 2019-05-02 22:52:37 +08:00
Pig Fang
4348cd7020 Use formal event assertion 2019-05-01 10:38:50 +08:00
Pig Fang
777e786873 Add API root information 2019-05-01 10:14:14 +08:00
Pig Fang
d8bec1d1fb Add APIs for closet 2019-04-28 11:38:38 +08:00
Pig Fang
fd70a7182f Add API for fetch current user 2019-04-27 23:10:21 +08:00
Pig Fang
fe5b7c7380 Add more API tests 2019-04-27 20:08:41 +08:00