]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
9 years agoSONAR-6470 SONAR-6475 Require admin permission to list group/user associations
Jean-Baptiste Lievremont [Tue, 2 Jun 2015 08:20:01 +0000 (10:20 +0200)]
SONAR-6470 SONAR-6475 Require admin permission to list group/user associations

9 years agofix quality flaws
Stas Vilchik [Tue, 2 Jun 2015 08:04:15 +0000 (10:04 +0200)]
fix quality flaws

9 years agoSONAR-6950 actually log error during cleanup of CE container
Sébastien Lesaint [Tue, 2 Jun 2015 08:04:20 +0000 (10:04 +0200)]
SONAR-6950 actually log error during cleanup of CE container

9 years agoSONAR-6590 catch and log exceptions raised when stopping CE container
Sébastien Lesaint [Tue, 2 Jun 2015 07:49:05 +0000 (09:49 +0200)]
SONAR-6590 catch and log exceptions raised when stopping CE container

we must not raise an exception here because, since we are in a separate thread, they are swallowed and never logged

9 years agoSONAR-6590 fix QueueItem status not saved after processing
Sébastien Lesaint [Tue, 2 Jun 2015 07:46:59 +0000 (09:46 +0200)]
SONAR-6590 fix QueueItem status not saved after processing

because the container was not started, when cleanup method was invoked an IllegalStateException was raised by Pico because the current status of the container was CONSTRUCTED
unfortunately, the method to update the item status is after the call to the cleanup method and therefor was never invoked

9 years agoDrop L10n english plugin
Simon Brandhof [Thu, 28 May 2015 12:58:50 +0000 (14:58 +0200)]
Drop L10n english plugin

9 years agoSONAR-6589 add caching of report MetaData in CEBatchReportReader
Sébastien Lesaint [Wed, 27 May 2015 16:03:31 +0000 (18:03 +0200)]
SONAR-6589 add caching of report MetaData in CEBatchReportReader

9 years agoSONAR-6568 missing unit test for QualityProfile
Sébastien Lesaint [Fri, 29 May 2015 17:43:14 +0000 (19:43 +0200)]
SONAR-6568 missing unit test for QualityProfile

9 years agoSONAR-6589 make ReportExtractor a step called ReportExtractionStep
Sébastien Lesaint [Fri, 29 May 2015 08:59:33 +0000 (10:59 +0200)]
SONAR-6589 make ReportExtractor a step called ReportExtractionStep

9 years agoSONAR-6589 EventRepository should store data based on ref
Sébastien Lesaint [Thu, 28 May 2015 16:03:37 +0000 (18:03 +0200)]
SONAR-6589 EventRepository should store data based on ref

also added missing unit test

9 years agoSONAR-6589 move ComponentTreeBuilders to test where it is actually used
Sébastien Lesaint [Thu, 28 May 2015 14:49:37 +0000 (16:49 +0200)]
SONAR-6589 move ComponentTreeBuilders to test where it is actually used

9 years agoSONAR-6589 remove ComputationContext from ComputationStep.execute method
Sébastien Lesaint [Thu, 28 May 2015 14:11:15 +0000 (16:11 +0200)]
SONAR-6589 remove ComputationContext from ComputationStep.execute method

and also remove the ComputationContext completely

9 years agoSONAR-6589 replace usage of ComputationContext.getRoot with TreeRootHolder
Sébastien Lesaint [Thu, 28 May 2015 13:46:22 +0000 (15:46 +0200)]
SONAR-6589 replace usage of ComputationContext.getRoot with TreeRootHolder

also, ComponentTree is now computed as a step in BuildComponentTreeStep

9 years agoSONAR-6589 remove Component.getContext()
Sébastien Lesaint [Thu, 28 May 2015 08:47:20 +0000 (10:47 +0200)]
SONAR-6589 remove Component.getContext()

9 years agoSONAR-6589 remove unused parameter of ComputationContext constructor
Sébastien Lesaint [Thu, 28 May 2015 08:31:25 +0000 (10:31 +0200)]
SONAR-6589 remove unused parameter of ComputationContext constructor

also clean unit tests that uses a ComputationContext (removed uneccessary properties, mostly)

