]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
8 years agoSONAR-7676 some modernization of PropertiesDao and PropertiesDaoTest
Sébastien Lesaint [Thu, 1 Sep 2016 13:06:02 +0000 (15:06 +0200)]
SONAR-7676 some modernization of PropertiesDao and PropertiesDaoTest

8 years agoRevert removal of author.rb
Simon Brandhof [Thu, 8 Sep 2016 16:44:00 +0000 (18:44 +0200)]
Revert removal of author.rb

8 years agoSONAR-8067 do not override default Elasticsearch doc_values
Simon Brandhof [Thu, 8 Sep 2016 15:13:56 +0000 (17:13 +0200)]
SONAR-8067 do not override default Elasticsearch doc_values

Default ES behavior should be applied (doc_values is used
on any possible field in ES 2.x)

8 years agoFix Quality flaws
Simon Brandhof [Thu, 8 Sep 2016 15:09:14 +0000 (17:09 +0200)]
Fix Quality flaws

8 years agoSONAR-8070 Drop of "Comparison" feature 1225/head
Julien Lancelot [Thu, 8 Sep 2016 11:58:18 +0000 (13:58 +0200)]
SONAR-8070 Drop of "Comparison" feature

8 years agoDrop Ruby dead code
Simon Brandhof [Thu, 8 Sep 2016 13:00:14 +0000 (15:00 +0200)]
Drop Ruby dead code

8 years agoFix Quality flaws
Simon Brandhof [Thu, 8 Sep 2016 06:54:57 +0000 (08:54 +0200)]
Fix Quality flaws

8 years agoSONAR-7986 Validation should not fail on hidden definitions 1223/head
Julien Lancelot [Thu, 8 Sep 2016 09:20:59 +0000 (11:20 +0200)]
SONAR-7986 Validation should not fail on hidden definitions

8 years agoReturn content when exception is generated in ws client
Julien Lancelot [Thu, 8 Sep 2016 08:32:45 +0000 (10:32 +0200)]
Return content when exception is generated in ws client

8 years agoSONAR-7980 Add License ITs in Category
Julien Lancelot [Thu, 8 Sep 2016 07:50:27 +0000 (09:50 +0200)]
SONAR-7980 Add License ITs in Category

8 years agoSanitize usage of ItUtils.setServerProperty
Julien Lancelot [Thu, 8 Sep 2016 09:30:58 +0000 (11:30 +0200)]
Sanitize usage of ItUtils.setServerProperty

- Period4 and period5 settings should only be reset at component level
- Replace empty string by null to remove setting when using ItUtils.setServerProperty

8 years agoAdd settings of all type in server-plugin 1174/head
Julien Lancelot [Thu, 1 Sep 2016 14:18:10 +0000 (16:18 +0200)]
Add settings of all type in server-plugin

8 years agoRemove wrong property type in plugin IT
Julien Lancelot [Thu, 25 Aug 2016 11:21:18 +0000 (13:21 +0200)]
Remove wrong property type in plugin IT

8 years agoSONAR-7986 WS settings/reset check scope and qualifier 1221/head
Teryk Bellahsene [Wed, 7 Sep 2016 17:20:00 +0000 (19:20 +0200)]
SONAR-7986 WS settings/reset check scope and qualifier

8 years agoSONAR-7973 Do not return error 500 when email sending is failing 1220/head
Julien Lancelot [Wed, 7 Sep 2016 16:35:18 +0000 (18:35 +0200)]
SONAR-7973 Do not return error 500 when email sending is failing

8 years agoSONAR-8039 Return invalid server id when no server id generated and license not set... 1219/head
Julien Lancelot [Wed, 7 Sep 2016 15:13:06 +0000 (17:13 +0200)]
SONAR-8039 Return invalid server id when no server id generated and license not set to "*"

8 years agoSONAR-7984 WS api/server_id/generate 1217/head
Teryk Bellahsene [Tue, 6 Sep 2016 15:00:25 +0000 (17:00 +0200)]
SONAR-7984 WS api/server_id/generate

8 years agoCleanup unused test files
Julien HENRY [Wed, 7 Sep 2016 14:38:45 +0000 (16:38 +0200)]
Cleanup unused test files

