]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
5 years agoSONAR-12366 Create WS to read/write New Code Periods
Duarte Meneses [Fri, 9 Aug 2019 12:56:38 +0000 (07:56 -0500)]
SONAR-12366 Create WS to read/write New Code Periods

5 years agoSONAR-12394 Load analysis new code period based on hierarchy of New Code Period settings
Duarte Meneses [Thu, 8 Aug 2019 18:43:01 +0000 (13:43 -0500)]
SONAR-12394 Load analysis new code period based on hierarchy of New Code Period settings

5 years agoSONAR-12364 Fix update of values
Duarte Meneses [Tue, 6 Aug 2019 19:05:00 +0000 (14:05 -0500)]
SONAR-12364 Fix update of values

5 years agoSONAR-12364 - SonarQube analysis fixes
Jacek [Tue, 6 Aug 2019 15:40:20 +0000 (17:40 +0200)]
SONAR-12364 - SonarQube analysis fixes

5 years agoSONAR-12364 - IT fixes, add uniq new code period table constraint
Jacek [Tue, 6 Aug 2019 13:57:25 +0000 (15:57 +0200)]
SONAR-12364 - IT fixes, add uniq new code period table constraint

5 years agoSONAR-12364 - remove manual baseline column from usage
Jacek [Tue, 6 Aug 2019 12:54:29 +0000 (14:54 +0200)]
SONAR-12364 - remove manual baseline column from usage

5 years agoSONAR-12364 - migrate project analysis delete action to new concept
Jacek [Tue, 6 Aug 2019 11:41:48 +0000 (13:41 +0200)]
SONAR-12364 - migrate project analysis delete action to new concept

5 years agoSONAR-12364 - switch from manual baseline to New Code Period concept
Jacek [Tue, 6 Aug 2019 11:21:21 +0000 (13:21 +0200)]
SONAR-12364 - switch from manual baseline to New Code Period concept

5 years agoSONAR-12366 Create WS to read/write New Code Periods
Duarte Meneses [Mon, 5 Aug 2019 21:04:11 +0000 (16:04 -0500)]
SONAR-12366 Create WS to read/write New Code Periods

5 years agoCreate UUID for new_code_periods
Duarte Meneses [Fri, 2 Aug 2019 20:43:19 +0000 (15:43 -0500)]
Create UUID for new_code_periods

5 years agoSet value nullable in new_code_periods
Duarte Meneses [Fri, 2 Aug 2019 20:42:49 +0000 (15:42 -0500)]
Set value nullable in new_code_periods

5 years agoadd Upsert to NewCodePeriodDao
Duarte Meneses [Fri, 2 Aug 2019 20:01:10 +0000 (15:01 -0500)]
add Upsert to NewCodePeriodDao

5 years agoSONAR-12366 Create WS to read/write New Code Periods
Duarte Meneses [Fri, 2 Aug 2019 19:14:47 +0000 (14:14 -0500)]
SONAR-12366 Create WS to read/write New Code Periods

