]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoSONAR-6315 no indexing active rules in MassRegisterQualityProfiles 2010/head
Sébastien Lesaint [Tue, 9 May 2017 09:25:58 +0000 (11:25 +0200)]
SONAR-6315 no indexing active rules in MassRegisterQualityProfiles

there is no need to index active rules at all during registration of Quality Profile as only deactivation changes trigger changes in the Active Rule index and registering quality profiles only activates active rules
removal of this indexing in RegisterQualityProfiles can't be done now as it requires to make initial indexing of Active Rule index when it doesn't exist be handled by another piece of code

7 years agoSONAR-6315 add debug logs in RegisterRules for active rules ops
Sébastien Lesaint [Fri, 5 May 2017 15:00:18 +0000 (17:00 +0200)]
SONAR-6315 add debug logs in RegisterRules for active rules ops

7 years agoSONAR-6315 index changes per quality profile to avoid OOM
Sébastien Lesaint [Thu, 4 May 2017 14:30:03 +0000 (16:30 +0200)]
SONAR-6315 index changes per quality profile to avoid OOM

because indexing only at the end of MassRegisterQualityProfiles means holding every changes for every QP for every organization in memory and this can be a lot

7 years agoSONAR-6315 use batch SQL session to insert change log
Sébastien Lesaint [Thu, 4 May 2017 14:20:50 +0000 (16:20 +0200)]
SONAR-6315 use batch SQL session to insert change log

in MassRegisterQualityProfiles

7 years agoSONAR-6315 use new RegisterQualityProfile code only if property is set
Sébastien Lesaint [Thu, 4 May 2017 14:20:13 +0000 (16:20 +0200)]
SONAR-6315 use new RegisterQualityProfile code only if property is set

7 years agoSONAR-6315 use an insert only code for RegisterQualityProfiles
Sébastien Lesaint [Fri, 28 Apr 2017 09:33:43 +0000 (11:33 +0200)]
SONAR-6315 use an insert only code for RegisterQualityProfiles

7 years agoSONAR-6315 support parent in DefinedQProfileRepository
Sébastien Lesaint [Fri, 28 Apr 2017 15:08:00 +0000 (17:08 +0200)]
SONAR-6315 support parent in DefinedQProfileRepository

fail if a profile references a non existing parent

7 years agoSONAR-9072 for api/components/suggestions use all valid search tokens
Daniel Schwarz [Thu, 11 May 2017 16:15:55 +0000 (18:15 +0200)]
SONAR-9072 for api/components/suggestions use all valid search tokens

The search for suggestions should ignore tokens, that are only one character long (with warning), but use all other tokens for the search.

7 years agoSONAR-9192 ensure no perm template has useless permissions to AnyOne 2058/head
Sébastien Lesaint [Thu, 11 May 2017 13:11:24 +0000 (15:11 +0200)]
SONAR-9192 ensure no perm template has useless permissions to AnyOne

7 years agoSONAR-9078 only include attr. "project" for certain types of suggestions
Daniel Schwarz [Thu, 11 May 2017 14:33:13 +0000 (16:33 +0200)]
SONAR-9078 only include attr. "project" for certain types of suggestions

The attribute will be omitted for views, subviews and projects, but included for modules, files and test-files.

7 years agoSONAR-9219 Deprecate parameters "developer{Id|Key}" in web services api/measures...
Simon Brandhof [Thu, 11 May 2017 21:21:12 +0000 (23:21 +0200)]
SONAR-9219 Deprecate parameters "developer{Id|Key}" in web services api/measures/component and api/measures/component_tree

7 years agoSONAR-9073 fix response example of api/components/suggestions
Daniel Schwarz [Thu, 11 May 2017 10:04:35 +0000 (12:04 +0200)]
SONAR-9073 fix response example of api/components/suggestions

7 years agoSONAR-9217 if two suggestions have the same relevancy, prefer A over Z
Daniel Schwarz [Thu, 11 May 2017 16:37:02 +0000 (18:37 +0200)]
SONAR-9217 if two suggestions have the same relevancy, prefer A over Z

api/components/suggestions used to only use "relevance" (score) in sorting results. If two suggestions have exactly the same relevance (this is a rare case), then we will now also take alphabetical order into account.

