]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoSONAR-8662 Wrong entries in "Administration" menu of a project dashboard when not...
Stas Vilchik [Thu, 9 Feb 2017 09:52:23 +0000 (10:52 +0100)]
SONAR-8662 Wrong entries in "Administration" menu of a project dashboard when not enough permission (#1642)

7 years agoFix Quality flaws
Simon Brandhof [Wed, 8 Feb 2017 20:29:37 +0000 (21:29 +0100)]
Fix Quality flaws

7 years agoRename tests of ProvisioningPermissionTest
Simon Brandhof [Wed, 8 Feb 2017 10:07:05 +0000 (11:07 +0100)]
Rename tests of ProvisioningPermissionTest

7 years agofixup! SONAR-8716 api/users/current must return permissions on default organization
Simon Brandhof [Wed, 8 Feb 2017 07:51:26 +0000 (08:51 +0100)]
fixup! SONAR-8716 api/users/current must return permissions on default organization

7 years agoSONAR-8716 improve javadoc of UserSession
Simon Brandhof [Tue, 7 Feb 2017 21:50:18 +0000 (22:50 +0100)]
SONAR-8716 improve javadoc of UserSession

7 years agoSONAR-8716 apply project to org permission fallback in api/ce/task
Simon Brandhof [Tue, 7 Feb 2017 21:15:05 +0000 (22:15 +0100)]
SONAR-8716 apply project to org permission fallback in api/ce/task

7 years agoSONAR-8716 analysis needs at least scan permission on organization
Simon Brandhof [Tue, 7 Feb 2017 19:18:48 +0000 (20:18 +0100)]
SONAR-8716 analysis needs at least scan permission on organization

even if the scan permission is not directly granted on the project.

7 years agoRemove some instantiations of ComponentDbTester
Simon Brandhof [Tue, 7 Feb 2017 16:10:21 +0000 (17:10 +0100)]
Remove some instantiations of ComponentDbTester

7 years agoSONAR-8716 drop fallback project -> org permissions in ServerUserSession
Simon Brandhof [Tue, 7 Feb 2017 15:59:11 +0000 (16:59 +0100)]
SONAR-8716 drop fallback project -> org permissions in ServerUserSession

7 years agoSONAR-8716 drop global permissions from UserSession
Simon Brandhof [Tue, 7 Feb 2017 15:55:58 +0000 (16:55 +0100)]
SONAR-8716 drop global permissions from UserSession

7 years agoSONAR-8716 api/users/current must return permissions on default organization
Simon Brandhof [Tue, 7 Feb 2017 15:53:53 +0000 (16:53 +0100)]
SONAR-8716 api/users/current must return permissions on default organization

7 years agoSONAR-8716 manage root permissions in UserSessionRule
Simon Brandhof [Tue, 7 Feb 2017 15:44:05 +0000 (16:44 +0100)]
SONAR-8716 manage root permissions in UserSessionRule

7 years agoSONAR-8716 global search is restricted to roots
Simon Brandhof [Tue, 7 Feb 2017 15:41:10 +0000 (16:41 +0100)]
SONAR-8716 global search is restricted to roots

The WS api/permissions/search_project_permissions is cross-organizations
if the project parameter is not set. For this reason the root status is required
as long as the WS does not support an organization
parameter to restrict the scope of search.

7 years agoSONAR-8716 drop UserSession#hasPermission()
Simon Brandhof [Tue, 7 Feb 2017 15:16:54 +0000 (16:16 +0100)]
SONAR-8716 drop UserSession#hasPermission()

because it does not support organizations.

7 years agoSONAR-8716 fallback on organization permission in api/ce/submit
Simon Brandhof [Tue, 7 Feb 2017 15:11:28 +0000 (16:11 +0100)]
SONAR-8716 fallback on organization permission in api/ce/submit

For "legacy" reasons, the permission "scan" is available on both
project and organization scopes. If the user who submits analysis
report does not have the project permission, then it must have
the organization permission.

7 years agoFix Quality flaws
Simon Brandhof [Tue, 7 Feb 2017 15:08:55 +0000 (16:08 +0100)]
Fix Quality flaws

7 years agoSONAR-8716 drop usages of UserSessionRule#setGlobalPermissions()
Simon Brandhof [Tue, 7 Feb 2017 14:53:03 +0000 (15:53 +0100)]
SONAR-8716 drop usages of UserSessionRule#setGlobalPermissions()

7 years agoSONAR-8716 Simplify CeUserSession
Simon Brandhof [Tue, 7 Feb 2017 13:46:57 +0000 (14:46 +0100)]
SONAR-8716 Simplify CeUserSession

7 years agoSONAR-8716 drop unused methods in UserSessionRule
Simon Brandhof [Tue, 7 Feb 2017 13:42:55 +0000 (14:42 +0100)]
SONAR-8716 drop unused methods in UserSessionRule

No more need to define permission on projects referenced
by their keys.

7 years agoAdjust test timing after change on indexing
Duarte Meneses [Wed, 8 Feb 2017 15:27:20 +0000 (16:27 +0100)]
Adjust test timing after change on indexing

7 years agoSONAR-8750 Display a branding landing page
Stas Vilchik [Tue, 7 Feb 2017 15:31:36 +0000 (16:31 +0100)]
SONAR-8750 Display a branding landing page

7 years agoSONAR-8749 Update landing page
Stas Vilchik [Tue, 7 Feb 2017 15:19:54 +0000 (16:19 +0100)]
SONAR-8749 Update landing page

7 years agoSONAR-8750 Return sonar.lf.sonarqube.com.enabled in api/navigation/global
Julien Lancelot [Wed, 8 Feb 2017 12:37:14 +0000 (13:37 +0100)]
SONAR-8750 Return sonar.lf.sonarqube.com.enabled in api/navigation/global

7 years agoSONAR-8669 apply feedback
Stas Vilchik [Wed, 8 Feb 2017 13:48:31 +0000 (14:48 +0100)]
SONAR-8669 apply feedback

7 years agoSONAR-8666 change description of organization key
Stas Vilchik [Wed, 8 Feb 2017 13:45:27 +0000 (14:45 +0100)]
SONAR-8666 change description of organization key

7 years agoSONAR-8666 fix display of button to create organization
Stas Vilchik [Wed, 8 Feb 2017 13:44:46 +0000 (14:44 +0100)]
SONAR-8666 fix display of button to create organization

7 years agoSONAR-8659 display only projects for custom organizations
Stas Vilchik [Wed, 8 Feb 2017 13:38:12 +0000 (14:38 +0100)]
SONAR-8659 display only projects for custom organizations

7 years agoSONAR-8658 display only projects for custom organizations
Stas Vilchik [Wed, 8 Feb 2017 13:35:14 +0000 (14:35 +0100)]
SONAR-8658 display only projects for custom organizations

7 years agoSONAR-8501 fix threadlocal leak if task finalization fails 1637/head
Sébastien Lesaint [Tue, 7 Feb 2017 15:47:18 +0000 (16:47 +0100)]
SONAR-8501 fix threadlocal leak if task finalization fails

7 years agoFix description of background tasks page
Simon Brandhof [Tue, 7 Feb 2017 21:54:00 +0000 (22:54 +0100)]
Fix description of background tasks page

7 years agoSONAR-8716 fix fallback of component to organization permission 1620/head
Simon Brandhof [Tue, 7 Feb 2017 11:00:32 +0000 (12:00 +0100)]
SONAR-8716 fix fallback of component to organization permission

7 years agoAdd param "organization" to ws-client PermissionsService
Simon Brandhof [Tue, 7 Feb 2017 10:55:39 +0000 (11:55 +0100)]
Add param "organization" to ws-client PermissionsService

7 years agoSONAR-8716 fix check of permissions in api/settings
Simon Brandhof [Tue, 7 Feb 2017 06:05:33 +0000 (07:05 +0100)]
SONAR-8716 fix check of permissions in api/settings

* api/settings/list
* api/settings/values

7 years agoSONAR-8716 fix check of permissions in api/ce/task
Simon Brandhof [Mon, 6 Feb 2017 21:07:02 +0000 (22:07 +0100)]
SONAR-8716 fix check of permissions in api/ce/task

7 years agoDrop unused classes DebtModelBackup and RuleOperations
Simon Brandhof [Mon, 6 Feb 2017 20:45:48 +0000 (21:45 +0100)]
Drop unused classes DebtModelBackup and RuleOperations

7 years agoSONAR-8734 Add "organization" parameter to WS api/projects/bulk_delete
Simon Brandhof [Sun, 5 Feb 2017 20:41:17 +0000 (21:41 +0100)]
SONAR-8734 Add "organization" parameter to WS api/projects/bulk_delete

7 years agoDrop unused method ComponentService#componentUuids()
Simon Brandhof [Sun, 5 Feb 2017 20:01:46 +0000 (21:01 +0100)]
Drop unused method ComponentService#componentUuids()

7 years agoSONAR-8716 remove usages of UserSessionRule#setGlobalPermissions()
Simon Brandhof [Sun, 5 Feb 2017 15:13:33 +0000 (16:13 +0100)]
SONAR-8716 remove usages of UserSessionRule#setGlobalPermissions()

7 years agoSONAR-8716 api/projectanalysis/create_event requires authentication
Simon Brandhof [Sun, 5 Feb 2017 15:05:29 +0000 (16:05 +0100)]
SONAR-8716 api/projectanalysis/create_event requires authentication

7 years agoSONAR-8716 fix check of permissions in api/users/search
Simon Brandhof [Sun, 5 Feb 2017 14:56:06 +0000 (15:56 +0100)]
SONAR-8716 fix check of permissions in api/users/search

7 years agoSONAR-8716 fix check of permissions in SettingsAction
Simon Brandhof [Sun, 5 Feb 2017 14:34:16 +0000 (15:34 +0100)]
SONAR-8716 fix check of permissions in SettingsAction

7 years agoSONAR-8716 drop UserSession#checkPermission(String)
Simon Brandhof [Sun, 5 Feb 2017 14:31:45 +0000 (15:31 +0100)]
SONAR-8716 drop UserSession#checkPermission(String)

7 years agoSONAR-8716 fix check of permissions in api/projects/bulk_delete
Simon Brandhof [Sun, 5 Feb 2017 14:26:14 +0000 (15:26 +0100)]
SONAR-8716 fix check of permissions in api/projects/bulk_delete

7 years agoSONAR-8716 remove useless check of permissions in RuleOperations
Simon Brandhof [Sun, 5 Feb 2017 10:40:10 +0000 (11:40 +0100)]
SONAR-8716 remove useless check of permissions in RuleOperations

Permission has to be verified by the web service
calling RuleOperations#updateRule()

7 years agoSONAR-8716 fix check of permissions in api/rules
Simon Brandhof [Sun, 5 Feb 2017 10:34:44 +0000 (11:34 +0100)]
SONAR-8716 fix check of permissions in api/rules

7 years agoSONAR-8716 fix check of permissions in SearchProjectPermissionsAction
Simon Brandhof [Sun, 5 Feb 2017 10:11:25 +0000 (11:11 +0100)]
SONAR-8716 fix check of permissions in SearchProjectPermissionsAction

7 years agoSONAR-8716 fix check of permissions in api/quality_profiles
Simon Brandhof [Sun, 5 Feb 2017 10:10:43 +0000 (11:10 +0100)]
SONAR-8716 fix check of permissions in api/quality_profiles

7 years agoSONAR-8716 fix check of permissions in api/users
Simon Brandhof [Thu, 2 Feb 2017 14:56:29 +0000 (15:56 +0100)]
SONAR-8716 fix check of permissions in api/users

7 years agoSONAR-8716 fix check of permissions in api/updatecenter/upload
Simon Brandhof [Thu, 2 Feb 2017 14:55:36 +0000 (15:55 +0100)]
SONAR-8716 fix check of permissions in api/updatecenter/upload

7 years agoSONAR-8716 fix check of permissions in api/settings
Simon Brandhof [Thu, 2 Feb 2017 14:55:18 +0000 (15:55 +0100)]
SONAR-8716 fix check of permissions in api/settings

7 years agoSONAR-8716 fix check of permissions in api/ce/activity_status
Simon Brandhof [Thu, 2 Feb 2017 14:54:59 +0000 (15:54 +0100)]
SONAR-8716 fix check of permissions in api/ce/activity_status

7 years agoSONAR-8716 fix check of permissions in EncryptAction
Simon Brandhof [Thu, 2 Feb 2017 14:19:44 +0000 (15:19 +0100)]
SONAR-8716 fix check of permissions in EncryptAction

7 years agoSONAR-8716 fix check of permissions in api/server/check_secret_key
Simon Brandhof [Thu, 2 Feb 2017 14:17:16 +0000 (15:17 +0100)]
SONAR-8716 fix check of permissions in api/server/check_secret_key

7 years agoSONAR-8716 fix check of permissions in api/server_id/show
Simon Brandhof [Thu, 2 Feb 2017 14:13:39 +0000 (15:13 +0100)]
SONAR-8716 fix check of permissions in api/server_id/show

7 years agoSONAR-8716 fix check of permissions in api/server_id/generate
Simon Brandhof [Thu, 2 Feb 2017 14:11:03 +0000 (15:11 +0100)]
SONAR-8716 fix check of permissions in api/server_id/generate

7 years agoSONAR-8716 fix check of permissions in api/quality_gates/update_condition
Simon Brandhof [Thu, 2 Feb 2017 13:58:24 +0000 (14:58 +0100)]
SONAR-8716 fix check of permissions in api/quality_gates/update_condition

7 years agoSONAR-8716 fix check of permissions in api/quality_gates/create_condition
Simon Brandhof [Thu, 2 Feb 2017 13:54:07 +0000 (14:54 +0100)]
SONAR-8716 fix check of permissions in api/quality_gates/create_condition

7 years agoSONAR-8716 fix check of permissions in api/quality_gates/create
Simon Brandhof [Thu, 2 Feb 2017 13:49:42 +0000 (14:49 +0100)]
SONAR-8716 fix check of permissions in api/quality_gates/create

7 years agoSONAR-8716 fix check of permissions in api/user/change_password
Simon Brandhof [Thu, 2 Feb 2017 13:42:44 +0000 (14:42 +0100)]
SONAR-8716 fix check of permissions in api/user/change_password

7 years agoSONAR-8716 drop unused method in PermissionPrivilegeChecker
Simon Brandhof [Thu, 2 Feb 2017 13:26:13 +0000 (14:26 +0100)]
SONAR-8716 drop unused method in PermissionPrivilegeChecker

Method checkProjectAdminUserByComponentUuid() can be dropped.

7 years agoSONAR-8716 fix check of permissions in api/metrics
Simon Brandhof [Thu, 2 Feb 2017 13:17:57 +0000 (14:17 +0100)]
SONAR-8716 fix check of permissions in api/metrics

7 years agoSONAR-8716 fix check of permissions in ReportSubmitter
Simon Brandhof [Thu, 2 Feb 2017 13:31:26 +0000 (14:31 +0100)]
SONAR-8716 fix check of permissions in ReportSubmitter

7 years agoSONAR-8716 fix check of permissions in DebtModelBackup
Simon Brandhof [Thu, 2 Feb 2017 13:31:06 +0000 (14:31 +0100)]
SONAR-8716 fix check of permissions in DebtModelBackup

7 years agoSONAR-8716 drop unused showProvisioning response of api/navigation/settings
Simon Brandhof [Thu, 2 Feb 2017 12:36:17 +0000 (13:36 +0100)]
SONAR-8716 drop unused showProvisioning response of api/navigation/settings

7 years agoSONAR-8716 deprecate UserSessionRule#setGlobalPermissions()
Simon Brandhof [Thu, 2 Feb 2017 12:35:46 +0000 (13:35 +0100)]
SONAR-8716 deprecate UserSessionRule#setGlobalPermissions()

7 years agoSONAR-8716 fix check of permissions in api/license
Simon Brandhof [Thu, 2 Feb 2017 12:35:18 +0000 (13:35 +0100)]
SONAR-8716 fix check of permissions in api/license

7 years agoSONAR-8716 fix check of permissions in api/email
Simon Brandhof [Thu, 2 Feb 2017 12:35:00 +0000 (13:35 +0100)]
SONAR-8716 fix check of permissions in api/email

7 years agoSONAR-8716 fix check of permissions in api/ui/component
Simon Brandhof [Thu, 2 Feb 2017 11:12:06 +0000 (12:12 +0100)]
SONAR-8716 fix check of permissions in api/ui/component

7 years agoSONAR-8716 fix support of orgs in PermissionTemplateService
Simon Brandhof [Thu, 2 Feb 2017 10:50:56 +0000 (11:50 +0100)]
SONAR-8716 fix support of orgs in PermissionTemplateService

7 years agoSONAR-8716 fix check of permissions in api/quality_profiles
Simon Brandhof [Thu, 2 Feb 2017 10:49:34 +0000 (11:49 +0100)]
SONAR-8716 fix check of permissions in api/quality_profiles

7 years agoSONAR-8716 fix check of permissions in api/quality_gates
Simon Brandhof [Thu, 2 Feb 2017 09:11:10 +0000 (10:11 +0100)]
SONAR-8716 fix check of permissions in api/quality_gates

7 years agoSONAR-8716 fix check of permissions in api/user_tokens
Simon Brandhof [Thu, 2 Feb 2017 09:09:13 +0000 (10:09 +0100)]
SONAR-8716 fix check of permissions in api/user_tokens

7 years agoSONAR-8716 fix check of permissions in api/rules/app
Simon Brandhof [Thu, 2 Feb 2017 09:08:35 +0000 (10:08 +0100)]
SONAR-8716 fix check of permissions in api/rules/app

7 years agoSONAR-8716 fix check of permissions in api/properties
Simon Brandhof [Thu, 2 Feb 2017 09:06:17 +0000 (10:06 +0100)]
SONAR-8716 fix check of permissions in api/properties

7 years agoSONAR-8716 fix check of permissions in api/custom_measures/delete
Simon Brandhof [Wed, 1 Feb 2017 22:22:42 +0000 (23:22 +0100)]
SONAR-8716 fix check of permissions in api/custom_measures/delete

7 years agoSONAR-8716 fix check of permissions in api/ce/cancel_all
Simon Brandhof [Wed, 1 Feb 2017 22:01:26 +0000 (23:01 +0100)]
SONAR-8716 fix check of permissions in api/ce/cancel_all

7 years agoSONAR-8716 fix check of permissions in api/ce/cancel
Simon Brandhof [Wed, 1 Feb 2017 22:01:15 +0000 (23:01 +0100)]
SONAR-8716 fix check of permissions in api/ce/cancel

7 years agoSONAR-8716 fix check of permissions in api/ce/activity
Simon Brandhof [Wed, 1 Feb 2017 21:54:31 +0000 (22:54 +0100)]
SONAR-8716 fix check of permissions in api/ce/activity

Note that project administrators can't search by task id anymore
(via the text query). They have to use api/ce/task.

7 years agoFix Quality flaws in org.sonar.server.ce.ws
Simon Brandhof [Wed, 1 Feb 2017 21:23:29 +0000 (22:23 +0100)]
Fix Quality flaws in org.sonar.server.ce.ws

7 years agoSONAR-8666 apply feedback
Stas Vilchik [Tue, 7 Feb 2017 12:32:21 +0000 (13:32 +0100)]
SONAR-8666 apply feedback

7 years agoSONAR-8665 Create the "Organizations" page in the "My Account" space
Stas Vilchik [Mon, 6 Feb 2017 17:44:08 +0000 (18:44 +0100)]
SONAR-8665 Create the "Organizations" page in the "My Account" space

7 years agoSONAR-8666 Make it possible to create a new organization
Stas Vilchik [Mon, 6 Feb 2017 16:45:29 +0000 (17:45 +0100)]
SONAR-8666 Make it possible to create a new organization

7 years agoSONAR-8669 Display organizations on the "Notifications" page (#1633)
Stas Vilchik [Tue, 7 Feb 2017 12:11:07 +0000 (13:11 +0100)]
SONAR-8669 Display organizations on the "Notifications" page (#1633)

7 years agoSONAR-8668 Hide groups on the "Users" page when in the "Cloud" mode
Stas Vilchik [Mon, 6 Feb 2017 09:23:06 +0000 (10:23 +0100)]
SONAR-8668 Hide groups on the "Users" page when in the "Cloud" mode

7 years agoSONAR-8667 Hide groups on the "Profile" page when in "Cloud" mode
Stas Vilchik [Mon, 6 Feb 2017 09:17:47 +0000 (10:17 +0100)]
SONAR-8667 Hide groups on the "Profile" page when in "Cloud" mode

7 years agoWebServerBarrierTest may not shutdown all threads it spawns
Sébastien Lesaint [Tue, 7 Feb 2017 11:04:53 +0000 (12:04 +0100)]
WebServerBarrierTest may not shutdown all threads it spawns

7 years agoSONAR-8661 display organizations for favorites
Stas Vilchik [Tue, 7 Feb 2017 10:22:13 +0000 (11:22 +0100)]
SONAR-8661 display organizations for favorites

7 years agodisplay 404 when accessing on-prem admin pages being in cloud mode
Stas Vilchik [Mon, 6 Feb 2017 09:55:12 +0000 (10:55 +0100)]
display 404 when accessing on-prem admin pages being in cloud mode

7 years agoSONAR-8659 Create organization's projects management page
Stas Vilchik [Wed, 1 Feb 2017 18:05:48 +0000 (19:05 +0100)]
SONAR-8659 Create organization's projects management page

7 years agoSONAR-8740 add organization to response of api/favorites/search 1624/head
Sébastien Lesaint [Fri, 3 Feb 2017 10:19:22 +0000 (11:19 +0100)]
SONAR-8740 add organization to response of api/favorites/search

7 years agoSONAR-8740 remove arguable use of Stream API
Sébastien Lesaint [Fri, 3 Feb 2017 09:22:01 +0000 (10:22 +0100)]
SONAR-8740 remove arguable use of Stream API

7 years agoSONAR-8740 use method name for better readability of what function do
Sébastien Lesaint [Fri, 3 Feb 2017 09:20:18 +0000 (10:20 +0100)]
SONAR-8740 use method name for better readability of what function do

7 years agoSONAR-8740 remove abusing use of Stream API
Sébastien Lesaint [Fri, 3 Feb 2017 09:04:30 +0000 (10:04 +0100)]
SONAR-8740 remove abusing use of Stream API

7 years agoSONAR-8740 do not open SQL session if user is not logged in
Sébastien Lesaint [Fri, 3 Feb 2017 08:46:45 +0000 (09:46 +0100)]
SONAR-8740 do not open SQL session if user is not logged in

7 years agoSONAR-8740 use method references instead of lambdas
Sébastien Lesaint [Fri, 3 Feb 2017 08:46:15 +0000 (09:46 +0100)]
SONAR-8740 use method references instead of lambdas

7 years agofix quality flaws
Stas Vilchik [Tue, 7 Feb 2017 08:54:17 +0000 (09:54 +0100)]
fix quality flaws

7 years agoSONAR-8735 add WS api/organizations/search_my_organizations 1628/head
Sébastien Lesaint [Fri, 3 Feb 2017 15:29:38 +0000 (16:29 +0100)]
SONAR-8735 add WS api/organizations/search_my_organizations

7 years agoSONAR-8608 fix name of constant PARAM_ORGANIZATION_KEY 1621/head
Sébastien Lesaint [Mon, 6 Feb 2017 15:11:27 +0000 (16:11 +0100)]
SONAR-8608 fix name of constant PARAM_ORGANIZATION_KEY

7 years agoSONAR-8608 use the component's org when creating a component user perm
Sébastien Lesaint [Thu, 2 Feb 2017 14:36:36 +0000 (15:36 +0100)]
SONAR-8608 use the component's org when creating a component user perm

7 years agoSONAR-8608 bulk apply template only on projects of template's org
Sébastien Lesaint [Thu, 2 Feb 2017 14:11:38 +0000 (15:11 +0100)]
SONAR-8608 bulk apply template only on projects of template's org