]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoSONAR-8681 delete perm,groups&components in api/organizations/delete 1546/head
Sébastien Lesaint [Thu, 19 Jan 2017 10:31:16 +0000 (11:31 +0100)]
SONAR-8681 delete perm,groups&components in api/organizations/delete

7 years agoSONAR-8238 when updating a project, clear ALL components from index
Daniel Schwarz [Mon, 23 Jan 2017 15:08:49 +0000 (16:08 +0100)]
SONAR-8238 when updating a project, clear ALL components from index

7 years agoSONAR-8682 fix error when filtering on name 1548/head
Sébastien Lesaint [Mon, 23 Jan 2017 08:46:54 +0000 (09:46 +0100)]
SONAR-8682 fix error when filtering on name

and a given group name exists in multiple organizations

7 years agoSONAR-8660 add organization to response of api/components/suggestions
Sébastien Lesaint [Wed, 18 Jan 2017 10:06:06 +0000 (11:06 +0100)]
SONAR-8660 add organization to response of api/components/suggestions

7 years agoSONAR-7289 Drop unused api/gwp_resources Ruby web service
Simon Brandhof [Wed, 18 Jan 2017 19:58:21 +0000 (20:58 +0100)]
SONAR-7289 Drop unused api/gwp_resources Ruby web service

It was used only by the MotionChart plugin, which is
not compatible for a while

7 years agoSONAR-8554 Drop unused old Ruby Page extensions
Simon Brandhof [Wed, 18 Jan 2017 19:53:46 +0000 (20:53 +0100)]
SONAR-8554 Drop unused old Ruby Page extensions

7 years agoDrop unused Ruby helpers
Simon Brandhof [Wed, 18 Jan 2017 19:42:01 +0000 (20:42 +0100)]
Drop unused Ruby helpers

7 years agoDrop author.rb
Simon Brandhof [Wed, 18 Jan 2017 19:41:29 +0000 (20:41 +0100)]
Drop author.rb

7 years agoRemove dead code in JRubyFacade
Simon Brandhof [Wed, 18 Jan 2017 19:40:48 +0000 (20:40 +0100)]
Remove dead code in JRubyFacade

7 years agoDrop unused (and failing) tests_controller.rb
Simon Brandhof [Wed, 18 Jan 2017 19:21:47 +0000 (20:21 +0100)]
Drop unused (and failing) tests_controller.rb

7 years agoRemove unused Platform#getServer()
Simon Brandhof [Wed, 18 Jan 2017 19:18:17 +0000 (20:18 +0100)]
Remove unused Platform#getServer()

7 years agoClean-up internal.rb
Simon Brandhof [Wed, 18 Jan 2017 19:12:32 +0000 (20:12 +0100)]
Clean-up internal.rb

7 years agoRemove Internal.durations in Ruby
Simon Brandhof [Wed, 18 Jan 2017 19:08:23 +0000 (20:08 +0100)]
Remove Internal.durations in Ruby

7 years agoRemove unused trends_chart.rb
Simon Brandhof [Wed, 18 Jan 2017 18:57:22 +0000 (19:57 +0100)]
Remove unused trends_chart.rb

7 years agoClean-up DefaultUserService
Simon Brandhof [Wed, 18 Jan 2017 18:57:07 +0000 (19:57 +0100)]
Clean-up DefaultUserService

because it's not used anymore from Ruby

7 years agoRemove unused RubyTextService
Simon Brandhof [Wed, 18 Jan 2017 17:32:56 +0000 (18:32 +0100)]
Remove unused RubyTextService

7 years agoRemove dead code related to Elasticsearch utilities
Simon Brandhof [Wed, 18 Jan 2017 17:12:10 +0000 (18:12 +0100)]
Remove dead code related to Elasticsearch utilities

7 years agoRemove unused RubyRuleService
Simon Brandhof [Wed, 18 Jan 2017 17:02:33 +0000 (18:02 +0100)]
Remove unused RubyRuleService

and the associated deprecated ES utilities

7 years agoRemove dead code related to Elasticsearch utilities
Simon Brandhof [Wed, 18 Jan 2017 16:49:04 +0000 (17:49 +0100)]
Remove dead code related to Elasticsearch utilities

