Commit Graph

170 Commits

Author SHA1 Message Date
Philipp Czora
38172fb8a1 Fixed test 2019-01-29 11:12:49 +01:00
Philipp Czora
ec4fd48e1e Minor cleanup / typo fixes 2019-01-29 09:34:27 +01:00
René Pfeuffer
d011c82def Fix unit test 2019-01-23 10:13:21 +01:00
René Pfeuffer
02b19e51ef Fix repository permission rest interface 2019-01-23 09:47:38 +01:00
René Pfeuffer
ad65c8cd02 Use PermissionDescriptor instead of String 2019-01-17 13:21:20 +01:00
René Pfeuffer
480801d3b0 Do not keep directory for stores 2018-12-17 15:23:25 +01:00
Mohamed Karray
4dce232c43 fix the repository store directory location 2018-12-06 16:27:36 +01:00
René Pfeuffer
8952e755df Split up store parameters into typed and untyped 2018-12-04 09:23:12 +01:00
René Pfeuffer
3021bea65a Multiply floating store factories for type safety 2018-12-04 08:56:39 +01:00
René Pfeuffer
33f3216164 Make type optional 2018-12-03 16:30:19 +01:00
René Pfeuffer
44d99f55f2 Do no longer expose StoreParameters 2018-12-03 12:28:35 +01:00
René Pfeuffer
3638d3520f Use static method for new StoreParameters instance 2018-12-03 11:28:03 +01:00
René Pfeuffer
ab8b3bae42 Merge with 2.0.0-m3 2018-12-03 08:28:47 +01:00
René Pfeuffer
9e7684f003 Peer review 2018-11-30 14:10:00 +01:00
Sebastian Sdorra
84dd6bf60f fix some code smells reported by sonarqube 2018-11-30 08:19:47 +01:00
Mohamed Karray
171f4e2f07 merge 2018-11-29 16:59:04 +01:00
Mohamed Karray
37f4a2b669 merge 2018-11-29 16:01:43 +01:00
Sebastian Sdorra
09a55b9f4b remove unused files 2018-11-28 19:58:03 +01:00
Sebastian Sdorra
e9401624a7 re implement XmlRepositoryDAO 2018-11-28 19:49:55 +01:00
Mohamed Karray
fb79cbfd02 merge + refactor getStoreDirectory 2018-11-28 15:14:49 +01:00
René Pfeuffer
d4db39755f Harmonize repository resolution 2018-11-27 15:31:57 +01:00
Mohamed Karray
7a1de0f67b add the interface StoreFactory and refactor storeFactories 2018-11-27 11:35:02 +01:00
René Pfeuffer
00ab764dab Store repository id in native config file
Hooks can read this repository type dependant config file and handle
the changes for the correct repository id
2018-11-26 17:22:17 +01:00
René Pfeuffer
095198cf74 Remove dead code 2018-11-26 12:48:41 +01:00
René Pfeuffer
282b5687a6 Query initial repository location only once at creation 2018-11-23 16:34:38 +01:00
René Pfeuffer
c8fc673ce0 Remove hooks for internal repository id 2018-11-23 16:12:35 +01:00
René Pfeuffer
1a9c3a1a6c Use meaningful exception 2018-11-23 15:56:35 +01:00
René Pfeuffer
3d671caada Let dao create repository base directory before native creation 2018-11-23 15:04:59 +01:00
René Pfeuffer
aa596af880 Remove dead code 2018-11-23 13:16:18 +01:00
René Pfeuffer
c0000df508 Use "real paths" instead of absolute paths
See issue #82 for details:
https://bitbucket.org/sdorra/scm-manager/issues/82/symbolic-link-in-hg-repository-path
2018-11-23 11:59:12 +01:00
René Pfeuffer
5cff79fc97 Add unit test 2018-11-23 11:05:20 +01:00
René Pfeuffer
e8558e07ec Use repository dao to find repository for given directory in hooks 2018-11-23 10:13:47 +01:00
René Pfeuffer
20f5e7be1f Cleanup usage of InitialRepositoryLocationResolver and RepositoryLocationResolver 2018-11-22 17:06:29 +01:00
René Pfeuffer
d329ca56f8 Replace public method with public constant 2018-11-22 16:41:06 +01:00
René Pfeuffer
00e3cbec57 Refactor directories in RepositoryPath and dao 2018-11-22 12:29:26 +01:00
Mohamed Karray
8aaea44f1a use relative path for repository directory 2018-11-22 07:05:17 +01:00
Mohamed Karray
bb1c84ba24 modify metadata.xml only if needed
introduce a defaultRepositoryDirectory in the XmlRepositoryDatabase
Bugfix: modify repository with changed location
2018-11-21 12:01:13 +01:00
René Pfeuffer
01f45aaf8c Backed out changeset 428510f2003d 2018-11-19 12:39:21 +01:00
René Pfeuffer
9db0451acc Harmonize interface of XmlRepositoryDatabase
XmlRepositoryDatabase should not expose RepositoryPath objects
2018-11-19 08:53:19 +01:00
Mohamed Karray
f8ae7cedf7 Refactor the repository store implementation in order to store repositories in specific paths. 2018-11-15 10:04:16 +01:00
Mohamed Karray
a23c497b3a merge + use the old search methods in the autocomplete feature 2018-10-09 11:11:25 +02:00
Mohamed Karray
41b47b13dc use javax validation 2018-10-09 08:55:57 +02:00
Mohamed Karray
ddcc21c1a8 add autocomplete endpoint 2018-10-08 13:39:33 +02:00
Sebastian Sdorra
31ca22fe47 removed X suffix 2018-07-13 11:49:37 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
Sebastian Sdorra
aec3d5d65d merge with branch 1.x 2017-06-25 19:01:33 +02:00
Sebastian Sdorra
07a1c8b151 [maven-release-plugin] prepare for next development iteration 2017-06-06 11:39:35 +02:00
Sebastian Sdorra
fd02f4c068 [maven-release-plugin] prepare release 1.54 2017-06-06 11:39:34 +02:00
Oliver Milke
33ea2273b0 Add git-lfs support 2017-05-19 17:27:18 +02:00
Sebastian Sdorra
5cae7ab35a [maven-release-plugin] prepare for next development iteration 2017-05-17 08:36:55 +02:00