]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoSONAR-9887 Reuse information from issues in short living branches targeting current...
Duarte Meneses [Wed, 4 Oct 2017 10:13:07 +0000 (12:13 +0200)]
SONAR-9887 Reuse information from issues in short living branches targeting current branch

* Add ShortBranchComponentsWithIssues

* Load only required component fields from dto

* Keep only uuid and branch from analysisMetadataHolder

* No need for branch in ShortBranchComponentsWithIssues

* Add IssueDao.selectResolvedOrConfirmedByComponentUuid

* Add ResolvedShortBranchIssuesFactory

* Add components to ProjectAnalysisTaskContainerPopulator

* issue info from short branches

* Do not open db session for nothing

* Get issues for all uuids at once

* Select only fields required for issue tracking

* Improvements

* Add ShortBranchIssue with only the fields needed for issue tracking

* fix test

* Add missed license

* minor improvements

* Fix IssueStatusCopierTest and move ShortBranchIssue class

* Clean up ShortBranchIssueDto and its query

* Fix mapping of dto class

* Verify that required fields are correctly mapped

* fixes

* Fix issues loader

* Do not use "key" as field name in db operations

* Should find issues to merge only in short branches

* Strip branch from component key

7 years agoSONAR-9446 Redirect to previous page after server start/migration
Grégoire Aubert [Tue, 3 Oct 2017 13:46:17 +0000 (15:46 +0200)]
SONAR-9446 Redirect to previous page after server start/migration

7 years agoPrevent js error when language bundle import fail
Grégoire Aubert [Tue, 3 Oct 2017 13:43:28 +0000 (15:43 +0200)]
Prevent js error when language bundle import fail

7 years agoFix some styling issues in the system info page
Grégoire Aubert [Tue, 3 Oct 2017 11:39:35 +0000 (13:39 +0200)]
Fix some styling issues in the system info page

7 years agoSONAR-9550 Don't show the activate button for rules where there is no editable QP
Grégoire Aubert [Tue, 3 Oct 2017 09:15:57 +0000 (11:15 +0200)]
SONAR-9550 Don't show the activate button for rules where there is no editable QP

7 years agoSONAR-4824 support branches when filtering recipients on their perms 2618/head
Sébastien Lesaint [Tue, 3 Oct 2017 15:41:32 +0000 (17:41 +0200)]
SONAR-4824 support branches when filtering recipients on their perms

by querying permissions in DB with component key rather than component uuid
as computing the target branch's key from the branch's key is easy

7 years agoSONAR-9545 Better wording when searching for a project in My Favorites scope
Grégoire Aubert [Mon, 2 Oct 2017 15:19:52 +0000 (17:19 +0200)]
SONAR-9545 Better wording when searching for a project in My Favorites scope

7 years agoSONAR-9553 Update onboarding headline
Grégoire Aubert [Mon, 2 Oct 2017 14:38:28 +0000 (16:38 +0200)]
SONAR-9553 Update onboarding headline

7 years agoRemove unused css
Grégoire Aubert [Mon, 2 Oct 2017 14:24:05 +0000 (16:24 +0200)]
Remove unused css

7 years agoSONAR-9808 Add ncloc to system info page
Grégoire Aubert [Mon, 2 Oct 2017 09:14:49 +0000 (11:14 +0200)]
SONAR-9808 Add ncloc to system info page

7 years agoSONAR-9504 Support ESC key in onboarding tutorial
Grégoire Aubert [Mon, 2 Oct 2017 07:19:23 +0000 (09:19 +0200)]
SONAR-9504 Support ESC key in onboarding tutorial

7 years agoSONAR-9496 group changelog events by action and date
Stas Vilchik [Tue, 3 Oct 2017 16:55:27 +0000 (18:55 +0200)]
SONAR-9496 group changelog events by action and date

7 years agoSONAR-9522 Change the duplication perspective's graph axis
Stas Vilchik [Tue, 3 Oct 2017 16:28:30 +0000 (18:28 +0200)]
SONAR-9522 Change the duplication perspective's graph axis

7 years agoSONAR-9705 Make organization key easier to find
Stas Vilchik [Tue, 3 Oct 2017 15:52:22 +0000 (17:52 +0200)]
SONAR-9705 Make organization key easier to find

