Commit Graph

911 Commits

Author SHA1 Message Date
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
Pig Fang
3ee84f766d Revert "Tweak PluginServiceProvider"
This reverts commit f4be149bf3.
2019-08-20 11:26:21 +08:00
Pig Fang
f4be149bf3 Tweak PluginServiceProvider 2019-08-20 10:12:35 +08:00
Pig Fang
4fcdfc2b7e Support multiple plugins directories 2019-08-19 23:06:17 +08:00
Pig Fang
5fa956dfb6 Tweak booting plugins 2019-08-19 16:52:10 +08:00
Pig Fang
42f0135704 Check plugin dependencies at PluginManager 2019-08-17 10:57:38 +08:00
Pig Fang
eeec2e0435 Improve UX of plugin-related Artisan commands 2019-08-16 17:35:13 +08:00
Pig Fang
bf778e9405 Tweak 2019-08-16 17:09:40 +08:00
Pig Fang
eedcfdf957 Refactor booting plugin 2019-08-16 15:51:20 +08:00
Pig Fang
72aa2c39ac Register service providers of plugins 2019-08-16 14:56:47 +08:00
Pig Fang
43ede5b274 Ignore unreachable code 2019-08-16 14:48:38 +08:00
Pig Fang
857827bcdc Fix for historical reason 2019-08-16 14:46:55 +08:00
Pig Fang
372c7768d0
Apply fixes from StyleCI (#93)
[ci skip] [skip ci]
2019-08-15 23:27:29 +08:00
Pig Fang
e67df90978 Tiny tweaks 2019-08-15 17:21:55 +08:00
Pig Fang
f117a4f3c7 Add test 2019-08-15 17:08:25 +08:00
Pig Fang
560ed2c2fd Refactor plugin system (part 11) 2019-08-15 16:54:12 +08:00
Pig Fang
d871af1906 Tweak test 2019-08-15 15:03:53 +08:00
Pig Fang
f182f799f6 Refactor plugin system (part 9) 2019-08-13 23:06:28 +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
15f988f04d Fix test 2019-08-12 17:48:40 +08:00
Pig Fang
3071ece7ba Refactor plugin system (part 6) 2019-08-12 17:37:52 +08:00
Pig Fang
fb0dcd4ad3 Refactor plugin system (part 5) 2019-08-12 15:59:01 +08:00
Pig Fang
d15fd0b36d Refactor plugin system (part 4) 2019-08-12 15:21:50 +08:00
Pig Fang
18019d85e6 Refactor plugin system (part 3) 2019-08-12 14:45:07 +08:00
Pig Fang
d92e1738dc Refactor plugin system (part 2) 2019-08-12 10:52:40 +08:00
Pig Fang
2709d09823 Refactor booting plugins (part 1) 2019-08-11 18:00:00 +08:00
Pig Fang
a14ff87d0d Add helper functions for Filter API 2019-08-10 12:16:24 +08:00
Pig Fang
562c3690a8 Add tests for artisan commands 2019-08-09 15:36:13 +08:00
Pig Fang
29ce9d3df1 Use built-in key:generate command 2019-08-09 11:20:36 +08:00
Pig Fang
eed205b7f9 Remove v4 migration commands 2019-08-09 10:54:42 +08:00
Pig Fang
fab3da8f7f Refactor 2019-08-09 10:13:55 +08:00
Pig Fang
3f42d9dfc9 Remove unused code 2019-08-09 08:53:29 +08:00
Pig Fang
c281a444f0 Allow to enable or disable a plugin via CLI 2019-08-08 23:03:48 +08:00
Pig Fang
2952d86c5e Tweak aliases 2019-08-08 18:00:11 +08:00
Pig Fang
28f80a2ef0 Tiny tweaks on codebase 2019-08-08 17:21:15 +08:00
Pig Fang
eae0c07ff6 Simplify code 2019-08-08 15:37:38 +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
9209febd96 Don't convert remember_token field 2019-08-08 14:31:03 +08:00
Pig Fang
d9262c055c Convert SQL query of user model
Automatically, for data integration.
2019-08-08 11:55:22 +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
7929de7891 Use lower case for hashing 2019-08-01 14:52:43 +08:00
Pig Fang
2731225f4e Fix comment 2019-07-30 15:17:18 +08:00
Pig Fang
3f4837bb35 Refactor user model 2019-07-30 15:12:31 +08:00