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
Various plugin fixes #5577
Various plugin fixes #5577
Conversation
This will: * Clear any previous pending actions of a plugin if you click uninstall * Show the plugin version that was disabled * Show an update button on disabled plugins instead of install * if a plugin is scheduled to be installed/updated, it will show which version was scheduled to be updated. If a newer version if available than the scheduled one, it will show an option to switch to that
a786cff
to
d3063ec
Compare
Note: While we should get this out in the next release, I need to redo how we build this plugin page as it's been constantly added on as complex version features were added to plugins. cc @pavlenex |
@@ -108,6 +108,7 @@ public async Task UploadPlugin(IFormFile plugin) | |||
public void UninstallPlugin(string plugin) | |||
{ | |||
var dest = _dataDirectories.Value.PluginDir; | |||
PluginManager.CancelCommands(dest, plugin); |
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.
This is actually a bugfix where you could end up in a situation of scheduling installs/updates and then scheduling a delete, causing the UI to look unintuitive on what's going to happen until they execute
This will: