]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoSONAR-8761 add dev script enable_organizations.sh
Simon Brandhof [Thu, 9 Feb 2017 23:03:40 +0000 (00:03 +0100)]
SONAR-8761 add dev script enable_organizations.sh

7 years agoSONAR-8761 db migration to unset root flag of existing users
Simon Brandhof [Thu, 9 Feb 2017 22:36:10 +0000 (23:36 +0100)]
SONAR-8761 db migration to unset root flag of existing users

7 years agoSONAR-8761 fix cleanup of db in ITs
Simon Brandhof [Thu, 9 Feb 2017 18:23:57 +0000 (19:23 +0100)]
SONAR-8761 fix cleanup of db in ITs

7 years agoSONAR-8761 do not fail if org feature is already enabled
Simon Brandhof [Fri, 10 Feb 2017 14:23:49 +0000 (15:23 +0100)]
SONAR-8761 do not fail if org feature is already enabled

7 years agoSONAR-8761 rely on feature flag when displaying organization
Stas Vilchik [Thu, 9 Feb 2017 14:44:00 +0000 (15:44 +0100)]
SONAR-8761 rely on feature flag when displaying organization

7 years agoSONAR-8761 add organizationsEnabled to response of api/navigation/global
Simon Brandhof [Thu, 9 Feb 2017 12:37:20 +0000 (13:37 +0100)]
SONAR-8761 add organizationsEnabled to response of api/navigation/global

7 years agoSONAR-8761 minor improvement in root WS tests
Simon Brandhof [Thu, 9 Feb 2017 12:21:04 +0000 (13:21 +0100)]
SONAR-8761 minor improvement in root WS tests

7 years agoSONAR-8761 remove misleading UserSession#checkIsRoot()
Simon Brandhof [Fri, 10 Feb 2017 14:22:56 +0000 (15:22 +0100)]
SONAR-8761 remove misleading UserSession#checkIsRoot()

7 years agoSONAR-8761 remove calls of WS to UserSession#isRoot()
Simon Brandhof [Thu, 9 Feb 2017 09:54:09 +0000 (10:54 +0100)]
SONAR-8761 remove calls of WS to UserSession#isRoot()

replace by UserSession#isSystemAdministrator()

7 years agoSONAR-8761 add UserSession#checkIsSystemAdministrator()
Simon Brandhof [Fri, 10 Feb 2017 14:09:13 +0000 (15:09 +0100)]
SONAR-8761 add UserSession#checkIsSystemAdministrator()

7 years agoSONAR-8761 add class OrganizationFlags
Simon Brandhof [Fri, 10 Feb 2017 14:21:47 +0000 (15:21 +0100)]
SONAR-8761 add class OrganizationFlags

7 years agoSONAR-8761 root has permissions on all organizations and components
Simon Brandhof [Wed, 8 Feb 2017 21:22:38 +0000 (22:22 +0100)]
SONAR-8761 root has permissions on all organizations and components

7 years agoSONAR-8761 organizations mgmt WS must check if org feature is enabled
Simon Brandhof [Wed, 8 Feb 2017 20:17:53 +0000 (21:17 +0100)]
SONAR-8761 organizations mgmt WS must check if org feature is enabled

7 years agoAdd and complete DbTester#properties()
Simon Brandhof [Wed, 8 Feb 2017 20:14:10 +0000 (21:14 +0100)]
Add and complete DbTester#properties()

7 years agoSONAR-8761 drop sync of root based on user permissions
Simon Brandhof [Wed, 8 Feb 2017 16:29:21 +0000 (17:29 +0100)]
SONAR-8761 drop sync of root based on user permissions

7 years agoSONAR-8761 new WS api/organizations/enable_support
Simon Brandhof [Fri, 10 Feb 2017 14:13:56 +0000 (15:13 +0100)]
SONAR-8761 new WS api/organizations/enable_support

