Commit Graph

548 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Pig Fang
51e4efba7b Make sure tid_cape set 2019-04-26 21:38:26 +08:00
Pig Fang
1a98e7937d Return empty string when JWT auth failed 2019-04-26 18:58:12 +08:00
Pig Fang
e2c125648f Support OAuth2 2019-04-25 23:24:24 +08:00
Pig Fang
1ae0329083 Rename auth guard 2019-04-25 13:29:43 +08:00
Pig Fang
d2ad6107d1 Refactor middlewares 2019-04-25 13:01:39 +08:00
Pig Fang
122477c5c3 Add RESTful APIs about players 2019-04-24 13:10:03 +08:00
Pig Fang
64f25ef95f Reset invalid texture when player retrieved 2019-04-23 23:34:04 +08:00
Pig Fang
1c205f6842 New API: add new player 2019-04-23 23:03:12 +08:00
Pig Fang
6d03e47526 Nomalize JSON response structure 2019-04-23 19:14:41 +08:00
Pig Fang
fd541e7365 Clean up 2019-04-23 14:13:58 +08:00
Pig Fang
d8f08176a2 Check owner before operating player 2019-04-23 13:09:06 +08:00
Pig Fang
b70004ec0f Add JWT refreshing 2019-04-23 12:45:06 +08:00
Pig Fang
0486ddc5a1 Normalize JSON response structure 2019-04-23 11:47:45 +08:00
Pig Fang
6507f2699f Support JWT authentication 2019-04-23 10:05:58 +08:00
Pig Fang
7f58d92590 Set new version automatically 2019-04-22 22:56:24 +08:00
Pig Fang
573cca5c5d Allow multiple plugins market registry 2019-04-22 19:26:17 +08:00
Pig Fang
d01ca18431 Fix zip file name when downloading plugin 2019-04-20 15:17:42 +08:00
Pig Fang
79e5909bdd Fix requiring verification in closet page 2019-04-20 15:14:25 +08:00
Pig Fang
bb3fecf57c Fix syntax 2019-04-19 23:21:14 +08:00
Pig Fang
d8d80f2729 Fix syntax 2019-04-19 23:17:58 +08:00
Pig Fang
ade8b0e5a6 Bundle certificate (fix #36) 2019-04-19 23:15:05 +08:00
Pig Fang
8eb174a6dc
Apply fixes from StyleCI (#35) 2019-04-19 19:36:36 +08:00
Pig Fang
8bab3699ba Add option about transparent navigation bar 2019-04-19 19:32:15 +08:00
Pig Fang
d86e4c1805 Do not publish .env file 2019-04-09 13:21:31 +08:00
Pig Fang
1c72171a5e Extract copyright as view 2019-04-08 16:07:42 +08:00
Pig Fang
4c4023bbc2 Refactor UpdateController 2019-04-06 22:52:43 +08:00
Pig Fang
a24e34cf5e Add version check for market registry 2019-04-05 17:48:36 +08:00
Pig Fang
d7b78324f8 Simplify downloading packages 2019-04-05 17:23:27 +08:00
Pig Fang
634f0b726a Inline one-time used helper function 2019-04-04 11:16:04 +08:00
Pig Fang
aa30d5a41e Add tests for captcha 2019-04-04 11:04:13 +08:00
Pig Fang
1f2d7a98ce Better UX about players 2019-04-01 21:45:59 +08:00
Pig Fang
58437a1b97 Add new plugins registry (fix #31) 2019-04-01 16:12:11 +08:00
Pig Fang
4897656425 Fix passing extra view info 2019-03-31 16:07:36 +08:00
Pig Fang
7e4d439da9 Refactor 2019-03-31 11:00:07 +08:00
Pig Fang
3a8504c1bf Fix modifying dotenv file (fix #30) 2019-03-31 10:33:03 +08:00
Pig Fang
d9efa1d5ff Declare sharable user instance in master view 2019-03-31 09:08:31 +08:00
Pig Fang
1e3816d1d4 Upgrade dependencies 2019-03-30 16:22:08 +08:00
Pig Fang
9a095732fa Build plugin "report-textures" into core 2019-03-30 11:38:30 +08:00
Pig Fang
c01e362ae0 Fix validating captcha 2019-03-27 11:11:09 +08:00
Pig Fang
64658fd9f2 Enable reCAPTCHA on "forgot" page 2019-03-27 11:07:04 +08:00
Pig Fang
04b8f73ac4 Support invisible reCAPTCHA 2019-03-24 15:45:50 +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
f9c659036d Prevent conflict with PhpRedis extension 2019-03-21 22:51:30 +08:00
Pig Fang
3a4844a5dd Build plugin "bs-super-cache" into core 2019-03-21 12:44:15 +08:00
Pig Fang
6c31b3465f Fix generating avatar with specific size 2019-03-21 09:36:59 +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
9c2e3e52ad Deduplicate code 2019-03-19 23:48:45 +08:00
Pig Fang
2cb334b091 Optimize dashboard query 2019-03-19 23:35:13 +08:00
Pig Fang
a4c49d6634 Replace Chart.js with ECharts 2019-03-19 19:16:03 +08:00
Pig Fang
749339f331 Process likes in a special method 2019-03-19 15:19:33 +08:00
Pig Fang
9828f66f5d Remove redundant check 2019-03-19 10:13:57 +08:00
Pig Fang
b426bc36a7 Clean up 2019-03-18 22:22:20 +08:00