Commit Graph

2121 Commits

Author SHA1 Message Date
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
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
Sebastian Sdorra
92bd41d99f Merge branch 'develop' into feature/packaging 2020-05-25 06:57:22 +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
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
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
Eduard Heimbuch
ee82c0d0aa move EdisonHalAppender to scm-core because we need it for plugins 2020-05-13 11:39:22 +02:00
Eduard Heimbuch
63e5d2f23d Change the "manage" plugin permission to "write". This way we don't need a migration because the plugin manage permission was already saved as "plugin:read,write" 2020-05-05 10:55:23 +02:00
Sebastian Sdorra
8e332575cb added missing license header 2020-05-03 11:41:41 +02:00
Sebastian Sdorra
bac253d276 implemented restart strategy for windows services 2020-05-03 11:23:42 +02:00
René Pfeuffer
32109a32f6 Map jaxb violation exceptions instead of reaseasy
ResteasyViolationException implements jaxb's
ConstraintViolationException.
2020-04-30 17:39:08 +02:00
Sebastian Sdorra
6e120cdd00 start packaging for windows 2020-04-27 07:11:02 +02:00
Sebastian Sdorra
dbca56ce6b use /Users/<your_user_name>/Logs/SCM-Manager as log directory on OSX 2020-04-25 16:49:33 +02:00
Sebastian Sdorra
6da7efdb9b fixed missing servlets and filters
WebElements with same attributes are not bound, because they are stored in a HashSet and the fields from the parent class were not used for hashCode and equals. The equals and hashCode methods of WebElementDescriptor are now taking the fields of ClassElement in account.
2020-04-16 13:49:43 +02:00
Sebastian Sdorra
0d4976ecf1 fixed some sonarqube findings 2020-04-16 12:03:12 +02:00
Sebastian Sdorra
81e8dc428c support requires annotation on WebElements 2020-04-16 11:57:38 +02:00
Eduard Heimbuch
347417e247 remove requires value from extension annotation and add new requires annotation instead 2020-04-07 12:49:25 +02:00
René Pfeuffer
cadeafd8c4 Merge remote-tracking branch 'origin/develop' into feature/add_events_for_landingpage 2020-04-03 16:49:19 +02:00
Eduard Heimbuch
b369fac1e8 rename PluginCenterEvent 2020-04-02 13:37:05 +02:00
Eduard Heimbuch
405bc392a8 move events to scm-core / move subscriber to landingpage-plugin 2020-04-02 10:43:07 +02:00
Eduard Heimbuch
548bf97c57 make scm-webapp depend optional of scm-landingpage-plugin // add some events for landingpage 2020-04-01 16:01:26 +02:00
Florian Scholdei
eea39d512c Merge remote-tracking branch 'origin/develop' into feature/core_doku 2020-04-01 08:39:00 +02:00
Sebastian Sdorra
7917bfdab8 merge with develop branch 2020-03-26 11:40:47 +01:00
Florian Scholdei
ac66e6097e Fix old Bitbucket Wikilinks to Github docs 2020-03-26 10:57:31 +01:00
Sebastian Sdorra
e69cf1f7bb Merge branch 'develop' into feature/favourite_repository 2020-03-26 09:27:11 +01:00
René Pfeuffer
342ab199a5 Merge pull request #1079 from scm-manager/feature/real_jvm_restart
Real jvm restart
2020-03-26 08:36:41 +01:00
René Pfeuffer
24c7cb0b67 Ensure that context is destroyed on restart 2020-03-26 07:24:58 +01:00
René Pfeuffer
7247a81c9d Use exceptions with explicit messages 2020-03-25 15:31:20 +01:00
René Pfeuffer
af45388c27 Add documentation 2020-03-25 14:03:33 +01:00
René Pfeuffer
e38245e5bf Check for command before promotion 2020-03-25 11:12:02 +01:00
Eduard Heimbuch
16c89f4b9f Merge branch 'develop' of github.com:scm-manager/scm-manager into feature/favourite_repository 2020-03-25 10:28:58 +01:00
Eduard Heimbuch
fd12464af4 add RepositoryToHalMapper as interface to map a repositoryDto outside of webapp 2020-03-25 09:54:12 +01:00
Sebastian Sdorra
88a851d817 do not create config.xml during unit test 2020-03-25 09:45:23 +01:00