-
-
Notifications
You must be signed in to change notification settings - Fork 897
Extension manager #284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension manager #284
Conversation
This uses a lot of code and the whole design from the previous extension manager implementation.
…to extension_manager * 'extension_manager' of github.com:splitbrain/dokuwiki: Extension manager: Implement extension table Extension manager: implement uninstall, canModify and install/update Extension manager: Improve update check Extension manager: Use getInfo() when no info.txt is available Extension manager: fix install dir for templates Extension manager: add language file and simple admin component Extension manager: implemented more extension info and basic repository access Extension manager: First draft of the extension class
this is not a extension specific cache but a global one. no need to purge for each installed extension
@selfthinker I can't reproduce it with Firefox and git installed plugins either. it's probably some interfering script from a different plugin. |
Ah, I got it! In order to make it easier to fix HTML errors, I switched the template to be served as And that |
} | ||
$this->setExtension($this->getID()); | ||
$this->purgeCache(); | ||
}catch (Exception $e){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try/catch not needed
From just reading the source, the extension manager makes a very good impression :-) I put all my comments in the source - but havn't test it ;-) |
The dis-/en-abling of testing plugin feels wrong. Reproduce 1:
When you reload the page it's OK again. Disabling is the same behavior. |
they were just catching and rethrowing
PHP_EOL is platform dependent, so you get in trouble while migrating between platforms.
The search has no "nothing found" text. |
The filename found in the URL will be used for old plugins missing a base entry in their plugin.info.txt and lacking a subdirectory inside the archive as well. This patch makes sure possible query strings aren't included in the filename. Note: io_download() will also try to get a filename from any content-disposition header. If no filename can be found we simply use an md5 sum of the URL and hope the plugin will contain it's own hint for naming.
IMHO it would be nice to close the screenshot overlay with the esc key |
maybe i can do some x-browser tests in the next days. (downloading the testing vms atm) |
hey @dom-mel thanks a lot for your review.
|
Hi @splitbrain,
|
I think we can live with that since the testing plugin is not part of the |
The testing plugin is part of the regular release. |
really? it shouldn't. it makes no sense without the test suite. |
This is the new extension manager as started by @michitux at the hackfest. I continued work on it and brought it to a state that's usable and mergable in my opinion. Note: this is a complete rewrite and just reuses the look'n'feel of Piyush's project.
Things that should be done before merging (preferable by people other than me):