]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
9 years agorename ComputeEngineBatchExecutorService for clarity and consistency 479/head
Sébastien Lesaint [Fri, 21 Aug 2015 15:06:09 +0000 (17:06 +0200)]
rename ComputeEngineBatchExecutorService for clarity and consistency

new name is ReportProcessingSchedulerExecutorService

9 years agomake SqaleMeasuresVisitor support Views Component tree
Sébastien Lesaint [Fri, 21 Aug 2015 13:34:51 +0000 (15:34 +0200)]
make SqaleMeasuresVisitor support Views Component tree

9 years agorename SumCounter to IntSumCounter and add LongSumCounter
Sébastien Lesaint [Fri, 21 Aug 2015 08:45:28 +0000 (10:45 +0200)]
rename SumCounter to IntSumCounter and add LongSumCounter

add support for each kind of counter in SumFormula

9 years agoadd MutableMeasureComputersHolder
Sébastien Lesaint [Thu, 20 Aug 2015 16:35:48 +0000 (18:35 +0200)]
add MutableMeasureComputersHolder

to remove dependency on a concrete class holder

9 years agomake DuplicationMeasuresStep support Views Component tree
Sébastien Lesaint [Thu, 20 Aug 2015 14:52:04 +0000 (16:52 +0200)]
make DuplicationMeasuresStep support Views Component tree

9 years agomake CommentMeasuresStep support Views Component tree
Sébastien Lesaint [Thu, 20 Aug 2015 14:01:59 +0000 (16:01 +0200)]
make CommentMeasuresStep support Views Component tree

9 years agomake Formulas support Views Component tree
Sébastien Lesaint [Thu, 20 Aug 2015 13:24:45 +0000 (15:24 +0200)]
make Formulas support Views Component tree

9 years agomake CoverageMeasuresStep support Views Component tree
Sébastien Lesaint [Thu, 20 Aug 2015 10:46:21 +0000 (12:46 +0200)]
make CoverageMeasuresStep support Views Component tree

9 years agorename FileAggregateContext to LeafAggregateContext
Sébastien Lesaint [Thu, 20 Aug 2015 10:13:24 +0000 (12:13 +0200)]
rename FileAggregateContext to LeafAggregateContext

9 years agoremove unused classes in package computation/measure/newcoverage
Sébastien Lesaint [Wed, 19 Aug 2015 16:17:56 +0000 (18:17 +0200)]
remove unused classes in package computation/measure/newcoverage

9 years agomake PersistMeasuresStep support Views component tree
Sébastien Lesaint [Wed, 19 Aug 2015 15:18:00 +0000 (17:18 +0200)]
make PersistMeasuresStep support Views component tree

9 years agoadd MeasureRepositoryRule
Sébastien Lesaint [Wed, 19 Aug 2015 15:17:44 +0000 (17:17 +0200)]
add MeasureRepositoryRule

9 years agoadd CrawlerDepthLimit.LEAVES which is a commonly used limit
Sébastien Lesaint [Wed, 19 Aug 2015 13:48:03 +0000 (15:48 +0200)]
add CrawlerDepthLimit.LEAVES which is a commonly used limit

9 years agoadd support for Views to SizeMeasuresStep and FormulaExecutorComponentVisitor
Sébastien Lesaint [Wed, 19 Aug 2015 12:40:01 +0000 (14:40 +0200)]
add support for Views to SizeMeasuresStep and FormulaExecutorComponentVisitor

9 years agoadd coverage for FeedPeriodsStep support for Views
Sébastien Lesaint [Tue, 18 Aug 2015 16:24:14 +0000 (18:24 +0200)]
add coverage for FeedPeriodsStep support for Views

9 years agocleanly define max depth in component visitors
Sébastien Lesaint [Tue, 18 Aug 2015 14:35:19 +0000 (16:35 +0200)]
cleanly define max depth in component visitors

9 years agofinish splitting Crawler and Visitor of CE Component trees
Sébastien Lesaint [Tue, 18 Aug 2015 11:04:59 +0000 (13:04 +0200)]
finish splitting Crawler and Visitor of CE Component trees

