Commit Graph

5024 Commits

Author SHA1 Message Date
René Pfeuffer
b992ab414f Fix concurrent modification check for missing modification date 2018-08-30 10:34:43 +02:00
René Pfeuffer
f5600f60fb Merge with 2.0.0-m3 2018-08-30 10:04:06 +02:00
Philipp Czora
05a7e6c587 Implemented handling of concurrent modification of objects
based on lastModified date
2018-08-29 10:39:29 +02:00
Philipp Czora
19f2c88768 Removed commented out code & formatted file 2018-08-27 15:54:37 +02:00
Philipp Czora
4713339f90 Removed commented out code 2018-08-27 14:50:16 +02:00
Philipp Czora
d7a229a082 Removed unused Exception 2018-08-27 14:49:52 +02:00
Philipp Czora
3f1b2db031 Fixed typo 2018-08-27 14:19:07 +02:00
René Pfeuffer
07954aeaee Merged in feature/permissions_fix_it_and_iunit5_tests (pull request #62)
Feature/permissions fix it and iunit5 tests
2018-08-27 11:07:18 +00:00
René Pfeuffer
9a630c5677 Close branch feature/permissions_fix_it_and_iunit5_tests 2018-08-27 11:07:18 +00:00
René Pfeuffer
f66267e107 Correct test case 2018-08-27 13:04:05 +02:00
René Pfeuffer
7766a99154 Do not delete permissions on repository update 2018-08-27 10:45:20 +02:00
René Pfeuffer
6acded2eed Flip equals check so that missing properties will not result in NPE 2018-08-27 10:31:07 +02:00
René Pfeuffer
fafb336512 Fix tests for validation 2018-08-24 16:30:43 +02:00
René Pfeuffer
128961b745 Add bean validation to user, group and repository
The validations are taken from the isValid methods of the corresponding
model objects.
2018-08-24 14:35:58 +02:00
Mohamed Karray
19ce115786 #8771 merge 2018-08-24 11:13:24 +02:00
Mohamed Karray
abe3dec8df #8771 fix get all to return links
add permissionRead and permissionWrite permissions
2018-08-24 10:57:50 +02:00
René Pfeuffer
b3fd051321 Check against feature instead of repository type 2018-08-24 07:57:13 +02:00
René Pfeuffer
bc009c02ac Fix parameterized tests for junit 5 2018-08-23 17:24:00 +02:00
Mohamed Karray
87e32087ac #8771 run JUnit 5 with maven and fix tests 2018-08-22 15:55:29 +02:00
René Pfeuffer
e77c633d64 Fix permission check for read permissions 2018-08-22 12:29:45 +02:00
René Pfeuffer
02f4801b58 Let integration tests use links from HAL and test brute force links 2018-08-22 12:20:09 +02:00
René Pfeuffer
585d37feed Split up test methods for each user 2018-08-22 11:19:19 +02:00
René Pfeuffer
b68c8400a7 Move tests to test classes 2018-08-22 10:59:46 +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
d82a5f446d Enable legman, again 2018-08-21 16:37:34 +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
René Pfeuffer
59699b6451 Merge feature 2018-08-21 15:16:00 +02:00
René Pfeuffer
40af0b5f03 merge 2018-08-21 15:15:40 +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
a15058a93e Merged in feature/permission_endpoint_v2 (pull request #59)
Feature permission endpoint v2
2018-08-21 09:57:36 +00:00
René Pfeuffer
cb59226023 Close branch feature/permission_endpoint_v2 2018-08-21 09:57:36 +00: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
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
84e729793b Merged in feature/content_endpoint_v2 (pull request #57)
Feature content endpoint v2
2018-08-16 11:09:53 +00:00
Philipp Czora
35ce7f9828 Close branch feature/content_endpoint_v2 2018-08-16 11:09:53 +00: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
René Pfeuffer
6e858ea305 Add documentation 2018-08-15 11:58:34 +02:00
René Pfeuffer
332fc347db Add basic integration test for interactions with repositories 2018-08-15 11:44:20 +02:00