]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
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

7 years agoSONAR-8573 Missing WS parameter encoding
Julien HENRY [Wed, 11 Jan 2017 09:55:48 +0000 (10:55 +0100)]
SONAR-8573 Missing WS parameter encoding

7 years agoRename BatchUtils -> ScannerUtils
Julien HENRY [Wed, 11 Jan 2017 09:55:27 +0000 (10:55 +0100)]
Rename BatchUtils -> ScannerUtils

7 years agoSONAR-8584 Remove internal WS batch/global
Julien HENRY [Wed, 11 Jan 2017 09:46:55 +0000 (10:46 +0100)]
SONAR-8584 Remove internal WS batch/global

7 years agoSONAR-8583 Use api/metrics/search to load metrics
Julien HENRY [Mon, 9 Jan 2017 21:18:14 +0000 (22:18 +0100)]
SONAR-8583 Use api/metrics/search to load metrics

7 years agoSONAR-8304 Developer Connection link should be browser-friendly
Stas Vilchik [Thu, 12 Jan 2017 10:14:56 +0000 (11:14 +0100)]
SONAR-8304 Developer Connection link should be browser-friendly

7 years agoSONAR-8624 Remove ability to search rules by partial text of tag
Simon Brandhof [Tue, 10 Jan 2017 20:29:06 +0000 (21:29 +0100)]
SONAR-8624 Remove ability to search rules by partial text of tag

7 years agoDrop useless ngram tokenizer on index projectmeasures
Simon Brandhof [Tue, 10 Jan 2017 19:55:34 +0000 (20:55 +0100)]
Drop useless ngram tokenizer on index projectmeasures

Projects can't be filtered by name in the WS, so there's
no need to maintain a ngram analyzer on the name field.

7 years agoauto focus the login input
Stas Vilchik [Wed, 11 Jan 2017 16:33:09 +0000 (17:33 +0100)]
auto focus the login input

7 years agoSONAR-8548 Workaround Edge bug when copying token
Stas Vilchik [Tue, 10 Jan 2017 09:22:33 +0000 (10:22 +0100)]
SONAR-8548 Workaround Edge bug when copying token

7 years agoSONAR-8518 "sonar.profile" makes the analysis fail in preview mode 1521/head
Duarte Meneses [Tue, 10 Jan 2017 14:00:03 +0000 (15:00 +0100)]
SONAR-8518 "sonar.profile" makes the analysis fail in preview mode

