Commit Graph

56 Commits

Author SHA1 Message Date
Pig Fang
6ead313999 Apply php-cs-fixer 2019-12-14 11:10:37 +08:00
Pig Fang
f9b32c8e69 Check dependencies and conflicts before installing plugin
fixes #109
2019-12-09 23:30:49 +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
65111d3609 Fix event of plugin.versionChanged 2019-09-09 23:08:03 +08:00
Pig Fang
5d1dce347f Switch to another translations loader 2019-09-06 18:52:34 +08:00
Pig Fang
c44ff192ba Catch plugin's bootstrapper exceptions 2019-08-31 09:12:51 +08:00
Pig Fang
fb3f58856c Fix saving plugins option 2019-08-28 15:32:49 +08:00
Pig Fang
c976a5c5f8 Load translations of plugins even disabled 2019-08-25 14:51:56 +08:00
Pig Fang
ca4d1b5d04 Inject current plugin at bootstrapper 2019-08-23 14:20:04 +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
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
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
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
560ed2c2fd Refactor plugin system (part 11) 2019-08-15 16:54:12 +08:00
Pig Fang
f182f799f6 Refactor plugin system (part 9) 2019-08-13 23:06:28 +08:00
Pig Fang
85a67a5332 Refactor plugin system (part 7) 2019-08-13 18:42:17 +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
00d7d5481e Allow to use relative path at PLUGINS_DIR 2019-07-01 21:25:25 +08:00
Pig Fang
bae2a5d3a8 Fix #38 2019-04-22 09:52:45 +08:00
Pig Fang
8eb174a6dc
Apply fixes from StyleCI (#35) 2019-04-19 19:36:36 +08:00
Pig Fang
b23538c47e Return plugin name as-is if plugin is unavailable (fix #32) 2019-04-03 22:43:14 +08:00
Pig Fang
e71e74cd5b Rework Option 2019-03-23 15:44:16 +08:00
Pig Fang
0f20e99ac1 Fix plugin-related issues 2019-03-21 19:45:52 +08:00
Pig Fang
3cf19d8656
Apply fixes from StyleCI (#11)
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io).

---

For more information, click [here](https://github.styleci.io/analyses/8wKwbZ).
2019-03-02 22:58:37 +08:00
Pig Fang
e528547b89
Laravel 5.8 (#5) 2019-02-27 23:44:50 +08:00
Pig Fang
8255765ce4 check plugin instance before retrieving version 2019-02-16 16:56:53 +08:00
Pig Fang
b64e769f5a Copy plugin assets if version changed 2018-11-21 23:32:32 +08:00
Pig Fang
889e461bd6 Update the structure of plugins_enabled field 2018-11-21 22:53:27 +08:00
Pig Fang
02b7c6158d Process assets of plugins 2018-10-19 22:47:01 +08:00
Pig Fang
1a079c90c4 Upgrade to Laravel 5.7 2018-09-06 16:26:03 +08:00
Pig Fang
6b4812b251 Add plugin marketplace 2018-08-19 11:39:14 +08:00
printempw
4da044146f Update the parameter of PluginManager::getUnsatisfiedRequirements method 2018-06-29 18:14:55 +08:00
printempw
cae51b3a7a Add dependency definition for plugins 2018-06-29 15:55:56 +08:00
printempw
86a5631431 Add composer support for plugins 2018-06-28 23:32:27 +08:00
printempw
c45b478de2 Add .env variables for customizing the path to load plugins from 2018-06-28 12:32:58 +08:00
Pig Fang
b19565bf8b Add tests for PluginController 2017-11-16 14:09:08 +08:00
printempw
0566d4e7e0 Throw exception when two plugins use the same name definition 2017-07-30 16:11:23 +08:00
printempw
db15ff2314 fix url to config pages of plugins 2017-01-17 21:41:20 +08:00
printempw
9486f19f5d add support for callback of enabling/disabling/deleting plugins 2017-01-14 21:31:21 +08:00
printempw
d622e455c7 add plugin_assets() helper function 2016-12-31 16:07:12 +08:00