]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
8 years agoSONAR-8258 check admin permission on related organization
Simon Brandhof [Sun, 16 Oct 2016 16:18:02 +0000 (18:18 +0200)]
SONAR-8258 check admin permission on related organization

in api/user_groups/update

8 years agoSONAR-8257 check admin permission on related organization
Simon Brandhof [Sun, 16 Oct 2016 16:06:59 +0000 (18:06 +0200)]
SONAR-8257 check admin permission on related organization

in api/user_groups/update

8 years agoAdd missing jdbcType attributes in user and permission SQL requests
Simon Brandhof [Sun, 16 Oct 2016 15:57:38 +0000 (17:57 +0200)]
Add missing jdbcType attributes in user and permission SQL requests

8 years agoSONAR-8253 do not delete the last administrators of organization
Simon Brandhof [Sun, 16 Oct 2016 15:41:11 +0000 (17:41 +0200)]
SONAR-8253 do not delete the last administrators of organization

8 years agoSONAR-8252 check admin permission on related organization
Simon Brandhof [Sun, 16 Oct 2016 13:03:59 +0000 (15:03 +0200)]
SONAR-8252 check admin permission on related organization

8 years agoSONAR-8254 check admin permission on related organization
Simon Brandhof [Sun, 16 Oct 2016 12:57:43 +0000 (14:57 +0200)]
SONAR-8254 check admin permission on related organization

8 years agoSONAR-8134 isolate deletion of permissions
Simon Brandhof [Sat, 15 Oct 2016 08:24:46 +0000 (10:24 +0200)]
SONAR-8134 isolate deletion of permissions

8 years agoSONAR-8134 refactor SQL to check organization permission
Simon Brandhof [Fri, 14 Oct 2016 12:09:12 +0000 (14:09 +0200)]
SONAR-8134 refactor SQL to check organization permission

8 years agoSONAR-8134 merge PermissionMapper into AuthorizationDao
Simon Brandhof [Fri, 14 Oct 2016 09:06:39 +0000 (11:06 +0200)]
SONAR-8134 merge PermissionMapper into AuthorizationDao

8 years agoSONAR-8263 verify authorization on organization
Simon Brandhof [Fri, 14 Oct 2016 08:02:26 +0000 (10:02 +0200)]
SONAR-8263 verify authorization on organization

8 years agoSONAR-8262 verify authorization on organization
Simon Brandhof [Fri, 14 Oct 2016 08:02:00 +0000 (10:02 +0200)]
SONAR-8262 verify authorization on organization

8 years agoSONAR-8134 support of orgs in PermissionPrivilegeChecker
Simon Brandhof [Fri, 14 Oct 2016 08:01:30 +0000 (10:01 +0200)]
SONAR-8134 support of orgs in PermissionPrivilegeChecker

8 years agoSONAR-8260 verify authorization on organization
Simon Brandhof [Fri, 14 Oct 2016 08:00:47 +0000 (10:00 +0200)]
SONAR-8260 verify authorization on organization

8 years agoSONAR-8264 verify authorization on organization
Simon Brandhof [Fri, 14 Oct 2016 08:00:26 +0000 (10:00 +0200)]
SONAR-8264 verify authorization on organization

8 years agoSONAR-8134 add missing "since 6.2" on parameter "organization"
Simon Brandhof [Fri, 14 Oct 2016 07:59:06 +0000 (09:59 +0200)]
SONAR-8134 add missing "since 6.2" on parameter "organization"

8 years agoSONAR-8134 add support of organizations in UserSession
Simon Brandhof [Fri, 14 Oct 2016 05:55:13 +0000 (07:55 +0200)]
SONAR-8134 add support of organizations in UserSession

8 years agoSONAR-8134 add dao to verify authorizations
Simon Brandhof [Fri, 14 Oct 2016 05:54:54 +0000 (07:54 +0200)]
SONAR-8134 add dao to verify authorizations

8 years agoSONAR-8134 Remove check of authorization in PermissionUpdater
Simon Brandhof [Thu, 13 Oct 2016 18:22:59 +0000 (20:22 +0200)]
SONAR-8134 Remove check of authorization in PermissionUpdater