9 years agoobject instantiation optimization in VisitorsCrawler
Sébastien Lesaint [Tue, 18 Aug 2015 08:39:38 +0000 (10:39 +0200)]
object instantiation optimization in VisitorsCrawler

9 years agoSONAR-6787 FeedPeriodsStep should use project settings
Sébastien Lesaint [Mon, 17 Aug 2015 14:57:48 +0000 (16:57 +0200)]
SONAR-6787 FeedPeriodsStep should use project settings

and not server settings because differential period properties can be defined at project/view level

9 years agorename ProjectSettingsRepository to SettingsRepository interface
Sébastien Lesaint [Mon, 17 Aug 2015 14:45:44 +0000 (16:45 +0200)]
rename ProjectSettingsRepository to SettingsRepository interface

also now use a Component as argument of the repository method getSettings instead of a String
in addition, new SettingsRepositoryImpl implementation can holds the properties of any component, not just the one of the root project

9 years agoadd support for Views to FeedPeriodsStep
Sébastien Lesaint [Mon, 17 Aug 2015 12:59:49 +0000 (14:59 +0200)]
add support for Views to FeedPeriodsStep

9 years agomake PersistSnapshotsStep support Views Components
Sébastien Lesaint [Fri, 14 Aug 2015 16:08:34 +0000 (18:08 +0200)]
make PersistSnapshotsStep support Views Components

9 years agoadd AnalysisMetadataHolder and remove use of BatchReportReader amap
Sébastien Lesaint [Fri, 14 Aug 2015 15:17:38 +0000 (17:17 +0200)]
add AnalysisMetadataHolder and remove use of BatchReportReader amap

this removes a dependency of some steps to BatchReportReader and will make them easier to use (if required) in Views for example

9 years agoextract DbIdsRepository interface and MapBasedDbIdsRepository
Sébastien Lesaint [Fri, 14 Aug 2015 12:32:48 +0000 (14:32 +0200)]
extract DbIdsRepository interface and MapBasedDbIdsRepository

allows sharing code with views

9 years agoadd ComponentFunctions to factor Functions on Components
Sébastien Lesaint [Fri, 14 Aug 2015 12:30:11 +0000 (14:30 +0200)]
add ComponentFunctions to factor Functions on Components

9 years agoadd RuleDao.selectById to be used by Views plugin
Sébastien Lesaint [Fri, 14 Aug 2015 09:23:46 +0000 (11:23 +0200)]
add RuleDao.selectById to be used by Views plugin

9 years agocreate delegate for Map based impl of MeasureRepository
Sébastien Lesaint [Fri, 14 Aug 2015 08:42:05 +0000 (10:42 +0200)]
create delegate for Map based impl of MeasureRepository

allows to share the code with Views plugin

9 years agoadd Component#getProjectViewAttributes
Sébastien Lesaint [Fri, 14 Aug 2015 08:31:07 +0000 (10:31 +0200)]
add Component#getProjectViewAttributes

also reordered method in Component to put all attributes at the end

9 years agoadd MeasureDao.selectBySnapshotIdAndMetricKeys to be used by Views
Sébastien Lesaint [Fri, 14 Aug 2015 08:28:10 +0000 (10:28 +0200)]
add MeasureDao.selectBySnapshotIdAndMetricKeys to be used by Views

9 years agoremove report specific method getComponentByRef from TreeRootHolder interface
Sébastien Lesaint [Thu, 13 Aug 2015 13:17:47 +0000 (15:17 +0200)]
remove report specific method getComponentByRef from TreeRootHolder interface

added interface ReportTreeRootHolder

9 years agoComputeEngineProcessingQueue must catch any error from task
Sébastien Lesaint [Thu, 13 Aug 2015 13:11:52 +0000 (15:11 +0200)]
ComputeEngineProcessingQueue must catch any error from task

this is required to make sure the scheduled Runnable which polls the queue is not canceled

