#
678ae4f0 |
| 07-Jul-2025 |
Andreas Gohr <andi@splitbrain.org> |
fix issue in plugincontroller when loading plugins without info
|
#
f51673e5 |
| 27-Mar-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix listing of plugin components
Plugins may have one main component of a type or they might have multiple of the same type in a subdirectory.
Sometimes they may have both. This is often the case f
fix listing of plugin components
Plugins may have one main component of a type or they might have multiple of the same type in a subdirectory.
Sometimes they may have both. This is often the case for organically grown plugin, commonly with helper classes where a helper.php exists first only to be extended by helper/*.php files later.
This patch fixes the listing of plugin(components) by type in the plugin controller.
It also adjusts bin/plugin.php to handle plugin CLI components.
show more ...
|
#
a0e3c231 |
| 18-Sep-2023 |
Andreas Gohr <andi@splitbrain.org> |
Automatically register composer autoloaders for plugins
The plugin controller will now automatically require vendor/autoload.php for every plugin that has it.
|
#
e421ad39 |
| 14-Sep-2023 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Conform to new coding style
|
#
4e51f514 |
| 14-Sep-2023 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Fix long line
|
#
c8d9df7f |
| 14-Sep-2023 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Logic fix
|
#
6c16a3a9 |
| 14-Sep-2023 |
fiwswe <fiwswe@fwml.de> |
Use str_starts_with/str_ends_with
|
#
177d6836 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: control flow whitespaces
|
#
dccd6b2b |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: function call spacing
|
#
73022918 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: PSR12.Classes.ClassInstantiation.MissingParentheses
|
#
615810c5 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
address issues mention in PR#4045
|
#
74981a4e |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
apply PSR-12 constant visibility rule
PSR-12 says constants need their visibility declared from PHP 7.1 onwards
|
#
d9156e4d |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix overlong line introduced by rector
|
#
1490c177 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to inc/Extension and inc/Debug
|
#
ec34bb30 |
| 19-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
Update core code to make use of sexplode()
This makes use of our own explode mechanism everywhere were we expect a fixed number of results.
|
#
23420346 |
| 26-Jan-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix Undefined array key "fperm" warning
Also removed a few, now unnecessary `!empty` checks
Fixes #3382
|
#
03e8a69a |
| 13-Jul-2020 |
Andreas Gohr <andi@splitbrain.org> |
reflow overlong line
|
#
ffa84f81 |
| 13-Jul-2020 |
Andreas Gohr <andi@splitbrain.org> |
better exception handling on plugin loading
Now all important places where plugins are loaded are guarded by a try/except. We're catching Throwables here to be able to catch stuff like syntax errors
better exception handling on plugin loading
Now all important places where plugins are loaded are guarded by a try/except. We're catching Throwables here to be able to catch stuff like syntax errors early on (otherwise they will only be caught by our ErrorConverter much too late). This means that this change requires PHP 7.0 minimum!
show more ...
|
#
642e976c |
| 13-Jul-2020 |
Andreas Gohr <andi@splitbrain.org> |
introduce a global error handler
This transfers old style PHP errors into Exceptions and installs a global exception handler. All exceptions caught by this handler are logged to an error log and a m
introduce a global error handler
This transfers old style PHP errors into Exceptions and installs a global exception handler. All exceptions caught by this handler are logged to an error log and a meassage is shown to the end user. This should finally get rid of "blank page" bug reports.
show more ...
|
#
c47e6665 |
| 22-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
Minor optimizations in PluginController
|
#
c904b9fb |
| 22-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
Snake to Camel case fixes inn PluginController
|
#
1935a891 |
| 21-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
Move list of plugin types to plugin controller constant
There is no need to have them in a global variable.
|
#
fbccc3e6 |
| 20-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
isEnabled instead of isDisabled
Boolean Methods with a negative name are a bit confusing. Getting false for an enabled plugin? Better check for Enabled status.
|
#
f219f385 |
| 20-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
removed get_directory() method from PluginController
This method did absolutely nothing and just returned the plugin name.
|
#
3a7140a1 |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
moved plugin controller to Extension namespace
|