Commit Graph

2183 Commits

Author SHA1 Message Date
Sebastian Sdorra
99815f3845 Add version information to plugin tree output 2020-08-11 08:17:40 +02:00
Sebastian Sdorra
c736149461 Remove explicit default constructor 2020-08-11 08:14:07 +02:00
Sebastian Sdorra
77803d36e1 Use field for context and descriptor to avoid passing them to every method 2020-08-11 08:12:27 +02:00
Sebastian Sdorra
50608b0189 Fix minor review mentions 2020-08-11 08:07:06 +02:00
Sebastian Sdorra
0dc84ed94e First check integrity of download, than check if dependencies are fulfilled
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2020-08-10 13:59:30 +02:00
Sebastian Sdorra
d66f0ef141 Fix broken test and missing license headers 2020-08-07 10:52:20 +02:00
Sebastian Sdorra
8b8ef7f826 Verify pending plugins on startup 2020-08-06 21:35:12 +02:00
Sebastian Sdorra
0287724b97 adds verification if name and version of a downloaded plugin matches plugin center information 2020-08-05 16:54:48 +02:00
Sebastian Sdorra
c946c130eb adds verification of dependency versions on plugin installation 2020-08-05 15:28:39 +02:00
Sebastian Sdorra
5b8ec0b85e adds missing bind for RootURL 2020-08-04 06:43:43 +02:00
Sebastian Sdorra
5bf4917914 adds RootURL which resolves the scm root url regardless of the guice scope 2020-08-03 13:37:16 +02:00
Sebastian Sdorra
633bfe7657 Merge pull request #1259 from scm-manager/feature/init_svn_repo_with_trunk
init svn repositories with README.md in trunk folder
2020-07-22 15:04:03 +02:00
Eduard Heimbuch
b1660f5ec7 init svn repositories with README.md in trunk folder 2020-07-22 14:00:52 +02:00
Konstantin Schaper
b3d5f930ea append optional dependencies to webapp dto 2020-07-22 09:55:57 +02:00
Konstantin Schaper
b6ca84cd6c upgrade optional dependencies on plugin installation/upgrade 2020-07-21 15:17:40 +02:00
Konstantin Schaper
38047a25aa Add optional dependencies to plugin descriptors and plugin center dto 2020-07-21 11:39:08 +02:00
Eduard Heimbuch
6c0277e657 remove obsolete extensionpoint 2020-07-07 09:58:48 +02:00
Eduard Heimbuch
46ffdcb5e2 update CHANGELOG.md 2020-07-06 16:24:31 +02:00
Eduard Heimbuch
0b90367dab add BranchLinkProvider which returns internal api link for given branch of repository 2020-07-06 16:18:43 +02:00
Sebastian Sdorra
ef9abdaa6e Merge pull request #1233 from scm-manager/feature/update_dependent_plugins
Update required plugins if available on plugin update
2020-07-03 10:03:45 +02:00
Sebastian Sdorra
aaba45c8d4 removes unused imports 2020-07-03 09:09:39 +02:00
Sebastian Sdorra
b8d2ecfb49 fixes missing content type on migration wizard 2020-07-03 09:08:49 +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
3b0693e744 fix rename namespaces 2020-07-02 16:32:14 +02:00
eheimbuch
359543fc48 Merge pull request #1218 from scm-manager/feature/rename_repo
Feature/rename repo
2020-07-02 08:25:30 +02:00
René Pfeuffer
5baf3bd9c0 Use namespace strategy to set new namespace 2020-07-01 20:25:36 +02:00
René Pfeuffer
a0d9bacd80 Use default implementation to keep compatibility 2020-07-01 17:58:35 +02:00
Sebastian Sdorra
64df54e601 fixes broken migration with an empty security.xml 2020-06-29 14:22:31 +02:00
Eduard Heimbuch
f8640d300e enhance NamespaceStrategy API / improve frontend validation and use namespace extension point in RenameRepository component 2020-06-29 13:23:42 +02:00
Eduard Heimbuch
7fa256bedb move rename logic to repository manager 2020-06-26 14:19:06 +02:00
Eduard Heimbuch
73aed0c610 inject scmEventBus with constructor injection 2020-06-25 12:28:26 +02:00
Eduard Heimbuch
cd8a9873a9 - add global rename repositories permission
- add api call on rename action
2020-06-25 10:49:59 +02:00
Eduard Heimbuch
59c0b152f5 add rest endpoint for renaming repository name and namespace 2020-06-23 16:07:38 +02:00
Sebastian Sdorra
74431664d8 Merge pull request #1201 from scm-manager/bugfix/mind_custom_repo_dir_in_migration
Mind custom directories for repository types in migration
2020-06-18 07:27:34 +02:00
Sebastian Sdorra
c16c6e006e removes unused import 2020-06-17 17:25:41 +02:00
René Pfeuffer
4079b739bc Mind custom directories for repository types in migration
In the migration of the repositories from 1.x to 2.x we did not mind
the possibility, that you could configure custom directories for the
different repository types in 1.x. With this fix we read these
configurations (when they exist) to find the correct repository
directories.
2020-06-17 16:31:02 +02:00
Sebastian Sdorra
0b7e000860 simplified fetch of single changeset 2020-06-17 16:26:21 +02:00
Eduard Heimbuch
0738cb1ff4 find single changeset for shortened changesetId 2020-06-17 15:40:39 +02:00
eheimbuch
091d426cbe Merge pull request #1196 from scm-manager/feature/annotate
Annotate View
2020-06-17 13:29:26 +02:00
Sebastian Sdorra
7deb300c03 merge with develop branch 2020-06-16 19:39:27 +02:00
René Pfeuffer
7f3f47c4c8 Close file lists
Though we could not reproduce an error even with real big file
structures (100 directories, containing each another 100 directories
with 100 files each), it may be safer to make sure the streams will
really be closed in the end and recommended in the javadoc description
for Files#list
(https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html#list-java.nio.file.Path-)
2020-06-16 11:51:50 +02:00
René Pfeuffer
c675b77470 Set new plugin center url in update step
Fixes the issue, that migrated instances of SCM-Manager still use the
old plugin center url and therefore cannot read the new plugins.
2020-06-15 11:25:28 +02:00
René Pfeuffer
92d7b7703a Add "annotations" button to sources view 2020-06-12 17:27:32 +02:00
René Pfeuffer
6fea201cc7 Fix loading plugin resources without context path
When the context path is set to '/', we get an empty context
path. Nonetheless the URL has to start with a '/'. So we have
to add it explicitly, here.
2020-06-12 14:21:52 +02:00
René Pfeuffer
4cb898edbb Add annotate rest resource 2020-06-11 17:36:44 +02:00
René Pfeuffer
c16c4893ae Use new fct. getMapperClass of mapstruct 2020-06-11 15:43:25 +02:00
René Pfeuffer
0b30c4f94b Encapsulate dependencies for repository resource 2020-06-11 14:58:34 +02:00
Sebastian Sdorra
82f4dd08c1 merge with develop 2020-06-11 08:21:06 +02:00
René Pfeuffer
b8dc613c78 Add simple performance optimization 2020-06-10 14:32:59 +02:00
René Pfeuffer
4e69d03678 Document query parameters 2020-06-10 14:00:45 +02:00