9 years agoadd missing support and coverage for views components in crawlers&visitors
Sébastien Lesaint [Thu, 13 Aug 2015 08:39:11 +0000 (10:39 +0200)]
add missing support and coverage for views components in crawlers&visitors

9 years agorename DumbComponent to ReportComponent
Sébastien Lesaint [Wed, 12 Aug 2015 16:21:32 +0000 (18:21 +0200)]
rename DumbComponent to ReportComponent

9 years agoadd Component.Type#VIEW, SUBVIEW and PROJECT_VIEW
Sébastien Lesaint [Wed, 12 Aug 2015 15:55:34 +0000 (17:55 +0200)]
add Component.Type#VIEW, SUBVIEW and PROJECT_VIEW

9 years agoadd Component#getReportAttributes()
Sébastien Lesaint [Wed, 12 Aug 2015 12:43:01 +0000 (14:43 +0200)]
add Component#getReportAttributes()

this is a preparatory change to add support for Views components in CE's Component interface
remove Component#getRef and Component#getVersion

9 years agoadd missing @CheckForNull on Component#getVersion()
Sébastien Lesaint [Wed, 12 Aug 2015 12:42:38 +0000 (14:42 +0200)]
add missing @CheckForNull on Component#getVersion()

9 years agoadd ContainerPopulator to be used by ComputeEngineContainer
Sébastien Lesaint [Wed, 12 Aug 2015 10:05:29 +0000 (12:05 +0200)]
add ContainerPopulator to be used by ComputeEngineContainer

by using a specific class to populate a container, one can reuse the ComputeEngineContainer without subclassing it

9 years agoReportProcessor must not have the responsability of populating CEQueueStatus
Sébastien Lesaint [Wed, 12 Aug 2015 08:43:23 +0000 (10:43 +0200)]
ReportProcessor must not have the responsability of populating CEQueueStatus

9 years agoextract ComputationStepExecutor from ReportProcessor
Sébastien Lesaint [Wed, 12 Aug 2015 07:13:14 +0000 (09:13 +0200)]
extract ComputationStepExecutor from ReportProcessor

allows to share code executing ComputationSteps and timing code with Views plugin

9 years agomake ApplyPermissionsStep implementation use a visitor
Sébastien Lesaint [Tue, 11 Aug 2015 14:14:26 +0000 (16:14 +0200)]
make ApplyPermissionsStep implementation use a visitor

9 years ago[SCRIPT] build and quick-build must stop SQ instance
Sébastien Lesaint [Tue, 11 Aug 2015 10:31:06 +0000 (12:31 +0200)]
[SCRIPT] build and quick-build must stop SQ instance

this will save having to kill the instance started with start.sh because mvn clean deleted the pid file

9 years agoadd a CE task queue and split batch processing scheduling
Sébastien Lesaint [Tue, 11 Aug 2015 10:27:58 +0000 (12:27 +0200)]
add a CE task queue and split batch processing scheduling

CE task queue is required to run other kind of CE processes (eg. Views CE process)

9 years agofix MyBatis and mapper loading to support mapper in server extensions
Sébastien Lesaint [Tue, 11 Aug 2015 10:25:32 +0000 (12:25 +0200)]
fix MyBatis and mapper loading to support mapper in server extensions

BatchSession and DbSession constructors need to be public to be used from server extensions
fix MyBatis XML mapper file loading which did not support mapper defined in a plugin ClassLoader
add MyBatisConfBuilder so that conf building code can be shared with server extensions

9 years agoSONAR-6482 WS permissions/groups do not return the Anyone group for admin permissions
Teryk Bellahsene [Mon, 24 Aug 2015 11:59:11 +0000 (13:59 +0200)]
SONAR-6482 WS permissions/groups do not return the Anyone group for admin permissions

9 years agoRevert "SONAR-6658 Drop validation on sonar.libraries and sonar.binaries"
Duarte Meneses [Mon, 24 Aug 2015 11:30:14 +0000 (13:30 +0200)]
Revert "SONAR-6658 Drop validation on sonar.libraries and sonar.binaries"

