]>
source.dussan.org Git - sonarqube.git/log
Michal Duda [Tue, 27 Oct 2020 22:02:20 +0000 (23:02 +0100)]
SONAR-13979 Fail when sonar.search.host or sonar.search.port are defined in DCE
- Orchestrator upgrade was required as by default it was setting these properties
Michal Duda [Mon, 26 Oct 2020 11:41:23 +0000 (12:41 +0100)]
SONAR-13971 Add properties to configure ES network in DCE
michaelbirnstiehl [Mon, 27 Jan 2020 22:39:24 +0000 (16:39 -0600)]
DOCS update for ES 7.9.3 upgrade
Jacek [Thu, 9 Jan 2020 08:26:53 +0000 (09:26 +0100)]
SONAR-12686 upgrade es client to 7.9.3 and move to HTTP
- add should minimum match eq 1 to user index queries
ES 7.X changed behaviour in case filter query with bool it defaults to '0'
https://www.elastic.co/guide/en/elasticsearch/reference/7.x/breaking-changes-7.0.html#_the_filter_context_has_been_removed
- fix issue index routing param
ES 7.X helped discover this bug as new setting has been auto configured which is 'index.number_of_routing_shards'.
This has changed how documents are distributed across shards depending on how many shards the index has.
Without that change issues docs has been incorrectly routed to the same shard hash as projects and it worked no matter what routing key you used projectUuid or auth_projectUuid.
- update ngram and edge_ngram names to match with es 7.x
nGram and edgeNgram has been deprecated in favour of ngram and edge_ngram
https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#deprecated-ngram-edgengram-token-filter-cannot-be-used
- remove `_all : enabled` usage from UT
This field was already deprecated in 6.X, now it has been removed.
https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#all-meta-field-removed
- add Elasticsearch High Level REST client dependency
- use sonar.search.port for ES HTTP
- main process use ES Rest client to check ES status
- sonar.cluster.search.hosts has HTTP ports on APP nodes
also sonar.search.port and sonar.search.host MUST be configured on each Search node with the host and HTTP port of the current node
- use Elasticsearch high level rest client
- use in EsTester
- use as primary es client
- use indices api to get all indices name instead of cluster api
- use cluster health api to check cluster state
- support raw requests for 'nodes/_stats' and '_cluster/stats'
- support raw requests for 'indices/_stats'
- leave netty4plugin as testCompile dependency it is used in UTs
- all ES non-test calls go through EsClient class
- add rest client ES profiling
Sébastien Lesaint [Thu, 16 Jan 2020 10:05:55 +0000 (11:05 +0100)]
SONAR-12686 enforce index rebuilding by changing ES data directory
Sébastien Lesaint [Fri, 10 Jan 2020 08:07:39 +0000 (09:07 +0100)]
SONAR-12686 replace deprecated setting transport.tcp.port by transport.port
Sébastien Lesaint [Thu, 9 Jan 2020 15:48:01 +0000 (16:48 +0100)]
SONAR-12686 fix ES discovery settings in cluster mode
deprecated "discovery.zen.ping.unicast.hosts" has been removed, "discovery.seed_hosts" should be used instead
"discovery.zen.minimum_master_nodes" is ignored now: stop setting it and drop sonar property "sonar.search.minimumMasterNodes"
Sébastien Lesaint [Thu, 9 Jan 2020 15:40:04 +0000 (16:40 +0100)]
SONAR-12686 add mandatory cluster configuration property cluster.initial_master_nodes
ES 7.5.1 refuses to start without this option
Sébastien Lesaint [Thu, 9 Jan 2020 11:21:04 +0000 (12:21 +0100)]
SONAR-12686 use node.store.allow_mmap instead of node.store.allow_mmapfs
node.store.allow_mmapfs was deprecated and is now dropped in 7.5.1
Sébastien Lesaint [Thu, 9 Jan 2020 08:58:26 +0000 (09:58 +0100)]
SONAR-12686 MaxDirectMemorySize JVM option should be defined for ES
This option was set by default in ES 6.X already but we had missed it.
ES sets it to half the max heap from Java code (see class JvmErgonomics)
To not have to get into the complexity of interpreting options to know what is the configured max heap,
we just add this option to the defaults and document it
Sébastien Lesaint [Thu, 9 Jan 2020 08:57:58 +0000 (09:57 +0100)]
SONAR-12686 update JVM options to match defaults in ES 7.X
Elastic introduced "system" JVM settings in 7.X:
* "system" settings are set from Java code (class SystemJvmOptions)
* which means these JVM settings are not defined in "jvm.options" file anymore
Sébastien Lesaint [Wed, 8 Jan 2020 16:25:37 +0000 (17:25 +0100)]
SONAR-12686 update elasticsearch-patch and packaging exclusions for 7.X
Jacek [Thu, 22 Oct 2020 13:38:44 +0000 (15:38 +0200)]
SONAR-12686 increase zip size
Sébastien Lesaint [Wed, 8 Jan 2020 15:47:40 +0000 (16:47 +0100)]
SONAR-12686 upgrade ES server binaries to 7.9.3
new sources unpack from ElasticSearch 7.9.3 artifact for Linux OSS only (without bundled JDK and under Apache 2.0 license)
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.9.3-no-jdk-linux-x86_64.tar.gz
Sébastien Lesaint [Wed, 8 Jan 2020 09:36:49 +0000 (10:36 +0100)]
SONAR-12686 use Jetty for TCP ElasticSearch transport in unit tests
LocalTransport is dropped in ElasticSearch 7.X
Pierre [Wed, 4 Nov 2020 14:35:45 +0000 (15:35 +0100)]
increase validate task allowed memory
Jeremy Davis [Thu, 29 Oct 2020 17:20:21 +0000 (18:20 +0100)]
SONAR-13988 better handle errors
Jeremy Davis [Tue, 27 Oct 2020 14:29:27 +0000 (15:29 +0100)]
SONAR-13996 Add warning when configuring second instance
Jeremy Davis [Tue, 27 Oct 2020 16:05:44 +0000 (17:05 +0100)]
SONAR-13987 Display validation for Bitbucket server
Pierre [Tue, 20 Oct 2020 14:09:31 +0000 (16:09 +0200)]
SONAR-13978 validate gitlab alm settings
Jeremy Davis [Thu, 22 Oct 2020 16:02:04 +0000 (18:02 +0200)]
SONAR-13978 Display validation for GitLab
Mark Rekveld [Mon, 26 Oct 2020 09:26:08 +0000 (10:26 +0100)]
SONAR-13988 - GitHub ALM settings validation
Jeremy Davis [Tue, 20 Oct 2020 15:39:33 +0000 (17:39 +0200)]
SONAR-13988 Display validation status for GitHub integration
colin-mueller-sonarsource [Wed, 4 Nov 2020 08:46:35 +0000 (09:46 +0100)]
SONAR-13122 Reduce Log Level of rule indexing warnings on startup
Jean-Baptiste Lievremont [Tue, 3 Nov 2020 16:06:08 +0000 (17:06 +0100)]
Add VSCode extension recommendations for sonar-web
The recommended extensions are the ones mentioned in the SQ Frontend Guidelines.
Julien Lancelot [Tue, 3 Nov 2020 10:35:05 +0000 (11:35 +0100)]
SONAR-13913 Remove tables and indexes clean up used in Integration Tests
Malena Ebert [Mon, 2 Nov 2020 09:59:06 +0000 (10:59 +0100)]
Execute OWASP task on every config update
Malena Ebert [Mon, 2 Nov 2020 09:53:50 +0000 (10:53 +0100)]
Update node version used by gradle
Malena Ebert [Mon, 2 Nov 2020 09:53:22 +0000 (10:53 +0100)]
Move OWASP suppression files to private folder
Jeremy Davis [Thu, 29 Oct 2020 13:52:53 +0000 (14:52 +0100)]
SONAR-14001 SONAR-14010 SONAR-14030 SONAR-14032 SONAR-14050 SONAR-14052 SONAR-14053 SONAR-14054 SONAR-14055 SONAR-14056 Upgrade analyzers
MikeBirnstiehl [Wed, 28 Oct 2020 12:50:17 +0000 (07:50 -0500)]
DOCS fix link to Generate Reports post
Jacek [Wed, 28 Oct 2020 15:11:08 +0000 (16:11 +0100)]
SONAR-13913 Upgrade Orchestrator version to 3.31
michaelbirnstiehl [Tue, 20 Oct 2020 12:41:22 +0000 (07:41 -0500)]
DOCS add release notes link to upgrade notes
Tobias Trabelsi [Tue, 27 Oct 2020 08:25:39 +0000 (09:25 +0100)]
SONAR-14044 update mybatis
Zipeng WU [Tue, 13 Oct 2020 13:59:46 +0000 (15:59 +0200)]
SONAR-13941 Move and adapt application CE processor
Wouter Admiraal [Mon, 12 Oct 2020 07:04:02 +0000 (09:04 +0200)]
SONAR-13950 Move Application UI logic to DE
Duarte Meneses [Thu, 8 Oct 2020 19:16:53 +0000 (14:16 -0500)]
SONAR-13941 Add or modify ITs to test applications in developer edition
Duarte Meneses [Thu, 8 Oct 2020 18:09:54 +0000 (13:09 -0500)]
SONAR-13941 Copy "api/views/refresh" to "api/applications/refresh"
Duarte Meneses [Thu, 8 Oct 2020 16:43:02 +0000 (11:43 -0500)]
SONAR-13941 move api/views/app endpoint to DE and rename to api/metrics/user_metrics
Duarte Meneses [Tue, 6 Oct 2020 19:45:57 +0000 (14:45 -0500)]
SONAR-13941 Make applications WS available in developer edition
Duarte Meneses [Thu, 22 Oct 2020 15:01:41 +0000 (10:01 -0500)]
SONAR-14009 SVN configuration in SQ server does not work
Jeremy Davis [Wed, 21 Oct 2020 16:10:42 +0000 (18:10 +0200)]
SONAR-14003 Fix SSF-129
Jacek [Wed, 21 Oct 2020 13:25:18 +0000 (15:25 +0200)]
SONAR-13937 Upgrade sonar-css to 1.3.1.1642
Julien Lancelot [Wed, 21 Oct 2020 11:34:02 +0000 (13:34 +0200)]
Revert "SONAR-13913 Remove tables and indexes clean up used in Integration Tests"
This reverts commit
6d13dd2f
Duarte Meneses [Tue, 20 Oct 2020 20:38:23 +0000 (15:38 -0500)]
DOCS Fix Scanner for Gradle doc about properties
Duarte Meneses [Sat, 17 Oct 2020 01:07:28 +0000 (20:07 -0500)]
Improve validation build logging
Julien Lancelot [Tue, 20 Oct 2020 15:29:02 +0000 (17:29 +0200)]
SONAR-13913 Remove tables and indexes clean up used in Integration Tests
* SONAR-13913 Remove usage of Orchestrator#resetData
* Remove ProjectAnalysisRule
* Upgrade to Orchestrator 3.31
* SONAR-13913 Remove BackendCleanup class
* Remove code related to no more existing tables
Mathieu Suen [Mon, 19 Oct 2020 08:57:04 +0000 (10:57 +0200)]
SONAR-13936 Fix issues sidebar search where in some case we trigger wrong API call.
Tobias Trabelsi [Mon, 19 Oct 2020 13:56:53 +0000 (15:56 +0200)]
[DOCS] added correct LimitNOFILE to systemd template
sylvain-combe-sonarsource [Mon, 19 Oct 2020 13:56:00 +0000 (15:56 +0200)]
Update sonar-properties.md (#3233)
Fix broken link to Apache doc page on entropy sources for faster startup
Jacek [Thu, 15 Oct 2020 11:53:15 +0000 (13:53 +0200)]
SONAR-13937 Fix SSF-126
Julien Lancelot [Mon, 19 Oct 2020 08:18:44 +0000 (10:18 +0200)]
SONAR-13936 Fix quality flaws after merge to master
Michal Duda [Wed, 14 Oct 2020 10:42:09 +0000 (12:42 +0200)]
SONAR-13936 cleanup
Julien Lancelot [Wed, 14 Oct 2020 08:46:36 +0000 (10:46 +0200)]
SONAR-13936 Rename OrganizationPermission to GlobalPermission
Julien Lancelot [Mon, 12 Oct 2020 14:57:03 +0000 (16:57 +0200)]
SONAR-13936 Move default permission templates to internal properties
Mathieu Suen [Wed, 7 Oct 2020 08:24:33 +0000 (10:24 +0200)]
SONAR-13936 Remove org on user and group API front-end.
Michal Duda [Fri, 9 Oct 2020 12:25:55 +0000 (14:25 +0200)]
SONAR-13936 Remove use of organizations in Groups
Julien Lancelot [Mon, 12 Oct 2020 15:00:17 +0000 (17:00 +0200)]
SONAR-13936 Remove use of organizations in Permissions WS and DB
* SONAR-13936 Remove organization parameters from permissions WS
* SONAR-13936 Remove organization_uuid column from user_roles table
* SONAR-13936 Fix developer ITs
* SONAR-13936 Remove organization_uuid column from group_roles table
* SONAR-13936 Remove organization_uuid column from permission_templates table
Julien Lancelot [Mon, 12 Oct 2020 08:28:26 +0000 (10:28 +0200)]
SONAR-13936 Remove organization parameter from Users
* SONAR-13936 Remove organization parameter from api/users/groups
* SONAR-13936 Remove organization_uuid column from users table
Duarte Meneses [Mon, 28 Sep 2020 13:22:46 +0000 (08:22 -0500)]
SONAR-13936 Drop some Organization code related to Users/Groups/Permission
Jacek [Mon, 12 Oct 2020 11:50:39 +0000 (13:50 +0200)]
SONAR-13965 Update column 'change_data' of 'qprofile_changes' table to use ruleUuid instead of ruleId
Tobias Trabelsi [Fri, 16 Oct 2020 08:36:16 +0000 (10:36 +0200)]
BUILD-843 reproducible bitbucket ITs
Jacek [Wed, 14 Oct 2020 14:30:58 +0000 (16:30 +0200)]
SONAR-13948 fix migrations to drop default constraints when dropping column for mssql
Malena Ebert [Thu, 15 Oct 2020 12:01:41 +0000 (14:01 +0200)]
Cirrus Cron Invocation
* nightly cron: only owasp scan on master
* weekly-lts cron: only owasp scan on current lts branch
Wouter Admiraal [Thu, 8 Oct 2020 13:47:18 +0000 (15:47 +0200)]
SONAR-13834 SONAR-13939 SONAR-13938 Cleanup and update tutorials, remove organizations
Wouter Admiraal [Thu, 8 Oct 2020 13:17:47 +0000 (15:17 +0200)]
SONAR-13943 Hotspots filter dropdowns truncated for anonymous users
Wouter Admiraal [Mon, 5 Oct 2020 11:55:29 +0000 (13:55 +0200)]
SONAR-13925 Do not truncate Rules search field at 200 chars
Wouter Admiraal [Mon, 12 Oct 2020 12:00:50 +0000 (14:00 +0200)]
Update sonar-ui-common to 1.0.25
Pierre Guillot [Wed, 14 Oct 2020 09:19:09 +0000 (11:19 +0200)]
SONAR-13980 upgrade postgresql jdbc driver version to 42.2.17
Jacek [Tue, 13 Oct 2020 11:11:24 +0000 (13:11 +0200)]
SONAR-13985 Drop associated index with primary key on Oracle DB
Malena Ebert [Tue, 13 Oct 2020 07:51:55 +0000 (09:51 +0200)]
SONAR-13912 OWASP notifications on failure only
Malena Ebert [Mon, 12 Oct 2020 13:16:48 +0000 (15:16 +0200)]
Update owasp-suppressions.xml
Malena Ebert [Mon, 12 Oct 2020 10:17:27 +0000 (12:17 +0200)]
SONAR-13921 Delete upgrade plugin github action
Tobias Trabelsi [Mon, 12 Oct 2020 07:48:34 +0000 (09:48 +0200)]
added responsible disclosure guide to README.md
Jacek [Fri, 9 Oct 2020 14:08:15 +0000 (16:08 +0200)]
SONAR-13966 filter new code period issues for application using 'branch' field instead 'project'
Malena Ebert [Fri, 9 Oct 2020 07:56:06 +0000 (09:56 +0200)]
SONAR-13921 Drop upgrade plugins gh action
Jeremy Davis [Thu, 8 Oct 2020 08:24:30 +0000 (10:24 +0200)]
SONAR-13733 Upgrade lodash
Jeremy Davis [Thu, 8 Oct 2020 07:59:20 +0000 (09:59 +0200)]
SONAR-13944 Upgrade RPG analyzer
Wouter Admiraal [Tue, 6 Oct 2020 12:57:49 +0000 (14:57 +0200)]
SONAR-13940 Add missing translation key for zero GitLab instances
Wouter Admiraal [Fri, 18 Sep 2020 14:51:54 +0000 (16:51 +0200)]
SONAR-11063 Add 'Always use the Default' option at project level for QP
Wouter Admiraal [Tue, 8 Sep 2020 14:29:17 +0000 (16:29 +0200)]
SONAR-13856 Add 'Always use the Default' option at project level for QG
Wouter Admiraal [Fri, 18 Sep 2020 14:18:09 +0000 (16:18 +0200)]
Deprecate gateId parameter for /api/qualitygates/search
Jeremy Davis [Wed, 7 Oct 2020 08:52:34 +0000 (10:52 +0200)]
SONAR-13931 SONAR-13932 SONAR-13933 Upgrade analyzers for java, php and flex
Jeremy Davis [Mon, 5 Oct 2020 16:05:41 +0000 (18:05 +0200)]
SONAR-13566 Display hotspots of a specific category
Michal Duda [Thu, 1 Oct 2020 15:59:54 +0000 (17:59 +0200)]
SONAR-13566 Add security standards filters to hotspot search WS
Pierre [Tue, 6 Oct 2020 08:28:27 +0000 (10:28 +0200)]
SONAR-13903 move to v86 & add organization_uuid index deletion from quality_profile table
Malena Ebert [Tue, 6 Oct 2020 06:34:39 +0000 (08:34 +0200)]
Increase memory for OWASP dependency check task.
Pierre [Tue, 6 Oct 2020 07:36:42 +0000 (09:36 +0200)]
increase maximum size of the archive
Pierre [Tue, 22 Sep 2020 07:37:37 +0000 (09:37 +0200)]
upgrade okhttp library version to latest
Pierre [Thu, 24 Sep 2020 12:21:10 +0000 (14:21 +0200)]
SONAR-13903 Remove use of organizations in Quality Profiles and Active Rules
Philippe Perrin [Mon, 5 Oct 2020 08:35:07 +0000 (10:35 +0200)]
Upgrade to 8.6
Duarte Meneses [Thu, 1 Oct 2020 15:54:42 +0000 (10:54 -0500)]
SONAR-13688 Fix SSF-116
Malena Ebert [Fri, 2 Oct 2020 14:31:29 +0000 (16:31 +0200)]
Suppress false positive match of alm-gallery-client
Jeremy Davis [Tue, 29 Sep 2020 15:12:31 +0000 (17:12 +0200)]
SONAR-13622 Standard access to keyboard shortcuts
Wouter Admiraal [Thu, 1 Oct 2020 15:02:42 +0000 (17:02 +0200)]
SONAR-12122 Let users know that a restart is needed before they (un)install a plugin
Wouter Admiraal [Thu, 1 Oct 2020 14:39:33 +0000 (16:39 +0200)]
SONAR-13058 Add tooltip to issue markers in code margin
Wouter Admiraal [Thu, 1 Oct 2020 09:42:37 +0000 (11:42 +0200)]
SONAR-12996 Make copy-path-to-clipboard button more accessible
Wouter Admiraal [Fri, 2 Oct 2020 12:14:21 +0000 (14:14 +0200)]
Update sonar-ui-common to 1.0.24
Wouter Admiraal [Thu, 1 Oct 2020 09:22:12 +0000 (11:22 +0200)]
SONAR-12695 Add a single Community link in the footer
Jonathan Weibel [Thu, 1 Oct 2020 09:14:51 +0000 (11:14 +0200)]
SONAR-12620 Auto-select the language when creating a Quality Profile