5 years agoSONAR-12365 create new_code_period table (#1986)
Jacek [Fri, 2 Aug 2019 16:23:19 +0000 (18:23 +0200)]
SONAR-12365 create new_code_period table (#1986)

* Create new_code_periods table along with dto and dao

5 years agoSONAR-12460 add GitLab Auth docs
MikeBirnstiehl [Mon, 23 Sep 2019 12:56:59 +0000 (07:56 -0500)]
SONAR-12460 add GitLab Auth docs

5 years agoSONAR-12460 Fail startup when detecting GitLab Auth plugin
Julien Lancelot [Thu, 19 Sep 2019 11:59:14 +0000 (13:59 +0200)]
SONAR-12460 Fail startup when detecting GitLab Auth plugin

5 years agoSONAR-12460 Support GitLab Authentication
Julien Lancelot [Tue, 17 Sep 2019 10:21:53 +0000 (12:21 +0200)]
SONAR-12460 Support GitLab Authentication

5 years agodogfood_docker_builder task must depend on promote_task task
Sébastien Lesaint [Mon, 23 Sep 2019 09:27:23 +0000 (11:27 +0200)]
dogfood_docker_builder task must depend on promote_task task

5 years agoRemove reference to sonar-vsts from backend and fix test
philippe-perrin-sonarsource [Fri, 20 Sep 2019 10:19:30 +0000 (12:19 +0200)]
Remove reference to sonar-vsts from backend and fix test

5 years agoRemove reference to sonar-vsts from build
philippe-perrin-sonarsource [Fri, 20 Sep 2019 10:17:03 +0000 (12:17 +0200)]
Remove reference to sonar-vsts from build

5 years agoRemove sonar-vsts folder
philippe-perrin-sonarsource [Fri, 20 Sep 2019 10:16:33 +0000 (12:16 +0200)]
Remove sonar-vsts folder

5 years agoSONAR-12451 Prevent refreshing snippets when entering flow
Jeremy Davis [Thu, 19 Sep 2019 14:59:23 +0000 (16:59 +0200)]
SONAR-12451 Prevent refreshing snippets when entering flow

5 years agoSONAR-12371 Fix password inputs in settings
Jeremy Davis [Tue, 20 Aug 2019 09:29:23 +0000 (11:29 +0200)]
SONAR-12371 Fix password inputs in settings

5 years agoSONAR-12397 Fix SCM popup in snippets
Jeremy Davis [Mon, 19 Aug 2019 15:22:42 +0000 (17:22 +0200)]
SONAR-12397 Fix SCM popup in snippets

5 years agoenable testFixtures plugin only on projects with testFixtures source
Sébastien Lesaint [Fri, 20 Sep 2019 13:22:55 +0000 (15:22 +0200)]
enable testFixtures plugin only on projects with testFixtures source

5 years agoMMF-1604 CI configuration for SQ8 CE, DE & EE docker images
Michal Duda [Thu, 5 Sep 2019 15:19:15 +0000 (17:19 +0200)]
MMF-1604 CI configuration for SQ8 CE, DE & EE docker images

5 years agowaiting for ES to start log must also appear upon restart
Sébastien Lesaint [Thu, 19 Sep 2019 15:47:25 +0000 (17:47 +0200)]
waiting for ES to start log must also appear upon restart

5 years agofix unstable SchedulerImpl#restart_stops_all_and_restarts_all_processes
Sébastien Lesaint [Thu, 19 Sep 2019 15:47:05 +0000 (17:47 +0200)]
fix unstable SchedulerImpl#restart_stops_all_and_restarts_all_processes

5 years agoSSF-92 Code injection from SonarQube plugins
Duarte Meneses [Wed, 18 Sep 2019 15:52:44 +0000 (10:52 -0500)]
SSF-92 Code injection from SonarQube plugins

5 years agoFix mssql CE activity query and incorrect usage of AlwaysIncreasingSystem2 (#2077)
Jacek [Wed, 18 Sep 2019 15:15:59 +0000 (17:15 +0200)]
Fix mssql CE activity query and incorrect usage of AlwaysIncreasingSystem2 (#2077)

5 years agoSONAR-10030 Improve project notifications management
Wouter Admiraal [Tue, 17 Sep 2019 09:56:13 +0000 (11:56 +0200)]
SONAR-10030 Improve project notifications management

5 years agoSONAR-12449 Tracking#toString() must return bound lenght string
Sébastien Lesaint [Wed, 4 Sep 2019 09:27:06 +0000 (11:27 +0200)]
SONAR-12449 Tracking#toString() must return bound lenght string

it kills the debugger as it performs toString of multiple collection made of DefaultIssue instance which have a very long toString()

5 years agoSONAR-12449 fix code move issue tracking missing some random issues
Sébastien Lesaint [Wed, 4 Sep 2019 09:22:51 +0000 (11:22 +0200)]
SONAR-12449 fix code move issue tracking missing some random issues

an initial piece of code of code move heuristic would index issues by line in a MultiMap
issues are DefaultIssue objects which hashCode method is based solely on DefaultIssue's key field
Multimap implementation used in code move was Set based
unfortunately, at this point in time, no DefaultIssue instance have a key set yet
which implies that all of them have the same hashcode
which implies when stored in the MultiMap for the same key, only one DefaultIssue instance was stored (the first added, which is unpredictable)
this change make code move heuristic use List based Multimaps which do not use DefaultIssue's hashcode

5 years agoSONAR-5366 - restore custom rules (#2060)
Jacek [Tue, 17 Sep 2019 07:19:44 +0000 (09:19 +0200)]
SONAR-5366 - restore custom rules (#2060)

- restore custom rules
- reduce SQL query executions
- code readability improvements

5 years agoSONAR-12443 Fix SSF-95
Jeremy Davis [Wed, 4 Sep 2019 12:20:54 +0000 (14:20 +0200)]
SONAR-12443 Fix SSF-95

5 years agoSONAR-12398 make schedule refresh of porfolios work
Sébastien Lesaint [Tue, 3 Sep 2019 10:46:13 +0000 (12:46 +0200)]
SONAR-12398 make schedule refresh of porfolios work

5 years agoSONAR-12358 upgrade hazelcast
Pierre Guillot [Mon, 26 Aug 2019 15:14:51 +0000 (17:14 +0200)]
SONAR-12358 upgrade hazelcast

5 years agoDOCS Deprecate SonarPython's XPath custom rule
Nicolas Harraudeau [Fri, 13 Sep 2019 14:22:35 +0000 (16:22 +0200)]
DOCS Deprecate SonarPython's XPath custom rule

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