7 years agoDrop the unused coverage-per-test profile from pom
Simon Brandhof [Fri, 10 Feb 2017 18:47:18 +0000 (19:47 +0100)]
Drop the unused coverage-per-test profile from pom

7 years agoDrop the m2eclipse configuration from pom
Simon Brandhof [Fri, 10 Feb 2017 18:45:42 +0000 (19:45 +0100)]
Drop the m2eclipse configuration from pom

7 years agoSONAR-8151 make property sonar.organizations.anyoneCanCreate hidden 1659/head
Sébastien Lesaint [Fri, 10 Feb 2017 15:45:17 +0000 (16:45 +0100)]
SONAR-8151 make property sonar.organizations.anyoneCanCreate hidden

7 years agoSONAR-8752 persist id of user for whom personal org was created
Sébastien Lesaint [Fri, 10 Feb 2017 15:33:52 +0000 (16:33 +0100)]
SONAR-8752 persist id of user for whom personal org was created

7 years agoSONAR-8752 support userId in OrganizationDto and OrganizationDao
Sébastien Lesaint [Fri, 10 Feb 2017 15:16:40 +0000 (16:16 +0100)]
SONAR-8752 support userId in OrganizationDto and OrganizationDao

7 years agoSONAR-8752 add column ORGANIZATIONS.USER_ID
Sébastien Lesaint [Fri, 10 Feb 2017 14:41:57 +0000 (15:41 +0100)]
SONAR-8752 add column ORGANIZATIONS.USER_ID

7 years agoSONAR-8752 SONAR-8753 create org for new users
Sébastien Lesaint [Thu, 9 Feb 2017 14:17:54 +0000 (15:17 +0100)]
SONAR-8752 SONAR-8753 create org for new users

both when user is created with api/users/create or at first authentication
this feature is controlled by property sonar.organizations.createPersonalOrg

7 years agoSONAR-8751 factor organization creation and attr validation
Sébastien Lesaint [Thu, 9 Feb 2017 10:42:58 +0000 (11:42 +0100)]
SONAR-8751 factor organization creation and attr validation

into dedicated classes: OrganizationValidation and OrganizationCreation

7 years agoSONAR-8753 add hidden property sonar.organizations.createPersonalOrg
Sébastien Lesaint [Thu, 9 Feb 2017 09:06:18 +0000 (10:06 +0100)]
SONAR-8753 add hidden property sonar.organizations.createPersonalOrg

7 years agoSONAR-8566 upgrade PHP plugin
Simon Brandhof [Fri, 10 Feb 2017 17:15:46 +0000 (18:15 +0100)]
SONAR-8566 upgrade PHP plugin

7 years agoSONAR-8694 make perfect name matches score higher in global search
Daniel Schwarz [Thu, 9 Feb 2017 17:03:14 +0000 (18:03 +0100)]
SONAR-8694 make perfect name matches score higher in global search

7 years agoFix concurrency probs in tests
Duarte Meneses [Fri, 10 Feb 2017 16:42:11 +0000 (17:42 +0100)]
Fix concurrency probs in tests

7 years agoSONAR-8637 Update POM parent version 1658/head
Teryk Bellahsene [Fri, 10 Feb 2017 09:31:00 +0000 (10:31 +0100)]
SONAR-8637 Update POM parent version

7 years agoSONAR-8637 IT to test functional version in a plugin
Teryk Bellahsene [Thu, 9 Feb 2017 20:14:23 +0000 (21:14 +0100)]
SONAR-8637 IT to test functional version in a plugin

7 years agoSONAR-8637 Display functional version of plugins when available
Teryk Bellahsene [Thu, 9 Feb 2017 19:09:41 +0000 (20:09 +0100)]
SONAR-8637 Display functional version of plugins when available

7 years agoSONAR-8636 Show functional version of SonarQube
Teryk Bellahsene [Thu, 9 Feb 2017 18:54:42 +0000 (19:54 +0100)]
SONAR-8636 Show functional version of SonarQube

