Commit Graph

537 Commits

Author SHA1 Message Date
Philipp Czora
4713339f90 Removed commented out code 2018-08-27 14:50:16 +02:00
Philipp Czora
3f1b2db031 Fixed typo 2018-08-27 14:19:07 +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
René Pfeuffer
2761edb9f6 Migrate not found errors to NotFoundException 2018-08-22 09:35:13 +02:00
René Pfeuffer
5ed6cc4a53 Merge permission endpoint into feature branch 2018-08-22 07:54: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
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
3822c4b51c Include resteasy javaee 7 validation with hibernate 2018-08-16 16:53:20 +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
René Pfeuffer
6e858ea305 Add documentation 2018-08-15 11:58:34 +02:00
René Pfeuffer
c3a455145a Read header using direct stream 2018-08-14 17:31:27 +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
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
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
Philipp Czora
0199b2ccfb Merged branch feature/branches_v2_endpoint 2018-08-09 11:53:45 +02:00
Philipp Czora
efc72b21ec Minor changes due to review 2018-08-09 11:21:29 +02:00
René Pfeuffer
041c94fa55 Delete unused sub resources 2018-08-09 08:07:28 +02:00
René Pfeuffer
1c93551e5c Add source and changeset links to branch 2018-08-08 17:13:24 +02:00
René Pfeuffer
a5ddea31c7 Merge with 2.0.0-m3 2018-08-08 15:57:05 +02:00
Philipp Czora
978ca63ecb merge with branch feature/repository_config_v2_endpoint 2018-08-08 15:41:29 +02:00
Sebastian Sdorra
7bb7b2f771 merge with branch feature/ui-for-scm2_groups 2018-08-08 14:59:39 +02:00
René Pfeuffer
8f5b2f2fe4 Make sub resource level for branch root leaf 2018-08-08 14:24:51 +02:00
Johannes Schnatterer
499be7314e Merged 2.0.0-m3 into feature/repository_config_v2_endpoint 2018-08-07 17:37:25 +02:00
René Pfeuffer
8dd7aafecd Add missing documentation 2018-08-07 16:59:44 +02:00
René Pfeuffer
bf0c559a7d Use try-with-resources 2018-08-07 16:52:40 +02:00
Sebastian Sdorra
15255aeeb1 merge with branch feature/repositories-ui 2018-08-07 16:34:26 +02:00
René Pfeuffer
42aac06f0a Add branch endpoint 2018-08-07 16:15:52 +02:00
René Pfeuffer
14611d89d0 Add branch collection endpoint 2018-08-07 15:15:12 +02:00
Maren Süwer
5731b607be change repository-types to repositoryTypes 2018-08-07 12:58:16 +02:00
Johannes Schnatterer
869821f6db Fixes some SQ Issues regarding DTO add(Links) methods. 2018-08-06 17:47:46 +02:00
René Pfeuffer
6fff26eb76 Add http protocol link to repository object response 2018-08-06 15:34:31 +02:00
René Pfeuffer
f0f57de4b5 Remove error prone getByNamespace method
This method does not report missing permissions correctly.
2018-08-03 08:35:55 +02:00
Philipp Czora
80d4130e03 Group Resource now accepts a list of member's names instead of full user objects 2018-08-02 16:03:17 +02:00
Johannes Schnatterer
8c8d908378 Config Resource DTO Mappers: Make use of BaseMapper.
More DRY.
2018-08-02 15:03:30 +02:00