Commit Graph

1378 Commits

Author SHA1 Message Date
René Pfeuffer
ba05417aeb Merge with 2.0.0-m3
sonia.scm.it.RepositoryHookITCase breaks for hg.
2018-08-31 10:40:12 +02:00
Mohamed Karray
c6203082e3 #8630 add the changeset endpoint getAll 2018-08-29 12:03:56 +02:00
René Pfeuffer
cb3b2a1e2c Merge with 2.0.0-m3 2018-08-28 10:02:16 +02:00
Sebastian Sdorra
b09c46abcf remove old ui 2018-08-27 15:45:56 +02:00
Philipp Czora
d7a229a082 Removed unused Exception 2018-08-27 14:49:52 +02:00
Sebastian Sdorra
56b629fa9d use hateoas style resource for ui plugins 2018-08-27 12:59:26 +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
5ed6cc4a53 Merge permission endpoint into feature branch 2018-08-22 07:54:40 +02:00
Sebastian Sdorra
be21c35bf8 implemented WebResourceServlet, which loads resources from the UberWebResourceLoader 2018-08-21 15:23:54 +02:00
René Pfeuffer
778881a2fb Peer-Review 2018-08-21 11:47:02 +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
e792be5c76 Merge 2.0.0-m3 2018-08-16 13:35:50 +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
c8c1cad67f Add raw stream result to cat command 2018-08-14 17:22:30 +02:00
Mohamed Karray
012ac34a6a #8771 create the Permission DTO 2018-08-14 16:44:42 +02:00
Philipp Czora
f375e076e4 Implemented BrowserResultMapper 2018-08-13 17:31:45 +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
a5ddea31c7 Merge with 2.0.0-m3 2018-08-08 15:57:05 +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
Sebastian Sdorra
15255aeeb1 merge with branch feature/repositories-ui 2018-08-07 16:34:26 +02:00
Sebastian Sdorra
8437c2dfba Merged in feature/integration_test_v2 (pull request #54)
Integration tests for v2
2018-08-07 14:14:43 +00:00
René Pfeuffer
14611d89d0 Add branch collection endpoint 2018-08-07 15:15:12 +02:00
René Pfeuffer
8f4c48b381 Remove unused ME media type 2018-08-03 13:52:54 +02:00
René Pfeuffer
ebe3ef8c3e Remove unused exception constructors 2018-08-03 08:40:01 +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
Johannes Schnatterer
7107d14bce Makes BaseMapper and CollectionToDtoMapper available for plugins 2018-08-02 18:33:36 +02:00
Johannes Schnatterer
e28faf3029 Create CollectionToDtoMapper in core module.
See commit 689e5ae95645768b024dee52c10451c944a41527.
Useful for hg plugin.
2018-08-02 14:45:04 +02:00
Johannes Schnatterer
62087521be Config Resources: Makes permission names publicly available 2018-08-02 14:16:26 +02:00
Sebastian Sdorra
99ecc8cba2 implemented rest endpoint for repository types 2018-08-02 11:56:35 +02:00
Johannes Schnatterer
0592e70bc6 Make also LinkBuilder's methods and inner classes accessible for plugins 2018-08-01 14:42:41 +02:00
Johannes Schnatterer
4910744e1d Make LinkBuilder accessible for plugins 2018-08-01 14:13:10 +02:00
Johannes Schnatterer
35231fb202 Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-08-01 10:30:38 +02:00
Sebastian Sdorra
ea17e536f1 change NamespaceStrategy signature to createNamespace(Repository)
This change allows us to implement NamespaceStrategies, such as by type (git, hg, svn) or manual defined.
The DefaultNamespaceStrategy accepts now a predefined namespace and only if no namespace was set the username of the currently logged in user is used.
2018-08-01 09:43:49 +02:00
Sebastian Sdorra
6ee0e05e0c NamespaceAndName should be comparable to allow sort by namespaceAndName 2018-08-01 09:40:33 +02:00
Johannes Schnatterer
c3b7703f2b Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-31 16:21:40 +02:00
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
7572580ac1 Create fine-grained configuration permissions.
No more hard-coded isAdmin() checks.
2018-07-30 17:41:00 +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
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
0a1ed6c6da ignore false positive squid:S2083 2018-07-16 13:21:55 +02:00
Sebastian Sdorra
01cbbe89da check repository path of hg hooks is in the hg directory, instead of path length check 2018-07-16 12:03:13 +02:00
Sebastian Sdorra
a14e9e1182 merge with 2.0.0-m3 2018-07-16 10:36:29 +02:00
Sebastian Sdorra
e371f32bf5 added javadoc and unit test 2018-07-13 11:43:41 +02:00