Commit Graph

1595 Commits

Author SHA1 Message Date
René Pfeuffer
a16bb0d0af Wrap parser and handler into interpreter 2019-03-05 15:01:57 +01:00
René Pfeuffer
dd71fb4c3b Expose ScmCommandProtocol as extension point
This is necessary so that multiple providers (git, hg, ...) can
implement this. The using class has to find the matching implementation.
2019-03-05 14:20:31 +01:00
René Pfeuffer
ffbf9e4fba Add independent classes from ssh plugin 2019-03-04 13:22:40 +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
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
1f3c811acf added javadoc 2019-02-19 14:48:38 +01:00
Sebastian Sdorra
aec66c023a define AuthorizationCollector as extension point with multiple implmentations 2019-02-18 18:01:11 +01:00
René Pfeuffer
e50530e866 Activate custom permission checks 2019-02-18 15:48:32 +01:00
René Pfeuffer
5d601293bf Create external group names claim in token builder directly 2019-02-15 10:23:46 +01:00
René Pfeuffer
83076dba46 Add floating API 2019-02-14 16:36:06 +01:00
René Pfeuffer
75239a0104 Support groups from external authentication resources 2019-02-14 15:42:27 +01:00
Florian Scholdei
9598c1865e merge 2019-02-07 11:57:06 +01:00
Mohamed Karray
d4a79ee140 Merged in bugfix/read_vcs_versions (pull request #178)
Fix class loader for creation of vcs version string
2019-02-06 09:04:04 +00:00
Philipp Czora
7fed62ff8a Added extension point for author metadata 2019-02-05 18:36:26 +01:00
Sebastian Sdorra
ad4277ba41 merge with 2.0.0-m3 2019-02-05 16:50:14 +01:00
Sebastian Sdorra
0a9abe629c name variable by role and not by type 2019-02-05 16:47:46 +01:00
Sebastian Sdorra
18b64ebde2 fix GZipResponseFilter b using the HttpServletRequest to check if the client supports gzip 2019-02-05 16:47:22 +01:00
Mohamed Karray
75b5e88a90 merge 2019-02-05 15:18:52 +01:00
Mohamed Karray
6efaf081b5 merge 2019-02-05 08:49:01 +01:00
René Pfeuffer
7369f1cfce Ensure that verbs occur only once in the collection
This is necessary for equals to work correctly
2019-02-04 16:33:03 +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
René Pfeuffer
accd20538e Fix class loader for creation of vcs version string
Use UberClassLoader in
AbstractSimpleRepositoryHandler#getStringFromResource

Therefore pass through plugin loader
2019-02-04 14:35:51 +01:00
Sebastian Sdorra
145ac7a8d8 remove direct dependencies to apache beanutils and commons collections 2019-01-31 15:53:19 +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
Sebastian Sdorra
e5e4ae9ac9 fix gzip filter on resteasy 3.6.2 2019-01-30 13:43:29 +01:00
Sebastian Sdorra
69dda6403d update resteasy to v3.6.2.Final in order to fix CVE-2017-7561 and CVE-2016-6347 2019-01-30 13:21:11 +01:00
Sebastian Sdorra
4f72f1d304 remove unused repositories to speedup build 2019-01-30 10:32:29 +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
Sebastian Sdorra
b231499cd0 merge with branch 1.x 2019-01-29 09:42:03 +01:00
René Pfeuffer
42dcaec71a Keep order of permissions 2019-01-23 15:40:08 +01:00
René Pfeuffer
9898cd3721 Fix authorization events 2019-01-23 15:00:48 +01:00
René Pfeuffer
452977c5a9 Fix unit test 2019-01-23 13:01:14 +01:00
René Pfeuffer
1bd0bbc7a3 Better rest 2019-01-23 12:46:08 +01:00
René Pfeuffer
6bf216d379 Rename media type 2019-01-23 11:19:55 +01:00
René Pfeuffer
b8679d1f83 Fix permission check 2019-01-23 11:18:47 +01:00
René Pfeuffer
8c04944623 Do not return null 2019-01-23 11:18:02 +01:00
René Pfeuffer
02b19e51ef Fix repository permission rest interface 2019-01-23 09:47:38 +01:00
René Pfeuffer
9b4fc5e3d8 Persist permissions in repository 2019-01-22 17:22:59 +01:00
René Pfeuffer
707d63426b Remove enum PermissionType 2019-01-22 13:28:52 +01:00
René Pfeuffer
4dcbcb80e7 Remove permissions from repository 2019-01-22 13:00:02 +01:00
René Pfeuffer
8f1b67fe58 Merge with 2.0.0-m3 2019-01-21 15:09:23 +01:00
Sebastian Sdorra
3bd1cbf53d added option to define extra groups for AccessToken 2019-01-21 14:27:14 +01:00
René Pfeuffer
aa26a9c0e3 Fix REST endpoint for user permissions 2019-01-17 15:29:21 +01:00
René Pfeuffer
783c425b1e Rename Permission -> RepositoryPermission 2019-01-17 14:25:49 +01:00
René Pfeuffer
ad65c8cd02 Use PermissionDescriptor instead of String 2019-01-17 13:21:20 +01:00