]>
source.dussan.org Git - sonarqube.git/log
Sébastien Lesaint [Fri, 17 Mar 2017 10:58:13 +0000 (11:58 +0100)]
SONAR-8867 remove unused RuleMapper#selectByName
Simon Brandhof [Wed, 22 Mar 2017 20:13:16 +0000 (21:13 +0100)]
SONAR-8925 re-enable IssueAssignTest
Simon Brandhof [Wed, 22 Mar 2017 16:42:25 +0000 (17:42 +0100)]
SONAR-8925 scanner sends param "organization" when requesting Quality profiles
Simon Brandhof [Tue, 21 Mar 2017 21:17:57 +0000 (22:17 +0100)]
SONAR-8971 check consistency of Quality profiles in Compute Engine
Simon Brandhof [Wed, 22 Mar 2017 14:12:52 +0000 (15:12 +0100)]
SONAR-8924 restrict count of projects on specified organization
Simon Brandhof [Wed, 22 Mar 2017 14:03:03 +0000 (15:03 +0100)]
SONAR-8924 compute active rules statistics via database
Using Elasticsearch is not accurate because the results
are not exhaustive. They can be paginated by the aggregations.
Moreover it brings useless complexity compared to the
simple and performance SQL requests.
Simon Brandhof [Tue, 21 Mar 2017 17:25:01 +0000 (18:25 +0100)]
SONAR-8924 add and populate field "orgUuid" to ES index rules/activeRule
Simon Brandhof [Tue, 21 Mar 2017 15:10:27 +0000 (16:10 +0100)]
SONAR-8889 fix Quality flaws in ActiveRuleIndexer
Simon Brandhof [Tue, 21 Mar 2017 15:03:45 +0000 (16:03 +0100)]
SONAR-8889 drop Quality profiles when deleting an organization
Simon Brandhof [Tue, 21 Mar 2017 15:03:23 +0000 (16:03 +0100)]
SONAR-8889 do not drop Quality profile at startup if already exists
Simon Brandhof [Thu, 16 Mar 2017 22:10:46 +0000 (23:10 +0100)]
SONAR-8889 api/qualityprofiles/delete must delete changelog and clean-up Elasticsearch
Simon Brandhof [Thu, 16 Mar 2017 21:48:25 +0000 (22:48 +0100)]
SONAR-8889 profile related SQLs to delete rows by list of key
Add the ability to delete rows by profile keys from all the tables
related to Quality profiles.
Simon Brandhof [Thu, 16 Mar 2017 16:22:36 +0000 (17:22 +0100)]
SONAR-8889 remove OrganizationMapper#deleteByKey()
Organization should be referenced by UUID. Only the method
deleteByUuid() is needed.
Simon Brandhof [Wed, 22 Mar 2017 19:15:10 +0000 (20:15 +0100)]
SONAR-8888 fix indexing of quality profiles on SQLServer
When creating an organization, Elasticsearch index rules/active_rule
must be updated only when DB session is committed, otherwise
the DB session of ActiveRuleIndexer is locked by the DB
session of OrganizationCreationImpl.
Simon Brandhof [Tue, 21 Mar 2017 17:00:26 +0000 (18:00 +0100)]
Remove unused "statuses" field in response of api/rules/app
This field is not used by web app
Simon Brandhof [Tue, 21 Mar 2017 16:58:25 +0000 (17:58 +0100)]
SONAR-8865 support new param "organization" in api/rules/app
Daniel Schwarz [Wed, 22 Mar 2017 10:41:57 +0000 (11:41 +0100)]
SONAR-8857 temporarily ignore IssueAssignTest, until it is org ready
Daniel Schwarz [Wed, 22 Mar 2017 10:41:13 +0000 (11:41 +0100)]
SONAR-8857 add /restore and /activate_rule to sonar-ws, refactor tests
Simon Brandhof [Tue, 21 Mar 2017 20:26:43 +0000 (21:26 +0100)]
Drop unused method QualityProfileMapper#selectByProjectIdAndLanguage()
Sébastien Lesaint [Tue, 21 Mar 2017 12:24:48 +0000 (13:24 +0100)]
SONAR-8888 use DefinedQProfileRepository in QProfileResetImpl
Sébastien Lesaint [Fri, 17 Mar 2017 09:50:03 +0000 (10:50 +0100)]
SONAR-8888 create default quality profiles when creating organization
Sébastien Lesaint [Thu, 16 Mar 2017 17:35:05 +0000 (18:35 +0100)]
SONAR-8888 move commit out of DefinedQProfileCreation#commit
Sébastien Lesaint [Thu, 16 Mar 2017 15:43:03 +0000 (16:43 +0100)]
SONAR-8888 add DefinedQProfileCreation
Sébastien Lesaint [Thu, 16 Mar 2017 09:55:37 +0000 (10:55 +0100)]
SONAR-8888 load DefinedQProfiles even when no startup leader
Sébastien Lesaint [Thu, 16 Mar 2017 09:28:37 +0000 (10:28 +0100)]
SONAR-8888 add DefinedQProfileRepository
Sébastien Lesaint [Wed, 15 Mar 2017 14:38:44 +0000 (15:38 +0100)]
SONAR-8931 fix log level
Daniel Schwarz [Fri, 17 Mar 2017 16:30:35 +0000 (17:30 +0100)]
SONAR-8857 fix quality flaws
* deprecate quality profile dao methods without org parameter
* remove unused fields in RenameAction
* change access to wsSupport to static
* source format
* reduce complexity of method
* use constants instead of literals
* remove redundantly overridden method
* remove method QProfileFactory.find
* fix QualityProfileDao.sqlQueryString
Daniel Schwarz [Fri, 17 Mar 2017 13:57:56 +0000 (14:57 +0100)]
SONAR-8857 support organizations in api/qualityprofiles/change_parent
Daniel Schwarz [Fri, 17 Mar 2017 11:21:54 +0000 (12:21 +0100)]
SONAR-8857 use random names in change_parent wsAction test
Daniel Schwarz [Fri, 17 Mar 2017 11:18:17 +0000 (12:18 +0100)]
SONAR-8857 refactored change_parent medium test to WsActionTester test
Daniel Schwarz [Thu, 16 Mar 2017 15:33:32 +0000 (16:33 +0100)]
SONAR-8857 make ws/qualityprofiles/inheritance organization aware
Daniel Schwarz [Thu, 16 Mar 2017 15:33:32 +0000 (16:33 +0100)]
SONAR-8857 make ws/qualityprofiles/inheritance organization aware
Daniel Schwarz [Thu, 16 Mar 2017 11:55:27 +0000 (12:55 +0100)]
SONAR-8857 move code from QProfileLoader to callers
Daniel Schwarz [Thu, 16 Mar 2017 11:20:03 +0000 (12:20 +0100)]
SONAR-8857 refactored inheritance action medium test to a regular test
Daniel Schwarz [Mon, 20 Mar 2017 13:46:32 +0000 (14:46 +0100)]
SONAR-8857 make ws api/qualityprofiles/changelog organization aware
Simon Brandhof [Wed, 15 Mar 2017 15:27:01 +0000 (16:27 +0100)]
SONAR-8857 add param "organization" to api/qualityprofiles/add_project/remove_project
Simon Brandhof [Thu, 16 Mar 2017 15:40:11 +0000 (16:40 +0100)]
SONAR-8857 support organization in api/qualityprofiles/copy
- verify permission on the related organization
- create the target profile (if needed) on the same organization
- no need to add the WS parameter "organization" because
"fromKey" is self-sufficient to identify the profile.
Simon Brandhof [Thu, 16 Mar 2017 15:34:03 +0000 (16:34 +0100)]
SONAR-8857 remove test of api/qualityprofiles/copy from QProfilesWsTest
Simon Brandhof [Thu, 16 Mar 2017 15:17:33 +0000 (16:17 +0100)]
SONAR-8857 clean-up backup/restore
Do not load target profile twice when copying a profile
Daniel Schwarz [Thu, 16 Mar 2017 15:16:27 +0000 (16:16 +0100)]
SONAR-8857 move code from SearchDataLoader to SearchAction
Sébastien Lesaint [Wed, 15 Mar 2017 09:37:23 +0000 (10:37 +0100)]
SONAR-6315 use standard UUID in examples for QP keys
Sébastien Lesaint [Tue, 14 Mar 2017 14:42:05 +0000 (15:42 +0100)]
fix and simplify pagination CeActivityDao#selectByQuery
Sébastien Lesaint [Tue, 14 Mar 2017 14:02:46 +0000 (15:02 +0100)]
fix pagination in OrganizationDao#selectByQuery
Sébastien Lesaint [Tue, 14 Mar 2017 13:46:03 +0000 (14:46 +0100)]
SONAR-8931 simpler paging in selectOrganizationsWithoutLoadedTemplate
Sébastien Lesaint [Tue, 14 Mar 2017 10:41:44 +0000 (11:41 +0100)]
move profile with-db-drivers to server to allow testing in any db module
Sébastien Lesaint [Mon, 13 Mar 2017 17:05:53 +0000 (18:05 +0100)]
SONAR-6315 cache rules and query active rules per profile
rather than 1 by 1
Sébastien Lesaint [Mon, 13 Mar 2017 14:54:30 +0000 (15:54 +0100)]
SONAR-6315 remote RuleActivator#activate override used only in tests
Sébastien Lesaint [Mon, 13 Mar 2017 13:44:22 +0000 (14:44 +0100)]
SONAR-8931 support all organizations in RegisterQualityProfiles
Sébastien Lesaint [Mon, 13 Mar 2017 13:43:50 +0000 (14:43 +0100)]
SONAR-8931 add OrganizationDao#.selectOrganizationsWithoutLoadedTemplate
Sébastien Lesaint [Fri, 10 Mar 2017 15:40:25 +0000 (16:40 +0100)]
SONAR-8931 extend size of LOADED_TEMPLATES.TEMPLATE_TYPE
Sébastien Lesaint [Fri, 10 Mar 2017 14:24:00 +0000 (15:24 +0100)]
SONAR-6315 use System2 for date in QProfileFactory
and add some of the many UTs on QProfileFactory
Sébastien Lesaint [Wed, 8 Mar 2017 17:02:03 +0000 (18:02 +0100)]
SONAR-6315 remove SQL update to set default QP for language
Sébastien Lesaint [Tue, 7 Mar 2017 17:03:50 +0000 (18:03 +0100)]
SONAR-6315 do all validations before creating any QP at startup
Sébastien Lesaint [Tue, 7 Mar 2017 16:09:47 +0000 (17:09 +0100)]
SONAR-6315 fix missing locale when lowercasing QP name and language
Stas Vilchik [Fri, 10 Mar 2017 13:29:42 +0000 (14:29 +0100)]
SONAR-6315 do not rely on quality profile keys in ITs
required for IT to work now that quality profile key is not based on the QP's name anymore
Sébastien Lesaint [Tue, 7 Mar 2017 15:52:07 +0000 (16:52 +0100)]
SONAR-6315 use standard UUID generation rather than kee based on name
Sébastien Lesaint [Tue, 7 Mar 2017 15:12:34 +0000 (16:12 +0100)]
SONAR-6315 do not check twice for existing QP
Sébastien Lesaint [Tue, 7 Mar 2017 14:56:22 +0000 (15:56 +0100)]
SONAR-6315 cache list of children of quality profiles
to avoid doing the same SQL requests for each activated rule
Sébastien Lesaint [Mon, 6 Mar 2017 15:26:08 +0000 (16:26 +0100)]
SONAR-6315 remove duplicate calls to DB retrieving QualityProfile
Daniel Schwarz [Thu, 16 Mar 2017 10:11:22 +0000 (11:11 +0100)]
SONAR-8857 fail for ws/api/qualityprofiles/compare across orgs
Simon Brandhof [Wed, 15 Mar 2017 11:13:57 +0000 (12:13 +0100)]
SONAR-8857 add organization param to api/qualityprofiles/export
Simon Brandhof [Wed, 15 Mar 2017 10:58:12 +0000 (11:58 +0100)]
SONAR-8857 add organization parameter to api/qualityprofiles/restore_built_in
Simon Brandhof [Wed, 15 Mar 2017 09:31:08 +0000 (10:31 +0100)]
SONAR-8857 add organization to response of api/qualityprofiles/restore
Simon Brandhof [Tue, 14 Mar 2017 14:38:23 +0000 (15:38 +0100)]
SONAR-8857 add parameter "organization" to api/qualityprofiles/restore"
If unset, then the default organization is used.
Simon Brandhof [Mon, 13 Mar 2017 20:18:20 +0000 (21:18 +0100)]
SONAR-8857 clean-up opening of DbSession
Simon Brandhof [Mon, 13 Mar 2017 16:57:41 +0000 (17:57 +0100)]
SONAR-8857 clean-up RestoreAction
Simon Brandhof [Mon, 13 Mar 2017 15:50:12 +0000 (16:50 +0100)]
SONAR-8857 remove dead code in QProfileService
Simon Brandhof [Mon, 13 Mar 2017 15:47:19 +0000 (16:47 +0100)]
SONAR-8857 support organizations in api/qualityprofiles/backup
Daniel Schwarz [Wed, 15 Mar 2017 14:12:33 +0000 (15:12 +0100)]
SONAR-8857 each organization can have a default qprofile for each lang
Daniel Schwarz [Wed, 15 Mar 2017 12:14:23 +0000 (13:14 +0100)]
SONAR-8857 make ws/qualityprofiles/set_default organization aware
Daniel Schwarz [Wed, 15 Mar 2017 10:40:04 +0000 (11:40 +0100)]
SONAR-8857 make ws/api/qualityprofiles/search support organizations
Daniel Schwarz [Tue, 14 Mar 2017 17:12:25 +0000 (18:12 +0100)]
SONAR-8857 make ws/api/qualityprofiles/rename organization aware
Daniel Schwarz [Tue, 14 Mar 2017 14:57:02 +0000 (15:57 +0100)]
SONAR-8857 make ws/qualityprofiles/delete organization specific
Daniel Schwarz [Mon, 13 Mar 2017 16:08:02 +0000 (17:08 +0100)]
SONAR-8857 better error messages for quality profile reference params
Simon Brandhof [Mon, 13 Mar 2017 14:34:56 +0000 (15:34 +0100)]
SONAR-8857 support organizations in QProfileReference
+ new method QProfileWsSupport#getProfile(DbSession,QProfileRef)
Daniel Schwarz [Mon, 13 Mar 2017 15:31:57 +0000 (16:31 +0100)]
SONAR-8857 org aware permission check for quality profile creation
Daniel Schwarz [Fri, 10 Mar 2017 15:36:12 +0000 (16:36 +0100)]
SONAR-8857 allow same names for qprofiles in different organizations
Daniel Schwarz [Mon, 6 Mar 2017 15:53:37 +0000 (16:53 +0100)]
SONAR-8857 deprecate to use org UUID in tests, provide org DTO instead
Daniel Schwarz [Mon, 6 Mar 2017 14:34:45 +0000 (15:34 +0100)]
SONAR-8857 use organization DTO instead of UUID for type-safety
Daniel Schwarz [Fri, 3 Mar 2017 14:34:43 +0000 (15:34 +0100)]
SONAR-8857 allow qprofiles with same lang and name in different orgs
Daniel Schwarz [Thu, 2 Mar 2017 11:21:09 +0000 (12:21 +0100)]
SONAR-8857 create quality profiles for specific organizations
Daniel Schwarz [Thu, 2 Mar 2017 10:00:23 +0000 (11:00 +0100)]
SONAR-8857 add org parameter to ws/api/qualityprofiles/create api docs
Stas Vilchik [Thu, 23 Mar 2017 16:21:20 +0000 (17:21 +0100)]
MMF-721 Visualizations on the Projects page (#1826)
Julien Lancelot [Thu, 9 Mar 2017 10:41:35 +0000 (11:41 +0100)]
Move test helper class to test package
Julien Lancelot [Tue, 21 Mar 2017 13:45:43 +0000 (14:45 +0100)]
SONAR-8962 Return sub views in api/measures/search
Julien Lancelot [Tue, 21 Mar 2017 11:02:37 +0000 (12:02 +0100)]
SONAR-8962 Remove useless selectByQuery using ResultHandler
Julien Lancelot [Wed, 22 Mar 2017 15:56:42 +0000 (16:56 +0100)]
SONAR-8962 Add search in MeasuresService
Stas Vilchik [Thu, 23 Mar 2017 15:29:34 +0000 (16:29 +0100)]
fix little ui glitch on projects page
Şerban Ghiţă [Thu, 23 Mar 2017 12:35:20 +0000 (14:35 +0200)]
Typos fix in the file warning msgs.
Julien Lancelot [Tue, 21 Mar 2017 14:56:58 +0000 (15:56 +0100)]
SONAR-8984 Return extensions even when no analysis
Grégoire Aubert [Wed, 22 Mar 2017 12:40:13 +0000 (13:40 +0100)]
SONAR-8844 Add tags editor on the project homepage (#1821)
Grégoire Aubert [Wed, 22 Mar 2017 09:28:45 +0000 (10:28 +0100)]
Fix LeakPeriodLegend unit test
Daniel Schwarz [Tue, 21 Mar 2017 14:49:58 +0000 (15:49 +0100)]
Deprecate WsTester, advise to use WsActionTester instead
Stas Vilchik [Tue, 21 Mar 2017 13:17:08 +0000 (14:17 +0100)]
adjust formatting
Eric Hartmann [Tue, 21 Mar 2017 12:50:43 +0000 (13:50 +0100)]
SONAR-8935 Add a log when joining a cluster
Julien Lancelot [Tue, 21 Mar 2017 08:03:48 +0000 (09:03 +0100)]
SONAR-8968 Check page size in api/users/groups
Julien Lancelot [Mon, 20 Mar 2017 12:58:09 +0000 (13:58 +0100)]
SONAR-8968 Add ITs
Julien Lancelot [Fri, 17 Mar 2017 16:14:45 +0000 (17:14 +0100)]
SONAR-8968 Add organization parameter in api/users/groups
Julien Lancelot [Fri, 17 Mar 2017 15:29:40 +0000 (16:29 +0100)]
SONAR-8968 Remove useless login from GroupMembershipQuery
Julien Lancelot [Fri, 17 Mar 2017 15:11:00 +0000 (16:11 +0100)]
SONAR-8968 Remove DbUnit usage in GroupMembershipDaoTest