9 years agoSONAR-6589 remove ComputationContext.getDbClient()
Sébastien Lesaint [Thu, 28 May 2015 07:42:53 +0000 (09:42 +0200)]
SONAR-6589 remove ComputationContext.getDbClient()

not used anymore

9 years agoSONAR-6589 move LanguageRepository out of ComputationContext
Sébastien Lesaint [Thu, 28 May 2015 07:38:49 +0000 (09:38 +0200)]
SONAR-6589 move LanguageRepository out of ComputationContext

9 years agoSONAR-6589 move EventRepository out of Component
Sébastien Lesaint [Thu, 28 May 2015 07:28:53 +0000 (09:28 +0200)]
SONAR-6589 move EventRepository out of Component

9 years agoSONAR-6589 move MeasureRepository out of Component
Sébastien Lesaint [Wed, 27 May 2015 16:24:50 +0000 (18:24 +0200)]
SONAR-6589 move MeasureRepository out of Component

9 years agoSONAR-6589 remove ComputationContext.getReportReader and getReportMetadata
Sébastien Lesaint [Wed, 27 May 2015 15:53:42 +0000 (17:53 +0200)]
SONAR-6589 remove ComputationContext.getReportReader and getReportMetadata

9 years agofix Platform.getContainer(): switch to level4 _before_ startup level
Sébastien Lesaint [Tue, 26 May 2015 15:34:13 +0000 (17:34 +0200)]
fix Platform.getContainer(): switch to level4 _before_ startup level

this is necessary in case some class in startup level use Platform.getContainer() to retrieve current level

9 years agoServerLifecycleNotifier really belongs to startup level
Sébastien Lesaint [Tue, 26 May 2015 15:33:46 +0000 (17:33 +0200)]
ServerLifecycleNotifier really belongs to startup level

9 years agoSONAR-6589 remove ComputationContainer (and use only CEContainer)
Sébastien Lesaint [Tue, 26 May 2015 15:01:40 +0000 (17:01 +0200)]
SONAR-6589 remove ComputationContainer (and use only CEContainer)

9 years agoSONAR-6589 make BatchReportReader a dependency of ComputationSteps
Sébastien Lesaint [Tue, 26 May 2015 12:22:27 +0000 (14:22 +0200)]
SONAR-6589 make BatchReportReader a dependency of ComputationSteps

move batch zip file extraction to new class ReportExtractor

9 years agoSONAR-6590 use CloseableIterator instead of File return type in BatchReportReader
Sébastien Lesaint [Tue, 26 May 2015 08:15:19 +0000 (10:15 +0200)]
SONAR-6590 use CloseableIterator instead of File return type in BatchReportReader

9 years agoSONAR-6590 add factory methods for empty CloseableIterator and from Iterator
Sébastien Lesaint [Tue, 26 May 2015 07:45:29 +0000 (09:45 +0200)]
SONAR-6590 add factory methods for empty CloseableIterator and from Iterator

9 years agoSONAR-6590 use a CE specific interface to read batch report
Sébastien Lesaint [Mon, 25 May 2015 16:02:12 +0000 (18:02 +0200)]
SONAR-6590 use a CE specific interface to read batch report

9 years agodrop coffee mentions
Stas Vilchik [Mon, 1 Jun 2015 15:04:09 +0000 (17:04 +0200)]
drop coffee mentions

9 years agoSONAR-6600 add module name to issues breadcrumbs
Stas Vilchik [Mon, 1 Jun 2015 14:45:26 +0000 (16:45 +0200)]
SONAR-6600 add module name to issues breadcrumbs

9 years agofix quality flaws
Stas Vilchik [Mon, 1 Jun 2015 14:47:05 +0000 (16:47 +0200)]
fix quality flaws

9 years agomove issues page from coffee to js
Stas Vilchik [Mon, 1 Jun 2015 11:53:12 +0000 (13:53 +0200)]
move issues page from coffee to js

9 years agoupdate grunt-contrib-requirejs to v0.4.4
Stas Vilchik [Mon, 1 Jun 2015 14:11:23 +0000 (16:11 +0200)]
update grunt-contrib-requirejs to v0.4.4

