Commit Graph

824 Commits

Author SHA1 Message Date
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
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
René Pfeuffer
ada764fd8b Merge with 2.0.0-m3 2019-01-16 07:43:22 +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
471852d360 implement new link enricher api for various resource objects.
Repository, Tag, Branch, Changeset, FileObject, Group, User, Me and Index
2019-01-03 10:20:39 +01:00
René Pfeuffer
58df98f8b8 Merge with 2.0.0-m3 2018-12-21 14:08:46 +01:00
René Pfeuffer
05c4e722b6 Map com.fasterxml.jackson.core.JsonParseException to proper response 2018-12-21 14:05:52 +01:00
Johannes Schnatterer
43232e0c59 Adds Global Permission Proof of Concept 2018-12-20 17:57:35 +01:00
René Pfeuffer
a9c5df1403 Merge with 2.0.0-m3 2018-12-14 17:23:22 +01:00
René Pfeuffer
9392619572 Map JAX NotFoundException to 404 2018-12-14 10:42:19 +01:00
Philipp Czora
0af5d3901c Renamed NotSupportedFeatureException 2018-12-13 15:31:00 +01:00
René Pfeuffer
b392e3f9d2 Fix content type for simple exception mappers 2018-12-13 09:38:41 +01:00
René Pfeuffer
d31090bcd4 Introduce generic BadRequestException 2018-12-10 18:06:13 +01:00
Sebastian Sdorra
8d27449c86 merge with 2.0.0-m3 2018-12-10 14:06:44 +01:00
Sebastian Sdorra
3d36d07e1d Merged in feature/merge_endpoint (pull request #122)
Feature merge endpoint
2018-12-10 12:20:12 +00:00
René Pfeuffer
9bf802c095 Map not supported media type exceptions 2018-12-07 14:36:56 +01:00
René Pfeuffer
f447ae437b Check feature in "incoming" commands 2018-12-06 11:35:56 +01:00
René Pfeuffer
de6d52bad9 Introduce feature for incoming changes 2018-12-06 10:49:37 +01:00
Mohamed Karray
6b2125687e add the Incoming Resource to get incoming changesets and diff 2018-12-06 08:46:22 +01:00
René Pfeuffer
244586e121 Add documentation 2018-12-05 17:03:02 +01:00
René Pfeuffer
ea35469008 Add merge links to repository resource 2018-12-05 16:46:31 +01:00
René Pfeuffer
7900b94011 Add resource for merges 2018-12-05 13:52:14 +01:00
René Pfeuffer
c9cbd802d4 Merge 2.0.0-m3 2018-11-27 14:39:07 +01:00
Sebastian Sdorra
ed3917469b added cache-control header to api response, to fix stale data on ie11 2018-11-27 11:33:51 +01:00
René Pfeuffer
b9458f47e9 Add support for custom violation exceptions 2018-11-20 11:04:30 +01:00
René Pfeuffer
08af48bad1 Delete IllegalArgumentExceptionMapper
This was forgotten in error handling feature
2018-11-14 10:41:17 +01:00
René Pfeuffer
716b49a039 Merge with 2.0.0-m3 2018-11-13 10:36:31 +01:00
René Pfeuffer
96c2114e53 Reduce SecurityFilter to user injection and enable SecurityInterceptor
Remove all the unnecessary stuff and all endpoints that would be no
longer secure.
2018-11-09 16:06:31 +01:00
René Pfeuffer
afbffa5978 Fix tests for default owner permission
Therefore add explicit methods to change the permission collection
of a repository.
2018-11-09 10:13:36 +01:00
René Pfeuffer
bb28e53d1b Set owner permission in new repository for logged in user 2018-11-08 16:28:36 +01:00
Sebastian Sdorra
e88b4041a7 Merged in feature/validation_reflection (pull request #105)
Use reflection for validation
2018-11-08 09:37:36 +00:00
Sebastian Sdorra
2201f2436e Merged in feature/errorhandling (pull request #99)
Feature Error Handling
2018-11-08 09:36:18 +00:00
René Pfeuffer
a95815ed18 Merge with 2.0.0-m3 2018-11-07 17:42:20 +01:00
René Pfeuffer
c1b6f64ecf Fix build breaker 2018-11-07 17:39:56 +01:00
René Pfeuffer
b5389023cf Merge with 2.0.0-m3 2018-11-07 16:43:26 +01:00
René Pfeuffer
5bbb4c5267 Use reflection for parameter validation messages 2018-11-07 16:36:54 +01:00
Sebastian Sdorra
c59ba9e149 Merged in feature/log_two_revisions (pull request #104)
Feature log two revisions
2018-11-07 14:07:50 +00:00
René Pfeuffer
1351898399 Fix typo 2018-11-06 11:01:33 +01:00
René Pfeuffer
176cda36dc Merge 2018-11-06 09:26:41 +01:00
René Pfeuffer
cf05235dfa Add context to InternalRepositoryException 2018-11-06 09:14:20 +01:00
René Pfeuffer
7ef9db0fe5 Add changeset diff endpoint 2018-11-05 18:09:18 +01:00
René Pfeuffer
9a1878f3e8 Add fallback exception mapper 2018-11-02 17:12:49 +01:00
René Pfeuffer
ee88cea1ea Mark exception mapper as provider 2018-11-02 17:12:11 +01:00
René Pfeuffer
6c1f77cc1b Merge with 2.0.0-m3 2018-11-02 16:57:44 +01:00
René Pfeuffer
359a857ca3 Migrate NotSupportedFeatureException 2018-11-02 16:21:23 +01:00
René Pfeuffer
8b03a2c9a4 Merge with 2.0.0-m3 2018-11-01 12:03:49 +01:00