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
Sebastian Sdorra
289f0ffc21
migrate cipher tests to junit5
2020-04-29 09:56:24 +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
38eea06312
added optional store parameter for ClassLoader and adapter
2020-04-28 14:10:11 +02:00
Sebastian Sdorra
dbc97d8993
simplified structure of store builders
2020-04-28 09:47:16 +02:00
Sebastian Sdorra
4488382a4b
suppress SonarQube security hotspot warning
2020-04-25 18:22:32 +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
6da7efdb9b
fixed missing servlets and filters
...
WebElements with same attributes are not bound, because they are stored in a HashSet and the fields from the parent class were not used for hashCode and equals. The equals and hashCode methods of WebElementDescriptor are now taking the fields of ClassElement in account.
2020-04-16 13:49:43 +02:00
Sebastian Sdorra
81e8dc428c
support requires annotation on WebElements
2020-04-16 11:57:38 +02:00
Sebastian Sdorra
5e75addb49
remove setter from ClassElement
2020-04-15 08:50:43 +02:00
Eduard Heimbuch
10706d6b14
fix unit test
2020-04-08 09:54:02 +02:00
Eduard Heimbuch
99cf64aec5
replace @data annotation with explicit annotations
2020-04-08 09:10:37 +02:00
Eduard Heimbuch
347417e247
remove requires value from extension annotation and add new requires annotation instead
2020-04-07 12:49:25 +02:00
Eduard Heimbuch
b369fac1e8
rename PluginCenterEvent
2020-04-02 13:37:05 +02:00
Eduard Heimbuch
405bc392a8
move events to scm-core / move subscriber to landingpage-plugin
2020-04-02 10:43:07 +02:00