Commit Graph

2306 Commits

Author SHA1 Message Date
Sebastian Sdorra
ee8efe9cf5 do not return directories from WebResourceLoader 2018-08-23 14:48:11 +02:00
Sebastian Sdorra
0fc09f5c0d added PushStateDispatcher for production and development to WebResourceServlet 2018-08-23 11:48:42 +02:00
René Pfeuffer
7177cbd3fe Fix streaming content result for hg 2018-08-23 09:54:36 +02:00
Sebastian Sdorra
9e8bd299f0 fix cookie path, if scm-manager runs with context path / 2018-08-23 08:24:19 +02:00
Mohamed Karray
87e32087ac #8771 run JUnit 5 with maven and fix tests 2018-08-22 15:55:29 +02:00
René Pfeuffer
8320c75c89 Fix svn revision in sources HAL links 2018-08-22 14:29:05 +02:00
René Pfeuffer
e77c633d64 Fix permission check for read permissions 2018-08-22 12:29:45 +02:00
René Pfeuffer
2761edb9f6 Migrate not found errors to NotFoundException 2018-08-22 09:35:13 +02:00
Mohamed Karray
8c128127de #8771 implement integration tests 2018-08-22 09:18:17 +02:00
René Pfeuffer
5ed6cc4a53 Merge permission endpoint into feature branch 2018-08-22 07:54:40 +02:00
René Pfeuffer
15d5db9458 Replace hibernate vaidator with javaee api
Hibernate validator is bundled with resteasy validation package,
but using another version what leads to problems.
2018-08-21 16:30:21 +02:00
Sebastian Sdorra
be21c35bf8 implemented WebResourceServlet, which loads resources from the UberWebResourceLoader 2018-08-21 15:23:54 +02:00
René Pfeuffer
cd54086e7d Remove redundant permission check 2018-08-21 14:18:03 +02:00
René Pfeuffer
298430a90f Satisfy sonar 2018-08-21 13:38:37 +02:00
René Pfeuffer
101db66fa0 Merge 2018-08-21 11:53:29 +02:00
René Pfeuffer
778881a2fb Peer-Review 2018-08-21 11:47:02 +02:00
Mohamed Karray
a7ba473fcc #8771 use the AuthenticationExceptionMapper from v1 2018-08-21 10:58:47 +02:00
Mohamed Karray
4e1778cac1 #8771 Merged Permission endpoints 2018-08-21 10:35:39 +02:00
René Pfeuffer
a0f74e3329 Replace model object exception with generic ones and migrate guice 2018-08-21 07:53:33 +02:00
Mohamed Karray
f79975b18d #8771 Permission endpoints 2018-08-20 18:16:14 +02:00
René Pfeuffer
bb9a0657a5 Change user constraints 2018-08-20 10:16:21 +02:00
René Pfeuffer
6a7987481a Peer review 2018-08-17 09:33:45 +02:00
Philipp Czora
8ee550e8e7 Fixed wildcard import 2018-08-16 17:32:38 +02:00
René Pfeuffer
c4a7aafb7c Fix logging text 2018-08-16 16:55:44 +02:00
René Pfeuffer
3822c4b51c Include resteasy javaee 7 validation with hibernate 2018-08-16 16:53:20 +02:00
Philipp Czora
edac761d67 Added content link to FileObjectDto 2018-08-16 15:20:20 +02:00
Philipp Czora
e792be5c76 Merge 2.0.0-m3 2018-08-16 13:35:50 +02:00
Philipp Czora
0ae0772921 Merge 2.0.0-m3 2018-08-16 13:22:27 +02:00
Philipp Czora
a2c7fb22dd Merged heads 2018-08-16 10:47:47 +02:00
René Pfeuffer
9babeecea6 Create and handle RevisionNotFoundException 2018-08-16 10:24:47 +02:00
Philipp Czora
70039ad540 Removed setting content length to header length in ContentResource
Header is always 1024 Bytes long
2018-08-15 16:51:50 +02:00
Philipp Czora
b485fe1d2a Implemented resource method to get single file 2018-08-15 13:40:41 +02:00
René Pfeuffer
6e858ea305 Add documentation 2018-08-15 11:58:34 +02:00
Philipp Czora
eceea012b0 Added optional revision path param to SourceRootResource#getAll 2018-08-15 10:26:32 +02:00
René Pfeuffer
3038d6460c Verify header will not read complete file 2018-08-15 08:24:11 +02:00
René Pfeuffer
c3a455145a Read header using direct stream 2018-08-14 17:31:27 +02:00
Philipp Czora
f3925fa311 Added links to sources ressource / refactored code and fixed issues 2018-08-14 17:16:10 +02:00
Mohamed Karray
012ac34a6a #8771 create the Permission DTO 2018-08-14 16:44:42 +02:00
René Pfeuffer
2266b971a9 Make smaller functions 2018-08-14 14:13:26 +02:00
René Pfeuffer
99a17c5103 Log error cases 2018-08-14 13:58:22 +02:00
René Pfeuffer
dcdab9a00e Fix typo 2018-08-14 13:09:43 +02:00
René Pfeuffer
fdaff02e01 Handle exception in stream processing 2018-08-14 12:58:03 +02:00
René Pfeuffer
01788f3de8 Name test method 2018-08-14 07:52:24 +02:00
Philipp Czora
f375e076e4 Implemented BrowserResultMapper 2018-08-13 17:31:45 +02:00
René Pfeuffer
815cee1569 Return content as stream 2018-08-13 15:52:50 +02:00
René Pfeuffer
b197f92945 Remove wrong annotations 2018-08-10 16:32:56 +02:00
René Pfeuffer
7e31498fa4 Introduce content resource with content type detection 2018-08-10 16:31:22 +02:00
Philipp Czora
60526ba38e Started implementing the sources feature 2018-08-10 15:39:14 +02:00
René Pfeuffer
8c541b8dec Close service resource after usage 2018-08-10 13:37:10 +02:00
René Pfeuffer
f899185d2e Remove branch and tag hal-link from svn repository 2018-08-10 09:34:32 +02:00