Commit Graph

9735 Commits

Author SHA1 Message Date
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
Sebastian Sdorra
5140bdf6b0 Merge pull request #1104 from scm-manager/feature/push_docker_latest_tag
Push latest tag for docker
2020-04-23 10:07:46 +02:00
Sebastian Sdorra
33da802ea8 Merge pull request #1105 from scm-manager/bugfix/scrollable_menu
Bugfix/scrollable menu
2020-04-23 10:07:19 +02:00
René Pfeuffer
776619b9c8 Merge pull request #1106 from scm-manager/snyk-upgrade-840c94ead3c2ff621fd4ee50c8bae9e8
[Snyk] Upgrade org.junit-pioneer:junit-pioneer from 0.5.5 to 0.5.6
2020-04-23 07:42:04 +02:00
snyk-bot
a808a5f5ad fix: upgrade org.junit-pioneer:junit-pioneer from 0.5.5 to 0.5.6
Snyk has created this PR to upgrade org.junit-pioneer:junit-pioneer from 0.5.5 to 0.5.6.

See this package in NPM:
https://www.npmjs.com/package/org.junit-pioneer:junit-pioneer

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-04-23 03:00:08 +02:00
Florian Scholdei
fd2150628b Update storyshots 2020-04-23 00:18:23 +02:00
Florian Scholdei
15347e23f6 Secondary menu no longer scrolls beyond a certain screen size in order to be able to display all elements 2020-04-23 00:16:56 +02:00
René Pfeuffer
d77d3eb201 Push latest tag for docker 2020-04-22 10:09:38 +02:00
Sebastian Sdorra
02d3f5cf6a update documentation for plugin development 2020-04-22 08:57:36 +02:00
Sebastian Sdorra
6396453343 remove outdated reference to ui-bundler 2020-04-22 08:30:38 +02:00
eheimbuch
84a8010873 Merge pull request #1101 from scm-manager/feature/requires_for_webelement
Feature/requires for webelement
2020-04-21 12:55:13 +02:00
Eduard Heimbuch
8aa9f18481 resolve merge conflict 2020-04-21 10:20:45 +02:00
Sebastian Sdorra
50344eaf79 Merge pull request #1103 from scm-manager/snyk-upgrade-97e3808395eed2f5441589796a5e36e1
[Snyk] Upgrade org.junit-pioneer:junit-pioneer from 0.5.4 to 0.5.5
2020-04-21 07:44:58 +02:00
René Pfeuffer
2b970f6592 Add hint to future self 2020-04-21 07:19:14 +02:00
snyk-bot
4c758e5e85 fix: upgrade org.junit-pioneer:junit-pioneer from 0.5.4 to 0.5.5
Snyk has created this PR to upgrade org.junit-pioneer:junit-pioneer from 0.5.4 to 0.5.5.

See this package in NPM:
https://www.npmjs.com/package/org.junit-pioneer:junit-pioneer

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-04-21 01:00:23 +00:00
René Pfeuffer
e778d5f4d4 Let plugin.xml be written by smp maven plugin 2020-04-20 16:25:04 +02:00
René Pfeuffer
1872fc17a8 Use new scm-maven-plugin v1.0.0-rc7 2020-04-20 15:28:33 +02:00
Sebastian Sdorra
9652652005 Merge pull request #1100 from scm-manager/feature/add_icon_options
Add iconStyle + onClick option and story shot for icon component
2020-04-20 08:08:18 +02:00
Florian Scholdei
3ab3eb43bd Remove onClick option from Icon.tsx 2020-04-20 00:44:52 +02:00
René Pfeuffer
4eb86dd5fc Merge pull request #1102 from scm-manager/snyk-upgrade-115e8c9774550a0c577e6c26d19df6d1
[Snyk] Upgrade org.jboss.resteasy:resteasy-core-spi from 4.5.2.Final to 4.5.3.Final
2020-04-18 08:40:10 +02:00
snyk-bot
cca7cc6908 fix: upgrade org.jboss.resteasy:resteasy-core-spi from 4.5.2.Final to 4.5.3.Final
Snyk has created this PR to upgrade org.jboss.resteasy:resteasy-core-spi from 4.5.2.Final to 4.5.3.Final.

See this package in NPM:
https://www.npmjs.com/package/org.jboss.resteasy:resteasy-core-spi

See this project in Snyk:
https://app.snyk.io/org/scm-manager/project/c575ed09-e310-44e7-afc8-22b77c5873cf?utm_source=github&utm_medium=upgrade-pr
2020-04-17 21:57:29 +00:00
Florian Scholdei
0a7c847c56 Revise newer storybook stories 2020-04-16 20:57:41 +02:00