Commit Graph

1617 Commits

Author SHA1 Message Date
René Pfeuffer
67f05d6b60 Merged in feature/namespace_strategies (pull request #214)
Feature/namespace strategies
2019-03-13 11:20:36 +00:00
Sebastian Sdorra
dea5732141 move dto parameters to constructor in order to create an immutable object 2019-03-13 10:01:46 +01:00
Sebastian Sdorra
54170c04a7 removes unused setter from NamespaceStrategiesDto 2019-03-13 09:38:27 +01: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
c8b19a9d66 Add revision to context 2019-03-12 15:44:23 +01:00
René Pfeuffer
dbc20f3560 Merge with 2.0.0-m3 2019-03-12 15:20:03 +01:00
René Pfeuffer
6ebbfa97a3 Start entity types with a capital char 2019-03-12 15:10:43 +01:00
Sebastian Sdorra
f7f5102541 align validation of repository name and namespace 2019-03-12 15:10:05 +01:00
Sebastian Sdorra
cd302a3768 fix handling of post authentication filters for protocol request
do not call PushStateDispatcher in the HttpProtocolServletAuthenticationFilter,
because the HttpProtocolServlet already does this.
2019-03-12 13:58:46 +01:00
René Pfeuffer
0df22d25f5 Merge with 2.0.0-m3 2019-03-12 09:29:28 +01:00
Mohamed Karray
77fb869ce4 fix there is no error on missing revision 2019-03-11 18:42:10 +01:00
Mohamed Karray
d52a617b29 merge 2019-03-11 15:38:40 +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
René Pfeuffer
087aa35617 Attach merge link only when user has push permission 2019-03-11 14:19:23 +01:00
Sebastian Sdorra
3660ac9fd2 adds rest endpoint for namespace strategies 2019-03-11 13:26:04 +01:00
René Pfeuffer
90635f9743 Add logging for missing permission 2019-03-11 10:55:50 +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
b0f95fbcc6 Expose conflict errors 2019-03-08 08:58:09 +01:00
Mohamed Karray
186738ad14 Merged in bugfix/delete_repository_permissions (pull request #207)
Fix deletion of permissions after modification
2019-03-05 17:17:29 +00:00
René Pfeuffer
8928ca9676 Use namespace and name for exceptions instead of technical id 2019-03-05 10:42:06 +01:00
René Pfeuffer
4e6dd62cb5 Merged in feature/ui-error-handling (pull request #203)
Feature/ui error handling
2019-03-04 16:12:30 +00:00
René Pfeuffer
768915c75a Do not map not found exception manually 2019-03-04 14:09:48 +01:00
René Pfeuffer
dadfe4a8af Fix media type for validation error 2019-03-04 08:44:41 +01:00
René Pfeuffer
b537a2a2ba Fix deletion of permissions after modification
Permissions could not be deleted, when they were modified (eg. change
of role or of verbs).
2019-03-01 14:10:39 +01:00
René Pfeuffer
b604f32b2b Keep permissions on repository update 2019-03-01 11:37:23 +01:00
René Pfeuffer
e335bcd5c7 Prevent repetition of verbs in roles 2019-02-21 08:39:50 +01:00
Philipp Czora
17c496222d Merged in feature/consolidate_permissions (pull request #196)
Feature consolidate permissions
2019-02-20 14:20:03 +00:00
René Pfeuffer
31b71c9892 Merged feature/changes_for_ssh_plugin into 2.0.0-m3 2019-02-20 13:51:47 +01:00
Sebastian Sdorra
aec66c023a define AuthorizationCollector as extension point with multiple implmentations 2019-02-18 18:01:11 +01:00
René Pfeuffer
8161d4cb1c Merge roles from multiple repository permissions 2019-02-18 10:31:12 +01:00
René Pfeuffer
5d601293bf Create external group names claim in token builder directly 2019-02-15 10:23:46 +01:00
René Pfeuffer
75239a0104 Support groups from external authentication resources 2019-02-14 15:42:27 +01:00
Sebastian Sdorra
d91f918e91 fixed caching of locales/x/plugins.json 2019-02-11 11:51:12 +01:00
Sebastian Sdorra
f17410ee3b adding Cache-Control header with value no-cache to static web resources
Cache-Control: no-cache, forces the browser to check if the resource has
not changed, before the resources is taken from cache.
2019-02-08 12:55:10 +01:00
Philipp Czora
4e72b3686c Added NotAllowedExceptionMapper 2019-02-06 14:23:25 +01:00
Sebastian Sdorra
ad4277ba41 merge with 2.0.0-m3 2019-02-05 16:50:14 +01:00
Mohamed Karray
8d4f06d7b1 add the sources link to the changeset dto 2019-02-05 13:38:21 +01:00
Mohamed Karray
1af2035ffa merge 2019-02-05 09:45:09 +01:00
Mohamed Karray
6efaf081b5 merge 2019-02-05 08:49:01 +01:00
Sebastian Sdorra
21441aed45 added appendEmbedded method to HalAppender
With this change we could not longer use @AfterMapping from MapStruct.
We should use @ObjectFactory instead and create Links and Embedded before.
2019-02-04 16:18:47 +01:00
Sebastian Sdorra
462cccb443 rename HalAppender methods to make clear, that they target links 2019-02-04 14:41:07 +01:00
Sebastian Sdorra
a180f9b795 rename LinkEnricher to HalEnricher 2019-02-04 14:39:29 +01:00
Sebastian Sdorra
0a29f41835 verify encoding and content type 2019-02-01 09:42:19 +01:00
Mohamed Karray
34542e5cf1 fix i18n encoding 2019-02-01 08:51:07 +01:00
Sebastian Sdorra
145ac7a8d8 remove direct dependencies to apache beanutils and commons collections 2019-01-31 15:53:19 +01:00
René Pfeuffer
225fb0a705 Validate groups and users in backend, too 2019-01-31 11:39:16 +01:00
Mohamed Karray
470ef7aaf4 move the ChangesetDtoMapper to core 2019-01-30 17:57:58 +01:00
Sebastian Sdorra
8bf82213b8 remove unused imports 2019-01-30 14:48:37 +01:00