]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
8 years agomake BackgroundTasksTest more stable
Stas Vilchik [Thu, 25 Aug 2016 13:18:22 +0000 (15:18 +0200)]
make BackgroundTasksTest more stable

8 years agoSONAR-8011 support when file in DB has no path during file move step 1170/head
Sébastien Lesaint [Wed, 24 Aug 2016 10:45:29 +0000 (12:45 +0200)]
SONAR-8011 support when file in DB has no path during file move step

8 years agofix coverage of CeService and TaskWsRequest
Sébastien Lesaint [Wed, 24 Aug 2016 10:37:37 +0000 (12:37 +0200)]
fix coverage of CeService and TaskWsRequest

8 years agofix coverage of PersistScannerContextStep
Sébastien Lesaint [Wed, 24 Aug 2016 10:34:41 +0000 (12:34 +0200)]
fix coverage of PersistScannerContextStep

8 years agofix coverage of DefaultProcessCommands
Sébastien Lesaint [Wed, 24 Aug 2016 10:31:34 +0000 (12:31 +0200)]
fix coverage of DefaultProcessCommands

8 years agofix coverage of CeHttpServer
Sébastien Lesaint [Wed, 24 Aug 2016 10:22:44 +0000 (12:22 +0200)]
fix coverage of CeHttpServer

8 years agofix coverage of CeHttpClient
Sébastien Lesaint [Wed, 24 Aug 2016 10:12:21 +0000 (12:12 +0200)]
fix coverage of CeHttpClient

8 years agoSONAR-7989 remove AJP support in embedded tomcat 1172/head
Sébastien Lesaint [Wed, 24 Aug 2016 12:14:55 +0000 (14:14 +0200)]
SONAR-7989 remove AJP support in embedded tomcat

8 years agoSONAR-7969 SONAR-7970 Add ITs to get/set a setting 1159/head
Julien Lancelot [Wed, 24 Aug 2016 09:47:19 +0000 (11:47 +0200)]
SONAR-7969 SONAR-7970 Add ITs to get/set a setting

8 years agoSONAR-7970 Create client for set WS
Julien Lancelot [Tue, 23 Aug 2016 16:00:18 +0000 (18:00 +0200)]
SONAR-7970 Create client for set WS

8 years agoSONAR-7969 Create client for values WS
Julien Lancelot [Tue, 23 Aug 2016 15:50:44 +0000 (17:50 +0200)]
SONAR-7969 Create client for values WS

8 years agoSONAR-7968 Create client for list_definitions WS
Julien Lancelot [Tue, 23 Aug 2016 14:58:15 +0000 (16:58 +0200)]
SONAR-7968 Create client for list_definitions WS

8 years agoSONAR-7975 Return inherited values in /api/settings/values for modules
Julien Lancelot [Mon, 22 Aug 2016 16:45:37 +0000 (18:45 +0200)]
SONAR-7975 Return inherited values in /api/settings/values for modules

8 years agoSONAR-7969 Property with fields is considered as a PROPERTY_SET
Julien Lancelot [Mon, 22 Aug 2016 13:05:17 +0000 (15:05 +0200)]
SONAR-7969 Property with fields is considered as a PROPERTY_SET

8 years agoSONAR-7969 Return property set values in /api/settings/values WS
Julien Lancelot [Fri, 19 Aug 2016 16:35:30 +0000 (18:35 +0200)]
SONAR-7969 Return property set values in /api/settings/values WS

8 years agoIncrease expected zip max size
Julien Lancelot [Fri, 19 Aug 2016 13:51:50 +0000 (15:51 +0200)]
Increase expected zip max size

8 years agoSONAR-7969 Create /api/settings/values WS
Julien Lancelot [Wed, 17 Aug 2016 16:00:26 +0000 (18:00 +0200)]
SONAR-7969 Create /api/settings/values WS

8 years agoRe-enable QA tests on Oracle 12c
Simon Brandhof [Wed, 24 Aug 2016 19:35:49 +0000 (21:35 +0200)]
Re-enable QA tests on Oracle 12c

