Commit Graph

480 Commits

Author SHA1 Message Date
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
René Pfeuffer
5d6fcffe5e Clean up hg cat command 2018-08-15 09:59:35 +02:00
René Pfeuffer
c8c1cad67f Add raw stream result to cat command 2018-08-14 17:22:30 +02:00
Philipp Czora
0199b2ccfb Merged branch feature/branches_v2_endpoint 2018-08-09 11:53:45 +02:00
René Pfeuffer
a5ddea31c7 Merge with 2.0.0-m3 2018-08-08 15:57:05 +02:00
Philipp Czora
390ba29bee Renamed tests 2018-08-08 15:14:39 +02:00
René Pfeuffer
67278582e3 Update to Mockito v2 2018-08-08 09:20:08 +02:00
Johannes Schnatterer
499be7314e Merged 2.0.0-m3 into feature/repository_config_v2_endpoint 2018-08-07 17:37:25 +02:00
Johannes Schnatterer
15da105683 Commits missing changes for HgConfigPackagesToDtoMapper 2018-08-07 17:23:52 +02:00
Johannes Schnatterer
45822c44cb Deliver HgConfigPackages no longer as embedded.
They don't have an own identity in terms of REST and its much simpler
to return a simple list instead of an _embedded list.
Also gets rid of one HgConfigPackageToDtoMapper.
2018-08-07 16:47:03 +02:00
Sebastian Sdorra
15255aeeb1 merge with branch feature/repositories-ui 2018-08-07 16:34:26 +02:00
Johannes Schnatterer
adde70f090 Fixes NPE in HgConfigPackageResource for non-existing packages. 2018-08-07 10:44:18 +02:00
Johannes Schnatterer
869821f6db Fixes some SQ Issues regarding DTO add(Links) methods. 2018-08-06 17:47:46 +02:00
Johannes Schnatterer
730c2ae358 Adds test for HgConfigAutoConfigurationResource, its DTO and mappers. 2018-08-06 17:39:05 +02:00
Johannes Schnatterer
45e48e1834 Adds test for HgConfigInstallationsResource, its DTO and mappers. 2018-08-06 17:00:50 +02:00
Johannes Schnatterer
7d59975c80 Adds test for HgConfigPackageResource, its DTO and mappers. 2018-08-06 16:21:46 +02:00
Johannes Schnatterer
b65a8c6b8d Implements Hg Config Sub Resources 2018-08-02 18:36:28 +02:00
Johannes Schnatterer
8c8d908378 Config Resource DTO Mappers: Make use of BaseMapper.
More DRY.
2018-08-02 15:03:30 +02:00
Johannes Schnatterer
62087521be Config Resources: Makes permission names publicly available 2018-08-02 14:16:26 +02:00
Johannes Schnatterer
988dfbd689 Config Resources: Makes REST API docs for 403 more precise 2018-08-02 13:21:07 +02:00
Johannes Schnatterer
982d502203 Config Resources: Gets rid of unnecessary UriInfo param 2018-08-02 13:18:21 +02:00
Johannes Schnatterer
8b16a0251a VndMedia Type classes: Adds private constructor 2018-08-02 13:02:43 +02:00
Sebastian Sdorra
99ecc8cba2 implemented rest endpoint for repository types 2018-08-02 11:56:35 +02:00
Johannes Schnatterer
f20865c658 HgPlugin Config: Minor corrections 2018-08-02 11:56:06 +02:00
Johannes Schnatterer
31540a7ecc Makes REST API doc for config endpoints more precise 2018-08-02 11:52:30 +02:00
Johannes Schnatterer
eee325e185 HgPlugin Config: Adds v2 endpoint 2018-08-02 10:59:34 +02:00
Johannes Schnatterer
7572580ac1 Create fine-grained configuration permissions.
No more hard-coded isAdmin() checks.
2018-07-30 17:41:00 +02:00
Sebastian Sdorra
8a2346271a do not expose exception to the client 2018-07-16 13:51:37 +02:00
René Pfeuffer
53f3264f6e Correct repository name for hg 2018-07-11 12:53:48 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
René Pfeuffer
43ca72255e Remove redundant checks 2018-07-09 10:47:28 +02:00
Philipp Czora
5d5d3c9170 Implemented persisting repositories according to namespace changes
Repository directories are now named after the repo's id instead of it's
name
2018-07-06 11:57:43 +02:00
Philipp Czora
ffabda3f83 Set namespace while creating a repository 2018-06-29 17:10:14 +02:00
René Pfeuffer
7f19b5baff Fix typo 2018-06-20 11:11:14 +02:00
Sebastian Sdorra
92444fa73b json before xml 2017-06-28 22:02:05 +02:00
Sebastian Sdorra
e734ff8268 removed unnecessary json url extension 2017-06-28 22:01:11 +02:00
Sebastian Sdorra
3637a8de20 switch from jersey 1.x to resteasy 2017-06-27 20:16:05 +02:00
Sebastian Sdorra
aec3d5d65d merge with branch 1.x 2017-06-25 19:01:33 +02:00
Sebastian Sdorra
07a1c8b151 [maven-release-plugin] prepare for next development iteration 2017-06-06 11:39:35 +02:00
Sebastian Sdorra
fd02f4c068 [maven-release-plugin] prepare release 1.54 2017-06-06 11:39:34 +02:00
Sebastian Sdorra
b51fba2282 fix repository browsing with mercurial 4.x 2017-06-06 08:14:04 +02:00
Sebastian Sdorra
5cae7ab35a [maven-release-plugin] prepare for next development iteration 2017-05-17 08:36:55 +02:00
Sebastian Sdorra
95bc7607c4 [maven-release-plugin] prepare release 1.53 2017-05-17 08:36:54 +02:00
Sebastian Sdorra
1d1e239d64 [maven-release-plugin] prepare for next development iteration 2017-05-10 09:46:54 +02:00
Sebastian Sdorra
68903ea5af [maven-release-plugin] prepare release 1.52 2017-05-10 09:46:54 +02:00
Sebastian Sdorra
1b16613840 [maven-release-plugin] prepare for next development iteration 2017-02-09 13:33:00 +01:00
Sebastian Sdorra
da3a8b7cd3 [maven-release-plugin] prepare release 1.51 2017-02-09 13:32:59 +01:00
Sebastian Sdorra
f142e1a83f merge with branch 1.x 2017-01-14 13:25:25 +01:00
Sebastian Sdorra
7e6f4e1a7f fix some warning and removed some unused imports 2017-01-14 12:05:53 +01:00