Commit Graph

675 Commits

Author SHA1 Message Date
Johannes Schnatterer
865929b328 Renames globalConfig to config.
From an SCMM point of view there is only one config, so no "global" necessary.
The others configs are provided by plugins.
2018-07-31 14:47:15 +02:00
Johannes Schnatterer
ca93735514 Return no content on PUT /config 2018-07-31 14:14:21 +02:00
Johannes Schnatterer
912dea6d6e Simplifies GlobalConfigDto.
Use camel case everywhere and no XML annotation.
2018-07-31 14:13:41 +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
dc0ed6b695 remove legacy exception handling from AuthenticationResource 2018-07-30 16:19:21 +02:00
Sebastian Sdorra
b8897b273a do not use IllegalArgumentException for parameter validation 2018-07-30 16:13:17 +02:00
Philipp Czora
f5033290e2 Extracted AuthenticationRequestDto into own class 2018-07-26 17:17:53 +02:00
Philipp Czora
e1b3efb5ff Fixed unit test 2018-07-26 13:14:08 +02:00
Johannes Schnatterer
df282ee6a9 Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-25 17:15:01 +02:00
Philipp Czora
4352403631 Merged heads 2018-07-24 13:42:25 +02:00
Philipp Czora
3afd560028 Refactored /me-Resource 2018-07-24 13:02:50 +02:00
Sebastian Sdorra
0b03372ff9 merge with 2.0.0-m3 to have jenkins and sonarqube 2018-07-23 15:36:10 +02:00
Michael Behlendorf
ada3d6679f Implement git config v2 endpoint 2018-07-17 13:39:55 +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
667cc48e08 Map properties of repositories 2018-07-11 13:47:41 +02:00
René Pfeuffer
617b98c6f3 Use optionals for get by name and namespace 2018-07-11 13:42:09 +02:00
René Pfeuffer
de3848b662 Merge review branches 2018-07-11 13:06:11 +02:00
René Pfeuffer
ccf2708520 Add javadoc for repository endpoint 2018-07-11 13:03:46 +02:00
Johannes Schnatterer
e1963d45dd Some polishing during review 2018-07-11 12:03:04 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
Philipp Czora
643e6693b6 Implemented login & added tests 2018-07-09 11:38:13 +02:00
Michael Behlendorf
8c68a2de24 Implement global config endpoint v2 2018-07-06 14:45:00 +02:00
René Pfeuffer
88029d23fe Small cleanup 2018-07-05 17:23:19 +02:00
René Pfeuffer
50d9da8726 Merge base branch into feature 2018-07-05 14:56:33 +02:00
René Pfeuffer
b6c618b0b0 Verify that key values are not changed on update 2018-07-05 13:19:49 +02:00
René Pfeuffer
0bbc58b978 Make setting of id explicit for modified repositories 2018-07-05 13:07:43 +02:00
René Pfeuffer
bbce9b7ca2 Use correct namespace of created repository 2018-07-05 12:19:31 +02:00
René Pfeuffer
4bdcb0cae8 Correct uri for create response 2018-07-05 10:58:26 +02:00
René Pfeuffer
e993cebc0d Implement create repository 2018-07-05 10:52:19 +02:00
René Pfeuffer
92bd8696be Add docs 2018-07-05 10:45:16 +02:00
René Pfeuffer
c2effbe9c5 Implement update and delete for repository 2018-07-05 10:42:09 +02:00
René Pfeuffer
68e196d576 Create resource collection endpoint for get 2018-07-04 16:45:52 +02:00
Maren Süwer
3cc87ede73 add restentpoint for login/logout, restructuring of modules and components, add flow usage 2018-07-04 16:43:46 +02:00
René Pfeuffer
a5349b339d Move repository permissions to separate endpoint 2018-07-04 15:11:17 +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
537006e455 Merge branch 2.0.0-M3 into bugfix_illegal_sortby 2018-07-04 13:17:19 +02:00
René Pfeuffer
d4643750a6 Generate link to sources for repository 2018-07-04 12:06:58 +02:00
René Pfeuffer
01a3b93289 Generate link to changesets for repository 2018-07-04 11:58:37 +02:00
René Pfeuffer
cc30b7d2a1 Remove id from repository dto 2018-07-04 11:53:48 +02:00
René Pfeuffer
d1d183df32 Merge 2018-07-04 11:43:53 +02:00
René Pfeuffer
6043b093da Simplify mocking of resource links 2018-07-04 08:55:36 +02:00
René Pfeuffer
7c662ed42a Generate link to branches for repository 2018-07-04 08:37:57 +02:00
Johannes Schnatterer
4a49068b4a Review - Adds reason for RuntimeException & extends REST docs 2018-07-03 16:18:44 +02:00
René Pfeuffer
fb811ef725 Correct resource links and add tags link 2018-07-03 16:17:51 +02:00