Commit Graph

106 Commits

Author SHA1 Message Date
Eduard Heimbuch
8db2e76ecc Resolve plugin installation conflict were the same plugin was tried to be installed multiple times for one single action. (#2138)
The pending queue is updated after all the plugins to be installed are collected, and then we already may have duplicate entries. Because of this we check right on the collecting step if the plugin was already added during this single action.
2022-10-20 20:38:58 +02:00
Eduard Heimbuch
fc28da90b3 Enable plugin management via CLI (#2087)
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-07-19 09:02:00 +02:00
Konstantin Schaper
1b18191c57 Add plugin wizard initialization step (#2045)
Adds a new initialization step after setting up the initial administration account that allows administrators to initialize the instance with a selection of plugin sets.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-05-31 15:15:30 +02:00
Eduard Heimbuch
831877564d Fix null check 2021-03-10 15:12:21 +01:00
René Pfeuffer
b67a0cb89d Improve logging for failures during plugin installation 2020-11-24 18:31:18 +01:00
Eduard Heimbuch
a36c0e2a16 Fix plugin installation error if previously a plugin was installed with the same dependency which is still pending. 2020-08-25 16:29:16 +02:00
Sebastian Sdorra
50608b0189 Fix minor review mentions 2020-08-11 08:07:06 +02:00
Sebastian Sdorra
8b8ef7f826 Verify pending plugins on startup 2020-08-06 21:35:12 +02:00
Sebastian Sdorra
c946c130eb adds verification of dependency versions on plugin installation 2020-08-05 15:28:39 +02:00
Konstantin Schaper
b6ca84cd6c upgrade optional dependencies on plugin installation/upgrade 2020-07-21 15:17:40 +02:00
René Pfeuffer
e3eb8a99d0 Update required plugins if available
When plugins are updated, we should update required plugins, too, so
that we do not get errors when new plugins use features not available
in the old versions of required plugins.
2020-07-03 07:22:06 +02:00
Eduard Heimbuch
63e5d2f23d Change the "manage" plugin permission to "write". This way we don't need a migration because the plugin manage permission was already saved as "plugin:read,write" 2020-05-05 10:55:23 +02:00
Eduard Heimbuch
405bc392a8 move events to scm-core / move subscriber to landingpage-plugin 2020-04-02 10:43:07 +02:00
Eduard Heimbuch
548bf97c57 make scm-webapp depend optional of scm-landingpage-plugin // add some events for landingpage 2020-04-01 16:01:26 +02:00
Sebastian Sdorra
967c802588 merge with develop 2020-03-24 10:17:57 +01:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
Sebastian Sdorra
de3db6252e implemented restarter to move control over the restart process to the core 2020-02-12 14:45:13 +01:00
Rene Pfeuffer
6c023f7d56 Fix sonar issue 2019-11-25 14:15:43 +01:00
Rene Pfeuffer
450ed7bd4e Fix unit test 2019-11-25 08:15:13 +01:00
Rene Pfeuffer
aedf34c581 Postpone restart after plugin (de)installation 2019-11-22 15:43:58 +01:00
Rene Pfeuffer
aded308138 Error handling for plugin installation/uninstallaion 2019-10-01 09:33:48 +02:00
Eduard Heimbuch
78b17c17e8 clear queues after abort pending changes / do not restart after update all plugins 2019-09-28 15:28:40 +02:00
Eduard Heimbuch
333579ef2a cancel installation on pending plugins 2019-09-28 11:44:39 +02:00
Eduard Heimbuch
e1dd393cce add collection update link if atleast one plugin is updatable 2019-09-27 16:07:25 +02:00
Eduard Heimbuch
281d812065 add rest api updateAllPlugins 2019-09-27 15:30:21 +02:00
Rene Pfeuffer
3b34cb5278 Rename method and check permission 2019-09-27 11:46:14 +02:00
Rene Pfeuffer
3145b751c6 Add cancel method to remove install and uninstall files 2019-09-26 17:50:54 +02:00
Rene Pfeuffer
ac4eca7520 Fetch exception when uninstall file could not be written 2019-09-26 16:51:26 +02:00
Eduard Heimbuch
1e5c5d907a remove unnecessary method mark plugin as core plugin 2019-09-19 11:21:46 +02:00
Eduard Heimbuch
913b7080fd mark installed plugin as core after server started 2019-09-18 15:47:58 +02:00
Rene Pfeuffer
f53f6f0a25 Execute restart, when there are only plugins to uninstall 2019-09-18 08:35:59 +02:00
Eduard Heimbuch
7c029a9b76 merge 2.0.0 / rename installPending to executePending 2019-09-17 10:36:52 +02:00
René Pfeuffer
fc319f90e3 Append uninstall links 2019-09-16 17:50:05 +02:00
Rene Pfeuffer
5a8ed638dd Mirror uninstall state in plugin object 2019-09-16 14:32:14 +02:00
Rene Pfeuffer
7ec2b0c31d Delete plugins marked for uninstall 2019-09-16 14:27:56 +02:00
Rene Pfeuffer
38f05fe689 Prohibit uninstallation of core plugins 2019-09-16 14:12:49 +02:00
Rene Pfeuffer
1bc8dea481 Merge with update plugins feature 2019-09-16 14:10:27 +02:00
Rene Pfeuffer
88ed3ff023 Add uninstall method to plugin manager 2019-09-16 13:22:26 +02:00
Rene Pfeuffer
0fdd1cea17 Detect core plugins and prevent installation 2019-09-11 16:46:27 +02:00
Rene Pfeuffer
a7cb1d3116 Make updatable plugins installable 2019-09-11 15:05:25 +02:00
Rene Pfeuffer
202a638a0f Show updatable plugins 2019-09-11 14:51:38 +02:00
Sebastian Sdorra
9514a94492 handle pending plugin installations 2019-08-21 12:49:15 +02:00
Sebastian Sdorra
25cb0d6a25 implemented restart after installation 2019-08-21 11:22:49 +02:00
Sebastian Sdorra
5694a953af implemented permission checks 2019-08-21 09:25:44 +02:00
Sebastian Sdorra
de7d18e026 cancel all pending installations, if a dependency failed to install 2019-08-21 08:42:57 +02:00
Sebastian Sdorra
e24673be0a implemented plugin installation 2019-08-20 14:43:48 +02:00
Sebastian Sdorra
9d66f14627 implement simplified PluginManager API 2019-08-20 12:29:59 +02:00
Sebastian Sdorra
3f1521bcca create new simplified PluginManager API 2019-08-20 10:33:57 +02:00
Sebastian Sdorra
0aaec1174a introduce Plugin interface 2019-08-20 08:10:30 +02:00
Sebastian Sdorra
1a01216f62 renamed Plugin to InstalledPluginDescriptor and added PluginDescriptor interface 2019-08-20 08:05:41 +02:00