]>
source.dussan.org Git - sonarqube.git/log
Jacek [Tue, 6 Aug 2019 13:57:25 +0000 (15:57 +0200)]
SONAR-12364 - IT fixes, add uniq new code period table constraint
Jacek [Tue, 6 Aug 2019 12:54:29 +0000 (14:54 +0200)]
SONAR-12364 - remove manual baseline column from usage
Jacek [Tue, 6 Aug 2019 11:41:48 +0000 (13:41 +0200)]
SONAR-12364 - migrate project analysis delete action to new concept
Jacek [Tue, 6 Aug 2019 11:21:21 +0000 (13:21 +0200)]
SONAR-12364 - switch from manual baseline to New Code Period concept
Duarte Meneses [Mon, 5 Aug 2019 21:04:11 +0000 (16:04 -0500)]
SONAR-12366 Create WS to read/write New Code Periods
Duarte Meneses [Fri, 2 Aug 2019 20:43:19 +0000 (15:43 -0500)]
Create UUID for new_code_periods
Duarte Meneses [Fri, 2 Aug 2019 20:42:49 +0000 (15:42 -0500)]
Set value nullable in new_code_periods
Duarte Meneses [Fri, 2 Aug 2019 20:01:10 +0000 (15:01 -0500)]
add Upsert to NewCodePeriodDao
Duarte Meneses [Fri, 2 Aug 2019 19:14:47 +0000 (14:14 -0500)]
SONAR-12366 Create WS to read/write New Code Periods
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
MikeBirnstiehl [Mon, 23 Sep 2019 12:56:59 +0000 (07:56 -0500)]
SONAR-12460 add GitLab Auth docs
Julien Lancelot [Thu, 19 Sep 2019 11:59:14 +0000 (13:59 +0200)]
SONAR-12460 Fail startup when detecting GitLab Auth plugin
Julien Lancelot [Tue, 17 Sep 2019 10:21:53 +0000 (12:21 +0200)]
SONAR-12460 Support GitLab Authentication
Sébastien Lesaint [Mon, 23 Sep 2019 09:27:23 +0000 (11:27 +0200)]
dogfood_docker_builder task must depend on promote_task task
philippe-perrin-sonarsource [Fri, 20 Sep 2019 10:19:30 +0000 (12:19 +0200)]
Remove reference to sonar-vsts from backend and fix test
philippe-perrin-sonarsource [Fri, 20 Sep 2019 10:17:03 +0000 (12:17 +0200)]
Remove reference to sonar-vsts from build
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