This reverts commit 1dd1cd5c6517ffe91ae9b0b003d65c126d54b4b4.

9 years agoSONAR-4865 Do not fail when issue message is greater than 4000 (just truncate)
Julien HENRY [Mon, 24 Aug 2015 11:23:12 +0000 (13:23 +0200)]
SONAR-4865 Do not fail when issue message is greater than 4000 (just truncate)

9 years agoCreate WS Request WsProject class 477/head
Teryk Bellahsene [Mon, 24 Aug 2015 07:28:09 +0000 (09:28 +0200)]
Create WS Request WsProject class

9 years agoCreate WS Request Group class
Teryk Bellahsene [Mon, 24 Aug 2015 06:59:17 +0000 (08:59 +0200)]
Create WS Request Group class

9 years agoSONAR-6502 WS permissions/add_group_to_template add a group to a permission template
Teryk Bellahsene [Mon, 24 Aug 2015 06:23:42 +0000 (08:23 +0200)]
SONAR-6502 WS permissions/add_group_to_template add a group to a permission template

9 years agoSONAR-6501 WS permissions/remove_user_from_template remove a user from a permission...
Teryk Bellahsene [Fri, 21 Aug 2015 12:33:51 +0000 (14:33 +0200)]
SONAR-6501 WS permissions/remove_user_from_template remove a user from a permission template

9 years agoSONAR-6500 WS permissions/add_user_to_template add a user to a permission template
Teryk Bellahsene [Thu, 20 Aug 2015 15:54:57 +0000 (17:54 +0200)]
SONAR-6500 WS permissions/add_user_to_template add a user to a permission template

9 years agoRename ComponentPermissions to ProjectPermissions
Teryk Bellahsene [Fri, 21 Aug 2015 10:02:16 +0000 (12:02 +0200)]
Rename ComponentPermissions to ProjectPermissions

9 years agoRemove selectGroupByName methods from UserDao
Teryk Bellahsene [Thu, 20 Aug 2015 14:49:52 +0000 (16:49 +0200)]
Remove selectGroupByName methods from UserDao

9 years agoDeprecate PermissionTemplateUpdater
Teryk Bellahsene [Thu, 20 Aug 2015 14:30:14 +0000 (16:30 +0200)]
Deprecate PermissionTemplateUpdater

9 years agoCreate PermissionValueValidator
Teryk Bellahsene [Thu, 20 Aug 2015 13:43:19 +0000 (15:43 +0200)]
Create PermissionValueValidator

9 years agoCreate PermissionDependenciesFinder
Teryk Bellahsene [Thu, 20 Aug 2015 13:14:35 +0000 (15:14 +0200)]
Create PermissionDependenciesFinder

9 years agoRestrict permission ws classes visibility
Teryk Bellahsene [Thu, 20 Aug 2015 10:24:15 +0000 (12:24 +0200)]
Restrict permission ws classes visibility

9 years agoCreate permission Parameters to declare parameters
Teryk Bellahsene [Thu, 20 Aug 2015 10:03:12 +0000 (12:03 +0200)]
Create permission Parameters to declare parameters

9 years agoCreate and use PermissionPrivilegeChecker in the permission domain
Teryk Bellahsene [Thu, 20 Aug 2015 08:54:38 +0000 (10:54 +0200)]
Create and use PermissionPrivilegeChecker in the permission domain

9 years agoImprove interfaces of permission template services
Teryk Bellahsene [Thu, 20 Aug 2015 07:35:50 +0000 (09:35 +0200)]
Improve interfaces of permission template services

9 years agoSONAR-6658 Drop validation on sonar.libraries and sonar.binaries
Duarte Meneses [Fri, 21 Aug 2015 15:26:04 +0000 (17:26 +0200)]
SONAR-6658 Drop validation on sonar.libraries and sonar.binaries

9 years agoSONAR-6665 StackOverflow error when analyzing project with several modules having...
Duarte Meneses [Fri, 21 Aug 2015 14:41:11 +0000 (16:41 +0200)]
SONAR-6665 StackOverflow error when analyzing project with several modules having same key

