Commit Graph

134 Commits

Author SHA1 Message Date
René Pfeuffer
6f1f74b208 Fix repository role manager 2019-05-08 12:36:22 +02:00
René Pfeuffer
c88654739b System roles should not be modifiable 2019-05-08 10:55:24 +02:00
René Pfeuffer
dd312308fa Add system roles to repository role REST resource 2019-05-08 10:13:01 +02:00
René Pfeuffer
76b9100e7e Add endpoint for repository roles (tests pending) 2019-05-03 17:44:27 +02:00
René Pfeuffer
fbd6f4f3c7 Introduce filter parameter in Manager 2019-04-09 13:09:16 +02:00
Sebastian Sdorra
7d994c62a6 validate namespace strategies on configuration update 2019-03-12 16:40:08 +01:00
Sebastian Sdorra
cb554eb7bc rename defaultNamespaceStrategy to namespaceStrategy 2019-03-12 15:54:34 +01:00
René Pfeuffer
0df22d25f5 Merge with 2.0.0-m3 2019-03-12 09:29:28 +01:00
Sebastian Sdorra
3f6d1ed4fd use provider to reflect namespace strategy without restart 2019-03-11 14:47:42 +01:00
Sebastian Sdorra
d31ef73b88 use simplename of namespace strategy, to simplify i18n 2019-03-11 14:46:35 +01:00
Sebastian Sdorra
e179b00ecd adds namespace strategies for current year, repository type, username and custom 2019-03-11 10:53:49 +01:00
René Pfeuffer
8928ca9676 Use namespace and name for exceptions instead of technical id 2019-03-05 10:42:06 +01:00
René Pfeuffer
3d671caada Let dao create repository base directory before native creation 2018-11-23 15:04:59 +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
cf05235dfa Add context to InternalRepositoryException 2018-11-06 09:14:20 +01:00
René Pfeuffer
6eb3c38655 Create error response for already existing entities 2018-10-25 15:31:42 +02:00
René Pfeuffer
bf1effb9c0 Remove special RepositoryNotFoundException 2018-10-18 16:08:49 +02:00
Mohamed Karray
c731ecd14d fix throw exception 2018-10-16 12:20:10 +02:00
Mohamed Karray
d2dbccb80c remove throws NotFoundException and fix modify password 2018-10-16 10:47:52 +02:00
René Pfeuffer
37ce4fbabe Cleanup names, dead code and logging 2018-09-17 09:15:40 +02:00
René Pfeuffer
e90dc11bc7 Cleanup for http protocol servlet changes 2018-09-11 10:50:53 +02:00
René Pfeuffer
50a4133dff Remove old type dependant repo uri functions 2018-09-10 10:08:51 +02:00
René Pfeuffer
9198cac0a5 Correct usage of RepositoryNotFoundException 2018-09-10 08:36:05 +02:00
René Pfeuffer
be5c430bd2 Add POC protocol servlet with delegate to git 2018-09-06 10:58:09 +02:00
Philipp Czora
05a7e6c587 Implemented handling of concurrent modification of objects
based on lastModified date
2018-08-29 10:39:29 +02:00
René Pfeuffer
a0f74e3329 Replace model object exception with generic ones and migrate guice 2018-08-21 07:53:33 +02:00
René Pfeuffer
c4a7aafb7c Fix logging text 2018-08-16 16:55:44 +02:00
Sebastian Sdorra
15255aeeb1 merge with branch feature/repositories-ui 2018-08-07 16:34:26 +02:00
René Pfeuffer
ebe3ef8c3e Remove unused exception constructors 2018-08-03 08:40:01 +02:00
Sebastian Sdorra
99ecc8cba2 implemented rest endpoint for repository types 2018-08-02 11:56:35 +02:00
René Pfeuffer
41170a1c83 Fix error for multiple creation of repositories 2018-08-01 11:40:09 +02:00
Sebastian Sdorra
ea17e536f1 change NamespaceStrategy signature to createNamespace(Repository)
This change allows us to implement NamespaceStrategies, such as by type (git, hg, svn) or manual defined.
The DefaultNamespaceStrategy accepts now a predefined namespace and only if no namespace was set the username of the currently logged in user is used.
2018-08-01 09:43:49 +02:00
Johannes Schnatterer
df282ee6a9 Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-25 17:15:01 +02:00
Sebastian Sdorra
1e37dfb3a7 use subscribe annotation of legman instead of guava eventbus 2018-07-16 11:26:00 +02:00
Sebastian Sdorra
a14e9e1182 merge with 2.0.0-m3 2018-07-16 10:36:29 +02:00
Sebastian Sdorra
82da801280 improve DefaultNamespaceStrategy, added tests and javadoc 2018-07-13 12:10:19 +02:00
Michael Behlendorf
0c60df3ac6 Merge branch 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-13 11:13:43 +02:00
René Pfeuffer
43dbb6e0aa Merge with upstream 2018-07-12 11:31:55 +02:00
René Pfeuffer
9131764fbb Implement delete in ManagerDaoAdapter 2018-07-12 10:30:33 +02:00
René Pfeuffer
42543f6a47 Create NotFoundExceptions with id fields 2018-07-12 10:20:16 +02:00
René Pfeuffer
4e207713bf Introduce ManagerDaoAdapter for create and modify 2018-07-12 10:15:32 +02:00
René Pfeuffer
8593e1dc58 Fix creation date set to null on modify 2018-07-11 15:06:11 +02:00
René Pfeuffer
a1c1bc1042 Merging base branch back into feature 2018-07-11 14:01:17 +02:00
René Pfeuffer
f3304e6973 Correct sequence of setting and reading namespace for new repository 2018-07-11 08:25:06 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
René Pfeuffer
72cc7d9864 Merge base branch into feature 2018-07-05 15:03:18 +02:00
René Pfeuffer
50d9da8726 Merge base branch into feature 2018-07-05 14:56:33 +02:00
René Pfeuffer
bbce9b7ca2 Use correct namespace of created repository 2018-07-05 12:19:31 +02:00
Philipp Czora
d3a2fc8219 Implemented namespace feature 2018-07-04 15:46:08 +02:00