Commit Graph

12416 Commits

Author SHA1 Message Date
René Pfeuffer
03b39951ab Merge pull request #1128 from scm-manager/bugfix/1113_validate_svn_checksums
Validate subversion client checksums
2020-05-05 07:42:13 +02:00
Sebastian Sdorra
3b53149a54 #1113 update svnkit to 1.10.1-scm2, in order to validate subversion client checksums 2020-05-05 07:41:51 +02:00
Sebastian Sdorra
082e68b333 Merge pull request #1129 from scm-manager/bugfix/handle_multiple_line_breaks_in_diff
Fix error with redundant line breaks
2020-05-05 07:36:14 +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
Sebastian Sdorra
cd3822c83c upload helm chart on deploy 2020-05-04 20:28:57 +02:00
Sebastian Sdorra
7bad2bf0c1 push on docker image on maven deploy 2020-05-04 20:25:08 +02:00
Sebastian Sdorra
9a57ce1388 upload rpm file on deploy 2020-05-04 20:01:16 +02:00
Sebastian Sdorra
3e322d5448 upload deb file in deploy phase 2020-05-04 17:54:05 +02:00
René Pfeuffer
52a09a96d2 Fix error with redundant line breaks
This fixes an error with a repository, where an added file has \r\r\n
as line breaks. This interesting combination is handled as a single
line break by the diff operation, while Java's Scanner implementation
handles this as two lines (the first one delimited by the first \r,
the second one delimited by \r\n. This led to empty lines inside the
diff, where we only expect lines that contain at least one character
(' ', '+' or '-'), and this in turn led to an index out of bounds
exception.

Now we handle each combination of any kind of new line delimiter
characters as a single delimiter. This should be safe, because, as
mentioned earlier, we always expect at least one character in a line
for a diff output.
2020-05-04 15:23:46 +02:00
René Pfeuffer
ffcc146f75 Remove old plugin
License check was replaced by other verion and is configured in root pom.
2020-05-04 11:29:53 +02:00
René Pfeuffer
2c2fbb5eae Fix exclusion name for source file 2020-05-04 11:22:07 +02:00
Sebastian Sdorra
4cc0ff354b Merge pull request #1114 from scm-manager/feature/dto_validator
Add class to manually validate rest data transfer
2020-05-04 10:22:55 +02:00
René Pfeuffer
ce2b8c5c93 Fix scope for lib required by test 2020-05-04 09:56:55 +02:00
Sebastian Sdorra
49c03cd8db added helm packaging 2020-05-03 19:20:40 +02:00
Sebastian Sdorra
cca22d92a7 use scm-server as base directory 2020-05-03 14:26:21 +02:00
Sebastian Sdorra
b79260b171 adjust configuration for windows package 2020-05-03 14:23:47 +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
Sebastian Sdorra
54702f390c Merge pull request #1117 from scm-manager/snyk-upgrade-cd9a6dcdad96ecd718cfd645f5a39d70
[Snyk] Upgrade org.eclipse.jetty:jetty-webapp from 9.4.27.v20200227 to 9.4.28.v20200408
2020-05-02 15:33:49 +02:00
snyk-bot
59e30580d6 fix: upgrade org.eclipse.jetty:jetty-webapp from 9.4.27.v20200227 to 9.4.28.v20200408
Snyk has created this PR to upgrade org.eclipse.jetty:jetty-webapp from 9.4.27.v20200227 to 9.4.28.v20200408.

See this package in NPM:
https://www.npmjs.com/package/org.eclipse.jetty:jetty-webapp

See this project in Snyk:
https://app.snyk.io/org/scm-manager/project/9ae37cfe-98a5-4b6b-bbf7-ffa5cde55e58?utm_source=github&utm_medium=upgrade-pr
2020-04-30 23:16:09 +02:00
René Pfeuffer
f9c37d7e1b Add unit test for validation 2020-04-30 17:54:49 +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
René Pfeuffer
705a175221 Add test helper for (de)serialization of arbitrary objects 2020-04-30 15:51:08 +02:00
René Pfeuffer
fa8afc9fbf Add simple test util to verify serializability 2020-04-30 14:59:05 +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
René Pfeuffer
d4a3f04630 Merge pull request #1112 from scm-manager/bugfix/unsupported_cipher
Use AES/GCM/NoPadding instead of AES/CTR/PKCS5PADDING
2020-04-29 14:04:01 +02:00
Sebastian Sdorra
681ceac160 update changelog 2020-04-29 11:33: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
Sebastian Sdorra
289f0ffc21 migrate cipher tests to junit5 2020-04-29 09:56:24 +02:00
Sebastian Sdorra
f3d94588d8 fixed compiler error of InMemoryConfigurationEntryStore 2020-04-28 16:42:15 +02:00
Sebastian Sdorra
58876e4e91 fixed some sonarqube findings 2020-04-28 15:40:35 +02:00
Sebastian Sdorra
14a1427502 use java.util.function.Predicate as api instead of the one from guava 2020-04-28 15:38:08 +02:00
Sebastian Sdorra
1a367b2657 fix duplicate ClassLoader logic 2020-04-28 14:41:31 +02:00
Sebastian Sdorra
aa23f6f7ab update changelog 2020-04-28 14:16:25 +02:00
Sebastian Sdorra
38eea06312 added optional store parameter for ClassLoader and adapter 2020-04-28 14:10:11 +02:00
Sebastian Sdorra
cf4c1092b9 create context class in order to configure Marshaller and Unmarshaller central 2020-04-28 13:46:11 +02:00
Sebastian Sdorra
dbc97d8993 simplified structure of store builders 2020-04-28 09:47:16 +02:00
René Pfeuffer
0bddfae8ce Merge pull request #1109 from scm-manager/feature/os_specific_homes
OS Specific Homes
2020-04-27 09:17:53 +02:00
Sebastian Sdorra
fd686482e6 Merge pull request #1108 from scm-manager/bugfix/fix_protocol_path_for_windows
Fix git protocol uri for windows
2020-04-27 09:06:46 +02:00
Sebastian Sdorra
50253da233 fixed wrong documentation of log location on windows 2020-04-27 08:28:03 +02:00
Sebastian Sdorra
42d8017fe9 added preferences to documentation of base directory 2020-04-27 08:08:28 +02:00
René Pfeuffer
0f1bc647a4 Fix git protocol uri for windows
Fixes the 'scm' protocol uri for Windows. Have to replace all
backslashes with forward slashes, add one more slash at the
beginning and remove the colon from the dirve.
2020-04-27 08:06:26 +02:00
René Pfeuffer
8fb05a88bd Fix typos 2020-04-27 07:48:07 +02:00
Sebastian Sdorra
26087ce2d7 fix some typos 2020-04-27 07:25:44 +02:00
Sebastian Sdorra
6e120cdd00 start packaging for windows 2020-04-27 07:11:02 +02:00
Sebastian Sdorra
9dd8cd771c added packaging for docker 2020-04-26 12:31:19 +02:00
Sebastian Sdorra
b636a971f0 remove unused dependency 2020-04-26 11:40:17 +02:00
Sebastian Sdorra
fc44cdca5f added unix packaging 2020-04-26 11:37:01 +02:00
Sebastian Sdorra
c56a6a6d32 rename packaging to scm-packaging 2020-04-26 11:36:18 +02:00