7 years agoSONAR-8637 Use new versions of update center and maven packager
Teryk Bellahsene [Thu, 9 Feb 2017 14:25:29 +0000 (15:25 +0100)]
SONAR-8637 Use new versions of update center and maven packager

7 years agoSONAR-8758 Rename category "Differentials Views" to "Leak"
Julien Lancelot [Fri, 10 Feb 2017 16:18:41 +0000 (17:18 +0100)]
SONAR-8758 Rename category "Differentials Views" to "Leak"

7 years agoSONAR-8769 Display project and organization keys in the analysis logs
Duarte Meneses [Fri, 10 Feb 2017 11:06:04 +0000 (12:06 +0100)]
SONAR-8769 Display project and organization keys in the analysis logs

7 years agoAdd type to internal DefaultRule
Duarte Meneses [Fri, 10 Feb 2017 10:34:45 +0000 (11:34 +0100)]
Add type to internal DefaultRule

7 years agoIncrease expected perf timing
Julien Lancelot [Fri, 10 Feb 2017 13:13:41 +0000 (14:13 +0100)]
Increase expected perf timing

7 years agoSONAR-8748 Add message on every exception thrown by WS 1635/head
Julien Lancelot [Fri, 10 Feb 2017 08:55:17 +0000 (09:55 +0100)]
SONAR-8748 Add message on every exception thrown by WS

7 years agoSONAR-8748 BadRequestException fail when empty list or empty element
Julien Lancelot [Fri, 10 Feb 2017 08:09:05 +0000 (09:09 +0100)]
SONAR-8748 BadRequestException fail when empty list or empty element

7 years agoClean some code related to rails 1656/head
Julien Lancelot [Fri, 10 Feb 2017 10:28:22 +0000 (11:28 +0100)]
Clean some code related to rails

7 years agoSONAR-8646 Embed SonarFlex
Julien Lancelot [Thu, 9 Feb 2017 10:56:17 +0000 (11:56 +0100)]
SONAR-8646 Embed SonarFlex