9 years agofix quality flaws
Stas Vilchik [Mon, 1 Jun 2015 14:02:43 +0000 (16:02 +0200)]
fix quality flaws

9 years agoshow intro on quality gates page
Stas Vilchik [Mon, 1 Jun 2015 13:56:50 +0000 (15:56 +0200)]
show intro on quality gates page

9 years agoRemove duplicated surefire property in poms
Simon Brandhof [Mon, 1 Jun 2015 11:38:14 +0000 (13:38 +0200)]
Remove duplicated surefire property in poms

9 years agoRemove ComponentServiceMediumTest
Julien Lancelot [Mon, 1 Jun 2015 12:05:47 +0000 (14:05 +0200)]
Remove ComponentServiceMediumTest

9 years agoRemove ViewIndexerMediumTest
Julien Lancelot [Mon, 1 Jun 2015 11:45:54 +0000 (13:45 +0200)]
Remove ViewIndexerMediumTest

9 years agorefactoring - fix MetricMapper 'key' use as it's a keyword in DBMS
Teryk Bellahsene [Mon, 1 Jun 2015 12:43:49 +0000 (14:43 +0200)]
refactoring - fix MetricMapper 'key' use as it's a keyword in DBMS

9 years agoSONAR-6476 SONAr-6477 Apply feedback from PR 339/head
Jean-Baptiste Lievremont [Fri, 29 May 2015 14:12:23 +0000 (16:12 +0200)]
SONAR-6476 SONAr-6477 Apply feedback from PR

9 years agoSONAR-6476 SONAR-6477 New WS to add/remove a user to/from a group
Jean-Baptiste Lievremont [Wed, 27 May 2015 14:47:06 +0000 (16:47 +0200)]
SONAR-6476 SONAR-6477 New WS to add/remove a user to/from a group

9 years agoSONAR-6475 Add WS to list members of a group
Jean-Baptiste Lievremont [Wed, 27 May 2015 13:53:44 +0000 (15:53 +0200)]
SONAR-6475 Add WS to list members of a group

9 years agoSONAR-6259 Fix validation of project and module keys
Julien Lancelot [Mon, 1 Jun 2015 11:32:17 +0000 (13:32 +0200)]
SONAR-6259 Fix validation of project and module keys

9 years agoSONAR-6259 Always index issue authorization as batch is still applying permission...
Julien Lancelot [Mon, 1 Jun 2015 11:31:36 +0000 (13:31 +0200)]
SONAR-6259 Always index issue authorization as batch is still applying permission on projects

9 years agoUse ImmutableProjectReactor when possible
Julien HENRY [Mon, 1 Jun 2015 11:23:23 +0000 (13:23 +0200)]
Use ImmutableProjectReactor when possible

9 years agoSONAR-6281 Fix branch and keys of components in compute report
Julien HENRY [Mon, 1 Jun 2015 10:57:09 +0000 (12:57 +0200)]
SONAR-6281 Fix branch and keys of components in compute report

9 years agorefactoring - MetricDto sanitization
Teryk Bellahsene [Mon, 1 Jun 2015 10:49:29 +0000 (12:49 +0200)]
refactoring - MetricDto sanitization

9 years agoRevert "Revert "Revert "SONAR-6259 Validate project and module keys"""
Julien Lancelot [Mon, 1 Jun 2015 10:43:03 +0000 (12:43 +0200)]
Revert "Revert "Revert "SONAR-6259 Validate project and module keys"""

This reverts commit e0819b36e967c7b5c6f192475bf78648c3906214.

9 years agoRevert "SONAR-6589 Fix project and module key validation"
Julien Lancelot [Mon, 1 Jun 2015 10:42:38 +0000 (12:42 +0200)]
Revert "SONAR-6589 Fix project and module key validation"

This reverts commit df0e388a524ebf11978e9961e9b6f25a184d9dba.

9 years agoSONAR-6570 ws api/metrics/search change endpoint to search
Teryk Bellahsene [Mon, 1 Jun 2015 10:26:34 +0000 (12:26 +0200)]
SONAR-6570 ws api/metrics/search change endpoint to search

