Searched hist:a1ef4d6260401c454faedc5d90cb3887bb07a19c (Results 1 – 5 of 5) sorted by relevance
| /dokuwiki/lib/plugins/extension/_test/testdata/plugin3/ |
| H A D | syntax.php | a1ef4d6260401c454faedc5d90cb3887bb07a19c Tue Jul 22 21:04:53 UTC 2025 Andreas Gohr <gohr@cosmocode.de> ExtensionManager: get base from plugin classes. fixes #4484
When installing a plugin that has no plugin.info.txt, we need to figure out where it belongs from other data. Previously we checked the archive name or folder within. This will fail for archives generated from github branches as the plugin would be named "dokuwiki-plugin-foobar" or "master".
This implements looking for known plugin type php files, parsing them with PHP's parser and extracting the class name. The base name is in that class name.
Seems to work fine in my unit and manual tests.
|
| /dokuwiki/lib/plugins/extension/_test/ |
| H A D | InstallerTest.php | a1ef4d6260401c454faedc5d90cb3887bb07a19c Tue Jul 22 21:04:53 UTC 2025 Andreas Gohr <gohr@cosmocode.de> ExtensionManager: get base from plugin classes. fixes #4484
When installing a plugin that has no plugin.info.txt, we need to figure out where it belongs from other data. Previously we checked the archive name or folder within. This will fail for archives generated from github branches as the plugin would be named "dokuwiki-plugin-foobar" or "master".
This implements looking for known plugin type php files, parsing them with PHP's parser and extracting the class name. The base name is in that class name.
Seems to work fine in my unit and manual tests.
|
| /dokuwiki/lib/plugins/extension/ |
| H A D | Extension.php | a1ef4d6260401c454faedc5d90cb3887bb07a19c Tue Jul 22 21:04:53 UTC 2025 Andreas Gohr <gohr@cosmocode.de> ExtensionManager: get base from plugin classes. fixes #4484
When installing a plugin that has no plugin.info.txt, we need to figure out where it belongs from other data. Previously we checked the archive name or folder within. This will fail for archives generated from github branches as the plugin would be named "dokuwiki-plugin-foobar" or "master".
This implements looking for known plugin type php files, parsing them with PHP's parser and extracting the class name. The base name is in that class name.
Seems to work fine in my unit and manual tests.
|
| H A D | Installer.php | a1ef4d6260401c454faedc5d90cb3887bb07a19c Tue Jul 22 21:04:53 UTC 2025 Andreas Gohr <gohr@cosmocode.de> ExtensionManager: get base from plugin classes. fixes #4484
When installing a plugin that has no plugin.info.txt, we need to figure out where it belongs from other data. Previously we checked the archive name or folder within. This will fail for archives generated from github branches as the plugin would be named "dokuwiki-plugin-foobar" or "master".
This implements looking for known plugin type php files, parsing them with PHP's parser and extracting the class name. The base name is in that class name.
Seems to work fine in my unit and manual tests.
|
| H A D | cli.php | a1ef4d6260401c454faedc5d90cb3887bb07a19c Tue Jul 22 21:04:53 UTC 2025 Andreas Gohr <gohr@cosmocode.de> ExtensionManager: get base from plugin classes. fixes #4484
When installing a plugin that has no plugin.info.txt, we need to figure out where it belongs from other data. Previously we checked the archive name or folder within. This will fail for archives generated from github branches as the plugin would be named "dokuwiki-plugin-foobar" or "master".
This implements looking for known plugin type php files, parsing them with PHP's parser and extracting the class name. The base name is in that class name.
Seems to work fine in my unit and manual tests.
|