so that Compute Engine can call it without emulating
authroization stack.
Authorization is verified directly in the api/permissions
web services.

8 years agoSONAR-8134 Rename WsProjectRef to ProjectWsRef
Simon Brandhof [Thu, 13 Oct 2016 15:38:02 +0000 (17:38 +0200)]
SONAR-8134 Rename WsProjectRef to ProjectWsRef

for consistency with org.sonar.server.usergroups.ws.ProjectId and ProjectWsRef

8 years agoSONAR-8134 Rename ProjectRef to ProjectId
Simon Brandhof [Thu, 13 Oct 2016 15:35:00 +0000 (17:35 +0200)]
SONAR-8134 Rename ProjectRef to ProjectId

for consistency with org.sonar.server.usergroups.ws.ProjectId

8 years agoFix core.properties by removing merging conflicts
Julien HENRY [Thu, 13 Oct 2016 15:11:27 +0000 (17:11 +0200)]
Fix core.properties by removing merging conflicts

8 years agoSONAR-8221 Take into account date when indexing project measures at startup 1299/head
Julien Lancelot [Thu, 13 Oct 2016 09:06:46 +0000 (11:06 +0200)]
SONAR-8221 Take into account date when indexing project measures at startup

8 years agoImprove readability of schema-h2.ddl
Simon Brandhof [Thu, 13 Oct 2016 15:20:57 +0000 (17:20 +0200)]
Improve readability of schema-h2.ddl

by moving each index next to the related table

8 years agoSONAR-8134 remove RoleDao#countComponentPermissions()
Simon Brandhof [Thu, 13 Oct 2016 05:41:44 +0000 (07:41 +0200)]
SONAR-8134 remove RoleDao#countComponentPermissions()

replaced by GroupPermissionDao#hasRootComponentPermissions() and
 UserPermissionDao#hasRootComponentPermissions()

8 years agoSONAR-8134 remove RoleDao#deleteGroupRole()
Simon Brandhof [Wed, 12 Oct 2016 22:54:42 +0000 (00:54 +0200)]
SONAR-8134 remove RoleDao#deleteGroupRole()

replaced by GroupPermissionDao#delete()

8 years agoSONAR-8134 remove RoleDao#deleteGroupRolesByResourceId()
Simon Brandhof [Wed, 12 Oct 2016 22:20:20 +0000 (00:20 +0200)]
SONAR-8134 remove RoleDao#deleteGroupRolesByResourceId()

Replaced by GroupPermissionDao#deleteByRootComponentId()

8 years agoSONAR-8134 make column group_roles.organization_uuid not null
Simon Brandhof [Wed, 12 Oct 2016 21:39:58 +0000 (23:39 +0200)]
SONAR-8134 make column group_roles.organization_uuid not null

8 years agoSONAR-8134 populate column group_roles.organization_uuid on upgrade
Simon Brandhof [Wed, 12 Oct 2016 21:08:47 +0000 (23:08 +0200)]
SONAR-8134 populate column group_roles.organization_uuid on upgrade

8 years agoSONAR-8134 feed column group_roles.organization_uuid
Simon Brandhof [Wed, 12 Oct 2016 21:03:57 +0000 (23:03 +0200)]
SONAR-8134 feed column group_roles.organization_uuid

when adding permissions to a group

8 years agoSONAR-8134 add column group_roles.organization_uuid
Simon Brandhof [Wed, 12 Oct 2016 20:21:02 +0000 (22:21 +0200)]
SONAR-8134 add column group_roles.organization_uuid

Column is currently empty.

8 years agoSupport organizations in user group web services
Simon Brandhof [Wed, 12 Oct 2016 16:53:31 +0000 (18:53 +0200)]
Support organizations in user group web services

8 years agoSupport organizations in permission template web services
Simon Brandhof [Wed, 12 Oct 2016 16:53:03 +0000 (18:53 +0200)]
Support organizations in permission template web services

