]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
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

8 years agoSONAR-5813 Fully drop support of "sonar.cpd.xxx.skip" properties 1184/head
Julien HENRY [Mon, 29 Aug 2016 13:34:48 +0000 (15:34 +0200)]
SONAR-5813 Fully drop support of "sonar.cpd.xxx.skip" properties

8 years agoSONAR-7844 fix ComputationTest using dropped ce_activity.log 1177/head
Sébastien Lesaint [Mon, 29 Aug 2016 07:49:08 +0000 (09:49 +0200)]
SONAR-7844 fix ComputationTest using dropped ce_activity.log

8 years agoSONAR-7841 Compute Engine logs in sonar.log + step timing are DEBUG
Sébastien Lesaint [Thu, 25 Aug 2016 16:29:55 +0000 (18:29 +0200)]
SONAR-7841 Compute Engine logs in sonar.log + step timing are DEBUG

8 years agoSONAR-7841 remove property sonar.ce.maxLogsPerTask
Sébastien Lesaint [Thu, 25 Aug 2016 15:34:06 +0000 (17:34 +0200)]
SONAR-7841 remove property sonar.ce.maxLogsPerTask

8 years agoSONAR-7911 restore purge of CE_ACTIVITIES + purge CE_SCANNER_CONTEXT
Sébastien Lesaint [Thu, 25 Aug 2016 13:45:56 +0000 (15:45 +0200)]
SONAR-7911 restore purge of CE_ACTIVITIES + purge CE_SCANNER_CONTEXT

8 years agoSONAR-7911 don't clean SCANNER_CONTEXT in purge of analysis
Sébastien Lesaint [Thu, 25 Aug 2016 10:04:18 +0000 (12:04 +0200)]
SONAR-7911 don't clean SCANNER_CONTEXT in purge of analysis

8 years agoSONAR-7844 ScannerContextDao => CeScannerContextDao
Sébastien Lesaint [Thu, 25 Aug 2016 09:33:31 +0000 (11:33 +0200)]
SONAR-7844 ScannerContextDao => CeScannerContextDao

8 years agoSONAR-7844 rename to CE_SCANNER_CONTEXT + task_uuid as PK
Sébastien Lesaint [Thu, 25 Aug 2016 09:20:39 +0000 (11:20 +0200)]
SONAR-7844 rename to CE_SCANNER_CONTEXT + task_uuid as PK

8 years agoRequest does not log errors. It's WebServiceEngine responsability 1180/head
Teryk Bellahsene [Fri, 26 Aug 2016 13:51:37 +0000 (15:51 +0200)]
Request does not log errors. It's WebServiceEngine responsability

8 years agoSONAR-8003 WS settings/set handles multi value settings
Teryk Bellahsene [Fri, 26 Aug 2016 11:43:08 +0000 (13:43 +0200)]
SONAR-8003 WS settings/set handles multi value settings

8 years agoSONAR-8003 WS API handles multi param
Teryk Bellahsene [Thu, 25 Aug 2016 14:13:59 +0000 (16:13 +0200)]
SONAR-8003 WS API handles multi param

8 years agoSONAR-7969 Replace "%2C" by "," in multi values settings 1181/head
Julien Lancelot [Fri, 26 Aug 2016 11:50:50 +0000 (13:50 +0200)]
SONAR-7969 Replace "%2C" by "," in multi values settings

8 years agoSONAR-7969 Fail when using key and deprecated in values WS
Julien Lancelot [Fri, 26 Aug 2016 11:42:32 +0000 (13:42 +0200)]
SONAR-7969 Fail when using key and deprecated in values WS

Display specific message when key and deprecated key are used at the same time

8 years agoSONAR-7970 WS settings/set validates data 1173/head
Teryk Bellahsene [Wed, 24 Aug 2016 17:34:36 +0000 (19:34 +0200)]
SONAR-7970 WS settings/set validates data

8 years agoSONAR-7986 Create /api/settings/reset WS to remove the value of a setting 1175/head
Julien Lancelot [Wed, 24 Aug 2016 15:10:21 +0000 (17:10 +0200)]
SONAR-7986 Create /api/settings/reset WS to remove the value of a setting

8 years agoSONAR-7968 Return deprecated key in list_definitions WS 1179/head
Julien Lancelot [Thu, 25 Aug 2016 15:58:51 +0000 (17:58 +0200)]
SONAR-7968 Return deprecated key in list_definitions WS

8 years agoSONAR-7970 Create factoy methods to create Setting
Julien Lancelot [Thu, 25 Aug 2016 15:54:56 +0000 (17:54 +0200)]
SONAR-7970 Create factoy methods to create Setting

8 years agoSONAR-7970 handle deprecated key in /api/settings/values WS
Julien Lancelot [Thu, 25 Aug 2016 14:52:14 +0000 (16:52 +0200)]
SONAR-7970 handle deprecated key in /api/settings/values WS

8 years agouse limited page width on history and custom measures pages
Stas Vilchik [Fri, 26 Aug 2016 09:17:09 +0000 (11:17 +0200)]
use limited page width on history and custom measures pages

8 years agoSONAR-8012 Restore support of IBM JVM in WS client 1176/head
Julien HENRY [Thu, 25 Aug 2016 14:10:33 +0000 (16:10 +0200)]
SONAR-8012 Restore support of IBM JVM in WS client

8 years agoadd UUID to exception message when Component tree crawling fails
Sébastien Lesaint [Thu, 25 Aug 2016 08:14:25 +0000 (10:14 +0200)]
add UUID to exception message when Component tree crawling fails

8 years agoPersistFileSourcesStep don't use new session to update filesource
Sébastien Lesaint [Thu, 25 Aug 2016 08:13:56 +0000 (10:13 +0200)]
PersistFileSourcesStep don't use new session to update filesource

8 years agoSONAR-7844 re-enable some UTs disabled for H2
Sébastien Lesaint [Wed, 24 Aug 2016 11:37:09 +0000 (13:37 +0200)]
SONAR-7844 re-enable some UTs disabled for H2

8 years agoadd npm-debug.log* to gitignore
Stas Vilchik [Thu, 25 Aug 2016 14:45:28 +0000 (16:45 +0200)]
add npm-debug.log* to gitignore

8 years agoremove double exposing
Stas Vilchik [Thu, 25 Aug 2016 14:44:58 +0000 (16:44 +0200)]
remove double exposing

8 years agomake BackgroundTasksTest more stable
Stas Vilchik [Thu, 25 Aug 2016 13:18:22 +0000 (15:18 +0200)]
make BackgroundTasksTest more stable