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
a9d95623b9
fix tests after changed TempDir dependency
2020-05-25 13:55:42 +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
2daba94473
Consolidate jaxb version
2020-05-19 21:57:21 +02:00
René Pfeuffer
57160cc232
Remove javax activation
2020-05-19 21:29:13 +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
d62f5dde18
Fix version
2020-05-11 14:25:18 +02:00
CES Marvin
52a8f0e9ca
prepare for next development iteration
2020-05-08 09:19:12 +00:00
CES Marvin
1d80b043c7
release version 2.0.0-rc8
2020-05-08 08:49:02 +00: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
Sebastian Sdorra
3e8ac98c62
added unit tests for RepositoryServiceFactory
2020-05-04 22:00:35 +02:00
René Pfeuffer
d6f0fd5af4
Fix permission check
2020-05-04 21:06:19 +02:00
René Pfeuffer
ce2b8c5c93
Fix scope for lib required by test
2020-05-04 09:56:55 +02:00
René Pfeuffer
f9c37d7e1b
Add unit test for validation
2020-04-30 17:54:49 +02:00
René Pfeuffer
19662e54a9
Add class to manually validate rest data transfer
...
It may be necessary to validate objects annotated wit javax validation
tags, that could not be validated using the internal resteasy validation
mechanism, eg. objects created manually. This new class makes this
possible by simply calling validate(dto).
2020-04-30 09:00:52 +02:00
Sebastian Sdorra
b643de3d72
use AES/GCM/NoPadding instead of AES/CTR/PKCS5PADDING to ensure cipher works with newer java versions
...
Value are now encoded with a prefix to detect the new format.
Old values are read with the old algorithm to ensure compatibility with older scm homes.
2020-04-29 11:25:39 +02:00