Commit Graph

196 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
145ac7a8d8 remove direct dependencies to apache beanutils and commons collections 2019-01-31 15:53:19 +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
René Pfeuffer
9898cd3721 Fix authorization events 2019-01-23 15:00:48 +01:00
René Pfeuffer
707d63426b Remove enum PermissionType 2019-01-22 13:28:52 +01:00
Sebastian Sdorra
3bd1cbf53d added option to define extra groups for AccessToken 2019-01-21 14:27:14 +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
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
René Pfeuffer
c0ba6984e9 Add unit test 2018-12-14 16:51:40 +01:00
Sebastian Sdorra
675f417d45 fix resultHasMediaType for camel case media types 2018-12-11 15:14:59 +01:00
Sebastian Sdorra
f74a89c9d8 do not allow "." as part of repository ids 2018-11-30 11:04:33 +01:00
Sebastian Sdorra
53be8b112b avoid path traversal attack 2018-11-30 08:11:26 +01:00
Sebastian Sdorra
e9401624a7 re implement XmlRepositoryDAO 2018-11-28 19:49:55 +01:00
René Pfeuffer
d4db39755f Harmonize repository resolution 2018-11-27 15:31:57 +01:00
René Pfeuffer
282b5687a6 Query initial repository location only once at creation 2018-11-23 16:34:38 +01:00
René Pfeuffer
1e655e9c97 Fix creation of root repository folder
The root folder has to be created with FileSystem, not only the data
directory
2018-11-23 13:58:39 +01:00
René Pfeuffer
27b5be5391 Remove test for deleted class 2018-11-23 10:43:23 +01:00
René Pfeuffer
20f5e7be1f Cleanup usage of InitialRepositoryLocationResolver and RepositoryLocationResolver 2018-11-22 17:06:29 +01:00
René Pfeuffer
00e3cbec57 Refactor directories in RepositoryPath and dao 2018-11-22 12:29:26 +01:00
Mohamed Karray
39e5c19251 merge 2018-11-15 11:28:33 +01:00
Mohamed Karray
f8ae7cedf7 Refactor the repository store implementation in order to store repositories in specific paths. 2018-11-15 10:04:16 +01:00
René Pfeuffer
6eb3c38655 Create error response for already existing entities 2018-10-25 15:31:42 +02:00
René Pfeuffer
46846673ae Merge with 2.0.0-m3 2018-10-17 13:58:53 +02:00
Mohamed Karray
d2dbccb80c remove throws NotFoundException and fix modify password 2018-10-16 10:47:52 +02:00
René Pfeuffer
83640b9d44 Merge with 2.0.0-m3 2018-10-10 08:54:23 +02:00
Sebastian Sdorra
e5a3cbb50e change browse api in order to build a tree base file structure 2018-10-08 14:38:27 +02:00
Mohamed Karray
c1c1c5b984 merge 2018-10-02 13:20:55 +02:00
Sebastian Sdorra
fe93d8baa6 added unit tests for JsonEnricher 2018-10-02 08:04:39 +02:00
Mohamed Karray
b33b72aa80 remove the rest/ path from endpoints 2018-10-01 17:22:03 +02:00
René Pfeuffer
cd344664aa Test permission filter 2018-09-14 11:30:05 +02:00
René Pfeuffer
e88639ab81 Implement permission filters as decorator for servlets 2018-09-14 10:21:00 +02:00
René Pfeuffer
145502a7b8 Introduce extension point for further protocol implementations 2018-09-13 10:35:10 +02:00
René Pfeuffer
f47c5ef16f Replace MockProvider test helper with guice class 2018-09-12 12:05:24 +02:00
René Pfeuffer
ef28350ce3 Handle missing request scope for url computation 2018-09-12 11:43:29 +02:00
René Pfeuffer
5b35fb2372 Fallback to configured base url if UriInfoStore not set 2018-09-11 16:03:32 +02:00
René Pfeuffer
bf9de8ea8e Reduce dependency to RepositoryProvider in provider servlets 2018-09-11 07:40:24 +02:00
René Pfeuffer
a490a20ac9 Inject uri info for http protocol url computation 2018-09-10 14:48:22 +02:00
René Pfeuffer
ce518ad784 Inject repository from service provider 2018-09-10 14:00:13 +02:00
René Pfeuffer
50a4133dff Remove old type dependant repo uri functions 2018-09-10 10:08:51 +02:00
René Pfeuffer
4eb75bc621 Initialize servlet and fix paths 2018-09-06 15:33:24 +02:00
René Pfeuffer
c4b34752b4 Fix integration tests by delegating to existing servlets 2018-09-04 20:29:17 +02:00
René Pfeuffer
3f772b3688 Use links from protocols instead of resource links
Add links only for requests with according permissions
2018-09-04 12:40:41 +02:00
René Pfeuffer
b55955f273 Add basic concept for scm protocol 2018-09-03 15:52:59 +02:00
Sebastian Sdorra
c1123810fc merge with feature/ui-extensions branch 2018-08-30 12:15:17 +02:00
Sebastian Sdorra
b09c46abcf remove old ui 2018-08-27 15:45:56 +02:00
René Pfeuffer
a0f74e3329 Replace model object exception with generic ones and migrate guice 2018-08-21 07:53:33 +02:00
René Pfeuffer
67278582e3 Update to Mockito v2 2018-08-08 09:20:08 +02:00
Johannes Schnatterer
7572580ac1 Create fine-grained configuration permissions.
No more hard-coded isAdmin() checks.
2018-07-30 17:41:00 +02:00