- change endpoint from 'list' to 'search'
- add pagination in response
- display only optional fields in WS description

9 years agoSONAR-6465 Do not require admin permission, but display groups only when admin
Jean-Baptiste Lievremont [Mon, 1 Jun 2015 10:13:46 +0000 (12:13 +0200)]
SONAR-6465 Do not require admin permission, but display groups only when admin

9 years agoIncrease perm gen space for server tests
Simon Brandhof [Mon, 1 Jun 2015 10:00:55 +0000 (12:00 +0200)]
Increase perm gen space for server tests

The real solution is to decrease the number of "medium tests" (the tests that use ServerTester)

9 years agoSONAR-6599 WS api/projects/delete delete one project
Teryk Bellahsene [Mon, 1 Jun 2015 09:29:51 +0000 (11:29 +0200)]
SONAR-6599 WS api/projects/delete delete one project

9 years agoFix a test isolation and replace field MeasureDto.projectId by componentId
Julien Lancelot [Mon, 1 Jun 2015 09:22:34 +0000 (11:22 +0200)]
Fix a test isolation and replace field MeasureDto.projectId by componentId

9 years agoSONAR-6589 Fix project and module key validation
Julien Lancelot [Mon, 1 Jun 2015 07:51:16 +0000 (09:51 +0200)]
SONAR-6589 Fix project and module key validation

9 years agoRevert "Revert "SONAR-6259 Validate project and module keys""
Julien Lancelot [Fri, 29 May 2015 15:52:02 +0000 (17:52 +0200)]
Revert "Revert "SONAR-6259 Validate project and module keys""

This reverts commit b542009c4736bdf93ab45e989117a6b7e7fef8f2.

9 years agoSONAR-6259 Grant project permission on the compute engine 341/head
Julien Lancelot [Mon, 1 Jun 2015 08:51:30 +0000 (10:51 +0200)]
SONAR-6259 Grant project permission on the compute engine

9 years agoUpgrade slf4j, mockito and picocontainer
Simon Brandhof [Fri, 29 May 2015 21:23:17 +0000 (23:23 +0200)]
Upgrade slf4j, mockito and picocontainer

9 years agoUpgrade mysql driver from 5.1.35 to 5.1.35
Simon Brandhof [Fri, 29 May 2015 20:50:23 +0000 (22:50 +0200)]
Upgrade mysql driver from 5.1.35 to 5.1.35

9 years agoUpgrade jsr305 2.0.3 to 3.0.0
Simon Brandhof [Fri, 29 May 2015 20:49:03 +0000 (22:49 +0200)]
Upgrade jsr305 2.0.3 to 3.0.0

9 years agoUpgrade logback 1.1.2 to 1.1.3
Simon Brandhof [Fri, 29 May 2015 20:48:40 +0000 (22:48 +0200)]
Upgrade logback 1.1.2 to 1.1.3

9 years agomove widgets from coffee to js
Stas Vilchik [Fri, 29 May 2015 12:28:20 +0000 (14:28 +0200)]
move widgets from coffee to js

9 years agoRevert "SONAR-6259 Validate project and module keys"
Julien Lancelot [Fri, 29 May 2015 15:51:36 +0000 (17:51 +0200)]
Revert "SONAR-6259 Validate project and module keys"

This reverts commit a8e2ff5ad049dc21a9922dca08ef3c2825605c1b.

9 years agoSONAR-6529 WS api/projects/bulk_delete change action from delete to bulk_delete
Teryk Bellahsene [Fri, 29 May 2015 14:56:42 +0000 (16:56 +0200)]
SONAR-6529 WS api/projects/bulk_delete change action from delete to bulk_delete

9 years agoSONAR-6528 WS api/projects/delete use ids instead of uuids as a parameter
Teryk Bellahsene [Fri, 29 May 2015 13:27:15 +0000 (15:27 +0200)]
SONAR-6528 WS api/projects/delete use ids instead of uuids as a parameter

9 years agorefactoring more precise method in MetricTesting class to enable easy static import
Teryk Bellahsene [Fri, 29 May 2015 13:08:34 +0000 (15:08 +0200)]
refactoring more precise method in MetricTesting class to enable easy static import

