Commit Graph

3478 Commits

Author SHA1 Message Date
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
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
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
René Pfeuffer
5d7641f129 Use source branch for lines 2020-06-10 11:37:22 +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
ebfc267b93 Patch hunks with new lines 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
69361fb5ed Add single trailers, not collection
Doing so will prevent empty collections being added to the trailers.
2020-06-08 14:33:18 +02:00
René Pfeuffer
a7585b4fc0 Move trailers to own component
We have to use a dedicated component because we have to use the
translations from 'plugins', so that other plugins can contribute their
own trailer types with their own descriptions.
2020-06-08 14:32:06 +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
f03c35b7fd Use regex for trailer line detection 2020-06-08 08:57:54 +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
4d072675ad Compute trailers in changeset pre processing
Doing so, the trailers are available for other plugins inspecting
changesets, not only for the frontend.
2020-06-08 08:57:54 +02:00
René Pfeuffer
4fda6daaa0 Naming things 2020-06-08 08:57:54 +02:00
René Pfeuffer
88d4490da9 Remove wrong last line break from commit message 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
CES Marvin
a3e4c1ddf4 prepare for next development iteration 2020-06-04 09:41:11 +00:00
CES Marvin
4ae098e3b6 release version 2.0.0 2020-06-04 09:03:17 +00:00
René Pfeuffer
8528c0cfc1 Fix sonar issues 2020-06-02 21:48:28 +02:00
René Pfeuffer
a32bd01c45 Fix peer review issues 2020-06-02 21:32:06 +02:00
René Pfeuffer
d8af1ea8d0 Test module 2020-06-02 21:31:44 +02:00
René Pfeuffer
f74b7626eb New package for working copy related classes 2020-06-02 21:31:44 +02:00
René Pfeuffer
8bd17a03d7 Use better names
The name 'workdir' is now only used for a concrete directory, where a
clone can be created in. The new name 'working copy' is used for a
concrete instance of such a directory, where a clone has been created in
for a repository stored in SCM-Manager. Such a working copy can be
cached and reused for further changes.
2020-06-02 21:31:43 +02:00
René Pfeuffer
5b034f8d02 Introduce cache layer for workdirs 2020-06-02 21:31:43 +02:00
René Pfeuffer
c92119f5eb Merge pull request #1165 from scm-manager/feature/packaging
Feature/packaging
2020-06-02 11:06:06 +02:00
snyk-bot
509057b06d fix: upgrade org.hibernate.validator:hibernate-validator from 6.1.4.Final to 6.1.5.Final
Snyk has created this PR to upgrade org.hibernate.validator:hibernate-validator from 6.1.4.Final to 6.1.5.Final.

See this package in NPM:
https://www.npmjs.com/package/org.hibernate.validator:hibernate-validator

See this project in Snyk:
https://app.snyk.io/org/scm-manager/project/e67572ee-5940-4f2b-93b0-dced62d7ed85?utm_source=github&utm_medium=upgrade-pr
2020-05-30 01:36:02 +00:00
Sebastian Sdorra
13f57a2750 Merge branch 'develop' into feature/packaging 2020-05-27 12:21:27 +02:00
Sebastian Sdorra
d84bda2440 use junit TempDir instead of pioneer extension 2020-05-25 09:52:00 +02:00
René Pfeuffer
b290891b52 Let build break on duplicates in classpath 2020-05-25 07:45:59 +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
René Pfeuffer
7a274abf0f Replace el api with implementation from glassfish
Somehow, plugins failed to start without this.
2020-05-20 12:20:49 +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
96c057090e Remove glassfish copy of javax.el 2020-05-20 09:48:27 +02:00
René Pfeuffer
baf868b758 Configure duplicate finder to exclude test dependencies 2020-05-20 09:25:22 +02:00