7 years agobring back removed component_navigation messages
Stas Vilchik [Tue, 3 Oct 2017 14:34:25 +0000 (16:34 +0200)]
bring back removed component_navigation messages

7 years agoSONAR-9665 Bring back the issues link from the Most Violated Projects section
Stas Vilchik [Tue, 3 Oct 2017 14:13:14 +0000 (16:13 +0200)]
SONAR-9665 Bring back the issues link from the Most Violated Projects section

7 years agofix issue permalinks with branches
Stas Vilchik [Tue, 3 Oct 2017 13:19:46 +0000 (15:19 +0200)]
fix issue permalinks with branches

7 years agoinvalidate browser cache for logo
Stas Vilchik [Tue, 3 Oct 2017 09:18:52 +0000 (11:18 +0200)]
invalidate browser cache for logo

7 years agofix quality gates deletion/renaming
Stas Vilchik [Tue, 3 Oct 2017 09:11:36 +0000 (11:11 +0200)]
fix quality gates deletion/renaming

7 years agoAPI - ability to extend MessageException
Simon Brandhof [Tue, 3 Oct 2017 15:04:12 +0000 (17:04 +0200)]
API - ability to extend MessageException

for instance to implement CE TypedException at the same time

7 years agoFix branch properties description
Duarte Meneses [Tue, 3 Oct 2017 13:34:34 +0000 (15:34 +0200)]
Fix branch properties description

7 years agoSONAR-7956 remove obsolete gateId parameter of api/qualitygates/deselect
Daniel Schwarz [Wed, 27 Sep 2017 11:55:11 +0000 (13:55 +0200)]
SONAR-7956 remove obsolete gateId parameter of api/qualitygates/deselect

7 years agoSONAR-9802 add global section "Search State" to System Info of cluster
Simon Brandhof [Tue, 3 Oct 2017 10:25:25 +0000 (12:25 +0200)]
SONAR-9802 add global section "Search State" to System Info of cluster

7 years agoFix build error with Maven 3.2.5
Simon Brandhof [Tue, 3 Oct 2017 12:45:36 +0000 (14:45 +0200)]
Fix build error with Maven 3.2.5

For unknown reasons HttpConnectorTest does not fail on Maven 3.3+
whereas a required dependency on commons-codec is missing.

7 years agoSONAR-9820 Telemetry returns usingBranches
Teryk Bellahsene [Tue, 3 Oct 2017 09:26:49 +0000 (11:26 +0200)]
SONAR-9820 Telemetry returns usingBranches

7 years agoSONAR-9820 Telemetry returns database name and version
Teryk Bellahsene [Mon, 2 Oct 2017 11:52:36 +0000 (13:52 +0200)]
SONAR-9820 Telemetry returns database name and version

7 years agoSONAR-9820 update telemetry format - list instead of map
Teryk Bellahsene [Mon, 2 Oct 2017 09:02:12 +0000 (11:02 +0200)]
SONAR-9820 update telemetry format - list instead of map

7 years agoAdjust perf tests threshold
Duarte Meneses [Tue, 3 Oct 2017 12:30:48 +0000 (14:30 +0200)]
Adjust perf tests threshold

7 years agoReplace the CE class TypedException by an interface
Simon Brandhof [Mon, 2 Oct 2017 21:07:53 +0000 (23:07 +0200)]
Replace the CE class TypedException by an interface

so that a class inheriting MessageException can provide a type
of error.

7 years agoFix instability of ClusterHealthTest#hashcode_is_based_on_content()
Simon Brandhof [Tue, 3 Oct 2017 08:42:36 +0000 (10:42 +0200)]
Fix instability of ClusterHealthTest#hashcode_is_based_on_content()

Two different objects can have the same hashCode.

7 years agoSONAR-9902 Silence debug logs of PostgreSQL driver
Simon Brandhof [Mon, 2 Oct 2017 20:39:29 +0000 (22:39 +0200)]
SONAR-9902 Silence debug logs of PostgreSQL driver

7 years agoAvatar resolver fails when email is empty
Teryk Bellahsene [Tue, 3 Oct 2017 08:42:53 +0000 (10:42 +0200)]
Avatar resolver fails when email is empty

