]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoRemove javaProperties plugin from PluginsTest
Julien Lancelot [Thu, 2 Mar 2017 13:52:28 +0000 (14:52 +0100)]
Remove javaProperties plugin from PluginsTest

7 years agoRemove JSON plugin
Julien Lancelot [Thu, 2 Mar 2017 12:53:09 +0000 (13:53 +0100)]
Remove JSON plugin

7 years agofix quality flaw
Stas Vilchik [Thu, 2 Mar 2017 12:46:00 +0000 (13:46 +0100)]
fix quality flaw

7 years agorefactor source viewer (#1705)
Stas Vilchik [Thu, 2 Mar 2017 12:18:27 +0000 (13:18 +0100)]
refactor source viewer (#1705)

7 years agoSONAR-8826 Fix QA
Julien HENRY [Thu, 2 Mar 2017 09:46:08 +0000 (10:46 +0100)]
SONAR-8826 Fix QA

7 years agoadd .vscode to .gitignore
Stas Vilchik [Wed, 1 Mar 2017 14:19:09 +0000 (15:19 +0100)]
add .vscode to .gitignore

7 years agoSONAR-8842 Add tags to WS api/components/search_projects 1723/head
Teryk Bellahsene [Wed, 1 Mar 2017 11:18:05 +0000 (12:18 +0100)]
SONAR-8842 Add tags to WS api/components/search_projects

7 years agoSONAR-8841 Add tags to WS api/components/show and tree response
Teryk Bellahsene [Wed, 1 Mar 2017 11:00:49 +0000 (12:00 +0100)]
SONAR-8841 Add tags to WS api/components/show and tree response

7 years agoAutomatic merge from branch-6.3
ssjenka [Thu, 2 Mar 2017 07:01:50 +0000 (08:01 +0100)]
Automatic merge from branch-6.3

* origin/branch-6.3:
  SONAR-8835 support NULL in column file_sources.line_hashes
  SONAR-8835 file move detection does not need to compute source hash
  SONAR-8451 fix bad state on measures page
  SONAR-8659 Bring back "Edit Permissions" to system administrators

7 years agoSONAR-8783 Improve display of error when uploading scanner report
Duarte Meneses [Wed, 1 Mar 2017 17:29:16 +0000 (18:29 +0100)]
SONAR-8783 Improve display of error when uploading scanner report

7 years agoSONAR-8837 add indexing time to logs
Daniel Schwarz [Mon, 27 Feb 2017 20:31:40 +0000 (21:31 +0100)]
SONAR-8837 add indexing time to logs

7 years agoSONAR-8837 shorten indexer startup logs
Daniel Schwarz [Mon, 27 Feb 2017 20:26:51 +0000 (21:26 +0100)]
SONAR-8837 shorten indexer startup logs

7 years agoSONAR-8783 Improve display of error when uploading scanner report
Duarte Meneses [Wed, 1 Mar 2017 12:47:39 +0000 (13:47 +0100)]
SONAR-8783 Improve display of error when uploading scanner report

7 years agoSONAR-8826 Add SonarQube server version to the task report
Duarte Meneses [Wed, 1 Mar 2017 16:10:28 +0000 (17:10 +0100)]
SONAR-8826 Add SonarQube server version to the task report

7 years agoSONAR-8835 support NULL in column file_sources.line_hashes
Simon Brandhof [Wed, 1 Mar 2017 14:33:22 +0000 (15:33 +0100)]
SONAR-8835 support NULL in column file_sources.line_hashes

The column can be null on Oracle if source content is empty.
Other databases do not store NULL but empty string.

7 years agoSONAR-8835 file move detection does not need to compute source hash
Simon Brandhof [Wed, 1 Mar 2017 14:24:02 +0000 (15:24 +0100)]
SONAR-8835 file move detection does not need to compute source hash

7 years agoSONAR-6037 decide by boolean flag, whether or not to initialise index
Daniel Schwarz [Mon, 27 Feb 2017 14:10:33 +0000 (15:10 +0100)]
SONAR-6037 decide by boolean flag, whether or not to initialise index

7 years agoSONAR-8451 fix bad state on measures page
Stas Vilchik [Wed, 1 Mar 2017 12:23:55 +0000 (13:23 +0100)]
SONAR-8451 fix bad state on measures page

7 years agoSONAR-8659 Bring back "Edit Permissions" to system administrators
Simon Brandhof [Wed, 1 Mar 2017 09:26:53 +0000 (10:26 +0100)]
SONAR-8659 Bring back "Edit Permissions" to system administrators

7 years agoSONAR-8838 Limit to 500 characters DB column TAGS of PROJECTS 1721/head
Teryk Bellahsene [Tue, 28 Feb 2017 14:56:51 +0000 (15:56 +0100)]
SONAR-8838 Limit to 500 characters DB column TAGS of PROJECTS

7 years agoDisable IT PurgeTest
Simon Brandhof [Tue, 28 Feb 2017 14:05:25 +0000 (15:05 +0100)]
Disable IT PurgeTest

QA tests have some false-positives on CIX infrastructure
with category4 on postgres. Some DB connections are
kept open and job is stuck. Root cause seems to be
the direct DB connection from PurgeTest via Orchestrator.

7 years agoSONAR-8847 Set COPY_COMPONENT_UUID of local views 1706/head
Julien Lancelot [Mon, 27 Feb 2017 16:42:52 +0000 (17:42 +0100)]
SONAR-8847 Set COPY_COMPONENT_UUID of local views

7 years agoSONAR-8847 Persist copy_component_uuid for local views
Julien Lancelot [Thu, 23 Feb 2017 16:28:33 +0000 (17:28 +0100)]
SONAR-8847 Persist copy_component_uuid for local views

7 years agoClean dead code
Julien HENRY [Tue, 28 Feb 2017 13:13:44 +0000 (14:13 +0100)]
Clean dead code

7 years agoSONAR-8838 Create WS api/project_tags/set to set tags of a project 1715/head
Teryk Bellahsene [Mon, 27 Feb 2017 15:39:45 +0000 (16:39 +0100)]
SONAR-8838 Create WS api/project_tags/set to set tags of a project

7 years agoSONAR-8838 Create api/project_tags controller
Teryk Bellahsene [Fri, 24 Feb 2017 18:37:08 +0000 (19:37 +0100)]
SONAR-8838 Create api/project_tags controller

7 years agoSONAR-8838 Update tags of a project in DB
Teryk Bellahsene [Mon, 27 Feb 2017 15:34:40 +0000 (16:34 +0100)]
SONAR-8838 Update tags of a project in DB

7 years agoSONAR-8838 insert and return tags from projects DB table
Teryk Bellahsene [Fri, 24 Feb 2017 17:53:45 +0000 (18:53 +0100)]
SONAR-8838 insert and return tags from projects DB table

7 years agoSONAR-8838 Add DB column TAGS to PROJECTS table
Teryk Bellahsene [Fri, 24 Feb 2017 17:24:05 +0000 (18:24 +0100)]
SONAR-8838 Add DB column TAGS to PROJECTS table

7 years agofix redirection after login
Stas Vilchik [Tue, 28 Feb 2017 09:15:50 +0000 (10:15 +0100)]
fix redirection after login

7 years agoalways redirect to landing after login from about page
Stas Vilchik [Tue, 28 Feb 2017 09:08:11 +0000 (10:08 +0100)]
always redirect to landing after login from about page

7 years agoSONAR-7282 fix module number count in ComputeEngineContainerImplTest
Daniel Schwarz [Thu, 16 Feb 2017 14:25:07 +0000 (15:25 +0100)]
SONAR-7282 fix module number count in ComputeEngineContainerImplTest

7 years agoReenabling tests on cluster
Eric Hartmann [Mon, 27 Feb 2017 08:36:05 +0000 (09:36 +0100)]
Reenabling tests on cluster

7 years agoDisabling cluster tests until fixed
Eric Hartmann [Mon, 27 Feb 2017 07:50:49 +0000 (08:50 +0100)]
Disabling cluster tests until fixed

7 years agoAutomatic merge from branch-6.3
ssjenka [Mon, 27 Feb 2017 07:01:54 +0000 (08:01 +0100)]
Automatic merge from branch-6.3

* origin/branch-6.3:
  BUILD-384 Replace usage of groovy-maven-plugin (not compliant with Maven paraller execution) by beanshell-maven-plugin

7 years agoDrop unused Dialect#getActiveRecordDialectCode()
Simon Brandhof [Sun, 26 Feb 2017 20:04:47 +0000 (21:04 +0100)]
Drop unused Dialect#getActiveRecordDialectCode()

because Ruby on Rails has been dropped.

7 years agoSONAR-8818 Add Hazelcast and its configuration (#1699)
Eric Hartmann [Sun, 26 Feb 2017 13:47:10 +0000 (14:47 +0100)]
SONAR-8818 Add Hazelcast and its configuration (#1699)

* SONAR-8818 Introduce Hazelcast

7 years agoFix test
Simon Brandhof [Sun, 26 Feb 2017 06:56:37 +0000 (07:56 +0100)]
Fix test

7 years agoUse project build dir as temporary dir for tests
Simon Brandhof [Sat, 25 Feb 2017 14:07:47 +0000 (15:07 +0100)]
Use project build dir as temporary dir for tests

7 years agoFix quality flaws
Simon Brandhof [Sat, 25 Feb 2017 07:41:25 +0000 (08:41 +0100)]
Fix quality flaws

7 years agoDrop usages of MyBatis#openSession()
Simon Brandhof [Fri, 24 Feb 2017 15:46:37 +0000 (16:46 +0100)]
Drop usages of MyBatis#openSession()

in favor of DbClient#openSession()

7 years agoMyBatis implements Startable
Simon Brandhof [Thu, 23 Feb 2017 22:11:37 +0000 (23:11 +0100)]
MyBatis implements Startable

7 years agoDeprecate MyBatis#closeQuietly(DbSession)
Simon Brandhof [Thu, 23 Feb 2017 22:08:13 +0000 (23:08 +0100)]
Deprecate MyBatis#closeQuietly(DbSession)

7 years agoReplace usage of MyBatis SqlSession by DbSession
Simon Brandhof [Thu, 23 Feb 2017 22:07:35 +0000 (23:07 +0100)]
Replace usage of MyBatis SqlSession by DbSession

7 years agoClean-up class MyBatis
Simon Brandhof [Thu, 23 Feb 2017 21:50:04 +0000 (22:50 +0100)]
Clean-up class MyBatis

7 years agoReplace DbClient#closeSession(DbSession) by try-with-resources
Simon Brandhof [Thu, 23 Feb 2017 21:49:29 +0000 (22:49 +0100)]
Replace DbClient#closeSession(DbSession) by try-with-resources

7 years agoSONAR-8092 do not use thread pools for es indexing anymore (#1709)
Daniel Schwarz [Sat, 25 Feb 2017 15:06:07 +0000 (16:06 +0100)]
SONAR-8092 do not use thread pools for es indexing anymore (#1709)

SONAR-8092 do not use thread pools for es indexing anymore

7 years agoSONAR-8837 create log line, as soon as indexing is done
Daniel Schwarz [Fri, 24 Feb 2017 15:22:44 +0000 (16:22 +0100)]
SONAR-8837 create log line, as soon as indexing is done

7 years agoSONAR-7937 restart reloads sonar.properties 1707/head
Sébastien Lesaint [Thu, 23 Feb 2017 17:32:30 +0000 (18:32 +0100)]
SONAR-7937 restart reloads sonar.properties

but changes of FileSystem related properties are not supported and will make restart fail

7 years agoSONAR-7937 extract JavaCommandFactory from App
Sébastien Lesaint [Thu, 23 Feb 2017 10:40:30 +0000 (11:40 +0100)]
SONAR-7937 extract JavaCommandFactory from App

and fix missing coverage on this part

7 years agoSONAR-7937 Monitor reloads JavaCommand to execute on restart
Sébastien Lesaint [Thu, 23 Feb 2017 09:20:28 +0000 (10:20 +0100)]
SONAR-7937 Monitor reloads JavaCommand to execute on restart

7 years agoSONAR-8435 add info message saying WebServer is operational to web.log 1690/head
Sébastien Lesaint [Fri, 24 Feb 2017 12:53:54 +0000 (13:53 +0100)]
SONAR-8435 add info message saying WebServer is operational to web.log

and modify message in Compute Engine to be "is operational" instead of "is up" for consistency

7 years agoSONAR-8435 fix WS of Level4 available before going out of SafeMode
Sébastien Lesaint [Fri, 24 Feb 2017 12:28:23 +0000 (13:28 +0100)]
SONAR-8435 fix WS of Level4 available before going out of SafeMode

7 years agoSONAR-8435 log "SonarQube is up" if all processes are operational
Sébastien Lesaint [Tue, 21 Feb 2017 13:51:34 +0000 (14:51 +0100)]
SONAR-8435 log "SonarQube is up" if all processes are operational

which implies:
1/ to distinguish from Monitored#getStatus() = UP and OPERATIONAL
2/ to have an option of Monitor to wait on process's status to be OPERATIONAL
3/ every Monitored implementation must return OPERATIONAL rather than UP if then don't make a distinction between the two

7 years agoSONAR-8435 fix safemode on non startup-leader failing at startup
Sébastien Lesaint [Tue, 21 Feb 2017 13:48:21 +0000 (14:48 +0100)]
SONAR-8435 fix safemode on non startup-leader failing at startup

because of unresolved dependency DatabaseMigration and that now safemode can occur even non startup-leader nodes

7 years agoSONAR-8435 add abort exit points to AutoStarter when shutdown while running
Sébastien Lesaint [Tue, 21 Feb 2017 11:24:07 +0000 (12:24 +0100)]
SONAR-8435 add abort exit points to AutoStarter when shutdown while running

7 years agoSONAR-8435 run level3, 4 and startup in background thread in safemode
Sébastien Lesaint [Mon, 20 Feb 2017 15:33:09 +0000 (16:33 +0100)]
SONAR-8435 run level3, 4 and startup in background thread in safemode

7 years agoSONAR-7485 suppress logs from Tomcat's ContainerBase and StandardContext
Sébastien Lesaint [Mon, 20 Feb 2017 17:41:12 +0000 (18:41 +0100)]
SONAR-7485 suppress logs from Tomcat's ContainerBase and StandardContext

they produce error logs which do not provide any relevant information

7 years agoSONAR-7485 don't let exceptions go up to Tomcat
Sébastien Lesaint [Mon, 20 Feb 2017 17:39:28 +0000 (18:39 +0100)]
SONAR-7485 don't let exceptions go up to Tomcat

instead, they are logged in PlatformServletContextListener but a dedicated exception is thrown to make Tomcat's startup fail

7 years agoSONAR-7485 specifically handle MessageException in PlatformServletContextListener
Sébastien Lesaint [Mon, 20 Feb 2017 17:36:54 +0000 (18:36 +0100)]
SONAR-7485 specifically handle MessageException in PlatformServletContextListener

no printStackTrace is done on MessageException, instead the exception's message is displayed inline

7 years agoSONAR-7500 TomcatAccessLog must log at DEBUG level
Sébastien Lesaint [Mon, 20 Feb 2017 17:27:42 +0000 (18:27 +0100)]
SONAR-7500 TomcatAccessLog must log at DEBUG level

the information that the web server is started/stopped is already logged by other classes with logger name more relevant to the labels of the logs

7 years agoSONAR-7500 remove useless Monitored WARN log when web fails to start
Sébastien Lesaint [Mon, 20 Feb 2017 16:55:57 +0000 (17:55 +0100)]
SONAR-7500 remove useless Monitored WARN log when web fails to start

by replacing Monitored#isUp() by Monitored#getStatus()

7 years agofix quality flaw: missing package-info.java
Sébastien Lesaint [Tue, 21 Feb 2017 10:04:10 +0000 (11:04 +0100)]
fix quality flaw: missing package-info.java

7 years agoDelete .sonarsource.properties
Evgeny Mandrikov [Fri, 24 Feb 2017 17:37:23 +0000 (18:37 +0100)]
Delete .sonarsource.properties

7 years agoSOANR-8092 make BulkIndexer size an enum for better readability
Daniel Schwarz [Fri, 24 Feb 2017 13:55:02 +0000 (14:55 +0100)]
SOANR-8092 make BulkIndexer size an enum for better readability

7 years agoSONAR-8092 on startup, create es replicas, after all indexing is done
Daniel Schwarz [Fri, 24 Feb 2017 13:32:10 +0000 (14:32 +0100)]
SONAR-8092 on startup, create es replicas, after all indexing is done

7 years agoSONAR-8092 only index empty types (not all types of an empty index)
Daniel Schwarz [Fri, 24 Feb 2017 12:27:54 +0000 (13:27 +0100)]
SONAR-8092 only index empty types (not all types of an empty index)

Old behaviour: If one of the types of an Indexer is empty, reindex all of its types. New behaviour: Reindex all empty types.

7 years agoSONAR-8390 when altering users, only reindex touched users
Daniel Schwarz [Thu, 23 Feb 2017 15:07:28 +0000 (16:07 +0100)]
SONAR-8390 when altering users, only reindex touched users

7 years agoSONAR-8092 index issues when changed in the db, ignore updatedAt
Daniel Schwarz [Wed, 22 Feb 2017 09:52:46 +0000 (10:52 +0100)]
SONAR-8092 index issues when changed in the db, ignore updatedAt

7 years agoSONAR-8092 do not rely on updated-timestamp for indexing anymore
Daniel Schwarz [Tue, 21 Feb 2017 16:49:27 +0000 (17:49 +0100)]
SONAR-8092 do not rely on updated-timestamp for indexing anymore

7 years agoSONAR-8092 use the same kind of log message for all startup-indexers
Daniel Schwarz [Tue, 21 Feb 2017 15:43:50 +0000 (16:43 +0100)]
SONAR-8092 use the same kind of log message for all startup-indexers

7 years agoSONAR-8092 only reindex es indices, that contain at least one empty type
Daniel Schwarz [Tue, 21 Feb 2017 15:15:07 +0000 (16:15 +0100)]
SONAR-8092 only reindex es indices, that contain at least one empty type

7 years agoSONAR-8092 combine es index name and es type name into IndexTypeId
Daniel Schwarz [Tue, 21 Feb 2017 12:51:47 +0000 (13:51 +0100)]
SONAR-8092 combine es index name and es type name into IndexTypeId

7 years agoSONAR-8092 generalise startup of es indexers
Daniel Schwarz [Mon, 20 Feb 2017 16:57:27 +0000 (17:57 +0100)]
SONAR-8092 generalise startup of es indexers

7 years agoset embedded database timeout to 30s for slow build machines
Daniel Schwarz [Fri, 24 Feb 2017 15:48:26 +0000 (16:48 +0100)]
set embedded database timeout to 30s for slow build machines

7 years agoBUILD-384 Replace usage of groovy-maven-plugin (not compliant with Maven paraller...
David Rautureau [Thu, 23 Feb 2017 08:47:42 +0000 (09:47 +0100)]
BUILD-384 Replace usage of groovy-maven-plugin (not compliant with Maven paraller execution) by beanshell-maven-plugin

7 years agofix indentation
Stas Vilchik [Thu, 23 Feb 2017 21:05:14 +0000 (22:05 +0100)]
fix indentation

7 years agofix indentation
Stas Vilchik [Wed, 22 Feb 2017 08:32:55 +0000 (09:32 +0100)]
fix indentation

7 years agoLog as debug when sources are defined but missing in non-leaf
Janos Gyerik [Thu, 23 Feb 2017 10:49:27 +0000 (11:49 +0100)]
Log as debug when sources are defined but missing in non-leaf

7 years agoSONAR-6724 : support analyzing root pom in multi-modules projects
Loïc B [Thu, 23 Feb 2017 09:24:43 +0000 (10:24 +0100)]
SONAR-6724 : support analyzing root pom in multi-modules projects

7 years agoAnalyze non-leaf modules
Janos Gyerik [Tue, 14 Feb 2017 15:45:09 +0000 (16:45 +0100)]
Analyze non-leaf modules

7 years agoMerge remote-tracking branch 'origin/branch-6.3'
Simon Brandhof [Thu, 23 Feb 2017 08:24:57 +0000 (09:24 +0100)]
Merge remote-tracking branch 'origin/branch-6.3'

7 years agoSONAR-8775 Deprecate component uuid in parameters and responses for components and... 1684/head
Teryk Bellahsene [Wed, 22 Feb 2017 16:38:47 +0000 (17:38 +0100)]
SONAR-8775 Deprecate component uuid in parameters and responses for components and projects WS

7 years agoSONAR-8408 WS update_key and bulk_update_key use the same parameters to update a...
Teryk Bellahsene [Wed, 22 Feb 2017 16:20:42 +0000 (17:20 +0100)]
SONAR-8408 WS update_key and bulk_update_key use the same parameters to update a project key

7 years agoSONAR-8773 Move WS Reroute WS update_key and bulk_update_key to api/projects
Teryk Bellahsene [Wed, 22 Feb 2017 15:15:28 +0000 (16:15 +0100)]
SONAR-8773 Move WS Reroute WS update_key and bulk_update_key to api/projects

7 years agoSONAR-8773 Call api/projects/update_key and bulk_update_key in UI
Teryk Bellahsene [Mon, 20 Feb 2017 15:11:46 +0000 (16:11 +0100)]
SONAR-8773 Call api/projects/update_key and bulk_update_key in UI

7 years agoSONAR-8773 Move WS update_key and bulk_update_key to api/projects
Teryk Bellahsene [Thu, 16 Feb 2017 16:10:48 +0000 (17:10 +0100)]
SONAR-8773 Move WS update_key and bulk_update_key to api/projects

7 years agoRename RoutesFilter to RedirectFilter
Teryk Bellahsene [Fri, 17 Feb 2017 16:38:57 +0000 (17:38 +0100)]
Rename RoutesFilter to RedirectFilter

7 years agoImprove readability of RoutesFilter
Teryk Bellahsene [Fri, 17 Feb 2017 16:24:44 +0000 (17:24 +0100)]
Improve readability of RoutesFilter

7 years agoSONAR-8402 Purge should delete queued task when deleting a project
Simon Brandhof [Tue, 21 Feb 2017 20:23:04 +0000 (21:23 +0100)]
SONAR-8402 Purge should delete queued task when deleting a project

7 years agoSONAR-6962 restrict ES issues request to a subset of shards when possible
Simon Brandhof [Wed, 22 Feb 2017 10:50:56 +0000 (11:50 +0100)]
SONAR-6962 restrict ES issues request to a subset of shards when possible

7 years agoDrop dead code
Simon Brandhof [Wed, 22 Feb 2017 10:50:12 +0000 (11:50 +0100)]
Drop dead code

7 years agoMove PurgeCeActivitiesTest in correct package
Simon Brandhof [Wed, 22 Feb 2017 10:49:38 +0000 (11:49 +0100)]
Move PurgeCeActivitiesTest in correct package

7 years agoSONAR-8795 Add description on text query filter
Julien Lancelot [Wed, 22 Feb 2017 15:30:25 +0000 (16:30 +0100)]
SONAR-8795 Add description on text query filter

7 years agoAlways public artifacts with full build version 6.3.0.18800
Simon Brandhof [Wed, 22 Feb 2017 15:04:12 +0000 (16:04 +0100)]
Always public artifacts with full build version

7 years agoSet version 6.3-SNAPSHOT
Simon Brandhof [Wed, 22 Feb 2017 15:03:28 +0000 (16:03 +0100)]
Set version 6.3-SNAPSHOT

7 years agoSONAR-8795 Search by text query 1696/head
Julien Lancelot [Tue, 21 Feb 2017 09:01:15 +0000 (10:01 +0100)]
SONAR-8795 Search by text query

7 years agoSONAR-8795 Extract text search feature in a dedicated class
Julien Lancelot [Tue, 21 Feb 2017 10:38:19 +0000 (11:38 +0100)]
SONAR-8795 Extract text search feature in a dedicated class

7 years agoSONAR-8290 Add unit test
Julien Lancelot [Wed, 22 Feb 2017 10:56:37 +0000 (11:56 +0100)]
SONAR-8290 Add unit test

7 years agoSONAR-8790 Add last analysis date on api/components/search_projects WS 1698/head
Julien Lancelot [Tue, 21 Feb 2017 15:01:54 +0000 (16:01 +0100)]
SONAR-8790 Add last analysis date on api/components/search_projects WS