]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoMerge remote-tracking branch 'origin/branch-6.4'
Simon Brandhof [Thu, 18 May 2017 20:50:37 +0000 (22:50 +0200)]
Merge remote-tracking branch 'origin/branch-6.4'

7 years agoFix stability of integration tests on Oracle
Simon Brandhof [Thu, 18 May 2017 15:26:28 +0000 (17:26 +0200)]
Fix stability of integration tests on Oracle

Error is "ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired"
when resetting data.

7 years agoReuse version 6.4-SNAPSHOT
Simon Brandhof [Thu, 18 May 2017 14:19:54 +0000 (16:19 +0200)]
Reuse version 6.4-SNAPSHOT

7 years agoSONAR-9265 Prevent error log at shutdown
Eric Hartmann [Thu, 18 May 2017 12:27:34 +0000 (14:27 +0200)]
SONAR-9265 Prevent error log at shutdown

7 years agoSQCOM-7 Add a custom footer for sonarqube.com
Grégoire Aubert [Tue, 16 May 2017 11:39:01 +0000 (13:39 +0200)]
SQCOM-7 Add a custom footer for sonarqube.com

7 years agoAutomatic merge from branch-6.4
Julien Lancelot [Thu, 18 May 2017 06:57:47 +0000 (08:57 +0200)]
Automatic merge from branch-6.4

* origin/branch-6.4:
  6.4-RC1

7 years ago6.4-RC1 6.4-RC1
Simon Brandhof [Tue, 16 May 2017 15:00:32 +0000 (17:00 +0200)]
6.4-RC1

7 years agoPrepare for next development version 6.5-SNAPSHOT
Simon Brandhof [Tue, 16 May 2017 15:02:30 +0000 (17:02 +0200)]
Prepare for next development version 6.5-SNAPSHOT

7 years agoMake Hazelcast test more robust
Eric Hartmann [Tue, 16 May 2017 11:33:25 +0000 (13:33 +0200)]
Make Hazelcast test more robust

7 years agoFix Quality flaws
Simon Brandhof [Tue, 16 May 2017 08:39:14 +0000 (10:39 +0200)]
Fix Quality flaws

7 years agoadd tab for ActiveRules to scanner report viewer
Sébastien Lesaint [Mon, 15 May 2017 08:55:48 +0000 (10:55 +0200)]
add tab for ActiveRules to scanner report viewer

7 years agoSONAR-9222 disable gravatars by default
Stas Vilchik [Fri, 12 May 2017 09:05:04 +0000 (11:05 +0200)]
SONAR-9222 disable gravatars by default

7 years agodo not display avatar for "not assigned"
Stas Vilchik [Fri, 12 May 2017 08:51:51 +0000 (10:51 +0200)]
do not display avatar for "not assigned"

7 years agoAdd missing translation
Grégoire Aubert [Mon, 15 May 2017 06:37:28 +0000 (08:37 +0200)]
Add missing translation

7 years agoSONAR-9044 Do not load user's organizations when organizations are disabled
Grégoire Aubert [Fri, 12 May 2017 14:16:19 +0000 (16:16 +0200)]
SONAR-9044 Do not load user's organizations when organizations are disabled

7 years agoSONAR-3915 Give the admin a way to send users issue reports on non favorite projects 2073/head
Teryk Bellahsene [Fri, 12 May 2017 10:37:11 +0000 (12:37 +0200)]
SONAR-3915 Give the admin a way to send users issue reports on non favorite projects

7 years agoSONAR-9132 don't remove template rules at every startup 2071/head
Sébastien Lesaint [Fri, 12 May 2017 13:48:15 +0000 (15:48 +0200)]
SONAR-9132 don't remove template rules at every startup

7 years agoRemove unused round option in measures helper
Grégoire Aubert [Fri, 12 May 2017 13:05:28 +0000 (15:05 +0200)]
Remove unused round option in measures helper

7 years agoSONAR-9026 Increase precision for coverage QG conditions
Grégoire Aubert [Fri, 12 May 2017 10:47:28 +0000 (12:47 +0200)]
SONAR-9026 Increase precision for coverage QG conditions

7 years agoFix Quality flaws
Simon Brandhof [Fri, 12 May 2017 14:03:49 +0000 (16:03 +0200)]
Fix Quality flaws