8 years agoSupport organizations in permission web services
Simon Brandhof [Wed, 12 Oct 2016 16:50:20 +0000 (18:50 +0200)]
Support organizations in permission web services

8 years agoRefactor some tests using DbTester
Simon Brandhof [Wed, 12 Oct 2016 16:44:13 +0000 (18:44 +0200)]
Refactor some tests using DbTester

8 years agoSONAR-8134 add new user to default group _of default organization_
Simon Brandhof [Wed, 12 Oct 2016 16:01:43 +0000 (18:01 +0200)]
SONAR-8134 add new user to default group _of default organization_

8 years agoImprove error message of empty group name
Simon Brandhof [Wed, 12 Oct 2016 15:55:48 +0000 (17:55 +0200)]
Improve error message of empty group name

8 years agoSONAR-8134 add column permission_templates.organization_uuid
Simon Brandhof [Wed, 12 Oct 2016 15:53:23 +0000 (17:53 +0200)]
SONAR-8134 add column permission_templates.organization_uuid

8 years agoSONAR-8134 add column user_roles.organization_uuid
Simon Brandhof [Wed, 12 Oct 2016 15:50:21 +0000 (17:50 +0200)]
SONAR-8134 add column user_roles.organization_uuid

8 years agoSONAR-8134 make column groups.organization_uuid not null
Simon Brandhof [Wed, 12 Oct 2016 15:49:14 +0000 (17:49 +0200)]
SONAR-8134 make column groups.organization_uuid not null

8 years agoSONAR-8134 prepare support of organizations in user group DAO
Simon Brandhof [Wed, 12 Oct 2016 15:45:41 +0000 (17:45 +0200)]
SONAR-8134 prepare support of organizations in user group DAO

8 years agoSONAR-8134 prepare support of organizations in permission DAO
Simon Brandhof [Wed, 12 Oct 2016 15:44:35 +0000 (17:44 +0200)]
SONAR-8134 prepare support of organizations in permission DAO

8 years agoSONAR-8134 prepare support of organizations in permission template DAO
Simon Brandhof [Wed, 12 Oct 2016 15:38:45 +0000 (17:38 +0200)]
SONAR-8134 prepare support of organizations in permission template DAO

8 years agoImprove formatting of insert/update requests
Simon Brandhof [Wed, 12 Oct 2016 12:04:05 +0000 (14:04 +0200)]
Improve formatting of insert/update requests

8 years agoSONAR-8134 Deprecated OldPermissionQuery
Simon Brandhof [Mon, 3 Oct 2016 20:36:47 +0000 (22:36 +0200)]
SONAR-8134 Deprecated OldPermissionQuery

8 years agoSONAR-8134 create default organization in DbTester
Simon Brandhof [Mon, 3 Oct 2016 16:32:18 +0000 (18:32 +0200)]
SONAR-8134 create default organization in DbTester

8 years agoSONAR-8134 change signature of GroupDao#selectByName()
Simon Brandhof [Mon, 3 Oct 2016 16:31:21 +0000 (18:31 +0200)]
SONAR-8134 change signature of GroupDao#selectByName()

8 years agoSONAR-8134 add search by organization and name in GroupDao
Simon Brandhof [Thu, 29 Sep 2016 09:57:35 +0000 (11:57 +0200)]
SONAR-8134 add search by organization and name in GroupDao

8 years agoSONAR-8134 Replace CountByProjectAndPermissionDto by CountPerProjectPermission
Simon Brandhof [Wed, 28 Sep 2016 19:38:06 +0000 (21:38 +0200)]
SONAR-8134 Replace CountByProjectAndPermissionDto by CountPerProjectPermission

8 years agoSONAR-8134 add db column groups.organization_uuid
Simon Brandhof [Wed, 28 Sep 2016 17:04:51 +0000 (19:04 +0200)]
SONAR-8134 add db column groups.organization_uuid

8 years agoReverting returning ComponentDto in insert
Julien Lancelot [Thu, 13 Oct 2016 10:05:07 +0000 (12:05 +0200)]
Reverting returning ComponentDto in insert