7 years agoSONAR-9195 Ease removing of SCM accounts
Stas Vilchik [Fri, 29 Sep 2017 09:14:17 +0000 (11:14 +0200)]
SONAR-9195 Ease removing of SCM accounts

7 years agoSONAR-8828 Make sure all messages can be localized (#2600)
Stas Vilchik [Tue, 3 Oct 2017 07:12:56 +0000 (09:12 +0200)]
SONAR-8828 Make sure all messages can be localized (#2600)

7 years agoSONAR-9499 Secondary locations unclickable when code is not loaded
Stas Vilchik [Mon, 2 Oct 2017 14:21:41 +0000 (16:21 +0200)]
SONAR-9499 Secondary locations unclickable when code is not loaded

7 years agoSONAR-9756 update branch management page
Stas Vilchik [Wed, 27 Sep 2017 13:08:22 +0000 (15:08 +0200)]
SONAR-9756 update branch management page

7 years agoSONAR-9756 add analysis date to response of api/project_branches/list
Daniel Schwarz [Wed, 27 Sep 2017 13:52:11 +0000 (15:52 +0200)]
SONAR-9756 add analysis date to response of api/project_branches/list

7 years agoFix instability of integration tests on Oracle
Simon Brandhof [Mon, 2 Oct 2017 20:46:34 +0000 (22:46 +0200)]
Fix instability of integration tests on Oracle

A SonarQube server is hardly stopped when JVM process shutdowns. JDBC
connections are kept open. These orphan connections are correctly
closed by all databases except Oracle.

7 years agoSONAR-9900 Support UTF-8 login and password in Java WS client
Simon Brandhof [Mon, 2 Oct 2017 13:07:34 +0000 (15:07 +0200)]
SONAR-9900 Support UTF-8 login and password in Java WS client

7 years agoSONAR-9896 Webhook must support basic authentication
Simon Brandhof [Mon, 2 Oct 2017 12:48:30 +0000 (14:48 +0200)]
SONAR-9896 Webhook must support basic authentication

7 years agoSONAR-1330 Purge edit permissions when removing group
Julien Lancelot [Wed, 27 Sep 2017 16:29:22 +0000 (18:29 +0200)]
SONAR-1330 Purge edit permissions when removing group

7 years agoSONAR-1330 Purge edit permissions when removing organization member
Julien Lancelot [Wed, 27 Sep 2017 16:24:40 +0000 (18:24 +0200)]
SONAR-1330 Purge edit permissions when removing organization member

7 years agoSONAR-1330 Purge edit permissions when deleting user
Julien Lancelot [Wed, 27 Sep 2017 16:22:39 +0000 (18:22 +0200)]
SONAR-1330 Purge edit permissions when deleting user

7 years agoSONAR-1330 Purge edit permissions when deleting quality profile
Julien Lancelot [Wed, 27 Sep 2017 15:04:02 +0000 (17:04 +0200)]
SONAR-1330 Purge edit permissions when deleting quality profile

7 years agoSONAR-1330 Remove qualityprofiles from api/rules/app
Teryk Bellahsene [Thu, 28 Sep 2017 08:23:02 +0000 (10:23 +0200)]
SONAR-1330 Remove qualityprofiles from api/rules/app

7 years agoSONAR-1330 Check edit permissions in qprofiles WS
Julien Lancelot [Wed, 27 Sep 2017 12:33:56 +0000 (14:33 +0200)]
SONAR-1330 Check edit permissions in qprofiles WS

7 years agoSONAR-1330 Check edit permission via group
Julien Lancelot [Wed, 27 Sep 2017 12:14:05 +0000 (14:14 +0200)]
SONAR-1330 Check edit permission via group

7 years agoSONAR-1330 Allow rule changes only for quality profile admins
Stas Vilchik [Tue, 26 Sep 2017 12:41:01 +0000 (14:41 +0200)]
SONAR-1330 Allow rule changes only for quality profile admins

7 years agoSONAR-1330 Allow only authorized actions on the Quality Profiles page
Stas Vilchik [Mon, 25 Sep 2017 14:00:06 +0000 (16:00 +0200)]
SONAR-1330 Allow only authorized actions on the Quality Profiles page

7 years agoSONAR-1330 Return available actions in api/qualityprofiles/search
Julien Lancelot [Wed, 27 Sep 2017 10:28:56 +0000 (12:28 +0200)]
SONAR-1330 Return available actions in api/qualityprofiles/search

7 years agoSONAR-1330 Search for groups allowed to edit single quality profile
Julien Lancelot [Mon, 25 Sep 2017 14:56:35 +0000 (16:56 +0200)]
SONAR-1330 Search for groups allowed to edit single quality profile

7 years agoSONAR-1330 Remove group permission to edit single quality profile
Julien Lancelot [Mon, 25 Sep 2017 13:43:10 +0000 (15:43 +0200)]
SONAR-1330 Remove group permission to edit single quality profile

7 years agoSONAR-1330 Add group permission to edit single quality profile
Julien Lancelot [Mon, 25 Sep 2017 12:57:00 +0000 (14:57 +0200)]
SONAR-1330 Add group permission to edit single quality profile

7 years agoSONAR-1330 Create table QPROFILE_EDIT_GROUPS
Julien Lancelot [Mon, 25 Sep 2017 12:17:32 +0000 (14:17 +0200)]
SONAR-1330 Create table QPROFILE_EDIT_GROUPS

7 years agoSONAR-1330 Search for user allowed to edit single quality profile
Julien Lancelot [Fri, 22 Sep 2017 15:34:34 +0000 (17:34 +0200)]
SONAR-1330 Search for user allowed to edit single quality profile

7 years agoSONAR-1330 Remove user permission to edit single quality profile
Julien Lancelot [Fri, 22 Sep 2017 11:55:06 +0000 (13:55 +0200)]
SONAR-1330 Remove user permission to edit single quality profile

7 years agoSONAR-1330 Add user permission to edit single quality profile
Julien Lancelot [Thu, 21 Sep 2017 12:00:30 +0000 (14:00 +0200)]
SONAR-1330 Add user permission to edit single quality profile

7 years agoSONAR-1330 Create table QPROFILE_EDIT_USERS
Julien Lancelot [Thu, 21 Sep 2017 09:57:23 +0000 (11:57 +0200)]
SONAR-1330 Create table QPROFILE_EDIT_USERS

7 years agoSONAR-1330 add widget to manage quality profile permissions
Stas Vilchik [Mon, 25 Sep 2017 13:59:36 +0000 (15:59 +0200)]
SONAR-1330 add widget to manage quality profile permissions

7 years agoSONAR-1330 Create stub ws to allow edition of qprofile to users/groups
Julien Lancelot [Thu, 21 Sep 2017 12:09:04 +0000 (14:09 +0200)]
SONAR-1330 Create stub ws to allow edition of qprofile to users/groups

7 years agoSONAR-9816 Transitively find long-lived branch to use as target
Duarte Meneses [Mon, 2 Oct 2017 13:05:51 +0000 (15:05 +0200)]
SONAR-9816 Transitively find long-lived branch to use as target

7 years agoSONAR-9836 Fix @Phase annotation support on new PostJob API
Julien HENRY [Mon, 2 Oct 2017 09:10:35 +0000 (11:10 +0200)]
SONAR-9836 Fix @Phase annotation support on new PostJob API

7 years agoSONAR-9599 change issues measures on the projects page
Stas Vilchik [Thu, 28 Sep 2017 14:17:18 +0000 (16:17 +0200)]
SONAR-9599 change issues measures on the projects page

7 years agoSONAR-9786 Closed issues retain their line
Stas Vilchik [Thu, 28 Sep 2017 13:25:35 +0000 (15:25 +0200)]
SONAR-9786 Closed issues retain their line

7 years agoSONAR-9702 expand root dir with branch on code page
Stas Vilchik [Thu, 28 Sep 2017 13:22:15 +0000 (15:22 +0200)]
SONAR-9702 expand root dir with branch on code page

7 years agoAdjust perf timings
Duarte Meneses [Mon, 2 Oct 2017 11:48:06 +0000 (13:48 +0200)]
Adjust perf timings

7 years agoSONAR-9552 add version to QG alert notification
Sébastien Lesaint [Thu, 28 Sep 2017 10:25:30 +0000 (12:25 +0200)]
SONAR-9552 add version to QG alert notification

7 years agoSONAR-8730 use existing L18n for types in new issue notifications
Sébastien Lesaint [Thu, 28 Sep 2017 08:45:19 +0000 (10:45 +0200)]
SONAR-8730 use existing L18n for types in new issue notifications

7 years agoSONAR-9725 support singular in subject of new issue notifications
Sébastien Lesaint [Thu, 28 Sep 2017 08:31:28 +0000 (10:31 +0200)]
SONAR-9725 support singular in subject of new issue notifications

7 years agoSONAR-7024 show project specific dispatcher labels
Stas Vilchik [Thu, 21 Sep 2017 08:37:47 +0000 (10:37 +0200)]
SONAR-7024 show project specific dispatcher labels

7 years agoSONAR-7024 global report failure notif only on administrated projects
Sébastien Lesaint [Wed, 20 Sep 2017 17:00:09 +0000 (19:00 +0200)]
SONAR-7024 global report failure notif only on administrated projects

7 years agoSONAR-7024 support permission for global and project subscribers
Sébastien Lesaint [Wed, 20 Sep 2017 15:38:55 +0000 (17:38 +0200)]
SONAR-7024 support permission for global and project subscribers

7 years agoSONAR-7024 SQL optimization if multiple channels when checking permission
Sébastien Lesaint [Wed, 20 Sep 2017 15:11:46 +0000 (17:11 +0200)]
SONAR-7024 SQL optimization if multiple channels when checking permission

7 years agoSONAR-7024 PropertiesDao#findUsersForNotification return global flag
Sébastien Lesaint [Wed, 20 Sep 2017 14:42:10 +0000 (16:42 +0200)]
SONAR-7024 PropertiesDao#findUsersForNotification return global flag

which indicates whether the associated login registered to the notification globally or specifically for the specified project

7 years agoSONAR-9534 add IT
Sébastien Lesaint [Tue, 19 Sep 2017 15:25:26 +0000 (17:25 +0200)]
SONAR-9534 add IT

7 years agoSONAR-9534 compute new_debt measure only from new issues
Sébastien Lesaint [Tue, 19 Sep 2017 11:27:59 +0000 (13:27 +0200)]
SONAR-9534 compute new_debt measure only from new issues

and not also from changelog

7 years agoSONAR-4824 Add ITs for notifications
Eric Hartmann [Wed, 20 Sep 2017 15:58:56 +0000 (17:58 +0200)]
SONAR-4824 Add ITs for notifications

7 years agoFix incorrect id type
Eric Hartmann [Wed, 20 Sep 2017 09:02:04 +0000 (11:02 +0200)]
Fix incorrect id type

7 years agoSONAR-7024 add IT on Report analysis failure notifications
Sébastien Lesaint [Mon, 18 Sep 2017 13:26:40 +0000 (15:26 +0200)]
SONAR-7024 add IT on Report analysis failure notifications

7 years agoSONAR-7024 add notification on Report Analysis failures
Sébastien Lesaint [Thu, 14 Sep 2017 15:16:49 +0000 (17:16 +0200)]
SONAR-7024 add notification on Report Analysis failures

7 years agoSONAR-7024 add CeWorker.ExecutionListener
Sébastien Lesaint [Fri, 15 Sep 2017 14:49:25 +0000 (16:49 +0200)]
SONAR-7024 add CeWorker.ExecutionListener

7 years agoadd missing package-info.java
Sébastien Lesaint [Thu, 14 Sep 2017 15:06:43 +0000 (17:06 +0200)]
add missing package-info.java

7 years agoSONAR-9552 add version to New Issues notification emails
Sébastien Lesaint [Tue, 19 Sep 2017 07:49:38 +0000 (09:49 +0200)]
SONAR-9552 add version to New Issues notification emails

7 years agoSONAR-9771 add property email.fromName and use it in email notifications
Sébastien Lesaint [Thu, 14 Sep 2017 12:35:34 +0000 (14:35 +0200)]
SONAR-9771 add property email.fromName and use it in email notifications

7 years agoSONAR-9771 remove "SonarQube" from wording of links in notifications
Sébastien Lesaint [Thu, 14 Sep 2017 11:58:06 +0000 (13:58 +0200)]
SONAR-9771 remove "SonarQube" from wording of links in notifications

7 years agoSONAR-9552 show branch name in QP alert notifications
Sébastien Lesaint [Thu, 14 Sep 2017 09:48:31 +0000 (11:48 +0200)]
SONAR-9552 show branch name in QP alert notifications

7 years agoSONAR-9552 support branch name in subject of new issue notifications
Sébastien Lesaint [Thu, 14 Sep 2017 09:37:11 +0000 (11:37 +0200)]
SONAR-9552 support branch name in subject of new issue notifications

7 years agoSONAR-9725 grammar support for single rule in Builtin QP notification
Sébastien Lesaint [Thu, 14 Sep 2017 09:19:17 +0000 (11:19 +0200)]
SONAR-9725 grammar support for single rule in Builtin QP notification

7 years agoSONAR-9725 fix grammar for single issue in new issue notifications
Sébastien Lesaint [Thu, 14 Sep 2017 09:09:13 +0000 (11:09 +0200)]
SONAR-9725 fix grammar for single issue in new issue notifications

7 years agoSONAR-8730 replace severity by rule type in new issues notifications
Sébastien Lesaint [Thu, 14 Sep 2017 09:01:58 +0000 (11:01 +0200)]
SONAR-8730 replace severity by rule type in new issues notifications

7 years agoSONAR-9144 add coverage on 5 elements per category + SQL optimisation
Sébastien Lesaint [Wed, 13 Sep 2017 15:42:20 +0000 (17:42 +0200)]
SONAR-9144 add coverage on 5 elements per category + SQL optimisation

7 years agoSONAR-9144 send notifications only for issues on the leak period
Sébastien Lesaint [Tue, 12 Sep 2017 12:48:36 +0000 (14:48 +0200)]
SONAR-9144 send notifications only for issues on the leak period

7 years agoSONAR-9144 support leak period when computing issue statistics
Sébastien Lesaint [Tue, 12 Sep 2017 10:37:15 +0000 (12:37 +0200)]
SONAR-9144 support leak period when computing issue statistics

during report processing

7 years agoSONAR-4824 Prevent notification when user does not have Browse permission
Eric Hartmann [Wed, 13 Sep 2017 15:23:33 +0000 (17:23 +0200)]
SONAR-4824 Prevent notification when user does not have Browse permission

7 years agoSONAR-9227 Forbid adding a notification on project without BROWSE permission
Eric Hartmann [Tue, 12 Sep 2017 14:37:01 +0000 (16:37 +0200)]
SONAR-9227 Forbid adding a notification on project without BROWSE permission

7 years agoTemporarily disable integration tests on clustering
Simon Brandhof [Mon, 2 Oct 2017 10:12:20 +0000 (12:12 +0200)]
Temporarily disable integration tests on clustering

Need more than 1 CPU on the test environment.

7 years agoSONAR-9811 fix quality flaws
Daniel Schwarz [Mon, 2 Oct 2017 07:20:54 +0000 (09:20 +0200)]
SONAR-9811 fix quality flaws

Renamed variable to avoid misunderstandings

7 years agoSONAR-6959 Performance improvements
Duarte Meneses [Mon, 2 Oct 2017 08:28:58 +0000 (10:28 +0200)]
SONAR-6959 Performance improvements

* Avoid creation of intermediary array

* SONAR-6959 Speed-up copy of custom measures in Compute Engine

* Use light object to get key/uuid map of components

* Avoid always formatting string

* Minor refactoring

* Avoid cost of hash

* Ajust perf tests

7 years agoSONAR-9875 Add branch= param to /api/navigation/component (#2555)
Janos Gyerik [Mon, 2 Oct 2017 08:26:08 +0000 (10:26 +0200)]
SONAR-9875 Add branch= param to /api/navigation/component (#2555)

* Add branch= param to /api/navigation/component

* Use key instead of dbkey in issues/search

7 years agoUpgrade orchestrator to version 3.15.0.1215
Simon Brandhof [Fri, 29 Sep 2017 15:26:28 +0000 (17:26 +0200)]
Upgrade orchestrator to version 3.15.0.1215

It improves killing of Oracle connection orphans
in integration tests.