9 years agoSONAR-6690 update the style of select list component
Stas Vilchik [Fri, 21 Aug 2015 11:35:08 +0000 (13:35 +0200)]
SONAR-6690 update the style of select list component

9 years agoSONAR-6797 rewrite project permissions page
Stas Vilchik [Thu, 20 Aug 2015 13:39:03 +0000 (15:39 +0200)]
SONAR-6797 rewrite project permissions page

9 years agofix lingering tooltip on the groups page
Stas Vilchik [Fri, 21 Aug 2015 13:05:12 +0000 (15:05 +0200)]
fix lingering tooltip on the groups page

9 years agoImprove quality
Duarte Meneses [Thu, 20 Aug 2015 16:05:27 +0000 (18:05 +0200)]
Improve quality

9 years agoSONAR-6721 Prevent running concurrent batch processes on the same physical project
Duarte Meneses [Thu, 20 Aug 2015 14:58:48 +0000 (16:58 +0200)]
SONAR-6721 Prevent running concurrent batch processes on the same physical project

9 years agoRemove class deprecated since v4.2
Duarte Meneses [Wed, 19 Aug 2015 12:17:02 +0000 (14:17 +0200)]
Remove class deprecated since v4.2

9 years agoFix Cpd errors on test sources
Duarte Meneses [Wed, 19 Aug 2015 12:14:14 +0000 (14:14 +0200)]
Fix Cpd errors on test sources

9 years agoSONAR-6576 fix side-effects of issue location highlighting
Stas Vilchik [Fri, 21 Aug 2015 09:40:53 +0000 (11:40 +0200)]
SONAR-6576 fix side-effects of issue location highlighting

9 years agofix logo display
Stas Vilchik [Fri, 21 Aug 2015 09:31:10 +0000 (11:31 +0200)]
fix logo display

9 years agoadd element guards for navigation components
Stas Vilchik [Fri, 21 Aug 2015 09:27:06 +0000 (11:27 +0200)]
add element guards for navigation components

9 years agoSONAR-6796 apply feedback
Stas Vilchik [Fri, 21 Aug 2015 08:49:08 +0000 (10:49 +0200)]
SONAR-6796 apply feedback

9 years agorewrite settings navigation
Stas Vilchik [Thu, 20 Aug 2015 10:19:19 +0000 (12:19 +0200)]
rewrite settings navigation

9 years agorewrite component navigation
Stas Vilchik [Thu, 20 Aug 2015 09:38:54 +0000 (11:38 +0200)]
rewrite component navigation

9 years agorewrite global navigation
Stas Vilchik [Wed, 19 Aug 2015 07:24:16 +0000 (09:24 +0200)]
rewrite global navigation

9 years agoWS permissions/search_global_permissions improve readability
Teryk Bellahsene [Wed, 19 Aug 2015 14:36:10 +0000 (16:36 +0200)]
WS permissions/search_global_permissions improve readability

9 years agoSONAR-6796 use the latest response format
Stas Vilchik [Wed, 19 Aug 2015 14:35:46 +0000 (16:35 +0200)]
SONAR-6796 use the latest response format

9 years agoSONAR-6485 ws permissions/search_project_permissions update the search query parameter
Teryk Bellahsene [Wed, 19 Aug 2015 14:08:39 +0000 (16:08 +0200)]
SONAR-6485 ws permissions/search_project_permissions update the search query parameter

9 years agoSONAR-6485 WS permissions/search_project_permissions add paging field in response
Teryk Bellahsene [Wed, 19 Aug 2015 13:10:38 +0000 (15:10 +0200)]
SONAR-6485 WS permissions/search_project_permissions add paging field in response

9 years agoSONAR-6796 rewrite global permissions page
Stas Vilchik [Wed, 19 Aug 2015 12:39:31 +0000 (14:39 +0200)]
SONAR-6796 rewrite global permissions page