7 years agoRemove dead code related to ComponentDao
Simon Brandhof [Wed, 18 Jan 2017 16:48:35 +0000 (17:48 +0100)]
Remove dead code related to ComponentDao

7 years agoRemove dead code related to ResourceDao
Simon Brandhof [Wed, 18 Jan 2017 15:34:27 +0000 (16:34 +0100)]
Remove dead code related to ResourceDao

7 years agoDon't wait for CE queue to complete
Julien HENRY [Wed, 18 Jan 2017 15:46:27 +0000 (16:46 +0100)]
Don't wait for CE queue to complete

since this test is about preview mode (so no publish).

7 years agoSONAR-8574 Delete api/resources/index WS 1536/head
Julien Lancelot [Wed, 18 Jan 2017 11:37:08 +0000 (12:37 +0100)]
SONAR-8574 Delete api/resources/index WS

7 years agoSONAR-8574 Replace usage of api/resources/index by api/measures/component in ITs
Julien Lancelot [Tue, 17 Jan 2017 11:19:23 +0000 (12:19 +0100)]
SONAR-8574 Replace usage of api/resources/index by api/measures/component in ITs

7 years agoSONAR-8467 Add ProjectAnalysisService
Julien Lancelot [Wed, 18 Jan 2017 08:23:43 +0000 (09:23 +0100)]
SONAR-8467 Add ProjectAnalysisService

7 years agoSONAR-8238 index authorization of views in components index 1537/head
Sébastien Lesaint [Tue, 17 Jan 2017 17:25:52 +0000 (18:25 +0100)]
SONAR-8238 index authorization of views in components index

7 years agoSONAR-8615 add organization to response of api/issues/search 1533/head
Sébastien Lesaint [Mon, 16 Jan 2017 14:58:54 +0000 (15:58 +0100)]
SONAR-8615 add organization to response of api/issues/search

7 years agoSONAR-8673 add organization to response of api/ce/component
Sébastien Lesaint [Mon, 16 Jan 2017 13:47:29 +0000 (14:47 +0100)]
SONAR-8673 add organization to response of api/ce/component

7 years agoSONAR-8674 add organization to response of api/ce/task
Sébastien Lesaint [Mon, 16 Jan 2017 13:38:59 +0000 (14:38 +0100)]
SONAR-8674 add organization to response of api/ce/task

7 years agoSONAR-8614 add organization to response of api/ce/activity
Sébastien Lesaint [Mon, 16 Jan 2017 13:38:41 +0000 (14:38 +0100)]
SONAR-8614 add organization to response of api/ce/activity

7 years agoSONAR-8595 fix backward incompatible change in proto of api/components
Sébastien Lesaint [Mon, 16 Jan 2017 15:19:24 +0000 (16:19 +0100)]
SONAR-8595 fix backward incompatible change in proto of api/components

7 years agoSONAR-8614 fix backward incompatible change in proto of api/ce
Sébastien Lesaint [Mon, 16 Jan 2017 15:18:47 +0000 (16:18 +0100)]
SONAR-8614 fix backward incompatible change in proto of api/ce

7 years agochange name of project measures index type (to singular) 1535/head
Daniel Schwarz [Tue, 17 Jan 2017 08:48:02 +0000 (09:48 +0100)]
change name of project measures index type (to singular)

The name of the index is now "projectmeasures" (plural), the name of the type is "projectmeasure" (singular).

7 years agoAutomatic merge from branch-xx
Tom [Tue, 17 Jan 2017 09:30:26 +0000 (10:30 +0100)]
Automatic merge from branch-xx

* origin/branch-6.2:
  Prepare for next development iteration
  Release 6.2.1

7 years agoPrepare for next development iteration branch-6.2
Tom [Tue, 17 Jan 2017 09:25:51 +0000 (10:25 +0100)]
Prepare for next development iteration

7 years agofix issue assignment
Stas Vilchik [Tue, 17 Jan 2017 08:16:18 +0000 (09:16 +0100)]
fix issue assignment

7 years agoSONAR-7674 display activity page only for projects
Stas Vilchik [Mon, 16 Jan 2017 21:12:55 +0000 (22:12 +0100)]
SONAR-7674 display activity page only for projects

