Commit Graph

2390 Commits

Author SHA1 Message Date
René Pfeuffer
1e655e9c97 Fix creation of root repository folder
The root folder has to be created with FileSystem, not only the data
directory
2018-11-23 13:58:39 +01:00
René Pfeuffer
aa596af880 Remove dead code 2018-11-23 13:16:18 +01:00
René Pfeuffer
27b5be5391 Remove test for deleted class 2018-11-23 10:43:23 +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
4925370a43 Fix NPE in not found exception creation 2018-11-23 09:55:54 +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
b9458f47e9 Add support for custom violation exceptions 2018-11-20 11:04:30 +01:00
Mohamed Karray
39e5c19251 merge 2018-11-15 11:28:33 +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
René Pfeuffer
04592521ee Apply peer review results 2018-11-14 07:55:22 +01:00
René Pfeuffer
de17902fed Rename classes 2018-11-13 10:52:42 +01:00
René Pfeuffer
716b49a039 Merge with 2.0.0-m3 2018-11-13 10:36:31 +01:00
René Pfeuffer
96c2114e53 Reduce SecurityFilter to user injection and enable SecurityInterceptor
Remove all the unnecessary stuff and all endpoints that would be no
longer secure.
2018-11-09 16:06:31 +01:00
René Pfeuffer
afbffa5978 Fix tests for default owner permission
Therefore add explicit methods to change the permission collection
of a repository.
2018-11-09 10:13:36 +01:00
Sebastian Sdorra
cf519a7545 Merged in feature/merge_api (pull request #106)
Feature merge api
2018-11-08 15:08:07 +00:00
René Pfeuffer
6bddf9951f Make commit message configurable 2018-11-08 14:59:00 +01:00
René Pfeuffer
3c70ca7aa5 Add JavaDoc for API 2018-11-08 14:35:35 +01:00
René Pfeuffer
720862296e Use logged in user for author as default 2018-11-08 13:30:05 +01:00
Sebastian Sdorra
2201f2436e Merged in feature/errorhandling (pull request #99)
Feature Error Handling
2018-11-08 09:36:18 +00:00
René Pfeuffer
1037d8d266 Merge with 2.0.0-m3 2018-11-08 09:21:41 +01:00
René Pfeuffer
b5389023cf Merge with 2.0.0-m3 2018-11-07 16:43:26 +01:00
René Pfeuffer
f7348d8882 Incorporate comments from peer review 2018-11-07 16:10:32 +01:00
Sebastian Sdorra
c59ba9e149 Merged in feature/log_two_revisions (pull request #104)
Feature log two revisions
2018-11-07 14:07:50 +00:00
René Pfeuffer
8771f68081 Set author for merge 2018-11-07 14:02:02 +01:00
René Pfeuffer
2d04e6c2f0 Specify not mergeable files in merge result 2018-11-07 13:34:35 +01:00
René Pfeuffer
62c20b071b Fix reminders of dry run 2018-11-07 10:33:47 +01:00
René Pfeuffer
4cdf3e468c Add merge command to repository service api 2018-11-07 08:38:26 +01:00
René Pfeuffer
fc3e08d612 Include dry run in merge command 2018-11-07 08:32:27 +01:00
René Pfeuffer
8df0b53f36 Add command api for dry run merge 2018-11-06 14:27:08 +01:00
René Pfeuffer
1854cfcfba Add command api for merge 2018-11-06 14:10:51 +01:00
René Pfeuffer
8be8c19a26 Implement diff between two changesets for git 2018-11-06 12:04:33 +01:00
René Pfeuffer
1351898399 Fix typo 2018-11-06 11:01:33 +01:00
René Pfeuffer
176cda36dc Merge 2018-11-06 09:26:41 +01:00
René Pfeuffer
cf05235dfa Add context to InternalRepositoryException 2018-11-06 09:14:20 +01:00
René Pfeuffer
2508a1b9b7 Implement log between two changesets for git 2018-11-05 16:42:20 +01:00
René Pfeuffer
359a857ca3 Migrate NotSupportedFeatureException 2018-11-02 16:21:23 +01:00
René Pfeuffer
a1f16713cc Remove unused constructor 2018-11-02 08:20:57 +01:00
René Pfeuffer
224b8e6af4 Add type back to exception message 2018-10-29 09:41:10 +01:00
René Pfeuffer
4425243f03 Adapt ChangePasswordNotAllowedException and mapper 2018-10-29 09:26:23 +01:00
René Pfeuffer
007baecc86 Fix unit test 2018-10-26 16:43:52 +02:00
René Pfeuffer
a285ddb253 Adapt InvalidPasswordException and mapper 2018-10-26 15:24:25 +02:00
René Pfeuffer
4a307379a2 Remove code duplication 2018-10-26 15:15:51 +02:00
René Pfeuffer
cd0964d850 Fix typo in class name 2018-10-26 13:07:41 +02:00
René Pfeuffer
7f0b7c5831 Add generated error code to exceptions 2018-10-25 16:23:43 +02:00
René Pfeuffer
6eb3c38655 Create error response for already existing entities 2018-10-25 15:31:42 +02:00
René Pfeuffer
d185743ef0 Create error response for concurrent modifications 2018-10-25 13:48:00 +02:00