Commit Graph

379 Commits

Author SHA1 Message Date
René Pfeuffer
9a1878f3e8 Add fallback exception mapper 2018-11-02 17:12:49 +01:00
René Pfeuffer
4a307379a2 Remove code duplication 2018-10-26 15:15:51 +02:00
René Pfeuffer
22069914b0 Fix injection for unit tests 2018-10-26 14:54:55 +02:00
René Pfeuffer
9279bfca5f Use mappers for errors 2018-10-26 14:20:19 +02:00
René Pfeuffer
cd0964d850 Fix typo in class name 2018-10-26 13:07:41 +02:00
René Pfeuffer
6eb3c38655 Create error response for already existing entities 2018-10-25 15:31:42 +02:00
René Pfeuffer
d185743ef0 Create error response for concurrent modifications 2018-10-25 13:48:00 +02:00
René Pfeuffer
b74fb814b8 Introduce default error object with context for not found exceptions 2018-10-18 13:12:16 +02:00
René Pfeuffer
9bfb2cdadb Move password logic to manager 2018-10-17 11:58:37 +02:00
Mohamed Karray
d2dbccb80c remove throws NotFoundException and fix modify password 2018-10-16 10:47:52 +02:00
Mohamed Karray
023b362f68 add permission to modify the own password over the me and the user endpoints 2018-10-12 15:20:58 +02:00
René Pfeuffer
37ce4fbabe Cleanup names, dead code and logging 2018-09-17 09:15:40 +02:00
René Pfeuffer
7c76f7a699 Merge with 2.0.0-m3 2018-09-13 08:17:51 +02:00
René Pfeuffer
b809abaa45 Move info initialization to filter 2018-09-12 09:23:04 +02:00
René Pfeuffer
af55bf6117 Give name to initialization 2018-09-12 09:19:52 +02:00
René Pfeuffer
7c09f35ac8 Rename UriInfoStore to ScmPathInfoStore 2018-09-12 08:53:15 +02:00
René Pfeuffer
e90dc11bc7 Cleanup for http protocol servlet changes 2018-09-11 10:50:53 +02:00
René Pfeuffer
e48a056009 Merge with 2.0.0-m3 2018-09-10 09:20:17 +02:00
Mohamed Karray
85999904b3 merge 2018-09-05 17:14:23 +02:00
René Pfeuffer
753349ae18 Log illegal argument exception before mapping to 400 2018-09-05 15:17:16 +02:00
René Pfeuffer
c4b34752b4 Fix integration tests by delegating to existing servlets 2018-09-04 20:29:17 +02:00
Mohamed Karray
56524fa460 #9208 add group permission prefix 2018-08-31 14:23:44 +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
René Pfeuffer
5ed6cc4a53 Merge permission endpoint into feature branch 2018-08-22 07:54:40 +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
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
f191f2833d Fix handling of RepositoryIsNotArchivedException 2018-08-02 08:56:03 +02:00
Johannes Schnatterer
df282ee6a9 Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-25 17:15:01 +02:00
Sebastian Sdorra
90aff6b31f merge branch heads of 2.0.0-m3 2018-07-16 15:21:29 +02:00
Sebastian Sdorra
187384088b remove no longer required sonia.scm.url package 2018-07-16 14:17:05 +02:00
Sebastian Sdorra
25d1ac0821 uncomment the whole import block, to avoid sonarqube sonarqube mark it as bug 2018-07-16 13:38:57 +02:00
Michael Behlendorf
0c60df3ac6 Merge branch 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-13 11:13:43 +02:00
René Pfeuffer
43dbb6e0aa Merge with upstream 2018-07-12 11:31:55 +02:00
René Pfeuffer
b1ed50affb Fix internal error when pushing an existing repository 2018-07-11 14:56:18 +02:00
René Pfeuffer
a1c1bc1042 Merging base branch back into feature 2018-07-11 14:01:17 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
René Pfeuffer
50d9da8726 Merge base branch into feature 2018-07-05 14:56:33 +02:00
Johannes Schnatterer
31c71e5d23 Merge branch 2.0.0-M3 into bugfix_illegal_sortby AGAIN 2018-07-04 13:18:31 +02:00
Johannes Schnatterer
4a49068b4a Review - Adds reason for RuntimeException & extends REST docs 2018-07-03 16:18:44 +02:00
René Pfeuffer
0768b638ed Bootstrap v2 version to get repositories 2018-07-03 12:39:01 +02:00
René Pfeuffer
0aa2326818 Verify sortBy parameter before application 2018-07-02 20:11:53 +02:00
René Pfeuffer
e7ea9e686e Clean up exceptions
- Remove declared IOException
- Fix repetition of exception messages
2018-06-29 09:34:31 +02:00
René Pfeuffer
d29f9ea2d8 Fix Typo 2018-06-28 17:01:51 +02:00
René Pfeuffer
07e3361bcb Add exception mappers for create conflicts 2018-06-27 09:19:41 +02:00
René Pfeuffer
8a8858407d Use request scoped store to transfer UriInfo 2018-06-15 08:46:21 +02:00
René Pfeuffer
838777b403 Mob review 2018-06-14 08:05:29 +02:00