7 years agoSONAR-8652 Pass value of sonar.organization in the scanner report
Julien HENRY [Fri, 13 Jan 2017 15:12:38 +0000 (16:12 +0100)]
SONAR-8652 Pass value of sonar.organization in the scanner report

7 years agoSONAR-7282 move ReportComputationSteps behind PurgeDatastoresStep 1523/head
Daniel Schwarz [Mon, 16 Jan 2017 10:42:44 +0000 (11:42 +0100)]
SONAR-7282 move ReportComputationSteps behind PurgeDatastoresStep

7 years agoSONAR-7282 add authorization to the ComponentIndex
Daniel Schwarz [Fri, 13 Jan 2017 16:27:12 +0000 (17:27 +0100)]
SONAR-7282 add authorization to the ComponentIndex

7 years agoSONAR-7282 remove project from ComponentIndex, when it gets deleted
Daniel Schwarz [Thu, 12 Jan 2017 18:00:40 +0000 (19:00 +0100)]
SONAR-7282 remove project from ComponentIndex, when it gets deleted

7 years agoSONAR-7282 improve relevancy of results
Daniel Schwarz [Thu, 12 Jan 2017 11:38:19 +0000 (12:38 +0100)]
SONAR-7282 improve relevancy of results

Changes regarding index definition, code style, tests.

7 years agoSONAR-7282 make ComponentIndexer clean up contents before indexing
Daniel Schwarz [Wed, 11 Jan 2017 18:18:31 +0000 (19:18 +0100)]
SONAR-7282 make ComponentIndexer clean up contents before indexing

When a project and it's sub-components get indexed, remove any existing documents for that project right before.

7 years agoSONAR-7282 send only one indexing request to elasticsearch per project
Daniel Schwarz [Wed, 11 Jan 2017 15:11:13 +0000 (16:11 +0100)]
SONAR-7282 send only one indexing request to elasticsearch per project

Indexing everything will index every project. Indexing a project will cause all components of that project to be sent to elasticsearch in one bulk request.

7 years agoSONAR-7282 implement global search with elasticsearch
Daniel Schwarz [Wed, 11 Jan 2017 13:10:46 +0000 (14:10 +0100)]
SONAR-7282 implement global search with elasticsearch

Change api/component/suggestions.
The index is not yet cleaned up if a project's content changes or a project is deleted.
Delete previous ruby implementation of the webservice.

7 years agoRelease 6.2.1 6.2.1
Tom [Mon, 16 Jan 2017 16:00:20 +0000 (17:00 +0100)]
Release 6.2.1

7 years agoSONAR-7282 rename .component.es to .measure.index
Daniel Schwarz [Wed, 11 Jan 2017 12:25:10 +0000 (13:25 +0100)]
SONAR-7282 rename .component.es to .measure.index

* All other elastic search indexes reside in
  "index" subpackages.
* We want to introduce a new component index
  and need the .component.index-package name
  for that one.

7 years agoSONAR-7282 drop method "JRubyFacade.indexComponent"; it was unused
Daniel Schwarz [Fri, 13 Jan 2017 09:44:59 +0000 (10:44 +0100)]
SONAR-7282 drop method "JRubyFacade.indexComponent"; it was unused

The method had been used by the developer cockpit. It would have required some changes concerning Indexation, but we did not want to do that, as dev cockpit is unmaintained.

7 years agomake travis build fail when web job fails
Stas Vilchik [Mon, 16 Jan 2017 14:36:39 +0000 (15:36 +0100)]
make travis build fail when web job fails

7 years agoSONAR-8613 add organizations param to api/organizations/search 1522/head
Sébastien Lesaint [Mon, 16 Jan 2017 08:18:08 +0000 (09:18 +0100)]
SONAR-8613 add organizations param to api/organizations/search

7 years agoSONAR-8613 add filter on keys to OrganizationDao.selectByQuery
Sébastien Lesaint [Fri, 13 Jan 2017 15:35:16 +0000 (16:35 +0100)]
SONAR-8613 add filter on keys to OrganizationDao.selectByQuery

7 years agoSONAR-8595 remove ComponentDto.organizationKey
Sébastien Lesaint [Fri, 13 Jan 2017 10:51:25 +0000 (11:51 +0100)]
SONAR-8595 remove ComponentDto.organizationKey

remove join on table ORGANIZATIONS in ComponentMapper.xml which was used to populate this field

