René Pfeuffer
b1485896e0
Move plugin development to top level navigation
2020-05-07 08:47:11 +02:00
René Pfeuffer
9226654c5d
Structure navigation
2020-05-06 21:36:20 +02:00
René Pfeuffer
503e8cbabe
Clean root index
2020-05-06 21:36:03 +02:00
Konstantin Schaper
8b2d9d1d95
Establish preliminary structure for documentation
2020-05-06 19:56:34 +02:00
René Pfeuffer
daeb8b7cbb
Remove v2 sub folder and add Front Matter
2020-05-06 15:41:14 +02:00
René Pfeuffer
485b91575d
Move to new dir and remove 1.x doc
2020-05-06 12:22:42 +02:00
René Pfeuffer
cb2916a58e
Merge pull request #1137 from scm-manager/snyk-upgrade-161fc9a3afc847fd0cab891a51953935
...
[Snyk] Upgrade org.hibernate.validator:hibernate-validator from 6.1.2.Final to 6.1.3.Final
2020-05-06 10:49:16 +02:00
René Pfeuffer
533c9ec3a9
Merge pull request #1138 from scm-manager/snyk-upgrade-c63906e2ab44d1cd82a0b8c05834bd9c
...
[Snyk] Upgrade org.junit.jupiter:junit-jupiter-api from 5.6.1 to 5.6.2
2020-05-06 10:29:13 +02:00
René Pfeuffer
033911d453
Merge pull request #1135 from scm-manager/bugfix/plugin_write_permission
...
Change the "manage" plugin permission to "write".
2020-05-06 08:19:28 +02:00
snyk-bot
cb441e9041
fix: upgrade org.junit.jupiter:junit-jupiter-api from 5.6.1 to 5.6.2
...
Snyk has created this PR to upgrade org.junit.jupiter:junit-jupiter-api from 5.6.1 to 5.6.2.
See this package in NPM:
https://www.npmjs.com/package/org.junit.jupiter:junit-jupiter-api
See this project in Snyk:
https://app.snyk.io/org/scm-manager/project/4ac22872-f5a6-4220-bfe8-e6e5bf4c5fcb?utm_source=github&utm_medium=upgrade-pr
2020-05-06 03:00:59 +02:00
snyk-bot
baa36baff7
fix: upgrade org.hibernate.validator:hibernate-validator from 6.1.2.Final to 6.1.3.Final
...
Snyk has created this PR to upgrade org.hibernate.validator:hibernate-validator from 6.1.2.Final to 6.1.3.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/0397d943-538d-483e-9c87-a3f7e7665d7b?utm_source=github&utm_medium=upgrade-pr
2020-05-06 00:16:09 +02:00
Eduard Heimbuch
f3d289546e
update CHANGELOG.md // adjust unit tests to changed permission
2020-05-05 11:15:26 +02:00
Konstantin Schaper
a354822b81
Merge pull request #1134 from scm-manager/feature/validation_test_dependencies
...
Add dependencies needed for validation unit tests
2020-05-05 11:14:05 +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
René Pfeuffer
86d17a68cf
Add dependencies needed for validation unit tests
2020-05-05 10:21:16 +02:00
René Pfeuffer
55c96ee81d
Merge pull request #1133 from scm-manager/bugfix/fix_permission_check
...
Fix permission check
2020-05-05 07:46:54 +02:00
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
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
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
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
4488382a4b
suppress SonarQube security hotspot warning
2020-04-25 18:22:32 +02:00
Sebastian Sdorra
f08978dad4
added pr link to changelog
2020-04-25 17:33:03 +02:00
Sebastian Sdorra
183f8fc223
update changelog
2020-04-25 17:27:57 +02:00
Sebastian Sdorra
28d813c12d
added docs for basedirectory and logging
2020-04-25 17:27:48 +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
dd7a727def
use os specific default directories
...
- /Users/<your_user_name>/Library/Application Support/SCM-Manager for OSX
- %APPDATA%\SCM-Manager for Windows
- ~/.scm for Unix
2020-04-25 12:38:01 +02:00