7 years agoincrease selenide timeout to 8000ms (#1519)
Stas Vilchik [Wed, 11 Jan 2017 10:43:18 +0000 (11:43 +0100)]
increase selenide timeout to 8000ms (#1519)

7 years agoDrop unused maven extension wagon-webdav
Simon Brandhof [Tue, 10 Jan 2017 21:07:41 +0000 (22:07 +0100)]
Drop unused maven extension wagon-webdav

Artifacts are now deployed by Artifactory maven plugin,
not through webdav.

7 years agoSONAR-8458 add build number when building on Travis
David Rautureau [Fri, 6 Jan 2017 10:49:13 +0000 (11:49 +0100)]
SONAR-8458 add build number when building on Travis

7 years agoSONAR-8458 store semantic version in sq-version.txt
David Rautureau [Fri, 6 Jan 2017 09:21:29 +0000 (10:21 +0100)]
SONAR-8458 store semantic version in sq-version.txt

Scanners load the file sq-version.txt to get the
version of SonarQube. Some scanners, for example Maven,
do not correctly support the new format on 4 fields.
For this reason a 3-digits format must be kept for
backward-compatibility. The complete version in the
new format is available in the new file
sonar-api-version.txt

7 years agoSONAR-8458 add SonarQube buildNumber to plugin API
Simon Brandhof [Thu, 5 Jan 2017 16:59:05 +0000 (17:59 +0100)]
SONAR-8458 add SonarQube buildNumber to plugin API

7 years agoSONAR-7300 Redirect PUT|POST|DELETE api/properties to api/settings 1514/head
Julien Lancelot [Tue, 10 Jan 2017 14:09:43 +0000 (15:09 +0100)]
SONAR-7300 Redirect PUT|POST|DELETE api/properties to api/settings

7 years agodo not rely on "name" returned by /api/components/suggestions
Stas Vilchik [Wed, 11 Jan 2017 09:08:41 +0000 (10:08 +0100)]
do not rely on "name" returned by /api/components/suggestions

7 years agoSONAR-8235 Correctly returns license hashes
Julien Lancelot [Tue, 10 Jan 2017 16:36:47 +0000 (17:36 +0100)]
SONAR-8235 Correctly returns license hashes

7 years agoSONAR-8235 Return sonar.core.id setting in api/settings/values
Julien Lancelot [Tue, 10 Jan 2017 08:49:11 +0000 (09:49 +0100)]
SONAR-8235 Return sonar.core.id setting in api/settings/values

7 years agoSONAR-8236 Complete desc of WS about permissions and fix SettingsTest IT
Julien Lancelot [Tue, 10 Jan 2017 08:18:44 +0000 (09:18 +0100)]
SONAR-8236 Complete desc of WS about permissions and fix SettingsTest IT

7 years agoSONAR-8236 Return secured settings when not authenticated but with scan permission
Julien Lancelot [Mon, 9 Jan 2017 15:20:32 +0000 (16:20 +0100)]
SONAR-8236 Return secured settings when not authenticated but with scan permission

7 years agoSONAR-8573 Use api/settings to load global settings
Julien HENRY [Thu, 5 Jan 2017 10:24:54 +0000 (11:24 +0100)]
SONAR-8573 Use api/settings to load global settings

7 years agoSONAR-8562 do not pass "actions" parameter to /api/issues/bulk_change
Stas Vilchik [Tue, 10 Jan 2017 15:59:03 +0000 (16:59 +0100)]
SONAR-8562 do not pass "actions" parameter to /api/issues/bulk_change

7 years agoremove copyright.txt file [ci skip]
tomverin [Tue, 10 Jan 2017 13:57:57 +0000 (14:57 +0100)]
remove copyright.txt file [ci skip]

7 years agoAdd NOTICE.txt file [ci skip]
tomverin [Tue, 10 Jan 2017 13:57:56 +0000 (14:57 +0100)]
Add NOTICE.txt file [ci skip]

7 years ago[script] fix logs.sh to not require bash 4
Sébastien Lesaint [Thu, 5 Jan 2017 09:35:15 +0000 (10:35 +0100)]
[script] fix logs.sh to not require bash 4

because mac bundles bash 3.2 by default rather than bash 4

7 years ago[script] avoid side effects in call_patches function
Sébastien Lesaint [Wed, 4 Jan 2017 16:29:55 +0000 (17:29 +0100)]
[script] avoid side effects in call_patches function

7 years agoSONAR-7300 Use last version of Orchestrator 1506/head
Julien Lancelot [Mon, 9 Jan 2017 11:21:26 +0000 (12:21 +0100)]
SONAR-7300 Use last version of Orchestrator

7 years agoSONAR-7300 Move api/properties WS to package property
Julien Lancelot [Mon, 9 Jan 2017 16:52:14 +0000 (17:52 +0100)]
SONAR-7300 Move api/properties WS to package property

7 years agoSONAR-7286 Remove api/favourites from rails routes
Julien Lancelot [Fri, 6 Jan 2017 13:31:01 +0000 (14:31 +0100)]
SONAR-7286 Remove api/favourites from rails routes

7 years agoDelete ignored and useless IT
Julien Lancelot [Fri, 6 Jan 2017 13:24:33 +0000 (14:24 +0100)]
Delete ignored and useless IT

7 years agoSONAR-7300 Fix ITs using removed POST/PUT api/properties WS
Julien Lancelot [Fri, 6 Jan 2017 12:57:00 +0000 (13:57 +0100)]
SONAR-7300 Fix ITs using removed POST/PUT api/properties WS

7 years agoSONAR-7300 Fail when WS request is PUT or DELETE
Julien Lancelot [Fri, 6 Jan 2017 09:14:12 +0000 (10:14 +0100)]
SONAR-7300 Fail when WS request is PUT or DELETE

7 years agoSONAR-7300 Remove rails code about api/properties
Julien Lancelot [Fri, 6 Jan 2017 08:43:31 +0000 (09:43 +0100)]
SONAR-7300 Remove rails code about api/properties

7 years agoSONAR-7300 Redirect api/properties to api/properties/index
Julien Lancelot [Fri, 6 Jan 2017 12:48:51 +0000 (13:48 +0100)]
SONAR-7300 Redirect api/properties to api/properties/index

7 years agoSONAR-7300 Deprecate and rewrite api/properties/index in Java
Julien Lancelot [Wed, 4 Jan 2017 15:18:14 +0000 (16:18 +0100)]
SONAR-7300 Deprecate and rewrite api/properties/index in Java

7 years agoSONAR-7300 Replace "setting.license" by "setting.license.secured" in IT plugin
Julien Lancelot [Thu, 5 Jan 2017 17:46:00 +0000 (18:46 +0100)]
SONAR-7300 Replace "setting.license" by "setting.license.secured" in IT plugin

7 years agoSONAR-7300 Update ITs on deprecated api/properties WS
Julien Lancelot [Thu, 5 Jan 2017 14:25:56 +0000 (15:25 +0100)]
SONAR-7300 Update ITs on deprecated api/properties WS

7 years agoSONAR-7300 Add IT on multi values and property set in SettingsTest
Julien Lancelot [Wed, 4 Jan 2017 12:46:51 +0000 (13:46 +0100)]
SONAR-7300 Add IT on multi values and property set in SettingsTest

7 years agoSONAR-7300 Improve readability of RoutesFilter
Julien Lancelot [Fri, 6 Jan 2017 12:49:40 +0000 (13:49 +0100)]
SONAR-7300 Improve readability of RoutesFilter

7 years agoSONAR-7297 Improve description of bulk_change WS 1511/head
Julien Lancelot [Mon, 9 Jan 2017 13:20:53 +0000 (14:20 +0100)]
SONAR-7297 Improve description of bulk_change WS

7 years agoSONAR-7297 Add response samples in all issues WS
Julien Lancelot [Mon, 9 Jan 2017 13:15:39 +0000 (14:15 +0100)]
SONAR-7297 Add response samples in all issues WS

7 years agoSONAR-7297 Rename file examples of issues WS
Julien Lancelot [Fri, 6 Jan 2017 15:15:04 +0000 (16:15 +0100)]
SONAR-7297 Rename file examples of issues WS

7 years agoadd missed l10n message
Stas Vilchik [Mon, 9 Jan 2017 15:04:19 +0000 (16:04 +0100)]
add missed l10n message

7 years agoavoid blinking on log out
Stas Vilchik [Mon, 9 Jan 2017 15:03:56 +0000 (16:03 +0100)]
avoid blinking on log out

7 years agoSONAR-8451 fix favorites
Stas Vilchik [Mon, 9 Jan 2017 13:52:12 +0000 (14:52 +0100)]
SONAR-8451 fix favorites

7 years agoSONAR-8562 apply feedback
Stas Vilchik [Mon, 9 Jan 2017 13:38:41 +0000 (14:38 +0100)]
SONAR-8562 apply feedback

7 years agodo not request activity for views on the measure history page
Stas Vilchik [Mon, 9 Jan 2017 13:29:07 +0000 (14:29 +0100)]
do not request activity for views on the measure history page

7 years agoScanner cleanup
Julien HENRY [Mon, 9 Jan 2017 09:22:36 +0000 (10:22 +0100)]
Scanner cleanup

* Fail fast when a WS call is made in medium test mode
* Rename many Batch* -> Scanner*

7 years agoFix support of web context in CE console
Simon Brandhof [Fri, 6 Jan 2017 20:41:09 +0000 (21:41 +0100)]
Fix support of web context in CE console

7 years agoSONAR-8592 Reverse order of locations in flows of issues 1503/head
Duarte Meneses [Thu, 5 Jan 2017 16:08:30 +0000 (17:08 +0100)]
SONAR-8592 Reverse order of locations in flows of issues

7 years agoSONAR-8545 Fix encoding of POST request parameters in ws-client
Simon Brandhof [Thu, 5 Jan 2017 20:08:55 +0000 (21:08 +0100)]
SONAR-8545 Fix encoding of POST request parameters in ws-client

Upgrade to Tomcat 8.5.9 breaks the POST requests sent
by ws-client when a query parameter contains invalid
characters like {, } or ". This is the case of
api/settings/set on property sets (see param field_values
which is a json object).
See
https://github.com/apache/tomcat80/commit/779d5d34e68e50d2f721897050b147106992f566

7 years agoSONAR-8545 Upgrade Apache Tomcat from 8.0 to 8.5
Simon Brandhof [Thu, 5 Jan 2017 14:14:52 +0000 (15:14 +0100)]
SONAR-8545 Upgrade Apache Tomcat from 8.0 to 8.5

7 years agoRevert "SONAR-8545 Upgrade Apache Tomcat from 8.0 to 8.5"
Simon Brandhof [Thu, 5 Jan 2017 21:21:42 +0000 (22:21 +0100)]
Revert "SONAR-8545 Upgrade Apache Tomcat from 8.0 to 8.5"

This reverts commit 0f32d3adc4c4a9f2bfb4a2504b924bd90a05326b.

7 years agoSONAR-8585 configure NLS_SORT param on Oracle client sessions
Simon Brandhof [Thu, 5 Jan 2017 15:51:42 +0000 (16:51 +0100)]
SONAR-8585 configure NLS_SORT param on Oracle client sessions

7 years agoSONAR-8545 Upgrade Apache Tomcat from 8.0 to 8.5
Simon Brandhof [Thu, 5 Jan 2017 14:14:52 +0000 (15:14 +0100)]
SONAR-8545 Upgrade Apache Tomcat from 8.0 to 8.5

7 years agoSONAR-7300 Does not return secured value in property set 1494/head
Julien Lancelot [Thu, 5 Jan 2017 11:02:50 +0000 (12:02 +0100)]
SONAR-7300 Does not return secured value in property set

7 years agoSONAR-8236 License type setting should be visble only when authenticated
Julien Lancelot [Thu, 5 Jan 2017 09:29:17 +0000 (10:29 +0100)]
SONAR-8236 License type setting should be visble only when authenticated

Permissions should be correctly checked even when the license doesn't ends with ".license.secured"

7 years agoSONAR-8575 apply same permission policy from values WS to list_definitions WS
Julien Lancelot [Thu, 5 Jan 2017 08:42:10 +0000 (09:42 +0100)]
SONAR-8575 apply same permission policy from values WS to list_definitions WS

7 years agoSONAR-8575 Use proto3 in api/settings
Julien Lancelot [Wed, 4 Jan 2017 16:36:37 +0000 (17:36 +0100)]
SONAR-8575 Use proto3 in api/settings

Using proto3 allows to use oneof in order to enforce the fact that only one of value, values or fieldValues is set

7 years agoSONAR-8235 Add ITs
Julien Lancelot [Wed, 4 Jan 2017 10:36:13 +0000 (11:36 +0100)]
SONAR-8235 Add ITs

7 years agoSONAR-8575 Set api/settings WS as public and keep only one parameter for component
Julien Lancelot [Tue, 3 Jan 2017 15:03:28 +0000 (16:03 +0100)]
SONAR-8575 Set api/settings WS as public and keep only one parameter for component

7 years agoSONAR-8235 Return all defined settings in api/settings/values
Julien Lancelot [Tue, 3 Jan 2017 13:52:42 +0000 (14:52 +0100)]
SONAR-8235 Return all defined settings in api/settings/values

7 years agoSONAR-8236 Return settings for none admin users in api/settings/values
Julien Lancelot [Tue, 3 Jan 2017 10:08:28 +0000 (11:08 +0100)]
SONAR-8236 Return settings for none admin users in api/settings/values

7 years agoSONAR-8236 Fix some quality flaws in ValuesAction
Julien Lancelot [Mon, 2 Jan 2017 16:50:17 +0000 (17:50 +0100)]
SONAR-8236 Fix some quality flaws in ValuesAction

7 years agoMerge branch 'branch-6.2' into master 1496/head
Sébastien Lesaint [Thu, 5 Jan 2017 10:14:07 +0000 (11:14 +0100)]
Merge branch 'branch-6.2' into master