]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
5 years agoDOCS remove MySQL references
MikeBirnstiehl [Thu, 12 Sep 2019 21:02:24 +0000 (16:02 -0500)]
DOCS remove MySQL references

5 years agoSONAR-12455 - Bumped version of the Scanner for MSBuild to 4.7.1 in its documentation...
mickael-caro-sonarsource [Wed, 11 Sep 2019 05:36:55 +0000 (07:36 +0200)]
SONAR-12455 - Bumped version of the Scanner for MSBuild to 4.7.1 in its documentation. (#2065)

5 years agoSONAR-12360 Improve project creation validation
Wouter Admiraal [Tue, 27 Aug 2019 10:11:41 +0000 (12:11 +0200)]
SONAR-12360 Improve project creation validation

5 years agoSONAR-12285 Load issues until opened one is found
Wouter Admiraal [Mon, 26 Aug 2019 13:41:14 +0000 (15:41 +0200)]
SONAR-12285 Load issues until opened one is found

5 years agoSONAR-12404 Fix leading issue location error
Wouter Admiraal [Mon, 26 Aug 2019 12:20:23 +0000 (14:20 +0200)]
SONAR-12404 Fix leading issue location error

5 years agoSONAR-12400 Prefill searchbox with value from URL
Wouter Admiraal [Mon, 26 Aug 2019 10:18:36 +0000 (12:18 +0200)]
SONAR-12400 Prefill searchbox with value from URL

5 years agoSONAR-12414 Prevent opening an issue if click happens inside a changelog or comment...
Wouter Admiraal [Mon, 26 Aug 2019 09:51:25 +0000 (11:51 +0200)]
SONAR-12414 Prevent opening an issue if click happens inside a changelog or comment dropdown

5 years agoadd UT for SQ restart in SchedulerImplTest
Sébastien Lesaint [Fri, 6 Sep 2019 07:53:53 +0000 (09:53 +0200)]
add UT for SQ restart in SchedulerImplTest

5 years agoprotect ManagedProcessHandler stop finalization code with lifecycle state
Sébastien Lesaint [Thu, 5 Sep 2019 10:52:44 +0000 (12:52 +0200)]
protect ManagedProcessHandler stop finalization code with lifecycle state

since this code is interrupting other threads, this ensures concurrent threads attempting to run this code will never interrupt each other
leading to unpredictable and unreproducible behavior

5 years agodisplay thread name in Unit Tests' logs of sonar-main module
Sébastien Lesaint [Thu, 5 Sep 2019 10:51:19 +0000 (12:51 +0200)]
display thread name in Unit Tests' logs of sonar-main module

this will be helpful as sonar-main has several concurrency testing UTs

5 years agologger name should appear in Unit Tests' logs
Sébastien Lesaint [Thu, 5 Sep 2019 10:50:54 +0000 (12:50 +0200)]
logger name should appear in Unit Tests' logs

5 years agothreads should have unique names to ease debugging
Sébastien Lesaint [Thu, 5 Sep 2019 10:37:09 +0000 (12:37 +0200)]
threads should have unique names to ease debugging

5 years agodo not call stop finalization code without checking lifeCycle state
Sébastien Lesaint [Thu, 5 Sep 2019 10:33:48 +0000 (12:33 +0200)]
do not call stop finalization code without checking lifeCycle state

this avoid having multiple thread call the stope finalization concurrently and killing each other, which is unpredictable and very hard to reproduce behavior

5 years agoremove dead code in SchedulerImplTest (and fix imports)
Sébastien Lesaint [Thu, 5 Sep 2019 10:29:59 +0000 (12:29 +0200)]
remove dead code in SchedulerImplTest (and fix imports)

and for the sake of clean logs, indicate CE is operational

5 years agoadd node state FINALIZE_STOPPING to sync stop finalizing code
Sébastien Lesaint [Thu, 5 Sep 2019 10:27:17 +0000 (12:27 +0200)]
add node state FINALIZE_STOPPING to sync stop finalizing code

this prevents concurrent threads to shutdown each other
this removes a test on NodeLifecycle.getState() which could be unthreadsafe and keep all lifeCycle logic in NodeLifecycle class

5 years agoremove duplicate attempts to stop process which failed to start
Sébastien Lesaint [Thu, 5 Sep 2019 08:03:58 +0000 (10:03 +0200)]
remove duplicate attempts to stop process which failed to start

5 years agostop should be allowed when SQ is not yet fully operational
Sébastien Lesaint [Thu, 5 Sep 2019 07:50:08 +0000 (09:50 +0200)]
stop should be allowed when SQ is not yet fully operational

this allows to keep stop code behing lifecycle transition test
which prevents multiple stop sequence to be initiated in parallel from different thread
which may interrupt each other and create unstable behaviors (with cryptic non reproducible errors)

5 years agoimprove logs to help debug SchedulerImpl and ManagedProcessHandler
Sébastien Lesaint [Thu, 5 Sep 2019 07:37:37 +0000 (09:37 +0200)]
improve logs to help debug SchedulerImpl and ManagedProcessHandler

display Thread name more often
display call stack at trace level

5 years agoSchedulerImpl must not attempt to hard stop SQ twice concurrently
Sébastien Lesaint [Wed, 4 Sep 2019 14:30:07 +0000 (16:30 +0200)]
SchedulerImpl must not attempt to hard stop SQ twice concurrently

otherwise, two hard stopping threads may interrupt each other and SQ could not stop at all

5 years agoSONAR-12369 fix build from source of non snapshot version
Sébastien Lesaint [Thu, 5 Sep 2019 12:34:52 +0000 (14:34 +0200)]
SONAR-12369 fix build from source of non snapshot version

5 years agoSONAR-8520 fix bad accidental change in sonar.properties
Sébastien Lesaint [Thu, 5 Sep 2019 15:20:11 +0000 (17:20 +0200)]
SONAR-8520 fix bad accidental change in sonar.properties

5 years agoSONAR-12214 - order by created_at instead of technical id (#2029)
Jacek [Thu, 5 Sep 2019 11:05:19 +0000 (13:05 +0200)]
SONAR-12214 - order by created_at instead of technical id (#2029)

* SONAR-12214 - order by created_at instead of technical id

5 years agoSimplify MeasureRepository interface
Duarte Meneses [Wed, 31 Jul 2019 18:54:30 +0000 (13:54 -0500)]
Simplify MeasureRepository interface

5 years agoUse Trove for memory efficient Map
Duarte Meneses [Tue, 30 Jul 2019 19:17:16 +0000 (14:17 -0500)]
Use Trove for memory efficient Map

5 years agoCreate memory efficient implementations of Measures
Duarte Meneses [Tue, 30 Jul 2019 20:41:10 +0000 (15:41 -0500)]
Create memory efficient implementations of Measures

5 years agoCache measures for ratings
Duarte Meneses [Tue, 30 Jul 2019 20:39:53 +0000 (15:39 -0500)]
Cache measures for ratings

5 years agoUse arrays insted of set for Duplicates
Duarte Meneses [Tue, 30 Jul 2019 20:38:34 +0000 (15:38 -0500)]
Use arrays insted of set for Duplicates

5 years agoFix tests
Duarte Meneses [Mon, 29 Jul 2019 14:59:16 +0000 (09:59 -0500)]
Fix tests

5 years agoSimplify keys of measure repository
Duarte Meneses [Tue, 30 Jul 2019 20:37:02 +0000 (15:37 -0500)]
Simplify keys of measure repository

5 years agocache regex pattern
Duarte Meneses [Tue, 30 Jul 2019 20:36:46 +0000 (15:36 -0500)]
cache regex pattern

5 years agoUse CompactMap instead of HashMap for Measures
Duarte Meneses [Tue, 30 Jul 2019 20:45:06 +0000 (15:45 -0500)]
Use CompactMap instead of HashMap for Measures

5 years agoUse arrays instead of Map for SCM info
Duarte Meneses [Tue, 30 Jul 2019 20:44:51 +0000 (15:44 -0500)]
Use arrays instead of Map for SCM info

5 years agoCache common Doubles in Measures
Duarte Meneses [Tue, 30 Jul 2019 20:44:06 +0000 (15:44 -0500)]
Cache common Doubles in Measures

5 years agoIntern strings in Components and Changesets
Duarte Meneses [Tue, 30 Jul 2019 20:43:07 +0000 (15:43 -0500)]
Intern strings in Components and Changesets

5 years agoSONAR-12439 - Updated Scanner for MSBuild documentation (4.7.0) (#2053)
mickael-caro-sonarsource [Tue, 3 Sep 2019 14:03:37 +0000 (16:03 +0200)]
SONAR-12439 - Updated Scanner for MSBuild documentation (4.7.0) (#2053)

5 years agoTests fixup
philippe-perrin-sonarsource [Fri, 30 Aug 2019 16:08:11 +0000 (18:08 +0200)]
Tests fixup

5 years agoAdd support for the new styled component theme
philippe-perrin-sonarsource [Tue, 20 Aug 2019 16:21:48 +0000 (18:21 +0200)]
Add support for the new styled component theme

5 years agoAdd support for styled component
philippe-perrin-sonarsource [Tue, 20 Aug 2019 13:46:21 +0000 (15:46 +0200)]
Add support for styled component

5 years agoStop referencing alert css directly
philippe-perrin-sonarsource [Tue, 20 Aug 2019 13:45:38 +0000 (15:45 +0200)]
Stop referencing alert css directly

5 years agoLink 'Product News' in SQ menu to What's New page
n-b-sonar [Tue, 25 Jun 2019 13:50:50 +0000 (15:50 +0200)]
Link 'Product News' in SQ menu to What's New page

5 years agofix old quality flaw
Sébastien Lesaint [Fri, 30 Aug 2019 10:03:13 +0000 (12:03 +0200)]
fix old quality flaw

5 years agouse testFixtures instead of test configuration of ce-task-projectanalysis
Sébastien Lesaint [Thu, 29 Aug 2019 13:27:53 +0000 (15:27 +0200)]
use testFixtures instead of test configuration of ce-task-projectanalysis

5 years agouse testFixtures instead of test configuration of ce-task
Sébastien Lesaint [Thu, 29 Aug 2019 13:01:10 +0000 (15:01 +0200)]
use testFixtures instead of test configuration of ce-task

5 years agouse testFixtures instead of test configuration of webserver-es
Sébastien Lesaint [Thu, 29 Aug 2019 12:52:26 +0000 (14:52 +0200)]
use testFixtures instead of test configuration of webserver-es

5 years agouse testFixtures instead of test configuration of webserver-webapi
Sébastien Lesaint [Thu, 29 Aug 2019 12:40:33 +0000 (14:40 +0200)]
use testFixtures instead of test configuration of webserver-webapi

5 years agouse testFixtures instead of test configuration of webserver-auth
Sébastien Lesaint [Thu, 29 Aug 2019 12:31:55 +0000 (14:31 +0200)]
use testFixtures instead of test configuration of webserver-auth

5 years agouse testFixtures instead of test configuration of server-common
Sébastien Lesaint [Thu, 29 Aug 2019 11:47:54 +0000 (13:47 +0200)]
use testFixtures instead of test configuration of server-common

5 years agodrop now useless module sonar-db-testing
Sébastien Lesaint [Thu, 29 Aug 2019 15:15:15 +0000 (17:15 +0200)]
drop now useless module sonar-db-testing

5 years agouse testFixtures instead of test configuration of db-dao
Sébastien Lesaint [Wed, 28 Aug 2019 15:57:49 +0000 (17:57 +0200)]
use testFixtures instead of test configuration of db-dao

5 years agouse testFixtures instead of test configuration of db-core
Sébastien Lesaint [Wed, 28 Aug 2019 15:33:17 +0000 (17:33 +0200)]
use testFixtures instead of test configuration of db-core

5 years agouse testFixtures instead of test configuration of webserver-ws
Sébastien Lesaint [Wed, 28 Aug 2019 14:52:53 +0000 (16:52 +0200)]
use testFixtures instead of test configuration of webserver-ws

5 years agofix documented docker build command line and make it run fast
Sébastien Lesaint [Thu, 29 Aug 2019 09:39:20 +0000 (11:39 +0200)]
fix documented docker build command line and make it run fast

added .dockerignore file to only send relevant data to Docker Daemon instead of the full current repository (which represents 480Mb+ on Cirrus and locally can be 6Gb)

5 years agoupgrade Gradle to 5.6.1
Sébastien Lesaint [Wed, 28 Aug 2019 14:07:39 +0000 (16:07 +0200)]
upgrade Gradle to 5.6.1

5 years agoremove rethrow of exception in tryToStartProcess
Sébastien Lesaint [Fri, 30 Aug 2019 09:35:30 +0000 (11:35 +0200)]
remove rethrow of exception in tryToStartProcess

rethrowing is effectively useless as no called will catch the exception
in practice, it is caught by the default exception handle of technical thread involved in scheduler SQ start/stop and logged to default logger
this is just noise as the error has been logged by ManagedProcessHandler's start method anyway.

5 years agoEvent thread must not interrupt itself when hard stopping
Sébastien Lesaint [Fri, 30 Aug 2019 09:13:06 +0000 (11:13 +0200)]
Event thread must not interrupt itself when hard stopping

same applies to StopWatcher thread

5 years agoremove deprecated WsTester
Sébastien Lesaint [Wed, 28 Aug 2019 13:09:50 +0000 (15:09 +0200)]
remove deprecated WsTester

5 years agoFix sonar-docs yarn.lock file
Wouter Admiraal [Thu, 29 Aug 2019 13:47:44 +0000 (15:47 +0200)]
Fix sonar-docs yarn.lock file

5 years ago"yarn install" should be executed with option "--frozen-lockfile"
Sébastien Lesaint [Thu, 29 Aug 2019 22:38:11 +0000 (00:38 +0200)]
"yarn install" should be executed with option "--frozen-lockfile"

5 years agoSONAR-12423 fix misleading naming in notification stat classes
Sébastien Lesaint [Tue, 27 Aug 2019 15:35:14 +0000 (17:35 +0200)]
SONAR-12423 fix misleading naming in notification stat classes

5 years agoSONAR-12423 do not display component with zero issues
Sébastien Lesaint [Tue, 27 Aug 2019 15:09:04 +0000 (17:09 +0200)]
SONAR-12423 do not display component with zero issues

in "new issues" and "my new issues" email notifications

5 years agoAttempt to fix FP in SchedulerImplTest
Simon Brandhof [Thu, 29 Aug 2019 07:43:10 +0000 (09:43 +0200)]
Attempt to fix FP in SchedulerImplTest

5 years agoORCH-437 upgrade orchestrator
Pierre Guillot [Thu, 29 Aug 2019 07:59:46 +0000 (09:59 +0200)]
ORCH-437 upgrade orchestrator

5 years agoFix notifications of nightly builds
Simon Brandhof [Wed, 28 Aug 2019 15:25:25 +0000 (17:25 +0200)]
Fix notifications of nightly builds

The branch "nightly-build" is replaced by the branch "dogfood-on-next"
every night by the Jenkins job "trigger-nightly-sonar-enterprise".
That triggers the execution of integration tests on all databases.

Unfortunately the team is not notified when tests fail. Errors are not
visible from:
- wallboards
- the project default page on burgr
- slack channels

The root cause is that burgr does not consider the branch "nightly-build"
as being shared by the team. The workaround is to rename the branch by
prefixing it with "branch-". This is convention for long-living
maintenance branches.

5 years agoSONAR-12376 - increase project key param limit to 400 in api/webhook/create (#2027)
Jacek [Wed, 28 Aug 2019 06:06:51 +0000 (08:06 +0200)]
SONAR-12376 - increase project key param limit to 400 in api/webhook/create (#2027)

5 years agoSONAR-12416 Fine-tune badges appearance
Wouter Admiraal [Mon, 26 Aug 2019 07:31:41 +0000 (09:31 +0200)]
SONAR-12416 Fine-tune badges appearance

5 years agoSONAR-12333 Cleanup profile inheritance typings, improve coverage
Wouter Admiraal [Thu, 22 Aug 2019 13:15:54 +0000 (15:15 +0200)]
SONAR-12333 Cleanup profile inheritance typings, improve coverage

5 years agoSONAR-12333 Write IT, improve existing ITs
Wouter Admiraal [Fri, 23 Aug 2019 13:45:40 +0000 (15:45 +0200)]
SONAR-12333 Write IT, improve existing ITs

5 years agoSONAR-12333 Change modal confirmation button to 'Extend'
Wouter Admiraal [Thu, 22 Aug 2019 14:12:05 +0000 (16:12 +0200)]
SONAR-12333 Change modal confirmation button to 'Extend'

5 years agoSONAR-12402 Allow filtering by multiple tags on macOS
Wouter Admiraal [Tue, 20 Aug 2019 08:35:25 +0000 (10:35 +0200)]
SONAR-12402 Allow filtering by multiple tags on macOS

5 years agoSONAR-12392 Fix Issue filtering using Directory facet
Wouter Admiraal [Fri, 9 Aug 2019 06:36:54 +0000 (08:36 +0200)]
SONAR-12392 Fix Issue filtering using Directory facet

5 years agoSONAR-12403 Fix Issue filtering using File facet
Wouter Admiraal [Mon, 19 Aug 2019 13:50:40 +0000 (15:50 +0200)]
SONAR-12403 Fix Issue filtering using File facet

5 years agoSONAR-11448 Update closed issue changelog comment about line number
Wouter Admiraal [Mon, 19 Aug 2019 08:59:34 +0000 (10:59 +0200)]
SONAR-11448 Update closed issue changelog comment about line number

5 years agoSONAR-10805 Fix unwanted content overlap on narrow screens
Wouter Admiraal [Mon, 19 Aug 2019 08:02:16 +0000 (10:02 +0200)]
SONAR-10805 Fix unwanted content overlap on narrow screens

5 years agoDOCS Add instructions for Application to a Portfolios (#2014)
CS [Thu, 22 Aug 2019 07:00:32 +0000 (09:00 +0200)]
DOCS Add instructions for Application to a Portfolios (#2014)

* Add instructions on adding an Application to a Portfolios

* Edit following review

* Fix broken link

5 years agoDOCS remove analyzer docs not up to date warning
MikeBirnstiehl [Wed, 21 Aug 2019 18:58:09 +0000 (13:58 -0500)]
DOCS remove analyzer docs not up to date warning

5 years agoDOCS update heading levels
MikeBirnstiehl [Wed, 21 Aug 2019 15:57:45 +0000 (10:57 -0500)]
DOCS update heading levels

5 years agoDOCS fix broken links (#2020)
CS [Wed, 21 Aug 2019 14:24:10 +0000 (16:24 +0200)]
DOCS fix broken links (#2020)

5 years agoSONAR-12399 Fix vulnerabilities with secondary locations
Jeremy Davis [Tue, 13 Aug 2019 14:57:22 +0000 (16:57 +0200)]
SONAR-12399 Fix vulnerabilities with secondary locations

5 years agoSONAR-12334 Fix issue
Jeremy Davis [Tue, 13 Aug 2019 13:16:57 +0000 (15:16 +0200)]
SONAR-12334 Fix issue

5 years agoDOCS Remove old limitation of hard-coded SLB QG (#2015)
CS [Wed, 21 Aug 2019 08:06:00 +0000 (10:06 +0200)]
DOCS Remove old limitation of hard-coded SLB QG (#2015)

5 years agoSONAR-12401 Footer Documentation link should point to embedded doc
Wouter Admiraal [Thu, 15 Aug 2019 10:04:47 +0000 (12:04 +0200)]
SONAR-12401 Footer Documentation link should point to embedded doc

5 years agoSONAR-12368 Fix documentation in IE11
Wouter Admiraal [Thu, 15 Aug 2019 09:33:47 +0000 (11:33 +0200)]
SONAR-12368 Fix documentation in IE11

5 years agoSONAR-12348 Fix formatting issue
Wouter Admiraal [Mon, 12 Aug 2019 12:23:53 +0000 (14:23 +0200)]
SONAR-12348 Fix formatting issue

5 years agoSONAR-12391 Exclude collapsible block labels from floating TOC
Wouter Admiraal [Thu, 8 Aug 2019 14:44:38 +0000 (16:44 +0200)]
SONAR-12391 Exclude collapsible block labels from floating TOC

5 years agoSONAR-12346 Unmount extensions cleanly before mounting a new one
Wouter Admiraal [Fri, 26 Jul 2019 14:25:06 +0000 (16:25 +0200)]
SONAR-12346 Unmount extensions cleanly before mounting a new one

5 years agoSONAR-8115 - remove default quality gate from Properties table (#1980)
Jacek [Tue, 20 Aug 2019 13:07:12 +0000 (15:07 +0200)]
SONAR-8115 - remove default quality gate from Properties table (#1980)

* SONAR-8115 - remove default quality gate from Properties table

5 years agoDOC fix es version in faq
Pierre Guillot [Thu, 15 Aug 2019 08:26:44 +0000 (10:26 +0200)]
DOC fix es version in faq

5 years agofix missing package-info.java files
Sébastien Lesaint [Wed, 14 Aug 2019 15:36:39 +0000 (17:36 +0200)]
fix missing package-info.java files

5 years agodrop usage of dependency to sonar-webserver-api test jar
Sébastien Lesaint [Wed, 14 Aug 2019 14:50:27 +0000 (16:50 +0200)]
drop usage of dependency to sonar-webserver-api test jar

5 years agosanitize dependencies on testjar of modules sonar-webserver*
Sébastien Lesaint [Wed, 14 Aug 2019 14:21:32 +0000 (16:21 +0200)]
sanitize dependencies on testjar of modules sonar-webserver*

5 years agofix some (old) quality flaws
Sébastien Lesaint [Wed, 14 Aug 2019 13:31:09 +0000 (15:31 +0200)]
fix some (old) quality flaws

5 years agoclean-up dependencies between webserver modules
Sébastien Lesaint [Wed, 14 Aug 2019 11:11:35 +0000 (13:11 +0200)]
clean-up dependencies between webserver modules

leverage transitive dependencies to simplify dependencies

5 years agorename sonar-webserver-common to sonar-webserver-api
Sébastien Lesaint [Wed, 14 Aug 2019 10:46:39 +0000 (12:46 +0200)]
rename sonar-webserver-common to sonar-webserver-api

5 years agoclean up sonar-webserver content belonging to sonar-webserver-core
Sébastien Lesaint [Wed, 14 Aug 2019 10:38:28 +0000 (12:38 +0200)]
clean up sonar-webserver content belonging to sonar-webserver-core

5 years agorename sonar-server to sonar-webserver-core
Sébastien Lesaint [Wed, 14 Aug 2019 09:07:17 +0000 (11:07 +0200)]
rename sonar-server to sonar-webserver-core

5 years agoremove need to add H2 dependency when depending on sonar-db-testing
Sébastien Lesaint [Wed, 14 Aug 2019 07:38:13 +0000 (09:38 +0200)]
remove need to add H2 dependency when depending on sonar-db-testing

5 years agoremove all other dependencies onto sonar-server
Sébastien Lesaint [Wed, 14 Aug 2019 06:43:40 +0000 (08:43 +0200)]
remove all other dependencies onto sonar-server

was causing funky dependency tree for tests (almost loop)
dependency was sometimes added for transitive dependencies
module was super large yet hardly a couple classes were used

5 years agoremove dependency from sonar-webserver-webapi to sonar-server
Sébastien Lesaint [Tue, 13 Aug 2019 15:17:51 +0000 (17:17 +0200)]
remove dependency from sonar-webserver-webapi to sonar-server

5 years agomove WrapInSingleElementArray to the single module where it's used
Sébastien Lesaint [Tue, 13 Aug 2019 16:05:32 +0000 (18:05 +0200)]
move WrapInSingleElementArray to the single module where it's used

5 years agomake TelemetryDataLoader an interface
Sébastien Lesaint [Tue, 13 Aug 2019 12:39:37 +0000 (14:39 +0200)]
make TelemetryDataLoader an interface

this will easy later refactoring