Commit Graph

2186 Commits

Author SHA1 Message Date
Eduard Heimbuch
4afed7cb74 migrate securityV1 permissions 2019-07-16 16:26:34 +02:00
Eduard Heimbuch
8d6dcd6b2b fix permissions for dry-run 2019-07-15 16:23:15 +02:00
Eduard Heimbuch
922ada38ca Merged in feature/plugin_center (pull request #284)
Feature/plugin center
2019-07-11 11:31:35 +00:00
Eduard Heimbuch
30a8925510 remove version from pluginLink 2019-07-11 13:29:53 +02:00
Rene Pfeuffer
77aca0531e Small fixes 2019-07-11 13:13:03 +02:00
Eduard Heimbuch
1283b06e98 cleanup / revert UIPlugin changes 2019-07-10 10:46:42 +02:00
Eduard Heimbuch
5c473792ef add PermissionCheck for Plugins 2019-07-10 08:21:05 +02:00
Eduard Heimbuch
f008faabcb add IndexEnricher 2019-07-10 08:11:19 +02:00
Eduard Heimbuch
3c0c490530 merged 2019-07-09 17:05:35 +02:00
Eduard Heimbuch
64d3153347 create new Endpoints and Resources for Plugins 2019-07-09 17:04:29 +02:00
Florian Scholdei
4ef767c480 used only english translation as miscellaneous category for plugins 2019-07-09 16:24:43 +02:00
Eduard Heimbuch
dffe0d07f2 deactivate available plugins in navigation 2019-07-08 15:16:31 +02:00
Eduard Heimbuch
4e2e742d10 map Category to Frontend 2019-07-08 14:43:43 +02:00
Sebastian Sdorra
2cdcf78c91 Merged in feature/redirect_migrated_repositories (pull request #277)
Feature redirect migrated repositories
2019-07-08 09:38:17 +00:00
Sebastian Sdorra
eae6b21b50 Merged in bugfix/check_permissions_for_permissions (pull request #281)
Check permissions to read permissions
2019-07-08 09:03:26 +00:00
Eduard Heimbuch
97c10a867c merged 2019-07-05 08:03:55 +02:00
Florian Scholdei
bdda8fe7e1 added todo 2019-07-04 17:35:00 +02:00
Eduard Heimbuch
b10804b11c Merged in feature/migrate_lfs (pull request #275)
Migrate git LFS blob directory
2019-07-04 12:24:45 +00:00
Rene Pfeuffer
170e49ab15 Log class name of update step 2019-07-04 14:17:45 +02:00
Florian Scholdei
a03a666afe added more information too PluginDto 2019-07-03 16:38:07 +02:00
Rene Pfeuffer
c16aeed96d Check permissions to read permissions 2019-07-03 16:23:27 +02:00
René Pfeuffer
dc7407d6e5 Fix guice binding 2019-07-03 07:58:38 +02:00
René Pfeuffer
c35363b79f Store repository id in git config for each repository
This is needed after migration from v1 to v2 and is done in
GitV1UpdateStep.java. Therefore we hat to make the 'forAllPaths' method
in PathBasedRepositoryLocationResolver available in the interface of
RepositoryLocationResolver.
2019-07-03 07:48:06 +02:00
René Pfeuffer
f631dc1724 Redirect protocol requests for migrated repositories
- Make old repository name and id available to plugins (MigrationDAO)
- Build Map with paths of migrated repositories to new location
- Implement redirect (RepositoryLegacyProtocolRedirectFilter)
2019-07-02 10:46:26 +02:00
René Pfeuffer
c881a3eca7 Store original repository name in migration plan 2019-07-01 15:30:03 +02:00
René Pfeuffer
7db3350439 Migrate git LFS blob directory 2019-07-01 14:17:32 +02:00
René Pfeuffer
cedf5019b0 Remove redundant 'class' 2019-07-01 10:57:11 +02:00
René Pfeuffer
67f9dcc5cf Add logging if previous version is too old 2019-06-27 10:17:34 +02:00
Sebastian Sdorra
c7700a8ddd remove SunAwtAppContextInitiator, because it cases a lot of exceptions 2019-06-26 15:52:54 +02:00
Sebastian Sdorra
8108d9f76e do not ignore InterruptedException, re-interrupt method instead 2019-06-26 14:50:23 +02:00
Sebastian Sdorra
572caedd73 remove mutable field from servlet, use servletcontext attribute instead of field instance 2019-06-26 14:46:14 +02:00
Sebastian Sdorra
bc4d6bfa74 merge with 2.0.0-m3 2019-06-26 09:27:52 +02:00
Eduard Heimbuch
802dfd73ca Merged in feature/updatestep_api_for_plugins (pull request #273)
Feature/updatestep api for plugins
2019-06-25 12:25:05 +00:00
Sebastian Sdorra
30503158dd remove unused constants and indent 2019-06-25 13:22:32 +02:00
Sebastian Sdorra
ebb23981b2 merge with 2.0.0-m3 2019-06-25 09:53:44 +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
6efa6ff29f remove HttpSessionListener, because SCMv2 does not use server side sessions anymore 2019-06-25 09:15:30 +02:00
Sebastian Sdorra
c7365b74da move StaticResourceServlet to package sonia.scm 2019-06-25 08:41:02 +02:00
Sebastian Sdorra
99f1c8c55e rename package sonia.scm.boot to sonia.scm.lifecycle 2019-06-25 08:36:57 +02:00
Sebastian Sdorra
56c7fcc114 move Resteasy cleanup into the ResteasyAllInOneServletDispatcher 2019-06-25 08:31:49 +02:00
René Pfeuffer
1e586b020c Make sure task is not executed after is has cancelled himself 2019-06-24 17:51:38 +02:00
Sebastian Sdorra
9662b8a00b simplify scm-manager bootstrap
We have simplified the scm-manager bootstrap process, by replacing the
ServletContextListener call hierarchy with much simpler ModuleProviders.
We have also removed the parent injector. Now we create always a new
injector. If something goes wrong in the process of injector creation,
we will show a nicely styled error page instead of stacktrace on a white
page.
2019-06-24 16:59:28 +02:00
René Pfeuffer
553997e7f0 Add documentation 2019-06-21 15:32:25 +02:00
René Pfeuffer
75cd5165e3 Add file tools for v1 xml stores 2019-06-21 14:35:57 +02:00
Sebastian Sdorra
6c064a005a implemented optional injection of ServletContextListeners 2019-06-21 09:50:03 +02:00
Sebastian Sdorra
de5bee4947 refactor listener modules 2019-06-21 09:29:06 +02:00
Sebastian Sdorra
bacdf4d711 close every registered Closeable, instead of explicitly close a special set of instances 2019-06-21 08:41:26 +02:00
Sebastian Sdorra
43777f1e27 move bootstrapping of plugins into own class PluginBootstrap 2019-06-21 08:32:58 +02:00
René Pfeuffer
9581bf946b Enable plugins to create config stores for repository config
Therefore we have to
- add an API to create stores for repository ids, not only for
  repositories,
- make v1 properties available in scm-core
- make sure that properties are extracted from repositories before the
  update step of a plugin runs (this is done by sorting the update steps
  in a way so that "core" update steps are executed before plugin update
  steps with the same version)
2019-06-20 16:12:16 +02:00
Sebastian Sdorra
eec4b282e6 remove MBeanCleanUp step to avoid exception on restart 2019-06-20 15:09:12 +02:00