8 years agoSONAR-7893 end of support of MSSQL 2008
Simon Brandhof [Wed, 24 Aug 2016 11:24:05 +0000 (13:24 +0200)]
SONAR-7893 end of support of MSSQL 2008

8 years agoSONAR-7968 Remove indicativeSize field in /api/settings/list_definitions WS 1169/head
Julien Lancelot [Wed, 24 Aug 2016 10:08:38 +0000 (12:08 +0200)]
SONAR-7968 Remove indicativeSize field in /api/settings/list_definitions WS

8 years agoSONAR-7968 Return field description in /api/settings/list_definitions WS
Julien Lancelot [Wed, 24 Aug 2016 10:06:25 +0000 (12:06 +0200)]
SONAR-7968 Return field description in /api/settings/list_definitions WS

8 years agoMerge branch 'branch-5.6'
Sébastien Lesaint [Wed, 24 Aug 2016 08:21:37 +0000 (10:21 +0200)]
Merge branch 'branch-5.6'

8 years agoSONAR-7896 set env var TMPDIR to make JRuby use SQ tmp dir for tmp files 1167/head
Sébastien Lesaint [Tue, 23 Aug 2016 13:07:37 +0000 (15:07 +0200)]
SONAR-7896 set env var TMPDIR to make JRuby use SQ tmp dir for tmp files

these temp file are especially used when uploading

8 years agoSONAR-8013 fix bad matche choice in file move detection 1166/head
Sébastien Lesaint [Tue, 23 Aug 2016 15:25:17 +0000 (17:25 +0200)]
SONAR-8013 fix bad matche choice in file move detection

8 years agoSONAR-7844 add missing pk to scanner_context
Simon Brandhof [Tue, 23 Aug 2016 09:49:13 +0000 (11:49 +0200)]
SONAR-7844 add missing pk to scanner_context

8 years agoSONAR-7903 add missing pk to ce_task_input
Simon Brandhof [Mon, 22 Aug 2016 21:44:36 +0000 (23:44 +0200)]
SONAR-7903 add missing pk to ce_task_input

8 years agoSONAR-7903 merge db migrations
Simon Brandhof [Mon, 22 Aug 2016 21:42:57 +0000 (23:42 +0200)]
SONAR-7903 merge db migrations

No need to rename the table CE_TASK_DATA to CE_TASK_INPUT. It can
 be directly created with the correct name.

8 years agoSONAR-7841 FileMoveDetectionStep must not log at INFO level 1162/head
Sébastien Lesaint [Tue, 23 Aug 2016 07:54:33 +0000 (09:54 +0200)]
SONAR-7841 FileMoveDetectionStep must not log at INFO level

8 years agoSONAR-7825 changeloglevel WS now change CE's log level too 1156/head
Sébastien Lesaint [Mon, 22 Aug 2016 08:19:18 +0000 (10:19 +0200)]
SONAR-7825 changeloglevel WS now change CE's log level too

8 years agoSONAR-7825 rename ProcessSystemInfoClient CeHttpClient
Sébastien Lesaint [Fri, 19 Aug 2016 16:57:53 +0000 (18:57 +0200)]
SONAR-7825 rename ProcessSystemInfoClient CeHttpClient

8 years agoSONAR-7825 make SystemInfoHttpAction support only GET
Sébastien Lesaint [Fri, 19 Aug 2016 16:11:19 +0000 (18:11 +0200)]
SONAR-7825 make SystemInfoHttpAction support only GET

8 years agoSONAR-7825 rename ProcessCommands#systemInfoUrl to #httpUrl
Sébastien Lesaint [Fri, 19 Aug 2016 15:48:20 +0000 (17:48 +0200)]
SONAR-7825 rename ProcessCommands#systemInfoUrl to #httpUrl

8 years agoSONAR-7825 alter CE HTTP server for general use
Sébastien Lesaint [Fri, 19 Aug 2016 15:46:01 +0000 (17:46 +0200)]
SONAR-7825 alter CE HTTP server for general use

8 years agoSONAR-7825 move CE specific container modules to server-ce
Sébastien Lesaint [Fri, 19 Aug 2016 07:55:51 +0000 (09:55 +0200)]
SONAR-7825 move CE specific container modules to server-ce

