]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
5 years agodisable gradle cache until Cirrus issue #472 is fixed
Sébastien Lesaint [Fri, 27 Sep 2019 10:31:56 +0000 (12:31 +0200)]
disable gradle cache until Cirrus issue #472 is fixed

5 years agoSONAR-12481 Fix SSF-97
Jeremy Davis [Wed, 25 Sep 2019 07:49:45 +0000 (09:49 +0200)]
SONAR-12481 Fix SSF-97

5 years agoDOCS Fix xxx_issues metric (#2106)
CS [Thu, 26 Sep 2019 14:56:53 +0000 (16:56 +0200)]
DOCS Fix xxx_issues metric (#2106)

5 years agoFixes from review
Jeremy Davis [Tue, 24 Sep 2019 09:03:48 +0000 (11:03 +0200)]
Fixes from review

5 years agoImprove set action description
Jacek [Mon, 23 Sep 2019 08:19:17 +0000 (10:19 +0200)]
Improve set action description

5 years agoDOCS update for review changes
MikeBirnstiehl [Fri, 20 Sep 2019 13:54:31 +0000 (08:54 -0500)]
DOCS update for review changes

5 years agoFixing SonarQube analysis issues (#2084)
Jacek [Fri, 20 Sep 2019 08:30:43 +0000 (10:30 +0200)]
Fixing SonarQube analysis issues (#2084)

5 years agoAdd ITs for the new UI
Jeremy Davis [Tue, 17 Sep 2019 16:42:55 +0000 (18:42 +0200)]
Add ITs for the new UI

5 years agoFix UT for components count
Jacek [Thu, 19 Sep 2019 09:07:34 +0000 (11:07 +0200)]
Fix UT for components count

5 years agoUpdate expected zip file size
Duarte Meneses [Wed, 18 Sep 2019 14:13:54 +0000 (09:13 -0500)]
Update expected zip file size

5 years agoSONAR-12390 Prevent analysis deletion when it is a baseline
Duarte Meneses [Tue, 17 Sep 2019 20:05:44 +0000 (15:05 -0500)]
SONAR-12390 Prevent analysis deletion when it is a baseline

5 years agoFixes from review
Jeremy Davis [Mon, 16 Sep 2019 15:26:05 +0000 (17:26 +0200)]
Fixes from review

5 years agoDOCS add new code period page
MikeBirnstiehl [Tue, 17 Sep 2019 15:43:51 +0000 (10:43 -0500)]
DOCS add new code period page

5 years agoWS bug fixes (#2070)
Jacek [Tue, 17 Sep 2019 07:09:22 +0000 (09:09 +0200)]
WS bug fixes (#2070)

- add example to show new code period action
- list available types for set new code period action
- fix empty responses for protobuff enum
- add new code periods WS ITs

5 years agoFix conflicts after rebase
Jacek [Fri, 6 Sep 2019 08:19:26 +0000 (10:19 +0200)]
Fix conflicts after rebase

5 years agoSONAR-12430 Handle project baseline for Community Edition
Jeremy Davis [Fri, 30 Aug 2019 15:31:15 +0000 (17:31 +0200)]
SONAR-12430 Handle project baseline for Community Edition

5 years agoSONAR-12415 Fix Leak title in project overview
Jeremy Davis [Tue, 27 Aug 2019 14:04:38 +0000 (16:04 +0200)]
SONAR-12415 Fix Leak title in project overview

5 years agoFix new code period set action with specific analysis for CE (#2051)
Jacek [Mon, 2 Sep 2019 14:38:21 +0000 (16:38 +0200)]
Fix new code period set action with specific analysis for CE (#2051)

5 years agoSONAR-12420 Prevent setting baseline from project branches page
Jeremy Davis [Thu, 29 Aug 2019 13:39:18 +0000 (15:39 +0200)]
SONAR-12420 Prevent setting baseline from project branches page

5 years agoSONAR-11629 Add baseline marker to activity page
Jeremy Davis [Wed, 28 Aug 2019 09:42:06 +0000 (11:42 +0200)]
SONAR-11629 Add baseline marker to activity page

5 years agoSONAR-12366 Always set new code periods to main branch in CE (#2047)
Duarte Meneses [Fri, 30 Aug 2019 07:32:36 +0000 (02:32 -0500)]
SONAR-12366 Always set new code periods to main branch in CE (#2047)

5 years agoSONAR-12412 - support import/export of new code periods for projects (#2024)
Jacek [Thu, 29 Aug 2019 07:20:15 +0000 (09:20 +0200)]
SONAR-12412 - support import/export of new code periods for projects (#2024)

* SONAR-12412 - support import/export of new code periods for projects

5 years agoSONAR-12419 - resolve date for specific_analysis new code period type (#2026)
Jacek [Wed, 28 Aug 2019 20:16:12 +0000 (22:16 +0200)]
SONAR-12419 - resolve date for specific_analysis new code period type (#2026)

* SONAR-12419 - resolve date for specific_analysis new code period type

5 years agoSONAR-11658 branch setting for the new code period
Jeremy Davis [Fri, 9 Aug 2019 11:56:03 +0000 (13:56 +0200)]
SONAR-11658 branch setting for the new code period

5 years agoSONAR-11630 Project setting for new code period
Jeremy Davis [Fri, 9 Aug 2019 11:54:33 +0000 (13:54 +0200)]
SONAR-11630 Project setting for new code period

5 years agoSONAR-11637 General setting for new code period
Jeremy Davis [Fri, 9 Aug 2019 11:43:58 +0000 (13:43 +0200)]
SONAR-11637 General setting for new code period

5 years agoSONAR-12347 Migrate properties
Duarte Meneses [Thu, 22 Aug 2019 20:33:17 +0000 (15:33 -0500)]
SONAR-12347 Migrate properties

5 years agoImprove code quality and test coverage
Duarte Meneses [Wed, 21 Aug 2019 19:56:16 +0000 (14:56 -0500)]
Improve code quality and test coverage

5 years agoNew Code Period table
Duarte Meneses [Wed, 21 Aug 2019 16:29:17 +0000 (11:29 -0500)]
New Code Period table

5 years agoSONAR-12366 New Code Period WebServices
Duarte Meneses [Wed, 21 Aug 2019 16:03:51 +0000 (11:03 -0500)]
SONAR-12366 New Code Period WebServices

5 years agoSONAR-12406 - remove 'sonar.leak.period' property
Jacek [Wed, 21 Aug 2019 13:04:29 +0000 (15:04 +0200)]
SONAR-12406 - remove 'sonar.leak.period' property

5 years agoAdd ListAction to NewCodePeriod WS Module
Jacek [Wed, 21 Aug 2019 13:11:50 +0000 (15:11 +0200)]
Add ListAction to NewCodePeriod WS Module

5 years agoFeature/dm/migrate new code period (#2017)
Duarte Meneses [Wed, 21 Aug 2019 11:08:31 +0000 (06:08 -0500)]
Feature/dm/migrate new code period (#2017)

* SONAR-12396 List new code periods for all branches with effective current values

* SONAR-12347 Migrate old definitions of leak period

5 years agoSONAR-12366 update endpoint ws urls (#2013)
Jacek [Tue, 20 Aug 2019 16:10:16 +0000 (18:10 +0200)]
SONAR-12366 update endpoint ws urls (#2013)

5 years agoSONAR-12393 - support remove new code period on branch, project removal (#2002)
Jacek [Tue, 20 Aug 2019 07:19:05 +0000 (09:19 +0200)]
SONAR-12393 - support remove new code period on branch, project removal (#2002)

* SONAR-12393 - support remove new code period on branch, project removal

5 years agoSONAR-12366 Add WS to tester
Duarte Meneses [Fri, 9 Aug 2019 16:11:19 +0000 (11:11 -0500)]
SONAR-12366 Add WS to tester

5 years agoSONAR-12366 Create WS to delete New Code Periods
Duarte Meneses [Fri, 9 Aug 2019 15:56:12 +0000 (10:56 -0500)]
SONAR-12366 Create WS to delete New Code Periods

5 years agoSONAR-12366 Add new WSs to tester
Duarte Meneses [Fri, 9 Aug 2019 15:42:50 +0000 (10:42 -0500)]
SONAR-12366 Add new WSs to tester

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