9 years agoSONAR-6576 WS api/metrics/domains returns domains of enabled metrics only
Teryk Bellahsene [Fri, 29 May 2015 13:01:40 +0000 (15:01 +0200)]
SONAR-6576 WS api/metrics/domains returns domains of enabled metrics only

9 years agoSONAR-6589 Fix bad uuid computation
Julien Lancelot [Fri, 29 May 2015 12:54:03 +0000 (14:54 +0200)]
SONAR-6589 Fix bad uuid computation

9 years agoReplace references to jira.codehaus.org by jira.sonarsource.com
Simon Brandhof [Fri, 29 May 2015 13:23:05 +0000 (15:23 +0200)]
Replace references to jira.codehaus.org by jira.sonarsource.com

9 years agoSONAR-6259 Validate project and module keys 338/head
Julien Lancelot [Fri, 29 May 2015 12:37:37 +0000 (14:37 +0200)]
SONAR-6259 Validate project and module keys

9 years agofix ui overflow problem on the issues page
Stas Vilchik [Fri, 29 May 2015 09:33:44 +0000 (11:33 +0200)]
fix ui overflow problem on the issues page

9 years agomove issue component from coffee to js
Stas Vilchik [Thu, 28 May 2015 15:03:02 +0000 (17:03 +0200)]
move issue component from coffee to js

9 years agoSONAR-6581 add a project dashboard link to the provisioning page
Stas Vilchik [Fri, 29 May 2015 09:24:45 +0000 (11:24 +0200)]
SONAR-6581 add a project dashboard link to the provisioning page

9 years agoSONAR-6416 fix display of stacktrace
Stas Vilchik [Fri, 29 May 2015 08:43:08 +0000 (10:43 +0200)]
SONAR-6416 fix display of stacktrace

9 years agoSONAR-6586 Fix user login length check 340/head
Jean-Baptiste Lievremont [Fri, 29 May 2015 07:43:42 +0000 (09:43 +0200)]
SONAR-6586 Fix user login length check

9 years agoExtract an interface from org.sonar.process.ProcessCommands
Simon Brandhof [Fri, 29 May 2015 09:25:01 +0000 (11:25 +0200)]
Extract an interface from org.sonar.process.ProcessCommands

Try to stabilize StopWatcherTest when machine is slow or under pressure. More than 1 second could
be spent in the creation of ProcessCommands mock.

9 years agofix web build
Stas Vilchik [Fri, 29 May 2015 08:02:13 +0000 (10:02 +0200)]
fix web build

9 years agoAutomatic merge from branch-5.1
Jenkins CI [Fri, 29 May 2015 06:01:07 +0000 (08:01 +0200)]
Automatic merge from branch-5.1

* origin/branch-5.1:
  drop unstable web tests

9 years agofix random failure of DoPrivilegedTest
Sébastien Lesaint [Thu, 28 May 2015 14:51:45 +0000 (16:51 +0200)]
fix random failure of DoPrivilegedTest

unit test is based on ThreadLocal but wasn't isolated
in addition, assertions where actually not verified as the code was written
completed test to make sure the initial session is restored once the DoPriviledge task has run

9 years agouse grunt-concurrent
Stas Vilchik [Thu, 28 May 2015 13:22:10 +0000 (15:22 +0200)]
use grunt-concurrent

9 years agoAdd missing metadata of NewAlerts notification channel
Simon Brandhof [Thu, 28 May 2015 13:24:37 +0000 (15:24 +0200)]
Add missing metadata of NewAlerts notification channel

9 years agoFaster sonar-process monitor to detect when process is started
Simon Brandhof [Thu, 28 May 2015 12:23:09 +0000 (14:23 +0200)]
Faster sonar-process monitor to detect when process is started

9 years agoSONAR-6573 WS api/metrics/delete fix CustomMeasureTesting using randomAlphanumeric...
Teryk Bellahsene [Thu, 28 May 2015 12:43:50 +0000 (14:43 +0200)]
SONAR-6573 WS api/metrics/delete fix CustomMeasureTesting using randomAlphanumeric(...) or else build failing with MySql and Oracle