8 years agoSONAR-7970 Create WS api/settings/set persist a simple value setting 1160/head
Teryk Bellahsene [Mon, 22 Aug 2016 16:10:08 +0000 (18:10 +0200)]
SONAR-7970 Create WS api/settings/set persist a simple value setting

8 years agoMerge branch 'branch-5.6'
Sébastien Lesaint [Tue, 23 Aug 2016 11:59:58 +0000 (13:59 +0200)]
Merge branch 'branch-5.6'

8 years agoSONAR-7846 Display error of a failing CE task in the background page 1157/head
Stas Vilchik [Mon, 22 Aug 2016 13:15:28 +0000 (15:15 +0200)]
SONAR-7846 Display error of a failing CE task in the background page

8 years agoSONAR-7847 Add a way to see scanner context in the background page
Stas Vilchik [Mon, 22 Aug 2016 11:20:05 +0000 (13:20 +0200)]
SONAR-7847 Add a way to see scanner context in the background page

8 years agoSONAR-7848 Display task UUID in background page UI
Stas Vilchik [Mon, 22 Aug 2016 08:36:08 +0000 (10:36 +0200)]
SONAR-7848 Display task UUID in background page UI

8 years agoSONAR-7836 Remove link to download the Task logs in the UI
Stas Vilchik [Mon, 22 Aug 2016 07:57:41 +0000 (09:57 +0200)]
SONAR-7836 Remove link to download the Task logs in the UI

8 years agoFix some quality flaws 1158/head
Julien HENRY [Mon, 22 Aug 2016 10:30:44 +0000 (12:30 +0200)]
Fix some quality flaws

8 years agoSONAR-8006 Decrease memory comsumption of FileMetadata
Julien HENRY [Mon, 22 Aug 2016 10:14:37 +0000 (12:14 +0200)]
SONAR-8006 Decrease memory comsumption of FileMetadata

