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

8 years agoSONAR-7833 ce activity logs in sonar.log if level is DEBUG or TRACE
Sébastien Lesaint [Fri, 12 Aug 2016 08:32:57 +0000 (10:32 +0200)]
SONAR-7833 ce activity logs in sonar.log if level is DEBUG or TRACE

8 years agoSONAR-7833 log visitor execution timings in ce_activity.log
Sébastien Lesaint [Thu, 11 Aug 2016 15:44:33 +0000 (17:44 +0200)]
SONAR-7833 log visitor execution timings in ce_activity.log

8 years agoSONAR-7833 log cross-project duplication status at DEBUG level
Sébastien Lesaint [Thu, 11 Aug 2016 15:32:33 +0000 (17:32 +0200)]
SONAR-7833 log cross-project duplication status at DEBUG level

to not pollute sonar.log

8 years agoSONAR-7833 dump scanner context as DEBUG to not pollute sonar.log
Sébastien Lesaint [Thu, 11 Aug 2016 15:22:42 +0000 (17:22 +0200)]
SONAR-7833 dump scanner context as DEBUG to not pollute sonar.log

8 years agoSONAR-7833 fix IT QualityGateTest to not use WS /api/ce/logs
Sébastien Lesaint [Thu, 11 Aug 2016 15:20:39 +0000 (17:20 +0200)]
SONAR-7833 fix IT QualityGateTest to not use WS /api/ce/logs

8 years agoSONAR-7841 remove code to write CE task logs
Sébastien Lesaint [Thu, 11 Aug 2016 15:12:36 +0000 (17:12 +0200)]
SONAR-7841 remove code to write CE task logs

8 years agoSONAR-7834 fix perf test as task duration is now in ce_activity.log
Sébastien Lesaint [Thu, 11 Aug 2016 13:51:36 +0000 (15:51 +0200)]
SONAR-7834 fix perf test as task duration is now in ce_activity.log

8 years agoSONAR-7834 remove internal WS /api/ce/logs
Sébastien Lesaint [Thu, 11 Aug 2016 13:36:07 +0000 (15:36 +0200)]
SONAR-7834 remove internal WS /api/ce/logs

8 years agoSONAR-7966 field logs deprecated in /api/ce/{task/component/activity}
Sébastien Lesaint [Thu, 11 Aug 2016 13:02:07 +0000 (15:02 +0200)]
SONAR-7966 field logs deprecated in /api/ce/{task/component/activity}

8 years agoSONAR-7833 task start/stop logs in sonar.log only if DEBUG is enabled
Sébastien Lesaint [Thu, 11 Aug 2016 12:40:35 +0000 (14:40 +0200)]
SONAR-7833 task start/stop logs in sonar.log only if DEBUG is enabled

start log is always at DEBUG level
stop log is at DEBUG level in case of success, at ERROR level in case of error

8 years agoSONAR-7833 task start/stop and step messages now go to ce_activity.log
Sébastien Lesaint [Wed, 10 Aug 2016 16:16:28 +0000 (18:16 +0200)]
SONAR-7833 task start/stop and step messages now go to ce_activity.log

8 years agoSONAR-7957 New metric « New Lines of Code » 1144/head
Teryk Bellahsene [Fri, 12 Aug 2016 15:53:09 +0000 (17:53 +0200)]
SONAR-7957 New metric « New Lines of Code »

8 years agoSONAR-7919 apply feedback
Stas Vilchik [Fri, 12 Aug 2016 14:57:25 +0000 (16:57 +0200)]
SONAR-7919 apply feedback

8 years agoSONAR-7952 New metric « Duplicated blocks on new code » 1141/head
Teryk Bellahsene [Thu, 11 Aug 2016 07:41:55 +0000 (09:41 +0200)]
SONAR-7952 New metric « Duplicated blocks on new code »

8 years agoSONAR-7951 New metric « Duplicated lines on new code »
Teryk Bellahsene [Wed, 10 Aug 2016 16:09:58 +0000 (18:09 +0200)]
SONAR-7951 New metric « Duplicated lines on new code »

8 years agoSONAR-7962 Move "Size" section to the sidebar (#1142)
Stas Vilchik [Fri, 12 Aug 2016 13:25:29 +0000 (15:25 +0200)]
SONAR-7962 Move "Size" section to the sidebar (#1142)

8 years agoSONAR-7930 WS api/components/bulk_update_key dry run fails when invalid key
Teryk Bellahsene [Fri, 12 Aug 2016 08:39:32 +0000 (10:39 +0200)]
SONAR-7930 WS api/components/bulk_update_key dry run fails when invalid key

8 years agoSONAR-7930 WS api/components/bulk_update_key handles special characters
Teryk Bellahsene [Fri, 12 Aug 2016 06:32:08 +0000 (08:32 +0200)]
SONAR-7930 WS api/components/bulk_update_key handles special characters

8 years agoSONAR-7919 remove old key from recent history
Stas Vilchik [Fri, 12 Aug 2016 08:23:57 +0000 (10:23 +0200)]
SONAR-7919 remove old key from recent history

8 years agoSONAR-7919 handle errors and display success messages
Stas Vilchik [Fri, 12 Aug 2016 08:18:02 +0000 (10:18 +0200)]
SONAR-7919 handle errors and display success messages

8 years agoRemove useless rails code 1112/head
Julien Lancelot [Wed, 20 Jul 2016 12:08:21 +0000 (14:08 +0200)]
Remove useless rails code

8 years agofix l10n message
Stas Vilchik [Thu, 11 Aug 2016 11:37:23 +0000 (13:37 +0200)]
fix l10n message

8 years agoSONAR-7928 SONAR-7929 Update and bulk update of component key does not update disable...
Teryk Bellahsene [Thu, 11 Aug 2016 09:34:56 +0000 (11:34 +0200)]
SONAR-7928 SONAR-7929 Update and bulk update of component key does not update disabled component