Commit Graph

1661 Commits

Author SHA1 Message Date
Mohamed Karray
ed98d04be4 #8630 use try-with-resources to close used resources 2018-08-31 09:55:45 +02:00
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
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