8 years agoupgrade travis-utils to v31 (#1088) 1152/head
Stas Vilchik [Fri, 8 Jul 2016 07:31:43 +0000 (09:31 +0200)]
upgrade travis-utils to v31 (#1088)

8 years agoSONAR-6846 support duplicate snapshots with islast=true
Sébastien Lesaint [Thu, 18 Aug 2016 16:27:47 +0000 (18:27 +0200)]
SONAR-6846 support duplicate snapshots with islast=true

8 years agooptimize js build (#1145)
Stas Vilchik [Mon, 22 Aug 2016 13:29:35 +0000 (15:29 +0200)]
optimize js build (#1145)

8 years agoRevert "wc accepts files as input parameter."
Sébastien Lesaint [Mon, 22 Aug 2016 09:48:39 +0000 (11:48 +0200)]
Revert "wc accepts files as input parameter."

This reverts commit b66e224d79d66086164655b9030bf6dffb2f32a2.

if FILE variable contains bash variables (such as $HOME) they are not resolved and script fails (because of 'set -euo pipefail')

8 years agoSONAR-7967 SONAR-7845 add IT 1153/head
Sébastien Lesaint [Fri, 19 Aug 2016 12:56:01 +0000 (14:56 +0200)]
SONAR-7967 SONAR-7845 add IT

8 years agofixing coverage of ClobColumnDef
Sébastien Lesaint [Thu, 18 Aug 2016 15:57:54 +0000 (17:57 +0200)]
fixing coverage of ClobColumnDef

8 years agoremove dead code in CeActivityMapper.xml
Sébastien Lesaint [Thu, 18 Aug 2016 15:32:47 +0000 (17:32 +0200)]
remove dead code in CeActivityMapper.xml

8 years agoSONAR-7697 add hasScannerContext to /api/ce/[task/activity/component]
Sébastien Lesaint [Thu, 18 Aug 2016 15:30:47 +0000 (17:30 +0200)]
SONAR-7697 add hasScannerContext to /api/ce/[task/activity/component]

8 years agoSONAR-7967 add hasScannerContext to CeActivityDto
Sébastien Lesaint [Thu, 18 Aug 2016 15:32:14 +0000 (17:32 +0200)]
SONAR-7967 add hasScannerContext to CeActivityDto

8 years agoSONAR-7966 fix additionalFields desc + restore logs attr in examples
Sébastien Lesaint [Thu, 18 Aug 2016 14:07:27 +0000 (16:07 +0200)]
SONAR-7966 fix additionalFields desc + restore logs attr in examples

8 years agoSONAR-7911 purge scanner_context table when analysis is deleted
Sébastien Lesaint [Wed, 17 Aug 2016 15:40:02 +0000 (17:40 +0200)]
SONAR-7911 purge scanner_context table when analysis is deleted

8 years agoSONAR-7845 SONAR-7843 support additionalFields in WS client
Sébastien Lesaint [Thu, 18 Aug 2016 13:44:55 +0000 (15:44 +0200)]
SONAR-7845 SONAR-7843 support additionalFields in WS client

8 years agoremove dead code in PurgeCommand
Sébastien Lesaint [Thu, 18 Aug 2016 13:13:55 +0000 (15:13 +0200)]
remove dead code in PurgeCommand

8 years agoSONAR-7845 add scannerContext to /api/ce/task
Sébastien Lesaint [Thu, 18 Aug 2016 10:07:27 +0000 (12:07 +0200)]
SONAR-7845 add scannerContext to /api/ce/task

8 years agofix missing coverage on class Collectors
Sébastien Lesaint [Thu, 18 Aug 2016 09:26:27 +0000 (11:26 +0200)]
fix missing coverage on class Collectors

8 years agoSONAR-7844 persist scanner context in DB instead of logging it
Sébastien Lesaint [Wed, 17 Aug 2016 15:39:39 +0000 (17:39 +0200)]
SONAR-7844 persist scanner context in DB instead of logging it

8 years agoSONAR-7844 add ScannerContextDao
Sébastien Lesaint [Wed, 17 Aug 2016 14:49:34 +0000 (16:49 +0200)]
SONAR-7844 add ScannerContextDao

8 years agoSONAR-7844 add table SCANNER_CONTEXT
Sébastien Lesaint [Wed, 17 Aug 2016 10:15:00 +0000 (12:15 +0200)]
SONAR-7844 add table SCANNER_CONTEXT

8 years agoSONAR-7903 fix bad declarations of CE_TASK_INPUT_UUID in schema-h2
Sébastien Lesaint [Wed, 17 Aug 2016 09:38:33 +0000 (11:38 +0200)]
SONAR-7903 fix bad declarations of CE_TASK_INPUT_UUID in schema-h2

column ID declared in schema-h2 when it doesn't exist in migration creating the table
missing index CE_TASK_INPUT_UUID declared in migration by not in schema-h2

8 years agofix file header
Stas Vilchik [Mon, 22 Aug 2016 08:23:55 +0000 (10:23 +0200)]
fix file header

8 years agoSONAR-7996 Rounding of technical debt is not accurate (#1154)
Stas Vilchik [Mon, 22 Aug 2016 08:00:05 +0000 (10:00 +0200)]
SONAR-7996 Rounding of technical debt is not accurate (#1154)

8 years agoSONAR-7996 Rounding of technical debt is not accurate (#1154)
Stas Vilchik [Mon, 22 Aug 2016 08:00:05 +0000 (10:00 +0200)]
SONAR-7996 Rounding of technical debt is not accurate (#1154)

8 years agoBUILD-155 Download PhantomJS from Repox (#1155)
David Rautureau [Mon, 22 Aug 2016 07:02:28 +0000 (09:02 +0200)]
BUILD-155 Download PhantomJS from Repox (#1155)

8 years ago[travis] remove resolver-status.properties to avoid cache invalidation
Sébastien Lesaint [Fri, 19 Aug 2016 12:03:19 +0000 (14:03 +0200)]
[travis] remove resolver-status.properties to avoid cache invalidation

8 years ago[script] fix duplicate set_maven_build_version
Sébastien Lesaint [Fri, 19 Aug 2016 11:56:31 +0000 (13:56 +0200)]
[script] fix duplicate set_maven_build_version

8 years agoSONAR-7955 add "x_of_y_shown" localization message
Stas Vilchik [Fri, 19 Aug 2016 12:25:47 +0000 (14:25 +0200)]
SONAR-7955 add "x_of_y_shown" localization message

8 years agofix some unused variables 1149/head
Sébastien Lesaint [Thu, 18 Aug 2016 09:31:53 +0000 (11:31 +0200)]
fix some unused variables

8 years agoSONAR-7842 truncate errorMessage to avoid max length error in DB
Sébastien Lesaint [Thu, 18 Aug 2016 08:49:54 +0000 (10:49 +0200)]
SONAR-7842 truncate errorMessage to avoid max length error in DB

8 years agoSONAR-7843 add error stacktrace to /api/ce/task
Sébastien Lesaint [Wed, 17 Aug 2016 09:03:46 +0000 (11:03 +0200)]
SONAR-7843 add error stacktrace to /api/ce/task

8 years agoSONAR-7991 add error msg and hasStacktrace to /api/ce web services
Sébastien Lesaint [Wed, 17 Aug 2016 08:35:31 +0000 (10:35 +0200)]
SONAR-7991 add error msg and hasStacktrace to /api/ce web services

8 years agoSONAR-7842 persit task error message and stacktrace when occur
Sébastien Lesaint [Wed, 17 Aug 2016 08:00:36 +0000 (10:00 +0200)]
SONAR-7842 persit task error message and stacktrace when occur

8 years agoadd DatabaseUtils#executeLargeUpdates which returns rows count
Sébastien Lesaint [Tue, 16 Aug 2016 17:49:24 +0000 (19:49 +0200)]
add DatabaseUtils#executeLargeUpdates which returns rows count

8 years agoSONAR-7842 support error message in DAO and CeActivityDto
Sébastien Lesaint [Tue, 16 Aug 2016 17:35:36 +0000 (19:35 +0200)]
SONAR-7842 support error message in DAO and CeActivityDto

8 years agoSONAR-7842 add error columns to CE_ACTIVITY
Sébastien Lesaint [Tue, 16 Aug 2016 17:08:25 +0000 (19:08 +0200)]
SONAR-7842 add error columns to CE_ACTIVITY

8 years agoSONAR-7842 make ClobColumnDef support all DBs
Sébastien Lesaint [Tue, 16 Aug 2016 16:51:22 +0000 (18:51 +0200)]
SONAR-7842 make ClobColumnDef support all DBs

8 years agoSONAR-7842 rename table CE_TASK_DATA to CE_TASK_INPUT
Sébastien Lesaint [Tue, 16 Aug 2016 16:04:05 +0000 (18:04 +0200)]
SONAR-7842 rename table CE_TASK_DATA to CE_TASK_INPUT

8 years agoSONAR-7833 MDC must be cleared even when an exception is raised
Sébastien Lesaint [Fri, 12 Aug 2016 17:14:27 +0000 (19:14 +0200)]
SONAR-7833 MDC must be cleared even when an exception is raised

8 years agoSONAR-7842 ensure exception in task management code is not swallowed
Sébastien Lesaint [Fri, 12 Aug 2016 17:18:43 +0000 (19:18 +0200)]
SONAR-7842 ensure exception in task management code is not swallowed

8 years agoSONAR-7994 Clean up migration that feed local users 1150/head
Julien Lancelot [Wed, 17 Aug 2016 14:57:08 +0000 (16:57 +0200)]
SONAR-7994 Clean up migration that feed local users

8 years agoSONAR-7968 Create /api/settings/list_definitions WS
Julien Lancelot [Tue, 16 Aug 2016 15:34:13 +0000 (17:34 +0200)]
SONAR-7968 Create /api/settings/list_definitions WS

8 years agoRemove extraneous echo calls and rely on bash here strings instead.
Patrice Clement [Tue, 26 Jul 2016 09:06:10 +0000 (11:06 +0200)]
Remove extraneous echo calls and rely on bash here strings instead.

Signed-off-by: Sébastien Lesaint <sebastien.lesaint@sonarsource.com>
8 years agowc accepts files as input parameter.
Patrice Clement [Tue, 26 Jul 2016 09:03:51 +0000 (11:03 +0200)]
wc accepts files as input parameter.

Signed-off-by: Sébastien Lesaint <sebastien.lesaint@sonarsource.com>
8 years agoVariables should be local to each function to avoid clashing in the global namespace.
Patrice Clement [Tue, 26 Jul 2016 09:02:28 +0000 (11:02 +0200)]
Variables should be local to each function to avoid clashing in the global namespace.

Signed-off-by: Sébastien Lesaint <sebastien.lesaint@sonarsource.com>
8 years agoUse -z flag to properly test for stirng length.
Patrice Clement [Tue, 26 Jul 2016 09:00:58 +0000 (11:00 +0200)]
Use -z flag to properly test for stirng length.

Signed-off-by: Sébastien Lesaint <sebastien.lesaint@sonarsource.com>
8 years agoRemove extraneous echo calls in showHelp().
Patrice Clement [Tue, 26 Jul 2016 09:00:01 +0000 (11:00 +0200)]
Remove extraneous echo calls in showHelp().

Signed-off-by: Sébastien Lesaint <sebastien.lesaint@sonarsource.com>
8 years agoEnable ut
Duarte Meneses [Wed, 17 Aug 2016 15:41:01 +0000 (17:41 +0200)]
Enable ut

8 years agoEnable Surefire XML reports for Surefire sensor
Duarte Meneses [Wed, 17 Aug 2016 15:39:54 +0000 (17:39 +0200)]
Enable Surefire XML reports for Surefire sensor

8 years agoImprove scanner report viewer
Duarte Meneses [Wed, 17 Aug 2016 11:40:40 +0000 (13:40 +0200)]
Improve scanner report viewer

8 years agoSONAR-7963 Display duplications on new code (#1148)
Stas Vilchik [Wed, 17 Aug 2016 08:58:16 +0000 (10:58 +0200)]
SONAR-7963 Display duplications on new code (#1148)

8 years agoSONAR-7965 Organize new duplications and size measures (#1147)
Stas Vilchik [Wed, 17 Aug 2016 08:58:06 +0000 (10:58 +0200)]
SONAR-7965 Organize new duplications and size measures (#1147)

8 years agofix alignment glitch on the project dasboard
Stas Vilchik [Wed, 17 Aug 2016 08:33:10 +0000 (10:33 +0200)]
fix alignment glitch on the project dasboard

8 years agoSONAR-7951 Rename new duplicated lines metric to "Duplicated Lines on New Code" 1146/head
Julien Lancelot [Tue, 16 Aug 2016 14:54:13 +0000 (16:54 +0200)]
SONAR-7951 Rename new duplicated lines metric to "Duplicated Lines on New Code"

8 years agoSONAR-7957 Replace new ncloc by new lines
Julien Lancelot [Tue, 16 Aug 2016 14:42:25 +0000 (16:42 +0200)]
SONAR-7957 Replace new ncloc by new lines

8 years agoSONAR-7953 Add IT
Julien Lancelot [Tue, 16 Aug 2016 13:27:47 +0000 (15:27 +0200)]
SONAR-7953 Add IT

8 years agoSONAR-7953 New metric « New Duplicated Lines (%) »
Julien Lancelot [Tue, 16 Aug 2016 10:15:04 +0000 (12:15 +0200)]
SONAR-7953 New metric « New Duplicated Lines (%) »

8 years agoSONAR-7960 fix ClusterTest, ServerLogsTest and WS logs example 1143/head
Sébastien Lesaint [Fri, 12 Aug 2016 11:37:50 +0000 (13:37 +0200)]
SONAR-7960 fix ClusterTest, ServerLogsTest and WS logs example

8 years agoSONAR-7960 add task UUID to logs
Sébastien Lesaint [Fri, 12 Aug 2016 09:34:12 +0000 (11:34 +0200)]
SONAR-7960 add task UUID to logs

8 years agoSONAR-7833 make all public methods of CeLogging non static
Sébastien Lesaint [Fri, 12 Aug 2016 09:21:53 +0000 (11:21 +0200)]
SONAR-7833 make all public methods of CeLogging non static