Commit Graph

1316 Commits

Author SHA1 Message Date
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
Sebastian Sdorra
450f0cd662 improve logging 2018-07-13 11:30:37 +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
Sebastian Sdorra
64b86ad1b6 Merged in feature/jenkins_on_cloudbees (pull request #50)
Feature/jenkins on cloudbees
2018-07-13 09:04:09 +00:00
René Pfeuffer
42543f6a47 Create NotFoundExceptions with id fields 2018-07-12 10:20:16 +02:00
René Pfeuffer
4e207713bf Introduce ManagerDaoAdapter for create and modify 2018-07-12 10:15:32 +02:00
Johannes Schnatterer
146a1b2700 Maven: Use the same and latest javadoc version in all modules.
Unfortunately, not fixing our failing build.
2018-07-11 16:59:55 +02:00
René Pfeuffer
a1c1bc1042 Merging base branch back into feature 2018-07-11 14:01:17 +02:00
René Pfeuffer
617b98c6f3 Use optionals for get by name and namespace 2018-07-11 13:42:09 +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
Philipp Czora
091af43daa Fixed merge errors 2018-07-06 12:16:51 +02:00
Philipp Czora
2698118edc Merged changes 2018-07-06 11:59:49 +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
Michael Behlendorf
40ee98dafe Add media type for global config 2018-07-06 11:08:52 +02:00
René Pfeuffer
72cc7d9864 Merge base branch into feature 2018-07-05 15:03:18 +02:00
René Pfeuffer
50d9da8726 Merge base branch into feature 2018-07-05 14:56:33 +02:00
René Pfeuffer
bbce9b7ca2 Use correct namespace of created repository 2018-07-05 12:19:31 +02:00