]>
source.dussan.org Git - sonarqube.git/log
philippe-perrin-sonarsource [Fri, 20 Sep 2019 10:16:33 +0000 (12:16 +0200)]
Remove sonar-vsts folder
Jeremy Davis [Thu, 19 Sep 2019 14:59:23 +0000 (16:59 +0200)]
SONAR-12451 Prevent refreshing snippets when entering flow
Jeremy Davis [Tue, 20 Aug 2019 09:29:23 +0000 (11:29 +0200)]
SONAR-12371 Fix password inputs in settings
Jeremy Davis [Mon, 19 Aug 2019 15:22:42 +0000 (17:22 +0200)]
SONAR-12397 Fix SCM popup in snippets
Sébastien Lesaint [Fri, 20 Sep 2019 13:22:55 +0000 (15:22 +0200)]
enable testFixtures plugin only on projects with testFixtures source
Michal Duda [Thu, 5 Sep 2019 15:19:15 +0000 (17:19 +0200)]
MMF-1604 CI configuration for SQ8 CE, DE & EE docker images
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
Sébastien Lesaint [Thu, 19 Sep 2019 15:47:05 +0000 (17:47 +0200)]
fix unstable SchedulerImpl#restart_stops_all_and_restarts_all_processes
Duarte Meneses [Wed, 18 Sep 2019 15:52:44 +0000 (10:52 -0500)]
SSF-92 Code injection from SonarQube plugins
Jacek [Wed, 18 Sep 2019 15:15:59 +0000 (17:15 +0200)]
Fix mssql CE activity query and incorrect usage of AlwaysIncreasingSystem2 (#2077)
Wouter Admiraal [Tue, 17 Sep 2019 09:56:13 +0000 (11:56 +0200)]
SONAR-10030 Improve project notifications management
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()
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
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
Jeremy Davis [Wed, 4 Sep 2019 12:20:54 +0000 (14:20 +0200)]
SONAR-12443 Fix SSF-95
Sébastien Lesaint [Tue, 3 Sep 2019 10:46:13 +0000 (12:46 +0200)]
SONAR-12398 make schedule refresh of porfolios work
Pierre Guillot [Mon, 26 Aug 2019 15:14:51 +0000 (17:14 +0200)]
SONAR-12358 upgrade hazelcast
Nicolas Harraudeau [Fri, 13 Sep 2019 14:22:35 +0000 (16:22 +0200)]
DOCS Deprecate SonarPython's XPath custom rule
MikeBirnstiehl [Thu, 12 Sep 2019 21:02:24 +0000 (16:02 -0500)]
DOCS remove MySQL references
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)
Wouter Admiraal [Tue, 27 Aug 2019 10:11:41 +0000 (12:11 +0200)]
SONAR-12360 Improve project creation validation
Wouter Admiraal [Mon, 26 Aug 2019 13:41:14 +0000 (15:41 +0200)]
SONAR-12285 Load issues until opened one is found
Wouter Admiraal [Mon, 26 Aug 2019 12:20:23 +0000 (14:20 +0200)]
SONAR-12404 Fix leading issue location error
Wouter Admiraal [Mon, 26 Aug 2019 10:18:36 +0000 (12:18 +0200)]
SONAR-12400 Prefill searchbox with value from URL
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
Sébastien Lesaint [Fri, 6 Sep 2019 07:53:53 +0000 (09:53 +0200)]
add UT for SQ restart in SchedulerImplTest
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
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
Sébastien Lesaint [Thu, 5 Sep 2019 10:50:54 +0000 (12:50 +0200)]
logger name should appear in Unit Tests' logs
Sébastien Lesaint [Thu, 5 Sep 2019 10:37:09 +0000 (12:37 +0200)]
threads should have unique names to ease debugging
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
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
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
Sébastien Lesaint [Thu, 5 Sep 2019 08:03:58 +0000 (10:03 +0200)]
remove duplicate attempts to stop process which failed to start
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)
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
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
Sébastien Lesaint [Thu, 5 Sep 2019 12:34:52 +0000 (14:34 +0200)]
SONAR-12369 fix build from source of non snapshot version
Sébastien Lesaint [Thu, 5 Sep 2019 15:20:11 +0000 (17:20 +0200)]
SONAR-8520 fix bad accidental change in sonar.properties
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
Duarte Meneses [Wed, 31 Jul 2019 18:54:30 +0000 (13:54 -0500)]
Simplify MeasureRepository interface
Duarte Meneses [Tue, 30 Jul 2019 19:17:16 +0000 (14:17 -0500)]
Use Trove for memory efficient Map
Duarte Meneses [Tue, 30 Jul 2019 20:41:10 +0000 (15:41 -0500)]
Create memory efficient implementations of Measures
Duarte Meneses [Tue, 30 Jul 2019 20:39:53 +0000 (15:39 -0500)]
Cache measures for ratings
Duarte Meneses [Tue, 30 Jul 2019 20:38:34 +0000 (15:38 -0500)]
Use arrays insted of set for Duplicates
Duarte Meneses [Mon, 29 Jul 2019 14:59:16 +0000 (09:59 -0500)]
Fix tests
Duarte Meneses [Tue, 30 Jul 2019 20:37:02 +0000 (15:37 -0500)]
Simplify keys of measure repository
Duarte Meneses [Tue, 30 Jul 2019 20:36:46 +0000 (15:36 -0500)]
cache regex pattern
Duarte Meneses [Tue, 30 Jul 2019 20:45:06 +0000 (15:45 -0500)]
Use CompactMap instead of HashMap for Measures
Duarte Meneses [Tue, 30 Jul 2019 20:44:51 +0000 (15:44 -0500)]
Use arrays instead of Map for SCM info
Duarte Meneses [Tue, 30 Jul 2019 20:44:06 +0000 (15:44 -0500)]
Cache common Doubles in Measures
Duarte Meneses [Tue, 30 Jul 2019 20:43:07 +0000 (15:43 -0500)]
Intern strings in Components and Changesets
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)
philippe-perrin-sonarsource [Fri, 30 Aug 2019 16:08:11 +0000 (18:08 +0200)]
Tests fixup
philippe-perrin-sonarsource [Tue, 20 Aug 2019 16:21:48 +0000 (18:21 +0200)]
Add support for the new styled component theme
philippe-perrin-sonarsource [Tue, 20 Aug 2019 13:46:21 +0000 (15:46 +0200)]
Add support for styled component
philippe-perrin-sonarsource [Tue, 20 Aug 2019 13:45:38 +0000 (15:45 +0200)]
Stop referencing alert css directly
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
Sébastien Lesaint [Fri, 30 Aug 2019 10:03:13 +0000 (12:03 +0200)]
fix old quality flaw
Sébastien Lesaint [Thu, 29 Aug 2019 13:27:53 +0000 (15:27 +0200)]
use testFixtures instead of test configuration of ce-task-projectanalysis
Sébastien Lesaint [Thu, 29 Aug 2019 13:01:10 +0000 (15:01 +0200)]
use testFixtures instead of test configuration of ce-task
Sébastien Lesaint [Thu, 29 Aug 2019 12:52:26 +0000 (14:52 +0200)]
use testFixtures instead of test configuration of webserver-es
Sébastien Lesaint [Thu, 29 Aug 2019 12:40:33 +0000 (14:40 +0200)]
use testFixtures instead of test configuration of webserver-webapi
Sébastien Lesaint [Thu, 29 Aug 2019 12:31:55 +0000 (14:31 +0200)]
use testFixtures instead of test configuration of webserver-auth
Sébastien Lesaint [Thu, 29 Aug 2019 11:47:54 +0000 (13:47 +0200)]
use testFixtures instead of test configuration of server-common
Sébastien Lesaint [Thu, 29 Aug 2019 15:15:15 +0000 (17:15 +0200)]
drop now useless module sonar-db-testing
Sébastien Lesaint [Wed, 28 Aug 2019 15:57:49 +0000 (17:57 +0200)]
use testFixtures instead of test configuration of db-dao
Sébastien Lesaint [Wed, 28 Aug 2019 15:33:17 +0000 (17:33 +0200)]
use testFixtures instead of test configuration of db-core
Sébastien Lesaint [Wed, 28 Aug 2019 14:52:53 +0000 (16:52 +0200)]
use testFixtures instead of test configuration of webserver-ws
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)
Sébastien Lesaint [Wed, 28 Aug 2019 14:07:39 +0000 (16:07 +0200)]
upgrade Gradle to 5.6.1
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.
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
Sébastien Lesaint [Wed, 28 Aug 2019 13:09:50 +0000 (15:09 +0200)]
remove deprecated WsTester
Wouter Admiraal [Thu, 29 Aug 2019 13:47:44 +0000 (15:47 +0200)]
Fix sonar-docs yarn.lock file
Sébastien Lesaint [Thu, 29 Aug 2019 22:38:11 +0000 (00:38 +0200)]
"yarn install" should be executed with option "--frozen-lockfile"
Sébastien Lesaint [Tue, 27 Aug 2019 15:35:14 +0000 (17:35 +0200)]
SONAR-12423 fix misleading naming in notification stat classes
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
Simon Brandhof [Thu, 29 Aug 2019 07:43:10 +0000 (09:43 +0200)]
Attempt to fix FP in SchedulerImplTest
Pierre Guillot [Thu, 29 Aug 2019 07:59:46 +0000 (09:59 +0200)]
ORCH-437 upgrade orchestrator
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.
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)
Wouter Admiraal [Mon, 26 Aug 2019 07:31:41 +0000 (09:31 +0200)]
SONAR-12416 Fine-tune badges appearance
Wouter Admiraal [Thu, 22 Aug 2019 13:15:54 +0000 (15:15 +0200)]
SONAR-12333 Cleanup profile inheritance typings, improve coverage
Wouter Admiraal [Fri, 23 Aug 2019 13:45:40 +0000 (15:45 +0200)]
SONAR-12333 Write IT, improve existing ITs
Wouter Admiraal [Thu, 22 Aug 2019 14:12:05 +0000 (16:12 +0200)]
SONAR-12333 Change modal confirmation button to 'Extend'
Wouter Admiraal [Tue, 20 Aug 2019 08:35:25 +0000 (10:35 +0200)]
SONAR-12402 Allow filtering by multiple tags on macOS
Wouter Admiraal [Fri, 9 Aug 2019 06:36:54 +0000 (08:36 +0200)]
SONAR-12392 Fix Issue filtering using Directory facet
Wouter Admiraal [Mon, 19 Aug 2019 13:50:40 +0000 (15:50 +0200)]
SONAR-12403 Fix Issue filtering using File facet
Wouter Admiraal [Mon, 19 Aug 2019 08:59:34 +0000 (10:59 +0200)]
SONAR-11448 Update closed issue changelog comment about line number
Wouter Admiraal [Mon, 19 Aug 2019 08:02:16 +0000 (10:02 +0200)]
SONAR-10805 Fix unwanted content overlap on narrow screens
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
MikeBirnstiehl [Wed, 21 Aug 2019 18:58:09 +0000 (13:58 -0500)]
DOCS remove analyzer docs not up to date warning
MikeBirnstiehl [Wed, 21 Aug 2019 15:57:45 +0000 (10:57 -0500)]
DOCS update heading levels
CS [Wed, 21 Aug 2019 14:24:10 +0000 (16:24 +0200)]
DOCS fix broken links (#2020)
Jeremy Davis [Tue, 13 Aug 2019 14:57:22 +0000 (16:57 +0200)]
SONAR-12399 Fix vulnerabilities with secondary locations
Jeremy Davis [Tue, 13 Aug 2019 13:16:57 +0000 (15:16 +0200)]
SONAR-12334 Fix issue
CS [Wed, 21 Aug 2019 08:06:00 +0000 (10:06 +0200)]
DOCS Remove old limitation of hard-coded SLB QG (#2015)
Wouter Admiraal [Thu, 15 Aug 2019 10:04:47 +0000 (12:04 +0200)]
SONAR-12401 Footer Documentation link should point to embedded doc
Wouter Admiraal [Thu, 15 Aug 2019 09:33:47 +0000 (11:33 +0200)]
SONAR-12368 Fix documentation in IE11