7 years agoSONAR-8617 don't use ComponentDto.getOrganizationKey
Sébastien Lesaint [Fri, 13 Jan 2017 10:49:11 +0000 (11:49 +0100)]
SONAR-8617 don't use ComponentDto.getOrganizationKey

7 years agoSONAR-8595 don't use ComponentDto.getOrganizationKey
Sébastien Lesaint [Fri, 13 Jan 2017 10:47:24 +0000 (11:47 +0100)]
SONAR-8595 don't use ComponentDto.getOrganizationKey

7 years agoSONAR-8619 don't use ComponentDto.getOrganizationKey
Sébastien Lesaint [Fri, 13 Jan 2017 10:32:57 +0000 (11:32 +0100)]
SONAR-8619 don't use ComponentDto.getOrganizationKey

7 years agoSONAR-8618 don't use ComponentDto.getOrganizationKey
Sébastien Lesaint [Fri, 13 Jan 2017 10:18:48 +0000 (11:18 +0100)]
SONAR-8618 don't use ComponentDto.getOrganizationKey

7 years agoSONAR-8613 don't use ComponentDto.getOrganizationKey
Sébastien Lesaint [Fri, 13 Jan 2017 10:11:53 +0000 (11:11 +0100)]
SONAR-8613 don't use ComponentDto.getOrganizationKey

7 years agoSONAR-8613 add OrganizationDao.selectByUuids
Sébastien Lesaint [Fri, 13 Jan 2017 09:34:06 +0000 (10:34 +0100)]
SONAR-8613 add OrganizationDao.selectByUuids

7 years agoSONAR-8617 add organization to api/navigation/component response
Sébastien Lesaint [Thu, 12 Jan 2017 15:35:36 +0000 (16:35 +0100)]
SONAR-8617 add organization to api/navigation/component response

7 years agoSONAR-8613 add organization to response of api/components/search
Sébastien Lesaint [Thu, 12 Jan 2017 10:43:50 +0000 (11:43 +0100)]
SONAR-8613 add organization to response of api/components/search

7 years agoSONAR-8618 SONAR-8619 add organization to WS response
Sébastien Lesaint [Thu, 12 Jan 2017 10:37:24 +0000 (11:37 +0100)]
SONAR-8618 SONAR-8619 add organization to WS response

since api/components/show and api/components/tree rely on the same piece of code to add the organization key to the WS response, they are modified in the same commit

7 years agoSONAR-8595 make ComponentMapper.selectByQuery return org key
Sébastien Lesaint [Thu, 12 Jan 2017 10:36:06 +0000 (11:36 +0100)]
SONAR-8595 make ComponentMapper.selectByQuery return org key

7 years agoSONAR-8595 make ComponentMapper.selectDescendants return org key
Sébastien Lesaint [Thu, 12 Jan 2017 09:51:45 +0000 (10:51 +0100)]
SONAR-8595 make ComponentMapper.selectDescendants return org key

7 years agoSONAR-8595 make ComponentMapper.selectByUuid retrieve organization's key
Sébastien Lesaint [Thu, 12 Jan 2017 09:44:04 +0000 (10:44 +0100)]
SONAR-8595 make ComponentMapper.selectByUuid retrieve organization's key

7 years agoSONAR-8595 make ComponentMapper.selectByKey retrieve organization's key
Sébastien Lesaint [Wed, 11 Jan 2017 17:48:03 +0000 (18:48 +0100)]
SONAR-8595 make ComponentMapper.selectByKey retrieve organization's key

by joining on table ORGANIZATIONS

7 years agoSONAR-8595 enforce organization of component is specified in UTs
Sébastien Lesaint [Wed, 11 Jan 2017 17:48:03 +0000 (18:48 +0100)]
SONAR-8595 enforce organization of component is specified in UTs

for UTs using ComponentTesting and/or ComponentDbTester

7 years agoSONAR-8595 add organization to api/components/search_projects response
Sébastien Lesaint [Wed, 11 Jan 2017 10:40:20 +0000 (11:40 +0100)]
SONAR-8595 add organization to api/components/search_projects response

7 years agoSONAR-8595 ComponentDao.selectByUuids returns organization's key
Sébastien Lesaint [Wed, 11 Jan 2017 08:30:11 +0000 (09:30 +0100)]
SONAR-8595 ComponentDao.selectByUuids returns organization's key

