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
René Pfeuffer
0ee2aaaa45
Fix authentication for repositories with anonymous read access
...
Repositories with anonymous read access could not be written any more,
because for write requests there was no authentication request. This
fixes the check for anonymous access and requests username and
password, again.
2020-03-30 12:38:41 +02:00
René Pfeuffer
41d02b9c24
Set version back to 2.0.0-SNAPSHOT
2020-03-26 18:52:11 +01:00
CES Marvin
263072d68b
prepare for next development iteration
2020-03-26 15:59:09 +00:00
CES Marvin
d94a2d9b7f
release version 2.0.0-rc6
2020-03-26 15:23:24 +00:00
Sebastian Sdorra
7917bfdab8
merge with develop branch
2020-03-26 11:40:47 +01:00
Sebastian Sdorra
3ffece1547
added missing javadoc
2020-03-26 11:34:28 +01:00
René Pfeuffer
15aab3059d
Add documentation
2020-03-25 15:55:03 +01:00
Eduard Heimbuch
3a2aa7a55c
add stories for RepositoryEntry
2020-03-25 14:10:22 +01:00
Eduard Heimbuch
16c89f4b9f
Merge branch 'develop' of github.com:scm-manager/scm-manager into feature/favourite_repository
2020-03-25 10:28:58 +01:00
Eduard Heimbuch
fd12464af4
add RepositoryToHalMapper as interface to map a repositoryDto outside of webapp
2020-03-25 09:54:12 +01:00
Sebastian Sdorra
b97dfd7ded
added missing license headers
2020-03-24 10:19:10 +01:00
Sebastian Sdorra
967c802588
merge with develop
2020-03-24 10:17:57 +01:00
Florian Scholdei
f1b34eb502
Changeover to MIT license ( #1066 )
...
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md
Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com >
2020-03-23 15:35:58 +01:00
Sebastian Sdorra
8c917dbdef
merge with develop branch
2020-03-20 11:17:50 +01:00