7 years agoFix safeguard timeout in IT RestartTest
Simon Brandhof [Fri, 12 May 2017 13:45:50 +0000 (15:45 +0200)]
Fix safeguard timeout in IT RestartTest

7 years agoSONAR-9197 add index to active_rule_parameters
Simon Brandhof [Fri, 12 May 2017 13:04:20 +0000 (15:04 +0200)]
SONAR-9197 add index to active_rule_parameters

in order to support big volume when organizations are enabled

7 years agoSONAR-9224 HTTP data parts must have filename to allow streaming 2067/head
Sébastien Lesaint [Fri, 12 May 2017 09:11:06 +0000 (11:11 +0200)]
SONAR-9224 HTTP data parts must have filename to allow streaming

on server side

7 years agoFix quality flaws
Julien HENRY [Fri, 12 May 2017 12:53:40 +0000 (14:53 +0200)]
Fix quality flaws

7 years agoConsistent safeguard timeouts in JUnit tests
Simon Brandhof [Fri, 12 May 2017 12:18:41 +0000 (14:18 +0200)]
Consistent safeguard timeouts in JUnit tests

7 years agoFix javadoc of DateUtils about ISO8601 vs RFC822 formats
Simon Brandhof [Fri, 12 May 2017 11:32:13 +0000 (13:32 +0200)]
Fix javadoc of DateUtils about ISO8601 vs RFC822 formats

7 years agoFix Quality flaws
Simon Brandhof [Tue, 9 May 2017 20:54:55 +0000 (22:54 +0200)]
Fix Quality flaws

7 years agoRemove dead code in CE notifications
Simon Brandhof [Tue, 9 May 2017 06:52:08 +0000 (08:52 +0200)]
Remove dead code in CE notifications

7 years agoSONAR-9180 Remove default highlighting of invalid inputs in FF (#2064)
Stas Vilchik [Fri, 12 May 2017 12:07:40 +0000 (14:07 +0200)]
SONAR-9180 Remove default highlighting of invalid inputs in FF (#2064)

7 years agoSONAR-9221 Update embedded analyzers
Julien HENRY [Fri, 12 May 2017 07:59:30 +0000 (09:59 +0200)]
SONAR-9221 Update embedded analyzers

7 years agoSONAR-9220 Update OkHttp to v3.7
Julien HENRY [Fri, 12 May 2017 07:34:49 +0000 (09:34 +0200)]
SONAR-9220 Update OkHttp to v3.7

7 years agoSONAR-9190 Embed SonarXML 4.2.885 2053/head
Teryk Bellahsene [Thu, 11 May 2017 16:32:30 +0000 (18:32 +0200)]
SONAR-9190 Embed SonarXML 4.2.885

7 years agoSONAR-9056 WS api/components/suggestion filter allowed qualifiers
Teryk Bellahsene [Thu, 11 May 2017 16:14:19 +0000 (18:14 +0200)]
SONAR-9056 WS api/components/suggestion filter allowed qualifiers

7 years agoSONAR-8596 Fix bad moment translation
Grégoire Aubert [Thu, 11 May 2017 13:00:46 +0000 (15:00 +0200)]
SONAR-8596 Fix bad moment translation

7 years agoSONAR-8822 Show the administration menu only to authorized users
Grégoire Aubert [Thu, 11 May 2017 10:24:44 +0000 (12:24 +0200)]
SONAR-8822 Show the administration menu only to authorized users

7 years agoSONAR-9194 Add canAdmin flag to WS api/navigation/global
Teryk Bellahsene [Thu, 11 May 2017 14:14:09 +0000 (16:14 +0200)]
SONAR-9194 Add canAdmin flag to WS api/navigation/global

7 years agoSONAR-9193 WS api/l10n/index returns the effective BCP47 language tag used
Teryk Bellahsene [Thu, 11 May 2017 13:26:03 +0000 (15:26 +0200)]
SONAR-9193 WS api/l10n/index returns the effective BCP47 language tag used

7 years agoOrganizationDao#selectByUuids does not fail with single unknown uuid
Teryk Bellahsene [Wed, 10 May 2017 11:52:14 +0000 (13:52 +0200)]
OrganizationDao#selectByUuids does not fail with single unknown uuid

7 years agoSONAR-9044 Easy access to my organizations
Grégoire Aubert [Wed, 10 May 2017 16:13:28 +0000 (18:13 +0200)]
SONAR-9044 Easy access to my organizations

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