9 years agoUse the new Paging builder 476/head
Teryk Bellahsene [Wed, 19 Aug 2015 12:05:45 +0000 (14:05 +0200)]
Use the new Paging builder

9 years agoSONAR-6485 WS permissions/search_project_permissions search for project permissions
Teryk Bellahsene [Tue, 18 Aug 2015 06:30:48 +0000 (08:30 +0200)]
SONAR-6485 WS permissions/search_project_permissions search for project permissions

9 years agoMove ComponentTesting to sonar-db
Teryk Bellahsene [Tue, 18 Aug 2015 06:31:37 +0000 (08:31 +0200)]
Move ComponentTesting to sonar-db

9 years agoFix typo in PermissionQuery
Teryk Bellahsene [Thu, 13 Aug 2015 06:55:27 +0000 (08:55 +0200)]
Fix typo in PermissionQuery

9 years agofix displaying of issue comments
Stas Vilchik [Wed, 19 Aug 2015 09:13:04 +0000 (11:13 +0200)]
fix displaying of issue comments

9 years agodo not use /api/issues/show
Stas Vilchik [Wed, 19 Aug 2015 08:42:10 +0000 (10:42 +0200)]
do not use /api/issues/show

9 years agoUse immutable Set to define metrics fields in WS
Teryk Bellahsene [Wed, 19 Aug 2015 09:13:02 +0000 (11:13 +0200)]
Use immutable Set to define metrics fields in WS

9 years agoImprove tests
Duarte Meneses [Wed, 19 Aug 2015 08:49:32 +0000 (10:49 +0200)]
Improve tests

9 years agoDebug log level in unit tests
Duarte Meneses [Wed, 19 Aug 2015 08:29:13 +0000 (10:29 +0200)]
Debug log level in unit tests

9 years agoSONAR-6345 Display list of all plugins + version in batch debug logs
Duarte Meneses [Wed, 19 Aug 2015 08:28:32 +0000 (10:28 +0200)]
SONAR-6345 Display list of all plugins + version in batch debug logs

9 years agoSONAR-6576 improve wrapping of issue location markers
Stas Vilchik [Wed, 19 Aug 2015 08:11:03 +0000 (10:11 +0200)]
SONAR-6576 improve wrapping of issue location markers

9 years agoSONAR-6576 improve usage highlighting inside issue locations
Stas Vilchik [Wed, 19 Aug 2015 08:01:57 +0000 (10:01 +0200)]
SONAR-6576 improve usage highlighting inside issue locations

9 years agoSONAR-6576 fix parsing of "<" and ">" characters
Stas Vilchik [Wed, 19 Aug 2015 07:50:33 +0000 (09:50 +0200)]
SONAR-6576 fix parsing of "<" and ">" characters

9 years agoSONAR-6576 do not show secondary locations and execution flows of closed issues
Stas Vilchik [Wed, 19 Aug 2015 07:44:13 +0000 (09:44 +0200)]
SONAR-6576 do not show secondary locations and execution flows of closed issues

9 years agoFix quality flaws
Teryk Bellahsene [Tue, 18 Aug 2015 16:19:10 +0000 (18:19 +0200)]
Fix quality flaws

9 years agoAdd consistency in error messages of permissions WS
Teryk Bellahsene [Tue, 18 Aug 2015 15:57:29 +0000 (17:57 +0200)]
Add consistency in error messages of permissions WS

9 years agoImprove permissions WS description and error message
Teryk Bellahsene [Tue, 18 Aug 2015 14:39:51 +0000 (16:39 +0200)]
Improve permissions WS description and error message

9 years agofix SONAR-6655 Activation criteria does not reset activation severity
Stas Vilchik [Tue, 18 Aug 2015 13:50:49 +0000 (15:50 +0200)]
fix SONAR-6655 Activation criteria does not reset activation severity

9 years agofix SONAR-6657 Cannot deactivate just activated rule
Stas Vilchik [Tue, 18 Aug 2015 13:39:55 +0000 (15:39 +0200)]
fix SONAR-6657 Cannot deactivate just activated rule