8 years agoSONAR-8229 Update project measures index when removing a project 1297/head
Julien Lancelot [Wed, 12 Oct 2016 16:31:41 +0000 (18:31 +0200)]
SONAR-8229 Update project measures index when removing a project

8 years agoSONAR-8222 Update project measures index at the end of each project analysis
Julien Lancelot [Wed, 12 Oct 2016 15:30:41 +0000 (17:30 +0200)]
SONAR-8222 Update project measures index at the end of each project analysis

8 years agoSONAR-8221 Index projects without measures in project measures index 1295/head
Julien Lancelot [Wed, 12 Oct 2016 13:40:52 +0000 (15:40 +0200)]
SONAR-8221 Index projects without measures in project measures index

8 years agoSONAR-8221 Create WS api/components/search_projects paginate and sort
Teryk Bellahsene [Mon, 10 Oct 2016 14:21:55 +0000 (16:21 +0200)]
SONAR-8221 Create WS api/components/search_projects paginate and sort

8 years agoSONAR-8190 SONAR-8191 SONAR-8206 rename api/root/* to api/roots/* 1287/head
Sébastien Lesaint [Wed, 12 Oct 2016 08:44:02 +0000 (10:44 +0200)]
SONAR-8190 SONAR-8191 SONAR-8206 rename api/root/* to api/roots/*

8 years agoSONAR-8191 WS unset_root return 404 when user not found or inactive
Sébastien Lesaint [Wed, 12 Oct 2016 08:10:01 +0000 (10:10 +0200)]
SONAR-8191 WS unset_root return 404 when user not found or inactive

8 years agoSONAR-8206 add IT for api/root/search
Sébastien Lesaint [Mon, 10 Oct 2016 14:14:27 +0000 (16:14 +0200)]
SONAR-8206 add IT for api/root/search

8 years agoSONAR-8206 add RootService#search in WS Client
Sébastien Lesaint [Mon, 10 Oct 2016 14:13:58 +0000 (16:13 +0200)]
SONAR-8206 add RootService#search in WS Client

8 years agoSONAR-8206 add WS api/root/search
Sébastien Lesaint [Mon, 10 Oct 2016 14:13:18 +0000 (16:13 +0200)]
SONAR-8206 add WS api/root/search

8 years agoSONAR-8194 modify one IT to use root user and not admin
Sébastien Lesaint [Mon, 10 Oct 2016 12:27:55 +0000 (14:27 +0200)]
SONAR-8194 modify one IT to use root user and not admin

8 years agoSONAR-8194 make WebServices /api/plugins/* require root
Sébastien Lesaint [Mon, 10 Oct 2016 12:04:13 +0000 (14:04 +0200)]
SONAR-8194 make WebServices /api/plugins/* require root

rather than System Administer permission

8 years agoSONAR-8190 SONAR-8191 add IT
Sébastien Lesaint [Mon, 10 Oct 2016 08:07:49 +0000 (10:07 +0200)]
SONAR-8190 SONAR-8191 add IT

8 years agoSONAR-8193 add IT api/system/restart require root in production mode
Sébastien Lesaint [Thu, 6 Oct 2016 09:50:59 +0000 (11:50 +0200)]
SONAR-8193 add IT api/system/restart require root in production mode

8 years agoSONAR-8193 api/system/restart require root in production mode
Sébastien Lesaint [Thu, 6 Oct 2016 09:18:34 +0000 (11:18 +0200)]
SONAR-8193 api/system/restart require root in production mode

rather than "Administer System"

8 years agoSONAR-8193 api/system/logs require root
Sébastien Lesaint [Thu, 6 Oct 2016 09:14:42 +0000 (11:14 +0200)]
SONAR-8193 api/system/logs require root

8 years agoSONAR-8193 api/system/info require root
Sébastien Lesaint [Thu, 6 Oct 2016 09:12:26 +0000 (11:12 +0200)]
SONAR-8193 api/system/info require root

rather than "System Administer"

8 years agoSONAR-8193 api/system/change_log_level require root
Sébastien Lesaint [Thu, 6 Oct 2016 09:08:31 +0000 (11:08 +0200)]
SONAR-8193 api/system/change_log_level require root

rather than "System Administer"

8 years agoSONAR-8190 SONAR-8191 must not set/unset root on inactive user
Sébastien Lesaint [Wed, 5 Oct 2016 12:15:12 +0000 (14:15 +0200)]
SONAR-8190 SONAR-8191 must not set/unset root on inactive user

8 years agoSONAR-8191 last root can't be unset via /api/root/unset_root
Sébastien Lesaint [Wed, 5 Oct 2016 11:57:56 +0000 (13:57 +0200)]
SONAR-8191 last root can't be unset via /api/root/unset_root

8 years agoSONAR-8154 add IT on root required for api/organizations/create
Sébastien Lesaint [Wed, 5 Oct 2016 09:10:32 +0000 (11:10 +0200)]
SONAR-8154 add IT on root required for api/organizations/create

8 years agoSONAR-8191 add WS api/root/unset_root
Sébastien Lesaint [Wed, 5 Oct 2016 08:33:38 +0000 (10:33 +0200)]
SONAR-8191 add WS api/root/unset_root

8 years agoSONAR-8190 add ws-client RootService
Sébastien Lesaint [Wed, 5 Oct 2016 08:16:12 +0000 (10:16 +0200)]
SONAR-8190 add ws-client RootService

8 years agoSONAR-8190 add WS api/root/set_root
Sébastien Lesaint [Wed, 5 Oct 2016 08:11:26 +0000 (10:11 +0200)]
SONAR-8190 add WS api/root/set_root

8 years agoSONAR-8155 suppport USERS.IS_ROOT in ruby code
Sébastien Lesaint [Wed, 5 Oct 2016 07:27:26 +0000 (09:27 +0200)]
SONAR-8155 suppport USERS.IS_ROOT in ruby code

8 years agoSONAR-8154 require root for WS api/organizations/create
Sébastien Lesaint [Tue, 4 Oct 2016 15:19:43 +0000 (17:19 +0200)]
SONAR-8154 require root for WS api/organizations/create

8 years agoSONAR-8155 root user has all permissions in UserSession
Sébastien Lesaint [Tue, 4 Oct 2016 13:41:11 +0000 (15:41 +0200)]
SONAR-8155 root user has all permissions in UserSession

8 years agoSONAR-8155 add UserSession#isRoot and checkIsRoot
Sébastien Lesaint [Tue, 4 Oct 2016 09:10:31 +0000 (11:10 +0200)]
SONAR-8155 add UserSession#isRoot and checkIsRoot

8 years agoSONAR-8155 drop mutability in UserSession impls where possible
Sébastien Lesaint [Mon, 3 Oct 2016 15:04:35 +0000 (17:04 +0200)]
SONAR-8155 drop mutability in UserSession impls where possible

8 years agoSONAR-8155 fix UserSession implementations leaking delegate
Sébastien Lesaint [Mon, 3 Oct 2016 13:48:01 +0000 (15:48 +0200)]
SONAR-8155 fix UserSession implementations leaking delegate

8 years agoSONAR-8155 add UserDao.setRoot
Sébastien Lesaint [Mon, 3 Oct 2016 13:25:57 +0000 (15:25 +0200)]
SONAR-8155 add UserDao.setRoot

8 years agoSONAR-8155 support root in UserDto, UserDao and UTs
Sébastien Lesaint [Mon, 3 Oct 2016 13:13:22 +0000 (15:13 +0200)]
SONAR-8155 support root in UserDto, UserDao and UTs

8 years agoSONAR-8155 SONAR-8156 add root column to table USERS
Sébastien Lesaint [Mon, 3 Oct 2016 12:16:47 +0000 (14:16 +0200)]
SONAR-8155 SONAR-8156 add root column to table USERS

8 years agomake DefaultHttpDownloaderTest work on both Java 7 and Java 8
Sébastien Lesaint [Tue, 4 Oct 2016 10:08:06 +0000 (12:08 +0200)]
make DefaultHttpDownloaderTest work on both Java 7 and Java 8

8 years agoSONAR-8100 add IT on preventing default organization deletion 1281/head
Sébastien Lesaint [Thu, 29 Sep 2016 12:55:33 +0000 (14:55 +0200)]
SONAR-8100 add IT on preventing default organization deletion

8 years agoSONAR-8151 test WS organizations authorizations in IT
Sébastien Lesaint [Thu, 29 Sep 2016 12:54:07 +0000 (14:54 +0200)]
SONAR-8151 test WS organizations authorizations in IT

8 years agoSONAR-8151 support anyoneCanCreate in /api/organizations/create
Sébastien Lesaint [Thu, 29 Sep 2016 12:43:43 +0000 (14:43 +0200)]
SONAR-8151 support anyoneCanCreate in /api/organizations/create

8 years agoSONAR-8151 add property sonar.organizations.anyoneCanCreate
Sébastien Lesaint [Thu, 29 Sep 2016 08:46:08 +0000 (10:46 +0200)]
SONAR-8151 add property sonar.organizations.anyoneCanCreate

8 years agoSONAR-8100 fix quality flaw on DeleteAction
Sébastien Lesaint [Thu, 29 Sep 2016 08:26:13 +0000 (10:26 +0200)]
SONAR-8100 fix quality flaw on DeleteAction

8 years agoAutomatic merge from branch-6.1
ssjenka [Wed, 12 Oct 2016 07:37:20 +0000 (09:37 +0200)]
Automatic merge from branch-6.1

* origin/branch-6.1:
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release 6.1

8 years ago[maven-release-plugin] prepare for next development iteration
David Rautureau [Tue, 11 Oct 2016 07:02:30 +0000 (09:02 +0200)]
[maven-release-plugin] prepare for next development iteration

8 years ago[maven-release-plugin] prepare release 6.1 6.1
David Rautureau [Tue, 11 Oct 2016 07:02:29 +0000 (09:02 +0200)]
[maven-release-plugin] prepare release 6.1

8 years agoAutomatic merge from branch-6.1
ssjenka [Thu, 6 Oct 2016 06:02:26 +0000 (08:02 +0200)]
Automatic merge from branch-6.1

* origin/branch-6.1:
  SONAR-7970 WS settings/set forbid empty values with a clean message

8 years agoFix Quality flaws
Simon Brandhof [Wed, 5 Oct 2016 19:57:38 +0000 (21:57 +0200)]
Fix Quality flaws

8 years agoDeprecated ZipUtils.ZipEntryFilter in favour of Predicate
Simon Brandhof [Wed, 5 Oct 2016 19:57:02 +0000 (21:57 +0200)]
Deprecated ZipUtils.ZipEntryFilter in favour of Predicate

8 years agoSONAR-7782 Fix PurgeTest 1292/head
Julien Lancelot [Wed, 5 Oct 2016 12:16:53 +0000 (14:16 +0200)]
SONAR-7782 Fix PurgeTest

8 years agoSONAR-7782 Correctly handle best value on variation
Julien Lancelot [Wed, 5 Oct 2016 12:08:41 +0000 (14:08 +0200)]
SONAR-7782 Correctly handle best value on variation

Only best value 0 was handled on variations, that makes best values on rating useless

8 years agoSONAR-7782 Compute rating A on new code when no issue on components
Julien Lancelot [Wed, 5 Oct 2016 09:03:45 +0000 (11:03 +0200)]
SONAR-7782 Compute rating A on new code when no issue on components

8 years agoFix Quality flaws, including handling of InterruptedException
Simon Brandhof [Tue, 4 Oct 2016 12:46:47 +0000 (14:46 +0200)]
Fix Quality flaws, including handling of InterruptedException

8 years agoRemove dead code in project.rb
Simon Brandhof [Mon, 26 Sep 2016 14:39:18 +0000 (16:39 +0200)]
Remove dead code in project.rb

8 years agoRemove ruby dead code related to roles
Simon Brandhof [Mon, 26 Sep 2016 14:38:13 +0000 (16:38 +0200)]
Remove ruby dead code related to roles