by joining on ORGANIZATIONS table
add organizationKey (read-only) to ComponentDto

7 years agoSONAR-8595 ComponentTesting support for root components' organization
Sébastien Lesaint [Wed, 11 Jan 2017 07:57:44 +0000 (08:57 +0100)]
SONAR-8595 ComponentTesting support for root components' organization

7 years agoSONAR-8594 enforce report has same organization key as component 1507/head
Sébastien Lesaint [Mon, 9 Jan 2017 14:17:08 +0000 (15:17 +0100)]
SONAR-8594 enforce report has same organization key as component

7 years agoSONAR-8593 add organization key to analysis report
Sébastien Lesaint [Mon, 9 Jan 2017 12:57:09 +0000 (13:57 +0100)]
SONAR-8593 add organization key to analysis report

7 years agoSONAR-8474 securing SQL request on Component tree regarding organization
Sébastien Lesaint [Mon, 9 Jan 2017 10:06:48 +0000 (11:06 +0100)]
SONAR-8474 securing SQL request on Component tree regarding organization

altered SQL requests on Component tree to not leak out of organization of root

7 years agoSONAR-8429 apply permission template of specified organization
Sébastien Lesaint [Fri, 6 Jan 2017 14:20:00 +0000 (15:20 +0100)]
SONAR-8429 apply permission template of specified organization

rather than the one of the default organization no matter what
PermissionTemplateService does not use the default organization under the hood anymore

7 years agoSONAR-8429 add organization parameter to api/ce/submit
Sébastien Lesaint [Fri, 6 Jan 2017 09:05:18 +0000 (10:05 +0100)]
SONAR-8429 add organization parameter to api/ce/submit

remove hardcode to default organization from ComponentService

7 years agoSONAR-8474 set organization uuid of components to uuid of task 1499/head
Sébastien Lesaint [Thu, 5 Jan 2017 13:42:06 +0000 (14:42 +0100)]
SONAR-8474 set organization uuid of components to uuid of task

for the time being, the organization uuid of a task is either the one of the component the task is associated to, or the default organization

7 years agoSONAR-8474 add index on PROJECTS.ORGANIZATION_UUID
Sébastien Lesaint [Thu, 5 Jan 2017 10:09:32 +0000 (11:09 +0100)]
SONAR-8474 add index on PROJECTS.ORGANIZATION_UUID

7 years agoSONAR-8474 add non nullable column PROJECTS.ORGANIZATION_UUID
Sébastien Lesaint [Wed, 4 Jan 2017 10:14:48 +0000 (11:14 +0100)]
SONAR-8474 add non nullable column PROJECTS.ORGANIZATION_UUID

hardcode CE and ComponentService to persist components into default organization
hardcode WS api/components/bulk_update_key to work on default organization
hardcode WS api/projects/create to create project into default organization
hardcode WS api/ce/submit to create project into default organization

fix UTs to set this new non nullable column

7 years agoSONAR-8581 fix example of api/navigation/component
Sébastien Lesaint [Mon, 16 Jan 2017 08:43:31 +0000 (09:43 +0100)]
SONAR-8581 fix example of api/navigation/component

7 years agoSONAR-8304 fix tests
Stas Vilchik [Mon, 16 Jan 2017 09:38:08 +0000 (10:38 +0100)]
SONAR-8304 fix tests

7 years agoSONAR-8581 fix tests
Stas Vilchik [Mon, 16 Jan 2017 09:37:07 +0000 (10:37 +0100)]
SONAR-8581 fix tests

7 years agoSONAR-8579 Pagination fails on project code page
Stas Vilchik [Mon, 16 Jan 2017 09:13:42 +0000 (10:13 +0100)]
SONAR-8579 Pagination fails on project code page

7 years agoSONAR-8581 Add IT to test PageDefinition API 1532/head
Teryk Bellahsene [Fri, 13 Jan 2017 16:19:00 +0000 (17:19 +0100)]
SONAR-8581 Add IT to test PageDefinition API

7 years agoSONAR-8582 Clean old Page API related classes
Teryk Bellahsene [Thu, 12 Jan 2017 09:02:25 +0000 (10:02 +0100)]
SONAR-8582 Clean old Page API related classes

