Commit Graph

1156 Commits

Author SHA1 Message Date
Pig Fang
1c97734bf6 fix email url 2020-03-29 09:53:24 +08:00
Pig Fang
5d9bb28281 attempt to fix "invalid signature" issue 2020-03-28 22:36:27 +08:00
Pig Fang
9f560c67bd rewrite "Translations" page with React 2020-03-28 18:25:12 +08:00
Pig Fang
2e78da928b make url generation flexible 2020-03-27 22:34:14 +08:00
Pig Fang
9a29df2a07 load front end i18n as assets 2020-03-26 11:20:12 +08:00
Pig Fang
dbef3043eb do not break when failed to load i18n 2020-03-26 11:19:43 +08:00
Pig Fang
3fbf32ed14 clean up 2020-03-26 10:32:36 +08:00
Pig Fang
530ed88bd1 unify generating webpack asset url 2020-03-26 10:15:48 +08:00
Pig Fang
c219a0f03f rewrite skin library with React 2020-03-24 18:05:46 +08:00
Pig Fang
4c981529e1 add closet command for Web CLI 2020-03-21 17:30:44 +08:00
Pig Fang
d57dabe188 fix 2020-03-21 11:08:41 +08:00
Pig Fang
24adc02f17 refactor 2020-03-21 11:06:24 +08:00
Pig Fang
ced43d4277 simplify 2020-03-21 09:38:46 +08:00
Pig Fang
4c52f82393 refactor pagination 2020-03-20 19:03:10 +08:00
Pig Fang
b6c58ef23f rewrite texture detail page with React 2020-03-20 16:19:18 +08:00
Pig Fang
2a3d9c544d fix formatting unresolved plugins 2020-03-18 11:23:46 +08:00
Pig Fang
9f8f1e786a increase browser requirement 2020-03-18 10:48:13 +08:00
Pig Fang
60c628dd11 tweak style of avatar (close #150) 2020-03-18 10:33:07 +08:00
Pig Fang
97705755c5 fix admin can't add private texture 2020-03-14 14:59:52 +08:00
Pig Fang
271c950ad9 add two new ways to install plugin 2020-03-12 10:41:41 +08:00
Pig Fang
ccfcceed37 run php-cs-fixer 2020-03-11 22:31:45 +08:00
Pig Fang
cd2f977bff tweak status page 2020-03-10 15:20:42 +08:00
Pig Fang
dcd48a086c fix notifying failed plugin 2020-03-10 15:12:03 +08:00
Pig Fang
5d426e8c92 refactor: use HTTP client wrapper of Laravel 2020-03-09 17:18:36 +08:00
Pig Fang
6463a33744 refactor 2020-03-09 15:26:28 +08:00
Pig Fang
0eb7d50d1c upgrade to Laravel 7 2020-03-09 12:29:00 +08:00
Pig Fang
ed04dd1740 fix "score cost per closet item" isn't calculated
at "texture upload" page
2020-03-06 10:15:01 +08:00
Pig Fang
d4c3264324 fix 2d preview 2020-03-05 09:58:10 +08:00
Pig Fang
9d624fd299 add filters for retrieving ip 2020-03-02 15:02:39 +08:00
Steven Qiu
33c6f00da6
send less verification emails (#138) 2020-02-27 17:45:07 +08:00
Pig Fang
4dde7fc13c make "CSRF token mismatched" error friendly 2020-02-27 16:02:39 +08:00
Pig Fang
97cd8974f3 fix 2020-02-26 10:40:20 +08:00
Pig Fang
bec33650f0 fix missing alert when uploading duplicated texture
(fix #132)
2020-02-23 09:37:10 +08:00
Steven Qiu
1b0e1b154b
change judgement of duplicate textures (fix #132) (#133)
* change judgement of duplicate textures

* fix test
2020-02-23 08:38:36 +08:00
Pig Fang
f721ac269c add bsh 2020-02-17 18:27:56 +08:00
Pig Fang
ca7db2585f rewrite "EmailVerification" UI widget 2020-02-12 10:02:15 +08:00
Pig Fang
8e104c2422 build notifications list with React 2020-02-08 18:22:52 +08:00
Pig Fang
22f68cd9fc build players page with React 2020-02-08 17:09:43 +08:00
Pig Fang
100e5960e7 rework error pages and setup pages 2020-02-01 12:44:39 +08:00
Pig Fang
1d87171808 rewrite user dashboard with React 2020-01-31 15:58:37 +08:00
Pig Fang
4c066ac38a make user report page be static 2020-01-21 11:07:20 +08:00
Pig Fang
7ecea9e7e6 new plugins management page 2020-01-16 12:33:14 +08:00
Pig Fang
4c735aa8e4 refactor plugins marketplace 2020-01-14 11:37:21 +08:00
Pig Fang
078fcf47ec refactor downloader 2020-01-14 10:58:20 +08:00
Pig Fang
52629f6cc4 remove unused code 2020-01-13 09:32:44 +08:00
Pig Fang
c87d19f258 tweak middlewares 2020-01-13 09:25:07 +08:00
Pig Fang
780b6800ba remove unused code 2020-01-13 08:57:51 +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
c3a0018219 remove unused code 2020-01-05 11:30:58 +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
5b2d2743a6 remove unused code 2019-12-31 11:27:51 +08:00
Pig Fang
1f5c0af0aa fix lang attribute of HTML 2019-12-31 10:00:27 +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
22128d360c Remove deprecated player_name attribute on player instance 2019-12-30 17:04:19 +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
1f899d1393 Refactor 2019-12-29 14:50:25 +08:00
Pig Fang
d40726a718 App\Services\Filter -> Blessing\Filter 2019-12-29 11:49:31 +08:00
Pig Fang
7f46e1510b Remove helper function "get_string_replaced" 2019-12-25 18:37:10 +08:00
Pig Fang
71543da2f7 Remove "3rd-party comment" from core 2019-12-25 17:33:57 +08:00
Pig Fang
c868b05232 New password algorithm: Argon2i 2019-12-25 16:28:24 +08:00
Pig Fang
cf8358fdcd Don't check cipher when boostrapping 2019-12-25 16:16:09 +08:00
Pig Fang
10d0957d66 Tweak UI 2019-12-25 16:11:13 +08:00
Pig Fang
ad1201b226 Refactor 2019-12-25 15:59:20 +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
35c07cdb63 Fix validating player name 2019-12-22 14:25:22 +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
4c3b9f0cb6 Tiny refactor 2019-12-20 22:58:04 +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
4af30bdbac Fix changing password 2019-12-13 10:56:16 +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
6fc099bb34 Fix "*.master" templates 2019-12-07 16:39:04 +08:00
Pig Fang
a70260ca41 New method addAlert on OptionForm 2019-12-05 23:42:51 +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
8aec8e5028 Add more tests 2019-12-03 17:47:06 +08:00
Pig Fang
322ef7cdeb Blade -> Twig (for forms) 2019-12-03 17:03:30 +08:00
Pig Fang
e7be95d3e2 Refactor 2019-12-03 15:41:54 +08:00
Pig Fang
c5829ded76 CircleCI -> GitHub Actions 2019-12-03 11:40:06 +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
b085698b01 Don't add commit at blessing global 2019-11-24 14:39:53 +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
bb898ea2e4 Use message to report plugin errors
Instead of `notification`
2019-09-19 23:09:53 +08:00
Pig Fang
d232bb4672 Remove unused code 2019-09-19 22:21:44 +08:00
Pig Fang
82140b6893 Blade -> Twig (almost finished) 2019-09-19 22:13:25 +08:00
Pig Fang
84f760d930 Remove unused code 2019-09-18 23:17:12 +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
4a9af2d5df Refactor retrieving assets 2019-09-15 10:18:49 +08:00
Pig Fang
792062451a Remove priority due to changes from Laravel 5.4 2019-09-15 09:32:07 +08:00
Pig Fang
93a7bae30d Fix catching cipher exception 2019-09-14 12:28:22 +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
62221c05a7 Do not generate random salt via CLI installation 2019-09-12 12:27:13 +08:00
Pig Fang
e91185461a
Add GitHub Actions (#97)
* Add GitHub Actions

* Update branches trigger

* Fix .env file

* Fix default database connection

* Add test step

* Normalize PHP version

* Update main.yml

* Add more jobs

* Fix YAML syntax error

* Fix YAML syntax error

* Attempt to fix Windows job

* Update main.yml

* Update main.yml

* Update main.yml

* Attempt to use MySQL

* Update main.yml

* Fix possible error
2019-09-11 23:32:56 +08:00
Pig Fang
deab8be4a8 Upgrade to Laravel 6 2019-09-10 21:29:14 +08:00
Pig Fang
e38d74455c Remove unused code 2019-09-10 20:01:15 +08:00
Pig Fang
06a43b5f72 Remove response macros 2019-09-10 19:52:17 +08:00
Pig Fang
65111d3609 Fix event of plugin.versionChanged 2019-09-09 23:08:03 +08:00
Pig Fang
54d3b76c13 Add support of customizing UI text 2019-09-08 18:57:19 +08:00
Pig Fang
bc0e830758 Simplify code 2019-09-08 09:44:00 +08:00
Pig Fang
21d416671a Tweak cache policy of parsing YAML 2019-09-08 09:19:32 +08:00
Pig Fang
5718567bea Load front end i18n of plugin automatically 2019-09-07 23:20:16 +08:00
Pig Fang
2b0eb3101c Remove redundant YAML parsing 2019-09-07 21:23:38 +08:00
Pig Fang
9ff8ea0893 Load front-end i18n text at back-end 2019-09-07 17:18:58 +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
5b5740b74b Remove unused code 2019-09-07 10:32:26 +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
5d1dce347f Switch to another translations loader 2019-09-06 18:52:34 +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
e48bd1f9c6 Tweak TestCase 2019-09-04 21:28:21 +08:00
Pig Fang
9402f5f83e Fix priority of Filters API 2019-09-04 19:33:39 +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
cfa552157f Tweak listeners 2019-08-31 09:20:11 +08:00
Pig Fang
c44ff192ba Catch plugin's bootstrapper exceptions 2019-08-31 09:12:51 +08:00
Pig Fang
016e11b40b Fix tests 2019-08-29 18:56:44 +08:00
Pig Fang
3d3e488443 Show error stack from plugins 2019-08-28 17:45:25 +08:00
Pig Fang
c9cdc6640c Add more info at status page 2019-08-28 16:04:26 +08:00
Pig Fang
fb3f58856c Fix saving plugins option 2019-08-28 15:32:49 +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
c976a5c5f8 Load translations of plugins even disabled 2019-08-25 14:51:56 +08:00
Pig Fang
63ac1c11dd Revert 2019-08-24 10:22:26 +08:00
Pig Fang
ca4d1b5d04 Inject current plugin at bootstrapper 2019-08-23 14:20:04 +08:00
Pig Fang
602fde7227 Add tests 2019-08-23 10:59:44 +08:00
Pig Fang
c607990991 Add tests 2019-08-22 17:59:49 +08:00
Pig Fang
17c267ea55 Tweak service container 2019-08-22 11:17:05 +08:00
Pig Fang
625cc08b81 Tweak service container 2019-08-22 10:49:05 +08:00
Pig Fang
de49318bc6 Read options from cache if exists 2019-08-22 09:19:58 +08:00
Pig Fang
29eb0afa2c Tweak tests 2019-08-22 09:11:04 +08:00
Pig Fang
197c3d8333 Tweak options:cache command 2019-08-22 08:50:59 +08:00
Pig Fang
e01f034ffd Support caching options 2019-08-21 23:46:38 +08:00
Pig Fang
061c9d7f56 Disable plugins which have conflicts 2019-08-21 17:31:51 +08:00
Pig Fang
937186e34b Plugin system: allow to define conflicts 2019-08-21 11:48:42 +08:00
Pig Fang
3481dc75fc Allow to pass single user to send notifications at hook 2019-08-21 11:11:44 +08:00