Commit Graph

1819 Commits

Author SHA1 Message Date
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
Johannes Schnatterer
fc0676d511 Moves jackson annotations dependency to core.
Will be needed by plugins in future.
2018-08-06 12:57:44 +02:00
Johannes Schnatterer
a07c9c18dd Gets rid of redundant dependency declarations in plugins and webapp.
It's better to define the "web"/REST dependencies that are used by
plugins once in core, instead of redundant in webapp and plugins.
This should create better awareness when changing the dependency version
(changing in core is always critical due to API downward compatibility).
2018-08-06 11:36:08 +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
1c52b33229 Brings mapstruct processor back to plugin and webapp. 2018-08-02 15:22:41 +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
1db45a7892 Updates Shiro Static Permission to deterministic version.
Contains PR that can generate interfaces.
2018-07-31 14:42:47 +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
e9d0cbbc94 merge with 2.0.0-m3 to get the new shiro-unit version 2018-07-24 08:01:15 +02:00
Sebastian Sdorra
525fa8333a update shiro-unit to 1.0.1 2018-07-24 07:52: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
064375c921 Merge remote branch 2018-07-17 13:58:42 +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
Michael Behlendorf
39ec300ece Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-13 11:38:12 +02:00