8 years agoFix quality flaws
Julien Lancelot [Wed, 7 Sep 2016 13:06:57 +0000 (15:06 +0200)]
Fix quality flaws

8 years agoFix Quality flaws
Simon Brandhof [Wed, 7 Sep 2016 11:27:26 +0000 (13:27 +0200)]
Fix Quality flaws

8 years agoimprove code quality
Stas Vilchik [Tue, 6 Sep 2016 15:44:55 +0000 (17:44 +0200)]
improve code quality

8 years agoSONAR-7978 Add test email configuration form to the settings page (#1216)
Stas Vilchik [Tue, 6 Sep 2016 15:23:12 +0000 (17:23 +0200)]
SONAR-7978 Add test email configuration form to the settings page (#1216)

8 years agofix displaying of project-level settings page
Stas Vilchik [Tue, 6 Sep 2016 15:19:53 +0000 (17:19 +0200)]
fix displaying of project-level settings page

8 years agoSONAR-7980 Rewrite the "Licenses" page (#1207)
Stas Vilchik [Tue, 6 Sep 2016 14:02:40 +0000 (16:02 +0200)]
SONAR-7980 Rewrite the "Licenses" page (#1207)

8 years agoTemporarily disable upgrade tests
Simon Brandhof [Tue, 6 Sep 2016 13:42:08 +0000 (15:42 +0200)]
Temporarily disable upgrade tests

Bad version of SonarQube is installed at
 runtime.

8 years agoFix Quality flaw
Simon Brandhof [Tue, 6 Sep 2016 13:41:17 +0000 (15:41 +0200)]
Fix Quality flaw

8 years agoImprove javadoc of Settings
Simon Brandhof [Tue, 6 Sep 2016 12:37:15 +0000 (14:37 +0200)]
Improve javadoc of Settings

8 years agoFix DB upgrade form
Simon Brandhof [Tue, 6 Sep 2016 12:28:28 +0000 (14:28 +0200)]
Fix DB upgrade form

8 years agoSONAR-8055 Declare emails configuration with PropertyDefinition 1212/head
Julien Lancelot [Mon, 5 Sep 2016 15:39:58 +0000 (17:39 +0200)]
SONAR-8055 Declare emails configuration with PropertyDefinition

8 years agoSONAR-8055 Remove /api/emails/update_configuration WS
Julien Lancelot [Mon, 5 Sep 2016 15:19:49 +0000 (17:19 +0200)]
SONAR-8055 Remove /api/emails/update_configuration WS

8 years agoSONAR-7675 InternalPropertiesImpl must commit
Sébastien Lesaint [Tue, 6 Sep 2016 08:21:52 +0000 (10:21 +0200)]
SONAR-7675 InternalPropertiesImpl must commit

8 years agoFix merge
Simon Brandhof [Tue, 6 Sep 2016 08:50:11 +0000 (10:50 +0200)]
Fix merge

8 years agoSONAR-7578 do not start notification daemon on CE
Simon Brandhof [Mon, 5 Sep 2016 20:20:34 +0000 (22:20 +0200)]
SONAR-7578 do not start notification daemon on CE

8 years agoSONAR-7678 server-side stateless settings
Simon Brandhof [Wed, 31 Aug 2016 14:05:43 +0000 (16:05 +0200)]
SONAR-7678 server-side stateless settings

* Settings class becomes abstract as multiple implementations
are used. Can't become an interface for binary
backward-compatibility of API

* tests should use MapSettings, an in-memory implementation
of Settings

* web server uses a thread-specific cache of settings when
processing HTTP requests

* web server does not have a cache of settings during startup,
except for the system settings loaded from sonar.properties

* Compute Engine uses a thread-specific cache of settings when
  processing a task. Cache is clear at end of task.

 * some useless methods of PersistentSettings are removed

8 years agoSONAR-7678 do not load l10n messages during ruby initialisation
Simon Brandhof [Thu, 1 Sep 2016 06:03:16 +0000 (08:03 +0200)]
SONAR-7678 do not load l10n messages during ruby initialisation

ActiveRecord models must not load l10n messages, through
Java JRubyI18n component, when ruby code is parsed.

* measure_filter
* profile is read-only as ruby WS do not write profiles anymore

8 years agoSONAR-7678 fix javadoc of GlobalPropertyChangeHandler
Simon Brandhof [Wed, 31 Aug 2016 12:15:51 +0000 (14:15 +0200)]
SONAR-7678 fix javadoc of GlobalPropertyChangeHandler

8 years agoSONAR-7678 DefaultHttpDownloader uses system settings
Simon Brandhof [Wed, 31 Aug 2016 12:13:28 +0000 (14:13 +0200)]
SONAR-7678 DefaultHttpDownloader uses system settings

On server side, no need to instantiate DefaultHttpDownloader
when db is up (level 3). It uses only system settings, so it
can be instantiated in level 1.

8 years agoSONAR-7983 Create WS api/settings/check_secret_key 1213/head
Teryk Bellahsene [Mon, 5 Sep 2016 16:18:48 +0000 (18:18 +0200)]
SONAR-7983 Create WS api/settings/check_secret_key

8 years agoSONAR-7981 Create WS settings/generate_secret_key to generate a secret key
Teryk Bellahsene [Mon, 5 Sep 2016 16:00:48 +0000 (18:00 +0200)]
SONAR-7981 Create WS settings/generate_secret_key to generate a secret key

8 years agoSONAR-7982 WS settings/encrypt fails properly when no secret key available
Teryk Bellahsene [Mon, 5 Sep 2016 15:15:58 +0000 (17:15 +0200)]
SONAR-7982 WS settings/encrypt fails properly when no secret key available

8 years agofix quality flaws
Julien Lancelot [Mon, 5 Sep 2016 13:20:09 +0000 (15:20 +0200)]
fix quality flaws

8 years agohide licenses on settings page 1210/head
Stas Vilchik [Mon, 5 Sep 2016 13:21:16 +0000 (15:21 +0200)]
hide licenses on settings page

8 years agoSONAR-7968 Return license in api/settings/list_definitions
Julien Lancelot [Mon, 5 Sep 2016 09:54:43 +0000 (11:54 +0200)]
SONAR-7968 Return license in api/settings/list_definitions

8 years agoSONAR-7970 WS settings/set fix db session management with SettingsChangeNotifier 1204/head
Teryk Bellahsene [Mon, 5 Sep 2016 12:37:47 +0000 (14:37 +0200)]
SONAR-7970 WS settings/set fix db session management with SettingsChangeNotifier

8 years agoSONAR-7982 Create WS api/settings/encrypt to encrypt a setting value
Teryk Bellahsene [Fri, 2 Sep 2016 14:40:35 +0000 (16:40 +0200)]
SONAR-7982 Create WS api/settings/encrypt to encrypt a setting value

8 years agoSONAR-7985 Create /api/server_id/show WS 1203/head
Julien Lancelot [Fri, 2 Sep 2016 13:01:00 +0000 (15:01 +0200)]
SONAR-7985 Create /api/server_id/show WS

8 years agoSONAR-8039 /api/licenses/list is returning license names 1208/head
Julien Lancelot [Mon, 5 Sep 2016 08:56:00 +0000 (10:56 +0200)]
SONAR-8039 /api/licenses/list is returning license names

8 years agoSONAR-8012 Restore support of client side certificates 1206/head
Julien HENRY [Wed, 31 Aug 2016 21:24:03 +0000 (23:24 +0200)]
SONAR-8012 Restore support of client side certificates

8 years agoSONAR-8058 move views.def from PROPERTIES to INTERNAL_PROPERTIES 1196/head
Sébastien Lesaint [Thu, 1 Sep 2016 10:27:05 +0000 (12:27 +0200)]
SONAR-8058 move views.def from PROPERTIES to INTERNAL_PROPERTIES

8 years agoSONAR-7675 add InternalPropertiesImpl to Web and Ce containers
Sébastien Lesaint [Thu, 1 Sep 2016 15:20:29 +0000 (17:20 +0200)]
SONAR-7675 add InternalPropertiesImpl to Web and Ce containers

8 years agoremove commented out code in ComputeEngineContainerImpl
Sébastien Lesaint [Wed, 31 Aug 2016 09:59:12 +0000 (11:59 +0200)]
remove commented out code in ComputeEngineContainerImpl

8 years agoSONAR-7675 add InternalPropertiesDao
Sébastien Lesaint [Wed, 31 Aug 2016 08:53:42 +0000 (10:53 +0200)]
SONAR-7675 add InternalPropertiesDao

8 years agoproperly handle connections in DbTester utility methods
Sébastien Lesaint [Wed, 31 Aug 2016 08:53:09 +0000 (10:53 +0200)]
properly handle connections in DbTester utility methods

8 years agoSONAR-7675 add table INTERNAL_PROPERTIES
Sébastien Lesaint [Tue, 30 Aug 2016 15:27:28 +0000 (17:27 +0200)]
SONAR-7675 add table INTERNAL_PROPERTIES

8 years agoAllow try-with-resources with SqlStatement in DB migrations
Simon Brandhof [Thu, 25 Aug 2016 14:28:33 +0000 (16:28 +0200)]
Allow try-with-resources with SqlStatement in DB migrations

8 years agoSONAR-7973 Fix bad reset of emails settings in ITs
Julien Lancelot [Mon, 5 Sep 2016 07:56:58 +0000 (09:56 +0200)]
SONAR-7973 Fix bad reset of emails settings in ITs

8 years agoRevert "Build with 2 threads on Travis"
Simon Brandhof [Sun, 4 Sep 2016 19:49:14 +0000 (21:49 +0200)]
Revert "Build with 2 threads on Travis"

This reverts commit 5a5487873ccb2e77c1e0157a11fa47024b234c0f.
Artifactory plugin does not support concurrent build
of modules.

8 years agoBuild with 2 threads on Travis
Simon Brandhof [Sat, 3 Sep 2016 12:26:16 +0000 (14:26 +0200)]
Build with 2 threads on Travis

8 years agouse jest (#1202)
Stas Vilchik [Fri, 2 Sep 2016 14:13:51 +0000 (16:13 +0200)]
use jest (#1202)

8 years agoSONAR-7986 Accept multiple keys in api/settings/rest 1201/head
Julien Lancelot [Fri, 2 Sep 2016 08:04:35 +0000 (10:04 +0200)]
SONAR-7986 Accept multiple keys in api/settings/rest

8 years agoSONAR-7986 Accept multiple keys in api/settings/rest
Julien Lancelot [Fri, 2 Sep 2016 08:04:35 +0000 (10:04 +0200)]
SONAR-7986 Accept multiple keys in api/settings/rest

8 years agopass keys to api/settings/reset
Stas Vilchik [Fri, 2 Sep 2016 12:07:06 +0000 (14:07 +0200)]
pass keys to api/settings/reset

8 years agoSONAR-7722 The project name should not be mandatory
Duarte Meneses [Fri, 2 Sep 2016 12:06:49 +0000 (14:06 +0200)]
SONAR-7722 The project name should not be mandatory

8 years agoSONAR-7973 SONAR-8055 Add IT 1200/head
Julien Lancelot [Thu, 1 Sep 2016 17:05:35 +0000 (19:05 +0200)]
SONAR-7973 SONAR-8055 Add IT

8 years agoSONAR-7973 Create /api/emails/send WS to test email configuration
Julien Lancelot [Thu, 1 Sep 2016 15:24:32 +0000 (17:24 +0200)]
SONAR-7973 Create /api/emails/send WS to test email configuration

8 years agoSONAR-8055 Create /api/emails/update_configuration WS to update email settings
Julien Lancelot [Thu, 1 Sep 2016 12:34:29 +0000 (14:34 +0200)]
SONAR-8055 Create /api/emails/update_configuration WS to update email settings

8 years agodisplay assets and their size on build 1193/head
Stas Vilchik [Tue, 30 Aug 2016 15:11:05 +0000 (17:11 +0200)]
display assets and their size on build

8 years agouse webpack to build less
Stas Vilchik [Tue, 30 Aug 2016 14:38:49 +0000 (16:38 +0200)]
use webpack to build less

8 years agoSONAR-7846 do not display both message and stacktrace
Stas Vilchik [Thu, 1 Sep 2016 16:02:07 +0000 (18:02 +0200)]
SONAR-7846 do not display both message and stacktrace

8 years agoSONAR-5856 Rewrite Settings page (#1163)
Stas Vilchik [Thu, 1 Sep 2016 15:30:34 +0000 (17:30 +0200)]
SONAR-5856 Rewrite Settings page (#1163)

8 years agoSONAR-8004 WS settings/set fix BaseRequest
Teryk Bellahsene [Thu, 1 Sep 2016 14:06:04 +0000 (16:06 +0200)]
SONAR-8004 WS settings/set fix BaseRequest

8 years agoSONAR-8004 WS settings/set better message when JSON is incorrect 1198/head
Teryk Bellahsene [Wed, 31 Aug 2016 16:52:53 +0000 (18:52 +0200)]
SONAR-8004 WS settings/set better message when JSON is incorrect

8 years agoSONAR-8004 WS settings/set fails when property set field with a null value
Teryk Bellahsene [Wed, 31 Aug 2016 16:24:12 +0000 (18:24 +0200)]
SONAR-8004 WS settings/set fails when property set field with a null value

8 years agoSONAR-8004 WS settings/set with a proper WS client
Teryk Bellahsene [Wed, 31 Aug 2016 16:07:29 +0000 (18:07 +0200)]
SONAR-8004 WS settings/set with a proper WS client

8 years agoSONAR-8039 Create /api/licenses/list to return licenses with metadata 1199/head
Julien Lancelot [Tue, 30 Aug 2016 13:50:56 +0000 (15:50 +0200)]
SONAR-8039 Create /api/licenses/list to return licenses with metadata

8 years agofix ITs after change of welcome message
Sébastien Lesaint [Thu, 1 Sep 2016 11:34:16 +0000 (13:34 +0200)]
fix ITs after change of welcome message

8 years agoUpdate UI welcome message (#1194)
n-b-sonar [Thu, 1 Sep 2016 07:48:15 +0000 (09:48 +0200)]
Update UI welcome message (#1194)

Update UI welcome message to put the focus in the Leak Period.

Contribution by @n-b-sonar

8 years agoUpdate assertion of IssuesModeTest to avoid false positive
Julien HENRY [Wed, 31 Aug 2016 12:24:45 +0000 (14:24 +0200)]
Update assertion of IssuesModeTest to avoid false positive

8 years agoSONAR-7969 Replace fieldsValue by fieldValues in response
Julien Lancelot [Wed, 31 Aug 2016 08:49:03 +0000 (10:49 +0200)]
SONAR-7969 Replace fieldsValue by fieldValues in response

8 years agoSONAR-7258 The project version should be optional 1195/head
Duarte Meneses [Tue, 30 Aug 2016 12:42:49 +0000 (14:42 +0200)]
SONAR-7258 The project version should be optional

8 years agoSONAR-7970 SONAR-7986 SONAR-7968 SONAR-7969 api/settings WS should be internal
Julien Lancelot [Wed, 31 Aug 2016 08:25:01 +0000 (10:25 +0200)]
SONAR-7970 SONAR-7986 SONAR-7968 SONAR-7969 api/settings WS should be internal

8 years agoRename package org.sonar.server.settings.ws to org.sonar.server.setting.ws
Julien Lancelot [Wed, 31 Aug 2016 08:20:24 +0000 (10:20 +0200)]
Rename package org.sonar.server.settings.ws to org.sonar.server.setting.ws

8 years agoSONAR-7722 The project name should not be mandatory
Duarte Meneses [Wed, 31 Aug 2016 08:14:02 +0000 (10:14 +0200)]
SONAR-7722 The project name should not be mandatory

8 years agoSONAR-7722 The project name should not be mandatory
Duarte Meneses [Fri, 1 Jul 2016 12:59:58 +0000 (14:59 +0200)]
SONAR-7722 The project name should not be mandatory

8 years agoSONAR-8004 WS settings/set handles property set 1190/head
Teryk Bellahsene [Mon, 29 Aug 2016 16:44:19 +0000 (18:44 +0200)]
SONAR-8004 WS settings/set handles property set

8 years agoSONAR-7975 Return parentValue, parentValues and parentFieldsValues 1189/head
Julien Lancelot [Mon, 29 Aug 2016 16:37:42 +0000 (18:37 +0200)]
SONAR-7975 Return parentValue, parentValues and parentFieldsValues

8 years agoSONAR-7872 support unset version for project in scanner report 1185/head
Sébastien Lesaint [Mon, 29 Aug 2016 14:34:51 +0000 (16:34 +0200)]
SONAR-7872 support unset version for project in scanner report

8 years agoSONAR-7861 support unset name of project in scanner report 1183/head
Sébastien Lesaint [Thu, 25 Aug 2016 16:43:57 +0000 (18:43 +0200)]
SONAR-7861 support unset name of project in scanner report

8 years agorename AnalysisMetadataHolder.baseProjectAnalysis to baseAnalysis
Sébastien Lesaint [Wed, 24 Aug 2016 14:47:14 +0000 (16:47 +0200)]
rename AnalysisMetadataHolder.baseProjectAnalysis to baseAnalysis

8 years agoSONAR-7892 do not support upgrade from before SQ 5.6 1192/head
Sébastien Lesaint [Mon, 29 Aug 2016 16:19:46 +0000 (18:19 +0200)]
SONAR-7892 do not support upgrade from before SQ 5.6

8 years agoFix HTTP timeouts in 2 integration tests
Simon Brandhof [Tue, 30 Aug 2016 12:20:41 +0000 (14:20 +0200)]
Fix HTTP timeouts in 2 integration tests

 Default timeouts of okhttp3 are 10 seconds
 but usually we use 30 seconds. That will
 prevent some infrequent false-positives

8 years agoSONAR-7844 merge migration creating and recreating CE_SCANNER_CONTEXT
Sébastien Lesaint [Tue, 30 Aug 2016 08:26:42 +0000 (10:26 +0200)]
SONAR-7844 merge migration creating and recreating CE_SCANNER_CONTEXT

8 years agoupdate PR analysis mode 1191/head
G. Ann Campbell [Mon, 29 Aug 2016 20:54:09 +0000 (16:54 -0400)]
update PR analysis mode

https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/sonarqube/zLhxT7PygVI/eq2G9U0KAgAJ

8 years agoFix IT plugin
Julien HENRY [Tue, 30 Aug 2016 09:48:24 +0000 (11:48 +0200)]
Fix IT plugin

8 years agoSONAR-7962 increase visibility of size section
Stas Vilchik [Tue, 30 Aug 2016 09:29:40 +0000 (11:29 +0200)]
SONAR-7962 increase visibility of size section

8 years agoremove unused dependencies (#1188)
Stas Vilchik [Tue, 30 Aug 2016 08:37:19 +0000 (10:37 +0200)]
remove unused dependencies (#1188)

8 years agoFix IT plugins
Julien HENRY [Tue, 30 Aug 2016 07:49:35 +0000 (09:49 +0200)]
Fix IT plugins

  * ABAP not compatible with SQ 6.1.
  * enable C/C++/VB that are now fixed

8 years agoSONAR-7986 Add IT to reset property set type settings 1182/head
Julien Lancelot [Mon, 29 Aug 2016 12:48:36 +0000 (14:48 +0200)]
SONAR-7986 Add IT to reset property set type settings

8 years agoSONAR-7986 Remove property set values when removing property set
Julien Lancelot [Fri, 26 Aug 2016 15:18:45 +0000 (17:18 +0200)]
SONAR-7986 Remove property set values when removing property set

8 years agoSONAR-7864 Drop org.sonar.api.scan.filesystem.ModuleFileSystem from API 1187/head
Julien HENRY [Mon, 29 Aug 2016 15:01:13 +0000 (17:01 +0200)]
SONAR-7864 Drop org.sonar.api.scan.filesystem.ModuleFileSystem from API
SONAR-8038 Deprecate ProjectDefinition::getBuildDir