7 years agoSONAR-8582 Deprecate old Page API and related classes
Teryk Bellahsene [Thu, 12 Jan 2017 07:35:07 +0000 (08:35 +0100)]
SONAR-8582 Deprecate old Page API and related classes

7 years agoSONAR-8581 WS api/navigation/settings use the new PagesDefinition API
Teryk Bellahsene [Tue, 10 Jan 2017 10:50:57 +0000 (11:50 +0100)]
SONAR-8581 WS api/navigation/settings use the new PagesDefinition API

7 years agoSONAR-8581 WS api/navigation/global use the new PagesDefinition API
Teryk Bellahsene [Tue, 10 Jan 2017 10:39:14 +0000 (11:39 +0100)]
SONAR-8581 WS api/navigation/global use the new PagesDefinition API

7 years agoSONAR-8581 WS api/navigation/component use the new PagesDefinition API
Teryk Bellahsene [Fri, 6 Jan 2017 16:57:51 +0000 (17:57 +0100)]
SONAR-8581 WS api/navigation/component use the new PagesDefinition API

7 years agoSONAR-8581 Create new PagesDefinition API to create a new page in a plugin
Teryk Bellahsene [Fri, 6 Jan 2017 16:06:01 +0000 (17:06 +0100)]
SONAR-8581 Create new PagesDefinition API to create a new page in a plugin

7 years agoSONAR-8304 Developer Connection link should be browser-friendly
Stas Vilchik [Fri, 13 Jan 2017 16:19:16 +0000 (17:19 +0100)]
SONAR-8304 Developer Connection link should be browser-friendly

7 years agoSONAR-8458 fix compatibility of locally-built plugins/SonarQube
Simon Brandhof [Fri, 13 Jan 2017 12:25:20 +0000 (13:25 +0100)]
SONAR-8458 fix compatibility of locally-built plugins/SonarQube

7 years agoSONAR-8575 Add deprecatedKey on component parameter
Julien Lancelot [Fri, 13 Jan 2017 09:52:01 +0000 (10:52 +0100)]
SONAR-8575 Add deprecatedKey on component parameter

Previously, the 'component' parameter was named 'componentKey'

7 years agoupdate orchestrator to released version 3.14.0.887
Sébastien Lesaint [Fri, 13 Jan 2017 09:15:22 +0000 (10:15 +0100)]
update orchestrator to released version 3.14.0.887

7 years agoBUILD: display the date every minute in travis builds
Tom [Wed, 11 Jan 2017 09:10:21 +0000 (10:10 +0100)]
BUILD: display the date every minute in travis builds

7 years agoSONAR-8607 Changing the type of an issue should require "Administer Issues" permission 1524/head
Julien Lancelot [Mon, 9 Jan 2017 13:31:25 +0000 (14:31 +0100)]
SONAR-8607 Changing the type of an issue should require "Administer Issues" permission

7 years agoSONAR-7300 Return global values when component does not exist 1525/head
Julien Lancelot [Thu, 12 Jan 2017 12:51:02 +0000 (13:51 +0100)]
SONAR-7300 Return global values when component does not exist

7 years agoSONAR-7300 Handle multi values in PUT|POST api/properties
Julien Lancelot [Wed, 11 Jan 2017 16:42:26 +0000 (17:42 +0100)]
SONAR-7300 Handle multi values in PUT|POST api/properties

7 years agoSONAR-8147 Search on Users page should require 2 characters
Stas Vilchik [Thu, 12 Jan 2017 12:46:24 +0000 (13:46 +0100)]
SONAR-8147 Search on Users page should require 2 characters

7 years agoSONAR-8203 Deleting a rule derived from a template does not change the url
Stas Vilchik [Thu, 12 Jan 2017 11:06:29 +0000 (12:06 +0100)]
SONAR-8203 Deleting a rule derived from a template does not change the url

7 years agoSONAR-8612 Strange mouse selection in rules
Stas Vilchik [Thu, 12 Jan 2017 10:45:23 +0000 (11:45 +0100)]
SONAR-8612 Strange mouse selection in rules

7 years agoFix quality flaws
Julien HENRY [Wed, 11 Jan 2017 09:58:21 +0000 (10:58 +0100)]
Fix quality flaws