Commit Graph

2108 Commits

Author SHA1 Message Date
René Pfeuffer
1ce2772a35 Trailer has to be serializable to be cached with changesets 2020-06-08 12:15:23 +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
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
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
3a68e5ff2b Rename class 2020-06-02 21:31:44 +02:00
René Pfeuffer
77d6784386 Remove unnecessary interfaces 2020-06-02 21:31:44 +02:00
René Pfeuffer
7e945afc43 Keep ParentAndClone inside working copy factories 2020-06-02 21:31:44 +02:00
René Pfeuffer
73ef559213 Remove function creep 2020-06-02 21:31:44 +02:00
René Pfeuffer
0f7e3563e1 Fix doc 2020-06-02 21:31:44 +02:00
René Pfeuffer
d6b618f0ec Remove superfluous exception class 2020-06-02 21:31:44 +02:00
René Pfeuffer
3c808bf171 Use existing RepositoryProvider 2020-06-02 21:31:44 +02:00
René Pfeuffer
4c73f27389 Make reclaimer and initializer top level classes 2020-06-02 21:31:44 +02:00
René Pfeuffer
62a47d016f Document SimpleGitWorkingCopyFactory 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
e968aa17ef Cleanup 2020-06-02 21:31:44 +02:00
René Pfeuffer
fcdd2243c3 Cleanup 2020-06-02 21:31:43 +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
5f96244b9b Add shutdown 2020-06-02 21:31:43 +02:00
René Pfeuffer
7ddb528414 Rethrow runtime exceptions to keep intention 2020-06-02 21:31:43 +02:00
René Pfeuffer
0a87f4b872 Fix put to cache check
putIfAbsent should return null, whenever there was no value for the key
before it was put with the call. But however this does not seem to work
with the concurrent hash map (liskov?)
2020-06-02 21:31:43 +02:00
René Pfeuffer
f6a19b2ed7 Stop time for workdir cache 2020-06-02 21:31:43 +02:00
René Pfeuffer
b22909adc0 CLean up workdir cache aoi 2020-06-02 21:31:43 +02:00
René Pfeuffer
7e89a0c1c0 Update repositories in reclaim 2020-06-02 21:31:43 +02:00
René Pfeuffer
5b034f8d02 Introduce cache layer for workdirs 2020-06-02 21:31:43 +02:00
Eduard Heimbuch
060cd6f47e merge with develop 2020-05-25 13:26:07 +02:00
René Pfeuffer
7636f1e845 Remove temp dir extension and use native junit annotation 2020-05-24 16:05:20 +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
2b1ba7e4f3 Update servlet version 2020-05-19 16:29:40 +02:00
René Pfeuffer
541d6ee0c6 Support copy and renamed modifications for hg 2020-05-19 09:56:24 +02:00
René Pfeuffer
c722565109 Hide getEffectedPaths for other packages 2020-05-19 09:56:24 +02:00
René Pfeuffer
74b959e451 handle both paths as effected for rename 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
262d5f710a Make class final 2020-05-14 11:16:25 +02:00
Eduard Heimbuch
ee82c0d0aa move EdisonHalAppender to scm-core because we need it for plugins 2020-05-13 11:39:22 +02:00
René Pfeuffer
715c844b90 Merge pull request #1143 from scm-manager/feature/add_xml_cipher_adapter
add xml encryption adapter to encode passwords or apitoken on marshal…
2020-05-07 11:48:20 +02:00
René Pfeuffer
4f7c5d7486 Hide utility used only for xml adapter 2020-05-07 11:45:40 +02:00
René Pfeuffer
9952cda57b Merge pull request #1136 from scm-manager/cleanup/remove_outdated_jaxb_annotations
cleanup outdated jaxb annotations
2020-05-07 11:38:11 +02:00
René Pfeuffer
bdd4c244d5 Cleanup and fix hash code and equals 2020-05-07 11:03:57 +02:00
Eduard Heimbuch
6ec7cbd1ca add xml encryption adapter to encode passwords or apitoken on marshalling 2020-05-07 09:38:00 +02:00
Eduard Heimbuch
a9b9c77333 extend equalsAndHashcode annotation on changeset with callSuper attribute 2020-05-06 13:17:21 +02:00
Eduard Heimbuch
beb9ad0d13 cleanup outdated jaxb annotations 2020-05-05 18:58:58 +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