Commit Graph

291 Commits

Author SHA1 Message Date
René Pfeuffer
3a68e5ff2b Rename class 2020-06-02 21:31:44 +02:00
René Pfeuffer
77d6784386 Remove unnecessary interfaces 2020-06-02 21:31:44 +02:00
René Pfeuffer
7e945afc43 Keep ParentAndClone inside working copy factories 2020-06-02 21:31:44 +02:00
René Pfeuffer
73ef559213 Remove function creep 2020-06-02 21:31:44 +02:00
René Pfeuffer
d6b618f0ec Remove superfluous exception class 2020-06-02 21:31:44 +02:00
René Pfeuffer
3c808bf171 Use existing RepositoryProvider 2020-06-02 21:31:44 +02:00
René Pfeuffer
4c73f27389 Make reclaimer and initializer top level classes 2020-06-02 21:31:44 +02:00
René Pfeuffer
62a47d016f Document SimpleGitWorkingCopyFactory 2020-06-02 21:31:44 +02:00
René Pfeuffer
f74b7626eb New package for working copy related classes 2020-06-02 21:31:44 +02:00
René Pfeuffer
e968aa17ef Cleanup 2020-06-02 21:31:44 +02:00
René Pfeuffer
8bd17a03d7 Use better names
The name 'workdir' is now only used for a concrete directory, where a
clone can be created in. The new name 'working copy' is used for a
concrete instance of such a directory, where a clone has been created in
for a repository stored in SCM-Manager. Such a working copy can be
cached and reused for further changes.
2020-06-02 21:31:43 +02:00
René Pfeuffer
5f96244b9b Add shutdown 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
5b034f8d02 Introduce cache layer for workdirs 2020-06-02 21:31:43 +02:00
René Pfeuffer
7636f1e845 Remove temp dir extension and use native junit annotation 2020-05-24 16:05:20 +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
Eduard Heimbuch
ee82c0d0aa move EdisonHalAppender to scm-core because we need it for plugins 2020-05-13 11:39:22 +02:00
Eduard Heimbuch
6ec7cbd1ca add xml encryption adapter to encode passwords or apitoken on marshalling 2020-05-07 09:38:00 +02:00
Sebastian Sdorra
3e8ac98c62 added unit tests for RepositoryServiceFactory 2020-05-04 22:00:35 +02:00
René Pfeuffer
f9c37d7e1b Add unit test for validation 2020-04-30 17:54:49 +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
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
81e8dc428c support requires annotation on WebElements 2020-04-16 11:57:38 +02:00
Eduard Heimbuch
10706d6b14 fix unit test 2020-04-08 09:54:02 +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
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
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
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
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
Rene Pfeuffer
58625ba606 Sort files with an upper case letter first 2020-02-21 15:00:44 +01:00
Sebastian Sdorra
53dc34f7b4 allow to override scm version to simplify testing 2020-02-05 11:04:18 +01:00
Sebastian Sdorra
13719bc9e0 fix installation of plugins without condition 2020-01-29 15:20:03 +01:00
Eduard Heimbuch
af866f2ae8 create priority ordering for instances 2020-01-20 15:17:59 +01:00
Sebastian Sdorra
c1aa4af6e0 implemented optional dependencies
Plugin authors could now define optional dependencies to other plugins in their pom.
Extensions which are using classes from optional dependencies must specify this
with the "requires" attribute of the extension annotation.
Extensions with "requires" attribute are not installed if one of the specified plugins,
is not installed.
2020-01-08 14:27:11 +01:00
Sebastian Sdorra
33833994d3 merge with default branch 2019-12-05 16:14:44 +01:00
Sebastian Sdorra
854e42a609 merge with default branch 2019-11-27 15:01:09 +01:00
Sebastian Sdorra
42ab81cf50 implement ui client session id
This changeset introduces a client side session id, which is generated
once by the client (ui: apiClient) and is send with each request to server.
The server makes the session id available by the PrincipalCollection of the
subject.
2019-11-13 14:03:48 +01:00
Rene Pfeuffer
a93380b867 Differentiate types for central and cloned repository 2019-10-21 14:10:50 +02:00
Eduard Heimbuch
d9cf93b59a cleanup 2019-10-17 11:17:33 +02:00
Eduard Heimbuch
c6cbd68e98 create unit tests for ScmConfigChangedListener 2019-10-17 09:56:47 +02:00
Eduard Heimbuch
1d79ed86ea remove outdated unit test 2019-10-14 09:36:32 +02:00
Eduard Heimbuch
cb6f1bfa22 remove unused move-method from ModifyCommand / create interface for CommandRequests with Author 2019-10-07 14:59:46 +02:00
René Pfeuffer
3dea971e10 Checkout target branch while cloning repository
This will prevent the checkout of a wrong initial branch and therefore
safe some unnecessary io
2019-10-06 16:29:50 +02:00