Commit Graph

1083 Commits

Author SHA1 Message Date
Eduard Heimbuch
0b90367dab add BranchLinkProvider which returns internal api link for given branch of repository 2020-07-06 16:18:43 +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
Eduard Heimbuch
63692d497a fix sonar findings 2020-06-30 11:25:36 +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
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
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
René Pfeuffer
84947f5097 Adapt test to changed API 2020-06-17 09:30:02 +02:00
Sebastian Sdorra
7deb300c03 merge with develop branch 2020-06-16 19:39:27 +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
4cb898edbb Add annotate rest resource 2020-06-11 17:36:44 +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
2ad3773340 Fix unit test 2020-06-10 11:37:21 +02:00
René Pfeuffer
751a2bfa9b Implement option to load rest of files completely 2020-06-10 11:37:21 +02:00
René Pfeuffer
83145d953b Handle following "real" line breaks correctly 2020-06-10 11:37:21 +02:00
René Pfeuffer
4093e734eb Create links to load more lines in diffs 2020-06-10 11:37:21 +02:00
René Pfeuffer
d09b254f00 Add line limits to content endpoint 2020-06-10 11:37:21 +02:00
Sebastian Sdorra
acc3306450 rename trailer to contributor 2020-06-10 11:08:11 +02:00
René Pfeuffer
a19840ad21 Fix processing multiple changesets
One processor can be used to process multiple chagesets of one
repository. Therefore each processing needs a new clean working
environment.
2020-06-09 07:54:55 +02:00
René Pfeuffer
031605a327 Ignore spaces in empty lines 2020-06-08 13:53:07 +02:00
René Pfeuffer
79c1057dd8 Move class to correct package 2020-06-08 13:10:36 +02:00
René Pfeuffer
587345bde8 Check for trailers only after first empty line 2020-06-08 10:59:48 +02:00
René Pfeuffer
f046ad6db2 Unite trailer detection and message update
The detection of trailers and removing them from the message should be
in one place, not divided between classes.
2020-06-08 08:57:54 +02:00
René Pfeuffer
4fda6daaa0 Naming things 2020-06-08 08:57:54 +02:00
René Pfeuffer
ad864787a7 Refactor trailers
Trailes are no persons, they have a person.
2020-06-08 08:57:54 +02:00
René Pfeuffer
76f2722ff4 Decouple extension point from dto 2020-06-08 08:57:53 +02:00
Eduard Heimbuch
ec57aa88fa add co-authors if available to changeset view
refactor ChangesetAuthor.tsx

get interfaces right / fix unit test / cleanup

fix table layout

use Set constructor injection to bind the implementation for the new changesetTrailers API

cleanup / update CHANGELOG.md

cleanup

fix formatting
2020-06-08 08:57:53 +02:00
Eduard Heimbuch
e451bb618e adjust ChangesetTrailerExtractor so that we don't check if user already exists 2020-06-08 08:57:53 +02:00
Andrzej Polit
bb1126befc Added ChangesetTrailerExtractor 2020-06-08 08:57:53 +02:00
René Pfeuffer
d8af1ea8d0 Test module 2020-06-02 21:31:44 +02:00
Sebastian Sdorra
d84bda2440 use junit TempDir instead of pioneer extension 2020-05-25 09:52:00 +02:00
Sebastian Sdorra
92bd41d99f Merge branch 'develop' into feature/packaging 2020-05-25 06:57:22 +02:00
René Pfeuffer
7636f1e845 Remove temp dir extension and use native junit annotation 2020-05-24 16:05:20 +02:00
Sebastian Sdorra
93eab621ed Merge branch 'develop' into feature/packaging
# Conflicts:
#	Jenkinsfile
#	pom.xml
2020-05-23 15:27:43 +02:00
Eduard Heimbuch
97cac87563 merge with develop 2020-05-20 12:13:47 +02:00
Sebastian Sdorra
f233197ba0 Merge pull request #1159 from scm-manager/bugfix/consolidate_dependencies
Consolidate dependencies
2020-05-20 11:40:04 +02:00
René Pfeuffer
054f320455 Make change types explicit
Without explicit change types, we cannot tell copy and rename apart.
2020-05-19 23:09:28 +02:00
René Pfeuffer
2b1ba7e4f3 Update servlet version 2020-05-19 16:29:40 +02:00
René Pfeuffer
c722565109 Hide getEffectedPaths for other packages 2020-05-19 09:56:24 +02:00
René Pfeuffer
35ffc5c4e2 Introduce new API for modifications
New modifications includes list of 'renames'. Therefore we introduce
a new base class Modification.
2020-05-19 09:56:24 +02:00
René Pfeuffer
5421d41161 Support rename in rest layer 2020-05-19 09:56:24 +02:00
René Pfeuffer
1d27c9df15 Add exception mapper for InvalidFormatException.
This exception is thrown for example when an enum in the input could not
be found. This is an invalid input and therefore should not result in an
internal server error.
2020-05-14 18:05:22 +02:00