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
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
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
f8f5aa2ebd
X-SCM-Session-ID and X-SCM-Client could now be send via query parameter
...
The use of query parameters is required for SSE, because the standard does not support header.
This works currently only for GET request to avoid parsing of request body.
2020-03-20 11:10:05 +01:00
René Pfeuffer
d4977b7d56
Add limit to 'toString'
2020-03-12 10:49:20 +01:00
René Pfeuffer
36c173ccbd
Use concrete names
2020-03-12 10:44:00 +01:00
René Pfeuffer
daff8c5694
Fix typo
2020-03-12 10:40:32 +01:00
René Pfeuffer
b8ab729c45
Merge branch 'develop' into feature/browse_commit_with_limit
2020-03-09 08:40:29 +01:00
Rene Pfeuffer
fa80c83109
Implement new limit/offset rule for git
...
Directories shall no longer be taken into account for limit/offset
calculations.
2020-03-03 11:59:20 +01:00
Rene Pfeuffer
9b7d5daae3
Use simple executable check from old java io
2020-02-27 13:13:09 +01:00
Rene Pfeuffer
9c75ff95c8
Keep file attributes on modification
2020-02-27 11:42:37 +01:00
René Pfeuffer
8ff870ccb1
Remove unused property
2020-02-26 16:05:49 +01:00
René Pfeuffer
ffdd80df61
Correct hash and equals for cache
2020-02-26 15:59:03 +01:00
Rene Pfeuffer
e33d65b097
Merge with default
2020-02-25 16:37:17 +01:00
Sebastian Sdorra
000dab88ca
merge with default branch
2020-02-25 08:24:12 +01:00
Rene Pfeuffer
58625ba606
Sort files with an upper case letter first
2020-02-21 15:00:44 +01:00
Rene Pfeuffer
736ea3d93f
Sort git files
2020-02-21 14:29:09 +01:00
Rene Pfeuffer
c4a801a7be
WIP
2020-02-20 14:36:13 +01:00
René Pfeuffer
fe1591171d
Rename 'proceedFrom' to 'offset'
2020-02-19 09:23:23 +01:00
Rene Pfeuffer
6b3f36e7ea
WIP
2020-02-18 17:56:22 +01:00
Rene Pfeuffer
3652a33fa0
Add truncated flag for git
2020-02-18 15:24:32 +01:00
Rene Pfeuffer
67e58209cf
Implement proceed from for git
2020-02-18 09:57:57 +01:00
Rene Pfeuffer
8a1a43fcc5
Document parameter
2020-02-18 08:08:09 +01:00