7 years agoSONAR-8372 Improve the leak period header on a project dashboard (#1651)
Stas Vilchik [Fri, 10 Feb 2017 10:01:50 +0000 (11:01 +0100)]
SONAR-8372 Improve the leak period header on a project dashboard (#1651)

7 years agoSONAR-8760 Define 'Cognitive Complexity' metric 1655/head
Julien Lancelot [Thu, 9 Feb 2017 15:37:56 +0000 (16:37 +0100)]
SONAR-8760 Define 'Cognitive Complexity' metric

7 years agoSONAR-8208 SONAR-8610 SONAR-8758 Delete useless settings from db 1652/head
Julien Lancelot [Wed, 8 Feb 2017 16:27:51 +0000 (17:27 +0100)]
SONAR-8208 SONAR-8610 SONAR-8758 Delete useless settings from db

7 years agoSONAR-8759 Rename setting "sonar.timemachine.period1" to "sonar.leak.period"
Julien Lancelot [Wed, 8 Feb 2017 13:04:28 +0000 (14:04 +0100)]
SONAR-8759 Rename setting "sonar.timemachine.period1" to "sonar.leak.period"

7 years agoSONAR-8756 add guarded flag to response of api/organizations/search 1640/head
Sébastien Lesaint [Wed, 8 Feb 2017 16:55:19 +0000 (17:55 +0100)]
SONAR-8756 add guarded flag to response of api/organizations/search

7 years agoSONAR-8755 make default organization guarded
Sébastien Lesaint [Wed, 8 Feb 2017 15:36:36 +0000 (16:36 +0100)]
SONAR-8755 make default organization guarded

so that it can only be deleted by root

7 years agoSONAR-8754 api/organizations/create require root for guarded org
Sébastien Lesaint [Tue, 7 Feb 2017 17:18:03 +0000 (18:18 +0100)]
SONAR-8754 api/organizations/create require root for guarded org

7 years agoSONAR-8754 support guarded in OrganizationDto and OrganizationDao
Sébastien Lesaint [Tue, 7 Feb 2017 16:58:11 +0000 (17:58 +0100)]
SONAR-8754 support guarded in OrganizationDto and OrganizationDao

7 years agoSONAR-8754 add column ORGANIZATIONS.GUARDED
Sébastien Lesaint [Tue, 7 Feb 2017 16:43:58 +0000 (17:43 +0100)]
SONAR-8754 add column ORGANIZATIONS.GUARDED

7 years agoSONAR-8745 add rule activation date (q profile) into analysis report
Daniel Schwarz [Fri, 3 Feb 2017 13:47:11 +0000 (14:47 +0100)]
SONAR-8745 add rule activation date (q profile) into analysis report

7 years agoSONAR-8745 refactor test to generate response, instead of using file
Daniel Schwarz [Tue, 7 Feb 2017 11:33:35 +0000 (12:33 +0100)]
SONAR-8745 refactor test to generate response, instead of using file

7 years agoSONAR-8745 reduce code complexity of persisting issues
Daniel Schwarz [Thu, 2 Feb 2017 12:58:57 +0000 (13:58 +0100)]
SONAR-8745 reduce code complexity of persisting issues

7 years agoSONAR-8566 upgrade SonarSource plugins
Simon Brandhof [Thu, 9 Feb 2017 23:13:38 +0000 (00:13 +0100)]
SONAR-8566 upgrade SonarSource plugins

7 years agofix project header when organization is not shown
Stas Vilchik [Thu, 9 Feb 2017 16:16:58 +0000 (17:16 +0100)]
fix project header when organization is not shown

7 years agoSONAR-8658 apply feedback
Stas Vilchik [Thu, 9 Feb 2017 16:02:20 +0000 (17:02 +0100)]
SONAR-8658 apply feedback

7 years agorevert styles used in views console
Stas Vilchik [Thu, 9 Feb 2017 15:53:05 +0000 (16:53 +0100)]
revert styles used in views console

7 years agoSONAR-8750 apply feedback
Stas Vilchik [Thu, 9 Feb 2017 12:53:25 +0000 (13:53 +0100)]
SONAR-8750 apply feedback

7 years agoremove unused styles and images (#1648)
Stas Vilchik [Thu, 9 Feb 2017 12:24:04 +0000 (13:24 +0100)]
remove unused styles and images (#1648)

7 years agouse babel-preset-env (#1645)
Stas Vilchik [Thu, 9 Feb 2017 12:22:26 +0000 (13:22 +0100)]
use babel-preset-env (#1645)

7 years agoSONAR-8743 Rename PeriodsHolder to PeriodHolder 1634/head
Julien Lancelot [Thu, 9 Feb 2017 10:25:12 +0000 (11:25 +0100)]
SONAR-8743 Rename PeriodsHolder to PeriodHolder

7 years agoSONAR-8743 Remove index form Period
Julien Lancelot [Wed, 8 Feb 2017 12:25:21 +0000 (13:25 +0100)]
SONAR-8743 Remove index form Period

7 years agoSONAR-8758 Remove settings related to periods 2 to 5
Julien Lancelot [Wed, 8 Feb 2017 11:17:32 +0000 (12:17 +0100)]
SONAR-8758 Remove settings related to periods 2 to 5

7 years agoSONAR-8743 Remove useless methods from PeriodHolder
Julien Lancelot [Wed, 8 Feb 2017 10:20:48 +0000 (11:20 +0100)]
SONAR-8743 Remove useless methods from PeriodHolder

7 years agoSONAR-8743 Remove MeasureVariations
Julien Lancelot [Wed, 8 Feb 2017 10:08:06 +0000 (11:08 +0100)]
SONAR-8743 Remove MeasureVariations

7 years agoSONAR-8743 Remove MeasureVariations from XXXVariationValue classes
Julien Lancelot [Wed, 8 Feb 2017 07:47:32 +0000 (08:47 +0100)]
SONAR-8743 Remove MeasureVariations from XXXVariationValue classes

7 years agoSONAR-8743 Handle only leak period when computing new coverage measures
Julien Lancelot [Tue, 7 Feb 2017 16:30:53 +0000 (17:30 +0100)]
SONAR-8743 Handle only leak period when computing new coverage measures

7 years agoSONAR-8743 Handle only leak period when computing new size measures
Julien Lancelot [Tue, 7 Feb 2017 16:08:27 +0000 (17:08 +0100)]
SONAR-8743 Handle only leak period when computing new size measures

7 years agoSONAR-8743 Handle only leak period when computing issues related measures
Julien Lancelot [Tue, 7 Feb 2017 14:19:55 +0000 (15:19 +0100)]
SONAR-8743 Handle only leak period when computing issues related measures

7 years agoSONAR-8743 Handle only leak period when persisting analysis
Julien Lancelot [Tue, 7 Feb 2017 14:10:32 +0000 (15:10 +0100)]
SONAR-8743 Handle only leak period when persisting analysis

7 years agoSONAR-8743 Handle only leak period when loading period
Julien Lancelot [Tue, 7 Feb 2017 13:14:59 +0000 (14:14 +0100)]
SONAR-8743 Handle only leak period when loading period

7 years agoSONAR-8743 Handle only leak period when computing measure variations
Julien Lancelot [Tue, 7 Feb 2017 12:49:53 +0000 (13:49 +0100)]
SONAR-8743 Handle only leak period when computing measure variations

7 years agoSONAR-8743 Handle only leak period when computing quality gate measure
Julien Lancelot [Tue, 7 Feb 2017 10:53:47 +0000 (11:53 +0100)]
SONAR-8743 Handle only leak period when computing quality gate measure

7 years agoSONAR-8743 Prepare handling only leak period in compute engine
Julien Lancelot [Tue, 7 Feb 2017 08:26:49 +0000 (09:26 +0100)]
SONAR-8743 Prepare handling only leak period in compute engine

Deprecate some methods and add new ones in PeriodsHolder
Deprecate MeasureVariations

7 years agoSONAR-8744 Remove no more used methods from dtos
Julien Lancelot [Mon, 6 Feb 2017 15:06:57 +0000 (16:06 +0100)]
SONAR-8744 Remove no more used methods from dtos

7 years agoSONAR-8743 Persist only leak period in compute engine
Julien Lancelot [Mon, 6 Feb 2017 14:42:35 +0000 (15:42 +0100)]
SONAR-8743 Persist only leak period in compute engine

7 years agoSONAR-8746 Return only leak period in web services
Julien Lancelot [Mon, 6 Feb 2017 13:44:19 +0000 (14:44 +0100)]
SONAR-8746 Return only leak period in web services

7 years agoSONAR-8744 Remove usage of periods 2 to 5 in Daos
Julien Lancelot [Mon, 6 Feb 2017 13:47:25 +0000 (14:47 +0100)]
SONAR-8744 Remove usage of periods 2 to 5 in Daos

7 years agoSONAR-8720 Update the link from footer and help page
Stas Vilchik [Wed, 8 Feb 2017 15:44:57 +0000 (16:44 +0100)]
SONAR-8720 Update the link from footer and help page

7 years agoSONAR-8721 Redirect links should be using https
Stas Vilchik [Wed, 8 Feb 2017 15:40:34 +0000 (16:40 +0100)]
SONAR-8721 Redirect links should be using https

7 years agoSONAR-8470 Add favicon and apple touch icons (#1644)
Stas Vilchik [Thu, 9 Feb 2017 09:52:58 +0000 (10:52 +0100)]
SONAR-8470 Add favicon and apple touch icons (#1644)

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.