Commit Graph

1386 Commits

Author SHA1 Message Date
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
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
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
René Pfeuffer
7462613c16 Add permission for permissions 2019-01-16 16:55:24 +01:00
René Pfeuffer
5e364e1043 Do not expose StoredAssignedPermission 2019-01-16 16:03:02 +01:00
René Pfeuffer
f1692aa1c7 Cleanup security system
- remove probably unused methods
- use sets instead of lists
- remove old REST resource
2019-01-16 14:19:11 +01:00
Philipp Czora
a03d038309 Merged in feature/changes-for-cas-plugin (pull request #146)
Feature/changes for cas plugin
2019-01-04 10:45:58 +00:00
Philipp Czora
3497ffddae Fixed bug 2019-01-03 14:45:19 +01:00
Sebastian Sdorra
5f80f5c4af extends LinkEnricher api to append link arrays to the response 2019-01-03 11:18:22 +01:00
Sebastian Sdorra
7821b68d9c implemented LinkEnricher registration via Enrich annotation 2019-01-03 10:52:37 +01:00
Sebastian Sdorra
c69c8028c9 added new api to simplify the process of appending links to json responses 2019-01-03 09:46:48 +01:00
Sebastian Sdorra
ac4a57f2f3 replace TokenClaimsValidator with not so generic AccessTokenValidator interface and fixed duplicated code of BearerRealm and JwtAccessTokenResolve 2018-12-21 08:35:18 +01:00
René Pfeuffer
f37534987a Merge with 2.0.0-m3 2018-12-20 10:56:00 +01:00
René Pfeuffer
ffa013de68 Merge with 2.0.0-m3 2018-12-20 10:44:44 +01:00
René Pfeuffer
f87c09334e Undo unnecessary change 2018-12-20 10:31:29 +01:00
René Pfeuffer
3774b5abb3 Do not send basic auth for /repo requests from web browser
This fixes the basic auth popups in browsers after session timeout and
reload in browsers "inside" of repositories.
2018-12-20 10:05:17 +01:00
René Pfeuffer
53eab1dc4b Merged in feature/changes-for-cas-plugin (pull request #135)
Changes for cas plugin
2018-12-18 14:57:00 +00:00
Sebastian Sdorra
4c0f993293 added jaxb adapter for instant objects 2018-12-18 09:26:51 +01:00
Sebastian Sdorra
af7e776fdd added getParentKey() to AccessToken interface 2018-12-17 13:06:11 +01:00
René Pfeuffer
a9c5df1403 Merge with 2.0.0-m3 2018-12-14 17:23:22 +01:00
René Pfeuffer
84e27b60d4 Give attribute proper name 2018-12-14 17:20:22 +01:00
René Pfeuffer
c0ba6984e9 Add unit test 2018-12-14 16:51:40 +01:00
René Pfeuffer
cef43b8b91 Add abstract base class to enrich repository json responses 2018-12-14 16:38:14 +01:00
René Pfeuffer
d02cb60b47 Add getters with Optional to stores 2018-12-14 14:50:14 +01:00
Sebastian Sdorra
306482094d move AccessTokenCookieIssue from scm-webapp to scm-core 2018-12-14 08:29:30 +01:00
Sebastian Sdorra
d6efec8fe3 use url safe base64 encoding 2018-12-14 08:28:28 +01:00