Commit Graph

44 Commits

Author SHA1 Message Date
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
ba59713c7f fix unit test 2019-09-16 14:07:48 +02:00
Rene Pfeuffer
88ed3ff023 Add uninstall method to plugin manager 2019-09-16 13:22:26 +02:00
Rene Pfeuffer
14451897b2 Introduce PluginDependencyTracker 2019-09-16 11:42:26 +02:00
Eduard Heimbuch
5606854846 merged 2.0.0 2019-09-16 11:01:33 +02:00
Rene Pfeuffer
0142258705 Extract plugin creation for unit tests to util class 2019-09-16 09:55:38 +02:00
Rene Pfeuffer
0fdd1cea17 Detect core plugins and prevent installation 2019-09-11 16:46:27 +02:00
Rene Pfeuffer
202a638a0f Show updatable plugins 2019-09-11 14:51:38 +02:00
Sebastian Sdorra
769207c2c1 fixed compilation error 2019-08-27 15:33:30 +02:00
Sebastian Sdorra
1acdb44c47 Merged in bugfix/ignore_old_plugin_dir (pull request #296)
ignore old plugins folder
2019-08-27 12:30:25 +00:00
Sebastian Sdorra
b36c2dd698 use nio api and added test for plugin directory check 2019-08-27 13:59:14 +02:00
Sebastian Sdorra
0ce9aeb400 remove deprecated PluginState 2019-08-21 16:10:17 +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
7ef4b30027 remove downloaded artifact on error 2019-08-21 07:56:52 +02:00
Sebastian Sdorra
e0fa09fd04 improve hash calculation and use nio file apis 2019-08-21 07:44:50 +02:00
Sebastian Sdorra
8db2bbb28d PluginInstaller returns now PendingPluginInstallation, to abort the installation before restart 2019-08-20 16:38:29 +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
1a01216f62 renamed Plugin to InstalledPluginDescriptor and added PluginDescriptor interface 2019-08-20 08:05:41 +02:00
Sebastian Sdorra
ae19ad9327 renamed PluginWrapper to InstalledPlugin 2019-08-20 07:54:00 +02:00
Sebastian Sdorra
056a81d9f9 fixed dependency mapping 2019-08-20 07:53:17 +02:00
Sebastian Sdorra
55e4568ee5 use mapstruct for dto mapping and fix missing fields 2019-08-15 17:01:15 +02:00
Eduard Heimbuch
785e5e1142 refactor plugin backend + fix tests 2019-07-29 11:52:53 +02:00
Sebastian Sdorra
80febf9424 added modules, classloading and view packages to sonia.scm.lifecycle 2019-06-25 09:49:52 +02:00
Sebastian Sdorra
99f1c8c55e rename package sonia.scm.boot to sonia.scm.lifecycle 2019-06-25 08:36:57 +02:00
Sebastian Sdorra
91fd259f07 use ClassLoaderLeakPreventor to reduce ClassLoaderLeaks of plugins 2019-06-19 11:52:20 +02:00
Sebastian Sdorra
8bf82213b8 remove unused imports 2019-01-30 14:48:37 +01:00
Sebastian Sdorra
1b60095373 do not cache resource urls in development stage, to avoid stale data 2018-10-29 14:55:56 +01:00
Sebastian Sdorra
ee8efe9cf5 do not return directories from WebResourceLoader 2018-08-23 14:48:11 +02:00
René Pfeuffer
67278582e3 Update to Mockito v2 2018-08-08 09:20:08 +02:00
Sebastian Sdorra
1bd4743444 added unit test for plugin updates 2014-12-07 18:28:24 +01:00
Sebastian Sdorra
d31be767d8 added unit test for PluginProcessor 2014-12-06 14:02:16 +01:00
Sebastian Sdorra
b465e4b18b introduce scm version to be sure the plugin is for the correct scm-manager major version 2014-09-13 20:07:07 +02:00
Sebastian Sdorra
a3be1c775b implement WebResourceLoaders for loading plugin web resources 2014-08-27 21:01:05 +02:00
Sebastian Sdorra
a8d9d8b9b6 fix/suppress compiler warnings 2014-08-19 21:45:23 +02:00
Sebastian Sdorra
301cc19290 implement option for plugins to use child first classloaders 2014-08-19 21:01:11 +02:00
Sebastian Sdorra
e569d916e9 build plugin tree 2014-08-19 19:30:13 +02:00
Sebastian Sdorra
c079fb062a added MultiParentClassLoader 2014-08-19 15:46:18 +02:00
Sebastian Sdorra
c5399823a7 use jaxb to parse plugin descriptor 2014-07-13 13:47:35 +02:00
Sebastian Sdorra
4afc54bb20 install plugins in the right order 2014-07-13 09:47:14 +02:00