Commit Graph

1601 Commits

Author SHA1 Message Date
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
Mohamed Karray
d52a617b29 merge 2019-03-11 15:38:40 +01:00
René Pfeuffer
087aa35617 Attach merge link only when user has push permission 2019-03-11 14:19:23 +01:00
René Pfeuffer
90635f9743 Add logging for missing permission 2019-03-11 10:55:50 +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
Mohamed Karray
e99752ed2e move the ChangesetDto to core because the activity plugin need it. 2019-01-29 17:46:36 +01:00
Sebastian Sdorra
eba07dc006 merge repository heads 2019-01-29 16:01:36 +01:00
Philipp Czora
5eb4d321a9 Fixed equals() and hashCode() of RepositoryRole 2019-01-29 10:25:12 +01:00
Sebastian Sdorra
b231499cd0 merge with branch 1.x 2019-01-29 09:42:03 +01:00
René Pfeuffer
5c51aeb85c Merge with 2.0.0-m3 2019-01-25 13:34:45 +01:00
René Pfeuffer
8566c294da Fix permission check for permission link 2019-01-25 13:34:09 +01:00
René Pfeuffer
ec1f066b1f Fix mapping with immutable target collection 2019-01-25 08:26:32 +01:00
René Pfeuffer
84fe142346 Fix sonar issue 2019-01-24 13:33:42 +01:00
René Pfeuffer
f974512117 Validate new permissions 2019-01-24 10:30:17 +01:00
René Pfeuffer
42dcaec71a Keep order of permissions 2019-01-23 15:40:08 +01:00
René Pfeuffer
f52edf4dd1 Add link to available repository permissions to index 2019-01-23 15:03:40 +01:00
René Pfeuffer
9898cd3721 Fix authorization events 2019-01-23 15:00:48 +01:00
René Pfeuffer
1bd0bbc7a3 Better rest 2019-01-23 12:46:08 +01:00
René Pfeuffer
69b64948a0 Remove duplicates 2019-01-23 12:33:34 +01:00
René Pfeuffer
fdf4421a55 Fix verbs for repository and rename class 2019-01-23 12:22:06 +01:00