ExtensionManager: get base from plugin classes. fixes #4484When installing a plugin that has no plugin.info.txt, we need to figureout where it belongs from other data. Previously we checked the ar
ExtensionManager: get base from plugin classes. fixes #4484When installing a plugin that has no plugin.info.txt, we need to figureout where it belongs from other data. Previously we checked the archivename or folder within. This will fail for archives generated from githubbranches as the plugin would be named "dokuwiki-plugin-foobar" or "master".This implements looking for known plugin type php files, parsing themwith PHP's parser and extracting the class name. The base name is inthat class name.Seems to work fine in my unit and manual tests.
show more ...
Extension Manager: adjust testSince we now protect the currently used template, the test needs to beadjusted.
Extension Manager: small language adjustments
Extension Manager: updated tests
First start at refactoring the extension managerThe aim is to readd the existing functionality into proper classes, thenextend from there.
Update extension.test.phpfix for failing test due to aligned url entryref https://github.com/dokuwiki/dokuwiki/issues/4270#issuecomment-2088208289
PSR-2 for extension plugin
update test groups for the extension manager test
added plugins group to test
added tests for the find_folders method
added a first unit test