7 years agoMake tests on clustering more robust
Eric Hartmann [Thu, 11 May 2017 16:26:46 +0000 (18:26 +0200)]
Make tests on clustering more robust

7 years agoapply search feedback (#2054)
Stas Vilchik [Thu, 11 May 2017 16:17:15 +0000 (18:17 +0200)]
apply search feedback (#2054)

7 years agoSONAR-9186 fix number of “more” in api/components/suggestions
Daniel Schwarz [Thu, 11 May 2017 09:40:37 +0000 (11:40 +0200)]
SONAR-9186 fix number of “more” in api/components/suggestions

7 years agofix project visibility of projects, created by ComponentDbTester
Daniel Schwarz [Thu, 11 May 2017 10:13:28 +0000 (12:13 +0200)]
fix project visibility of projects, created by ComponentDbTester

7 years agoSONAR-9199 Fix unclosed inputStream
Julien HENRY [Thu, 11 May 2017 10:16:36 +0000 (12:16 +0200)]
SONAR-9199 Fix unclosed inputStream

7 years agoSONAR-9148 fix partition size for large inputs in MySQL
Daniel Schwarz [Tue, 9 May 2017 14:44:53 +0000 (16:44 +0200)]
SONAR-9148 fix partition size for large inputs in MySQL

* reproduce issues with large inputs in MySQL
* fix chunk size of #keepAuthorizedProjectIds
* fix chunk size of #keepAuthorizedUsersForRoleAndProject

7 years agoSONAR-9174 Display issue box on the last line of its primary location (#2047)
Stas Vilchik [Thu, 11 May 2017 08:04:50 +0000 (10:04 +0200)]
SONAR-9174 Display issue box on the last line of its primary location (#2047)

7 years agoSONAR-9186 fix performance hotspot when verifying authorization
Simon Brandhof [Wed, 10 May 2017 21:04:42 +0000 (23:04 +0200)]
SONAR-9186 fix performance hotspot when verifying authorization

by reducing the number of SQL requests.

7 years agoSONAR-9075 “more” skips first 6 results, in api/components/suggestions
Daniel Schwarz [Wed, 10 May 2017 13:54:47 +0000 (15:54 +0200)]
SONAR-9075 “more” skips first 6 results, in api/components/suggestions

7 years agoSONAR-9079 let favorites not be found as suggestion, if they don’t match
Daniel Schwarz [Thu, 4 May 2017 14:19:32 +0000 (16:19 +0200)]
SONAR-9079 let favorites not be found as suggestion, if they don’t match

The component text query is divided into two parts: one part generates results, the other part boosts certain results for the correct ordering.

7 years agoSONAR-9077 let api/components/suggestions return name instead longName
Daniel Schwarz [Thu, 4 May 2017 15:37:36 +0000 (17:37 +0200)]
SONAR-9077 let api/components/suggestions return name instead longName

7 years agoSONAR-9186 make "query" optional for api/components/suggestions
Daniel Schwarz [Fri, 5 May 2017 14:42:11 +0000 (16:42 +0200)]
SONAR-9186 make "query" optional for api/components/suggestions

7 years agoRemove most usages of AuthorizationDao#keepAuthorizedProjectIds()
Simon Brandhof [Wed, 10 May 2017 19:38:57 +0000 (21:38 +0200)]
Remove most usages of AuthorizationDao#keepAuthorizedProjectIds()

replaced by UserSession#keepAuthorizedComponents()

7 years agoFix bug in AuthorizationDao#keepAuthorizedProjectIds()
Simon Brandhof [Wed, 10 May 2017 18:47:56 +0000 (20:47 +0200)]
Fix bug in AuthorizationDao#keepAuthorizedProjectIds()

Input of ids is not correctly partitioned. The SQL request may fail
on some databases (Oracle at least) if the input list of ids
is greater than 1'000 elements.

7 years agoAdd method UserSession#keepAuthorizedComponents()
Simon Brandhof [Wed, 10 May 2017 14:00:35 +0000 (16:00 +0200)]
Add method UserSession#keepAuthorizedComponents()

to be able to fix authorization performance hotspot

7 years agoSONAR-9170 do not allow to create custom rules of removed templates
Daniel Schwarz [Tue, 9 May 2017 11:46:44 +0000 (13:46 +0200)]
SONAR-9170 do not allow to create custom rules of removed templates

7 years agoApply review comments
Grégoire Aubert [Wed, 10 May 2017 08:32:33 +0000 (10:32 +0200)]
Apply review comments

7 years agoSONAR-8369 SONAR-8722 Sanitize page titles
Grégoire Aubert [Tue, 9 May 2017 13:43:19 +0000 (15:43 +0200)]
SONAR-8369 SONAR-8722 Sanitize page titles

7 years agoFix component breadcrumb path collapsing
Grégoire Aubert [Tue, 9 May 2017 12:27:01 +0000 (14:27 +0200)]
Fix component breadcrumb path collapsing

7 years agoSONAR-8911 Fix timeline error on project page
Grégoire Aubert [Mon, 8 May 2017 13:50:46 +0000 (15:50 +0200)]
SONAR-8911 Fix timeline error on project page

7 years agoSONAR-9175 Remember the last selection for My Issues / All filter
Stas Vilchik [Tue, 9 May 2017 14:40:53 +0000 (16:40 +0200)]
SONAR-9175 Remember the last selection for My Issues / All filter

7 years agofix quality gate link for new_maintainability_rating
Stas Vilchik [Tue, 9 May 2017 14:24:48 +0000 (16:24 +0200)]
fix quality gate link for new_maintainability_rating

7 years agochange styles of inactive facet items
Stas Vilchik [Tue, 9 May 2017 13:15:54 +0000 (15:15 +0200)]
change styles of inactive facet items

7 years agoclean quality gates styles
Stas Vilchik [Tue, 9 May 2017 13:07:57 +0000 (15:07 +0200)]
clean quality gates styles

7 years agoremove unused handlebars helpers
Stas Vilchik [Tue, 9 May 2017 12:54:46 +0000 (14:54 +0200)]
remove unused handlebars helpers

7 years agoSONAR-9156 fail persisting components if project is not persisted
Daniel Schwarz [Thu, 4 May 2017 09:21:31 +0000 (11:21 +0200)]
SONAR-9156 fail persisting components if project is not persisted

When an analysis is processed, we expect the analysis’ project to be already stored in the database.

7 years agoSONAR-9204 File with BOM are not correctly parsed by the CPD tokenizer
Julien HENRY [Tue, 9 May 2017 12:17:18 +0000 (14:17 +0200)]
SONAR-9204 File with BOM are not correctly parsed by the CPD tokenizer

7 years agoSONAR-9199 InputFile::content() and InputFile::inputStream() should filter BOM
Julien HENRY [Tue, 9 May 2017 10:31:20 +0000 (12:31 +0200)]
SONAR-9199 InputFile::content() and InputFile::inputStream() should filter BOM

7 years agoMMF-661 rework search (#2030)
Stas Vilchik [Tue, 9 May 2017 15:53:29 +0000 (17:53 +0200)]
MMF-661 rework search (#2030)

7 years agoSONAR-9135 Fix incorrect detection when port is set
Eric Hartmann [Tue, 9 May 2017 08:49:57 +0000 (10:49 +0200)]
SONAR-9135 Fix incorrect detection when port is set

7 years agofix IssueNotificationsTest
Stas Vilchik [Tue, 9 May 2017 12:01:24 +0000 (14:01 +0200)]
fix IssueNotificationsTest

7 years agoSONAR-9084 auto issue assignment should deal with case sensitivity
Simon Brandhof [Fri, 5 May 2017 15:12:17 +0000 (17:12 +0200)]
SONAR-9084 auto issue assignment should deal with case sensitivity

- login is case sensitive
- email and scm accounts match whatever the case

7 years agoSONAR-9084 simplify IssueIndexTest
Simon Brandhof [Fri, 5 May 2017 14:37:54 +0000 (16:37 +0200)]
SONAR-9084 simplify IssueIndexTest

7 years agoSONAR-9084 refactor tests of UserIndex#getAtMostThreeActiveUsersForScmAccount()
Simon Brandhof [Fri, 5 May 2017 14:33:33 +0000 (16:33 +0200)]
SONAR-9084 refactor tests of UserIndex#getAtMostThreeActiveUsersForScmAccount()

7 years agoSONAR-9084 drop some coupling on Guava
Simon Brandhof [Fri, 5 May 2017 13:54:36 +0000 (15:54 +0200)]
SONAR-9084 drop some coupling on Guava

7 years agoSONAR-8092 use BulkProcessor for es indexing
Daniel Schwarz [Tue, 9 May 2017 09:16:31 +0000 (11:16 +0200)]
SONAR-8092 use BulkProcessor for es indexing

7 years agoSONAR-8718 Allow HTML for WS domain description
Grégoire Aubert [Fri, 5 May 2017 15:12:47 +0000 (17:12 +0200)]
SONAR-8718 Allow HTML for WS domain description

7 years agoSONAR-9183 Do not collapse setting descriptions
Grégoire Aubert [Fri, 5 May 2017 13:04:28 +0000 (15:04 +0200)]
SONAR-9183 Do not collapse setting descriptions

7 years agoSONAR-9118 Fix issue project facet and organization name in front of issue
Grégoire Aubert [Fri, 5 May 2017 12:45:05 +0000 (14:45 +0200)]
SONAR-9118 Fix issue project facet and organization name in front of issue

7 years agoSONAR-9177 Show a warning when accessing a removed file
Grégoire Aubert [Fri, 5 May 2017 09:17:22 +0000 (11:17 +0200)]
SONAR-9177 Show a warning when accessing a removed file

7 years agoSONAR-9145 Show the maximum allowed values in the web services page
Grégoire Aubert [Fri, 5 May 2017 08:45:41 +0000 (10:45 +0200)]
SONAR-9145 Show the maximum allowed values in the web services page

7 years agoSONAR-8836 Always display categories in installed plugins page
Grégoire Aubert [Fri, 5 May 2017 08:10:47 +0000 (10:10 +0200)]
SONAR-8836 Always display categories in installed plugins page

7 years agoSONAR-8767 Now use sinceLeakPeriod instead of a periodDate
Grégoire Aubert [Thu, 4 May 2017 16:00:30 +0000 (18:00 +0200)]
SONAR-8767 Now use sinceLeakPeriod instead of a periodDate

7 years agoSONAR-9176 Remove useless request of organization list at app loading
Grégoire Aubert [Thu, 4 May 2017 15:14:44 +0000 (17:14 +0200)]
SONAR-9176 Remove useless request of organization list at app loading

7 years agoRemove unused ListItems
Grégoire Aubert [Thu, 4 May 2017 15:09:46 +0000 (17:09 +0200)]
Remove unused ListItems

7 years agoFix bad api call with organization members
Grégoire Aubert [Thu, 4 May 2017 15:09:29 +0000 (17:09 +0200)]
Fix bad api call with organization members

7 years agoSONAR-8886 Collapse directory path in component header
Grégoire Aubert [Fri, 5 May 2017 13:23:00 +0000 (15:23 +0200)]
SONAR-8886 Collapse directory path in component header

7 years agoSONAR-9165 hide tooltips on permissions page, update message
Stas Vilchik [Tue, 9 May 2017 08:50:30 +0000 (10:50 +0200)]
SONAR-9165 hide tooltips on permissions page, update message

7 years agouse prettier-css (#2035)
Stas Vilchik [Tue, 9 May 2017 08:05:34 +0000 (10:05 +0200)]
use prettier-css (#2035)

7 years agoSONAR-8908 Check permissions when displaying an issue permalink
Stas Vilchik [Mon, 8 May 2017 15:52:40 +0000 (17:52 +0200)]
SONAR-8908 Check permissions when displaying an issue permalink

7 years agoSONAR-9045 Add a color legend to projects bubble charts
Stas Vilchik [Mon, 8 May 2017 14:44:10 +0000 (16:44 +0200)]
SONAR-9045 Add a color legend to projects bubble charts

7 years agoSONAR-8641 Update severity icons
Stas Vilchik [Mon, 8 May 2017 14:06:10 +0000 (16:06 +0200)]
SONAR-8641 Update severity icons

7 years agoSONAR-6315 fix missing rule caching in DefinedQProfileCreation 2024/head
Sébastien Lesaint [Tue, 2 May 2017 14:43:45 +0000 (16:43 +0200)]
SONAR-6315 fix missing rule caching in DefinedQProfileCreation

7 years agoSONAR-9168 do not fail when indexing measure with unexpected text value
Simon Brandhof [Fri, 5 May 2017 11:39:13 +0000 (13:39 +0200)]
SONAR-9168 do not fail when indexing measure with unexpected text value

7 years agoSONAR-9182 Add visibility to WS api/projects/search 2038/head
Teryk Bellahsene [Mon, 8 May 2017 17:31:41 +0000 (19:31 +0200)]
SONAR-9182 Add visibility to WS api/projects/search

7 years agoSONAR-8894 Compute number of members by organization 2036/head
Teryk Bellahsene [Mon, 8 May 2017 13:44:41 +0000 (15:44 +0200)]
SONAR-8894 Compute number of members by organization

7 years agopass organization when searching tags on rule page
Stas Vilchik [Mon, 8 May 2017 08:06:29 +0000 (10:06 +0200)]
pass organization when searching tags on rule page

7 years agoSONAR-9135 Remove test with ip6-localhost
Eric Hartmann [Fri, 5 May 2017 14:56:45 +0000 (16:56 +0200)]
SONAR-9135 Remove test with ip6-localhost

7 years agoSONAR-8771 Display more languages on the Projects page
Grégoire Aubert [Wed, 3 May 2017 15:13:23 +0000 (17:13 +0200)]
SONAR-8771 Display more languages on the Projects page

7 years agoSONAR-8870 Search by WS description
Grégoire Aubert [Tue, 2 May 2017 14:32:17 +0000 (16:32 +0200)]
SONAR-8870 Search by WS description

7 years agoSONAR-9173 Hide some elements of the footer when the user is not logged
Grégoire Aubert [Tue, 2 May 2017 13:18:15 +0000 (15:18 +0200)]
SONAR-9173 Hide some elements of the footer when the user is not logged

7 years agoSONAR-8903 drop issues filter by last week
Stas Vilchik [Fri, 5 May 2017 12:56:09 +0000 (14:56 +0200)]
SONAR-8903 drop issues filter by last week

7 years agoSONAR-9135 Add safety checks in Cluster configuration
Eric Hartmann [Wed, 3 May 2017 13:11:31 +0000 (15:11 +0200)]
SONAR-9135 Add safety checks in Cluster configuration

7 years agoSONAR-9166 allow to change default project visibility on-premise (#2022)
Stas Vilchik [Fri, 5 May 2017 12:11:22 +0000 (14:11 +0200)]
SONAR-9166 allow to change default project visibility on-premise (#2022)

7 years agoAdjust scanner 2.8 perf timings
Duarte Meneses [Fri, 5 May 2017 08:48:24 +0000 (10:48 +0200)]
Adjust scanner 2.8 perf timings

7 years agoFix quality issues
Duarte Meneses [Thu, 4 May 2017 08:42:41 +0000 (10:42 +0200)]
Fix quality issues

7 years agoSONAR-9054 Revert WS api/navigation/organization filter out billing pages for persona... 2009/head
Teryk Bellahsene [Wed, 3 May 2017 06:23:51 +0000 (08:23 +0200)]
SONAR-9054 Revert WS api/navigation/organization filter out billing pages for personal organization

7 years agoImprove reliability of SupportPrivateProjectInDefaultPermissionTemplateTest
Simon Brandhof [Fri, 5 May 2017 08:11:51 +0000 (10:11 +0200)]
Improve reliability of SupportPrivateProjectInDefaultPermissionTemplateTest

There were some false-positives due to generated random values
that are not unique.

7 years agodisplay tooltip on permission template page
Stas Vilchik [Fri, 5 May 2017 07:29:07 +0000 (09:29 +0200)]
display tooltip on permission template page

7 years agoSONAR-8924 update api documentation of api/qualityprofiles/search
Daniel Schwarz [Wed, 3 May 2017 11:47:48 +0000 (13:47 +0200)]
SONAR-8924 update api documentation of api/qualityprofiles/search

7 years agoSONAR-8924 let api/qualityprofiles/search use project’s organization
Daniel Schwarz [Tue, 2 May 2017 09:58:40 +0000 (11:58 +0200)]
SONAR-8924 let api/qualityprofiles/search use project’s organization

7 years agoSONAR-6135 Upgrade MySQL driver to 5.1.42
Eric Hartmann [Thu, 4 May 2017 07:42:00 +0000 (09:42 +0200)]
SONAR-6135 Upgrade MySQL driver to 5.1.42

Add useSSL=false to default configuration

7 years agoSONAR-7511 AbstractStoppableExecutorService produce warn logs 2023/head
Sébastien Lesaint [Thu, 4 May 2017 10:00:06 +0000 (12:00 +0200)]
SONAR-7511 AbstractStoppableExecutorService produce warn logs

rather than error logs

7 years agoallow chaning "administer quality profiles" permission for organizations
Stas Vilchik [Thu, 4 May 2017 11:57:58 +0000 (13:57 +0200)]
allow chaning "administer quality profiles" permission for organizations

7 years agosort my organizations by name
Stas Vilchik [Thu, 4 May 2017 11:55:51 +0000 (13:55 +0200)]
sort my organizations by name

7 years agoCancel the Travis build of a branch when a pull request exists
Tom [Thu, 20 Apr 2017 07:47:11 +0000 (09:47 +0200)]
Cancel the Travis build of a branch when a pull request exists

It allows to not use slaves for nothing by executing twice
(more or less) the same job. Building the pull request
is enough in most cases.

7 years agoSONAR-9122 prevent setting a project as private (#2015)
Stas Vilchik [Thu, 4 May 2017 09:19:55 +0000 (11:19 +0200)]
SONAR-9122 prevent setting a project as private (#2015)

7 years agoSONAR-9134 Define the minimum number of ES master nodes
Eric Hartmann [Fri, 28 Apr 2017 06:55:39 +0000 (08:55 +0200)]
SONAR-9134 Define the minimum number of ES master nodes

In cluster mode, there'll be 2 master nodes by default.
In standalone mode, only 1 master node by default
A new property sonar.search.initialStateTimeout allows to handle the startup
timeout.

7 years agoSONAR-9133 Define the number of ES replicas
Eric Hartmann [Thu, 27 Apr 2017 15:42:47 +0000 (17:42 +0200)]
SONAR-9133 Define the number of ES replicas

New property added sonar.search.replicas to define the number of ES replicas
When this property is not set, in standalone mode this value will be 0 and
in cluster mode, this value will be 1

7 years agoUpdate scanner perf tests to scanner 2.8
Duarte Meneses [Wed, 3 May 2017 15:30:20 +0000 (17:30 +0200)]
Update scanner perf tests to scanner 2.8

7 years agoapply feedback on private projects ui (#2011)
Stas Vilchik [Thu, 4 May 2017 08:04:46 +0000 (10:04 +0200)]
apply feedback on private projects ui (#2011)

* refersh holders when changing project visibility
* always show warning on permission templates page

7 years agoSONAR-9129 improve descriptions of api/qualityprofiles
Simon Brandhof [Wed, 3 May 2017 16:03:34 +0000 (18:03 +0200)]
SONAR-9129 improve descriptions of api/qualityprofiles

7 years agoSONAR-8865 remove old documents from rules/extension index when updating
Daniel Schwarz [Thu, 27 Apr 2017 16:31:04 +0000 (18:31 +0200)]
SONAR-8865 remove old documents from rules/extension index when updating

7 years agoSONAR-8400 Backend cleanup must clean CE and webhook tables
Simon Brandhof [Wed, 3 May 2017 14:38:00 +0000 (16:38 +0200)]
SONAR-8400 Backend cleanup must clean CE and webhook tables

7 years agoSONAR-6100 Improve support of binary files and/or files with different encoding
Duarte Meneses [Wed, 3 May 2017 14:03:24 +0000 (16:03 +0200)]
SONAR-6100 Improve support of binary files and/or files with different encoding

7 years agoExpose router components (used in billing plugin)
Grégoire Aubert [Wed, 3 May 2017 11:22:21 +0000 (13:22 +0200)]
Expose router components (used in billing plugin)

7 years agofix extensions using backbone router (#2005)
Stas Vilchik [Wed, 3 May 2017 09:30:13 +0000 (11:30 +0200)]
fix extensions using backbone router (#2005)