9 years agoRevert "SONAR-6589 Fix bad key computation"
Simon Brandhof [Thu, 28 May 2015 12:18:20 +0000 (14:18 +0200)]
Revert "SONAR-6589 Fix bad key computation"

This reverts commit a28cb7974df365940292c7cf7a3e7e9171059508.

9 years agoSONAR-6255 Fix issue on /api/sources when component is a test
Julien Lancelot [Thu, 28 May 2015 10:05:26 +0000 (12:05 +0200)]
SONAR-6255 Fix issue on /api/sources when component is a test

9 years agoSONAR-6473 New WS to update a user group
Jean-Baptiste Lievremont [Tue, 26 May 2015 14:37:31 +0000 (16:37 +0200)]
SONAR-6473 New WS to update a user group

9 years agoEnable CommandExecutor tests
Julien HENRY [Thu, 28 May 2015 09:06:50 +0000 (11:06 +0200)]
Enable CommandExecutor tests

9 years agoSONAR-6565 display groups on users page
Stas Vilchik [Thu, 28 May 2015 09:44:02 +0000 (11:44 +0200)]
SONAR-6565 display groups on users page

9 years agoSONAR-6463 Add logs to better profile execution time
Julien HENRY [Thu, 28 May 2015 09:30:17 +0000 (11:30 +0200)]
SONAR-6463 Add logs to better profile execution time

9 years agoSONAR-6573 WS api/metrics/delete delete metrics and associated custom measures 335/head
Teryk Bellahsene [Wed, 27 May 2015 14:28:01 +0000 (16:28 +0200)]
SONAR-6573 WS api/metrics/delete delete metrics and associated custom measures

9 years agoFix definition of core component qualifiers
Simon Brandhof [Thu, 28 May 2015 09:02:50 +0000 (11:02 +0200)]
Fix definition of core component qualifiers

9 years agoSONAR-6589 Fix bad key computation
Julien Lancelot [Thu, 28 May 2015 08:42:13 +0000 (10:42 +0200)]
SONAR-6589 Fix bad key computation

9 years agodrop unstable web tests
Stas Vilchik [Thu, 28 May 2015 08:45:54 +0000 (10:45 +0200)]
drop unstable web tests

9 years agoSONAR-6579 apply gravatars feedback
Stas Vilchik [Thu, 28 May 2015 08:39:24 +0000 (10:39 +0200)]
SONAR-6579 apply gravatars feedback

9 years agoSONAR-6579 add user email fields to responses of api/issues/search and api/issues...
Simon Brandhof [Tue, 26 May 2015 11:54:35 +0000 (13:54 +0200)]
SONAR-6579 add user email fields to responses of api/issues/search and api/issues/changelog WS

9 years agorefactor quality gates page
Stas Vilchik [Tue, 26 May 2015 13:58:33 +0000 (15:58 +0200)]
refactor quality gates page

9 years agoUpgrade jacoco maven plugin to 0.7.5.201505241946
Simon Brandhof [Thu, 28 May 2015 07:37:32 +0000 (09:37 +0200)]
Upgrade jacoco maven plugin to 0.7.5.201505241946

This is a workaround to fix http://jira.codehaus.org/browse/SONARJAVA-1091

9 years agoSONAR-6370 drop core plugin
Simon Brandhof [Wed, 27 May 2015 12:27:34 +0000 (14:27 +0200)]
SONAR-6370 drop core plugin

The core plugin was highly coupled with core, so it did not respect classloader isolation
as other plugins.

9 years agoSONAR-6370 move properties out of core plugin
Simon Brandhof [Wed, 27 May 2015 11:37:37 +0000 (13:37 +0200)]
SONAR-6370 move properties out of core plugin

9 years agoSONAR-6370 move the remaining extensions out of core plugin
Simon Brandhof [Wed, 27 May 2015 10:11:02 +0000 (12:11 +0200)]
SONAR-6370 move the remaining extensions out of core plugin

9 years agoSONAR-6370 rename module sonar-api-deps to sonar-plugin-api-deps
Simon Brandhof [Wed, 27 May 2015 07:47:36 +0000 (09:47 +0200)]
SONAR-6370 rename module sonar-api-deps to sonar-plugin-api-deps