]>
source.dussan.org Git - sonarqube.git/log
Sébastien Lesaint [Tue, 9 May 2017 09:25:58 +0000 (11:25 +0200)]
SONAR-6315 no indexing active rules in MassRegisterQualityProfiles
there is no need to index active rules at all during registration of Quality Profile as only deactivation changes trigger changes in the Active Rule index and registering quality profiles only activates active rules
removal of this indexing in RegisterQualityProfiles can't be done now as it requires to make initial indexing of Active Rule index when it doesn't exist be handled by another piece of code
Sébastien Lesaint [Fri, 5 May 2017 15:00:18 +0000 (17:00 +0200)]
SONAR-6315 add debug logs in RegisterRules for active rules ops
Sébastien Lesaint [Thu, 4 May 2017 14:30:03 +0000 (16:30 +0200)]
SONAR-6315 index changes per quality profile to avoid OOM
because indexing only at the end of MassRegisterQualityProfiles means holding every changes for every QP for every organization in memory and this can be a lot
Sébastien Lesaint [Thu, 4 May 2017 14:20:50 +0000 (16:20 +0200)]
SONAR-6315 use batch SQL session to insert change log
in MassRegisterQualityProfiles
Sébastien Lesaint [Thu, 4 May 2017 14:20:13 +0000 (16:20 +0200)]
SONAR-6315 use new RegisterQualityProfile code only if property is set
Sébastien Lesaint [Fri, 28 Apr 2017 09:33:43 +0000 (11:33 +0200)]
SONAR-6315 use an insert only code for RegisterQualityProfiles
Sébastien Lesaint [Fri, 28 Apr 2017 15:08:00 +0000 (17:08 +0200)]
SONAR-6315 support parent in DefinedQProfileRepository
fail if a profile references a non existing parent
Daniel Schwarz [Thu, 11 May 2017 16:15:55 +0000 (18:15 +0200)]
SONAR-9072 for api/components/suggestions use all valid search tokens
The search for suggestions should ignore tokens, that are only one character long (with warning), but use all other tokens for the search.
Sébastien Lesaint [Thu, 11 May 2017 13:11:24 +0000 (15:11 +0200)]
SONAR-9192 ensure no perm template has useless permissions to AnyOne
Daniel Schwarz [Thu, 11 May 2017 14:33:13 +0000 (16:33 +0200)]
SONAR-9078 only include attr. "project" for certain types of suggestions
The attribute will be omitted for views, subviews and projects, but included for modules, files and test-files.
Simon Brandhof [Thu, 11 May 2017 21:21:12 +0000 (23:21 +0200)]
SONAR-9219 Deprecate parameters "developer{Id|Key}" in web services api/measures/component and api/measures/component_tree
Daniel Schwarz [Thu, 11 May 2017 10:04:35 +0000 (12:04 +0200)]
SONAR-9073 fix response example of api/components/suggestions
Daniel Schwarz [Thu, 11 May 2017 16:37:02 +0000 (18:37 +0200)]
SONAR-9217 if two suggestions have the same relevancy, prefer A over Z
api/components/suggestions used to only use "relevance" (score) in sorting results. If two suggestions have exactly the same relevance (this is a rare case), then we will now also take alphabetical order into account.
Eric Hartmann [Thu, 11 May 2017 16:26:46 +0000 (18:26 +0200)]
Make tests on clustering more robust
Stas Vilchik [Thu, 11 May 2017 16:17:15 +0000 (18:17 +0200)]
apply search feedback (#2054)
Daniel Schwarz [Thu, 11 May 2017 09:40:37 +0000 (11:40 +0200)]
SONAR-9186 fix number of “more” in api/components/suggestions
Daniel Schwarz [Thu, 11 May 2017 10:13:28 +0000 (12:13 +0200)]
fix project visibility of projects, created by ComponentDbTester
Julien HENRY [Thu, 11 May 2017 10:16:36 +0000 (12:16 +0200)]
SONAR-9199 Fix unclosed inputStream
Daniel Schwarz [Tue, 9 May 2017 14:44:53 +0000 (16:44 +0200)]
SONAR-9148 fix partition size for large inputs in MySQL
* reproduce issues with large inputs in MySQL
* fix chunk size of #keepAuthorizedProjectIds
* fix chunk size of #keepAuthorizedUsersForRoleAndProject
Stas Vilchik [Thu, 11 May 2017 08:04:50 +0000 (10:04 +0200)]
SONAR-9174 Display issue box on the last line of its primary location (#2047)
Simon Brandhof [Wed, 10 May 2017 21:04:42 +0000 (23:04 +0200)]
SONAR-9186 fix performance hotspot when verifying authorization
by reducing the number of SQL requests.
Daniel Schwarz [Wed, 10 May 2017 13:54:47 +0000 (15:54 +0200)]
SONAR-9075 “more” skips first 6 results, in api/components/suggestions
Daniel Schwarz [Thu, 4 May 2017 14:19:32 +0000 (16:19 +0200)]
SONAR-9079 let favorites not be found as suggestion, if they don’t match
The component text query is divided into two parts: one part generates results, the other part boosts certain results for the correct ordering.
Daniel Schwarz [Thu, 4 May 2017 15:37:36 +0000 (17:37 +0200)]
SONAR-9077 let api/components/suggestions return name instead longName
Daniel Schwarz [Fri, 5 May 2017 14:42:11 +0000 (16:42 +0200)]
SONAR-9186 make "query" optional for api/components/suggestions
Simon Brandhof [Wed, 10 May 2017 19:38:57 +0000 (21:38 +0200)]
Remove most usages of AuthorizationDao#keepAuthorizedProjectIds()
replaced by UserSession#keepAuthorizedComponents()
Simon Brandhof [Wed, 10 May 2017 18:47:56 +0000 (20:47 +0200)]
Fix bug in AuthorizationDao#keepAuthorizedProjectIds()
Input of ids is not correctly partitioned. The SQL request may fail
on some databases (Oracle at least) if the input list of ids
is greater than 1'000 elements.
Simon Brandhof [Wed, 10 May 2017 14:00:35 +0000 (16:00 +0200)]
Add method UserSession#keepAuthorizedComponents()
to be able to fix authorization performance hotspot
Daniel Schwarz [Tue, 9 May 2017 11:46:44 +0000 (13:46 +0200)]
SONAR-9170 do not allow to create custom rules of removed templates
Grégoire Aubert [Wed, 10 May 2017 08:32:33 +0000 (10:32 +0200)]
Apply review comments
Grégoire Aubert [Tue, 9 May 2017 13:43:19 +0000 (15:43 +0200)]
SONAR-8369 SONAR-8722 Sanitize page titles
Grégoire Aubert [Tue, 9 May 2017 12:27:01 +0000 (14:27 +0200)]
Fix component breadcrumb path collapsing
Grégoire Aubert [Mon, 8 May 2017 13:50:46 +0000 (15:50 +0200)]
SONAR-8911 Fix timeline error on project page
Stas Vilchik [Tue, 9 May 2017 14:40:53 +0000 (16:40 +0200)]
SONAR-9175 Remember the last selection for My Issues / All filter
Stas Vilchik [Tue, 9 May 2017 14:24:48 +0000 (16:24 +0200)]
fix quality gate link for new_maintainability_rating
Stas Vilchik [Tue, 9 May 2017 13:15:54 +0000 (15:15 +0200)]
change styles of inactive facet items
Stas Vilchik [Tue, 9 May 2017 13:07:57 +0000 (15:07 +0200)]
clean quality gates styles
Stas Vilchik [Tue, 9 May 2017 12:54:46 +0000 (14:54 +0200)]
remove unused handlebars helpers
Daniel Schwarz [Thu, 4 May 2017 09:21:31 +0000 (11:21 +0200)]
SONAR-9156 fail persisting components if project is not persisted
When an analysis is processed, we expect the analysis’ project to be already stored in the database.
Julien HENRY [Tue, 9 May 2017 12:17:18 +0000 (14:17 +0200)]
SONAR-9204 File with BOM are not correctly parsed by the CPD tokenizer
Julien HENRY [Tue, 9 May 2017 10:31:20 +0000 (12:31 +0200)]
SONAR-9199 InputFile::content() and InputFile::inputStream() should filter BOM
Stas Vilchik [Tue, 9 May 2017 15:53:29 +0000 (17:53 +0200)]
MMF-661 rework search (#2030)
Eric Hartmann [Tue, 9 May 2017 08:49:57 +0000 (10:49 +0200)]
SONAR-9135 Fix incorrect detection when port is set
Stas Vilchik [Tue, 9 May 2017 12:01:24 +0000 (14:01 +0200)]
fix IssueNotificationsTest
Simon Brandhof [Fri, 5 May 2017 15:12:17 +0000 (17:12 +0200)]
SONAR-9084 auto issue assignment should deal with case sensitivity
- login is case sensitive
- email and scm accounts match whatever the case
Simon Brandhof [Fri, 5 May 2017 14:37:54 +0000 (16:37 +0200)]
SONAR-9084 simplify IssueIndexTest
Simon Brandhof [Fri, 5 May 2017 14:33:33 +0000 (16:33 +0200)]
SONAR-9084 refactor tests of UserIndex#getAtMostThreeActiveUsersForScmAccount()
Simon Brandhof [Fri, 5 May 2017 13:54:36 +0000 (15:54 +0200)]
SONAR-9084 drop some coupling on Guava
Daniel Schwarz [Tue, 9 May 2017 09:16:31 +0000 (11:16 +0200)]
SONAR-8092 use BulkProcessor for es indexing
Grégoire Aubert [Fri, 5 May 2017 15:12:47 +0000 (17:12 +0200)]
SONAR-8718 Allow HTML for WS domain description
Grégoire Aubert [Fri, 5 May 2017 13:04:28 +0000 (15:04 +0200)]
SONAR-9183 Do not collapse setting descriptions
Grégoire Aubert [Fri, 5 May 2017 12:45:05 +0000 (14:45 +0200)]
SONAR-9118 Fix issue project facet and organization name in front of issue
Grégoire Aubert [Fri, 5 May 2017 09:17:22 +0000 (11:17 +0200)]
SONAR-9177 Show a warning when accessing a removed file
Grégoire Aubert [Fri, 5 May 2017 08:45:41 +0000 (10:45 +0200)]
SONAR-9145 Show the maximum allowed values in the web services page
Grégoire Aubert [Fri, 5 May 2017 08:10:47 +0000 (10:10 +0200)]
SONAR-8836 Always display categories in installed plugins page
Grégoire Aubert [Thu, 4 May 2017 16:00:30 +0000 (18:00 +0200)]
SONAR-8767 Now use sinceLeakPeriod instead of a periodDate
Grégoire Aubert [Thu, 4 May 2017 15:14:44 +0000 (17:14 +0200)]
SONAR-9176 Remove useless request of organization list at app loading
Grégoire Aubert [Thu, 4 May 2017 15:09:46 +0000 (17:09 +0200)]
Remove unused ListItems
Grégoire Aubert [Thu, 4 May 2017 15:09:29 +0000 (17:09 +0200)]
Fix bad api call with organization members
Grégoire Aubert [Fri, 5 May 2017 13:23:00 +0000 (15:23 +0200)]
SONAR-8886 Collapse directory path in component header
Stas Vilchik [Tue, 9 May 2017 08:50:30 +0000 (10:50 +0200)]
SONAR-9165 hide tooltips on permissions page, update message
Stas Vilchik [Tue, 9 May 2017 08:05:34 +0000 (10:05 +0200)]
use prettier-css (#2035)
Stas Vilchik [Mon, 8 May 2017 15:52:40 +0000 (17:52 +0200)]
SONAR-8908 Check permissions when displaying an issue permalink
Stas Vilchik [Mon, 8 May 2017 14:44:10 +0000 (16:44 +0200)]
SONAR-9045 Add a color legend to projects bubble charts
Stas Vilchik [Mon, 8 May 2017 14:06:10 +0000 (16:06 +0200)]
SONAR-8641 Update severity icons
Sébastien Lesaint [Tue, 2 May 2017 14:43:45 +0000 (16:43 +0200)]
SONAR-6315 fix missing rule caching in DefinedQProfileCreation
Simon Brandhof [Fri, 5 May 2017 11:39:13 +0000 (13:39 +0200)]
SONAR-9168 do not fail when indexing measure with unexpected text value
Teryk Bellahsene [Mon, 8 May 2017 17:31:41 +0000 (19:31 +0200)]
SONAR-9182 Add visibility to WS api/projects/search
Teryk Bellahsene [Mon, 8 May 2017 13:44:41 +0000 (15:44 +0200)]
SONAR-8894 Compute number of members by organization
Stas Vilchik [Mon, 8 May 2017 08:06:29 +0000 (10:06 +0200)]
pass organization when searching tags on rule page
Eric Hartmann [Fri, 5 May 2017 14:56:45 +0000 (16:56 +0200)]
SONAR-9135 Remove test with ip6-localhost
Grégoire Aubert [Wed, 3 May 2017 15:13:23 +0000 (17:13 +0200)]
SONAR-8771 Display more languages on the Projects page
Grégoire Aubert [Tue, 2 May 2017 14:32:17 +0000 (16:32 +0200)]
SONAR-8870 Search by WS description
Grégoire Aubert [Tue, 2 May 2017 13:18:15 +0000 (15:18 +0200)]
SONAR-9173 Hide some elements of the footer when the user is not logged
Stas Vilchik [Fri, 5 May 2017 12:56:09 +0000 (14:56 +0200)]
SONAR-8903 drop issues filter by last week
Eric Hartmann [Wed, 3 May 2017 13:11:31 +0000 (15:11 +0200)]
SONAR-9135 Add safety checks in Cluster configuration
Stas Vilchik [Fri, 5 May 2017 12:11:22 +0000 (14:11 +0200)]
SONAR-9166 allow to change default project visibility on-premise (#2022)
Duarte Meneses [Fri, 5 May 2017 08:48:24 +0000 (10:48 +0200)]
Adjust scanner 2.8 perf timings
Duarte Meneses [Thu, 4 May 2017 08:42:41 +0000 (10:42 +0200)]
Fix quality issues
Teryk Bellahsene [Wed, 3 May 2017 06:23:51 +0000 (08:23 +0200)]
SONAR-9054 Revert WS api/navigation/organization filter out billing pages for personal organization
Simon Brandhof [Fri, 5 May 2017 08:11:51 +0000 (10:11 +0200)]
Improve reliability of SupportPrivateProjectInDefaultPermissionTemplateTest
There were some false-positives due to generated random values
that are not unique.
Stas Vilchik [Fri, 5 May 2017 07:29:07 +0000 (09:29 +0200)]
display tooltip on permission template page
Daniel Schwarz [Wed, 3 May 2017 11:47:48 +0000 (13:47 +0200)]
SONAR-8924 update api documentation of api/qualityprofiles/search
Daniel Schwarz [Tue, 2 May 2017 09:58:40 +0000 (11:58 +0200)]
SONAR-8924 let api/qualityprofiles/search use project’s organization
Eric Hartmann [Thu, 4 May 2017 07:42:00 +0000 (09:42 +0200)]
SONAR-6135 Upgrade MySQL driver to 5.1.42
Add useSSL=false to default configuration
Sébastien Lesaint [Thu, 4 May 2017 10:00:06 +0000 (12:00 +0200)]
SONAR-7511 AbstractStoppableExecutorService produce warn logs
rather than error logs
Stas Vilchik [Thu, 4 May 2017 11:57:58 +0000 (13:57 +0200)]
allow chaning "administer quality profiles" permission for organizations
Stas Vilchik [Thu, 4 May 2017 11:55:51 +0000 (13:55 +0200)]
sort my organizations by name
Tom [Thu, 20 Apr 2017 07:47:11 +0000 (09:47 +0200)]
Cancel the Travis build of a branch when a pull request exists
It allows to not use slaves for nothing by executing twice
(more or less) the same job. Building the pull request
is enough in most cases.
Stas Vilchik [Thu, 4 May 2017 09:19:55 +0000 (11:19 +0200)]
SONAR-9122 prevent setting a project as private (#2015)
Eric Hartmann [Fri, 28 Apr 2017 06:55:39 +0000 (08:55 +0200)]
SONAR-9134 Define the minimum number of ES master nodes
In cluster mode, there'll be 2 master nodes by default.
In standalone mode, only 1 master node by default
A new property sonar.search.initialStateTimeout allows to handle the startup
timeout.
Eric Hartmann [Thu, 27 Apr 2017 15:42:47 +0000 (17:42 +0200)]
SONAR-9133 Define the number of ES replicas
New property added sonar.search.replicas to define the number of ES replicas
When this property is not set, in standalone mode this value will be 0 and
in cluster mode, this value will be 1
Duarte Meneses [Wed, 3 May 2017 15:30:20 +0000 (17:30 +0200)]
Update scanner perf tests to scanner 2.8
Stas Vilchik [Thu, 4 May 2017 08:04:46 +0000 (10:04 +0200)]
apply feedback on private projects ui (#2011)
* refersh holders when changing project visibility
* always show warning on permission templates page
Simon Brandhof [Wed, 3 May 2017 16:03:34 +0000 (18:03 +0200)]
SONAR-9129 improve descriptions of api/qualityprofiles
Daniel Schwarz [Thu, 27 Apr 2017 16:31:04 +0000 (18:31 +0200)]
SONAR-8865 remove old documents from rules/extension index when updating
Simon Brandhof [Wed, 3 May 2017 14:38:00 +0000 (16:38 +0200)]
SONAR-8400 Backend cleanup must clean CE and webhook tables
Duarte Meneses [Wed, 3 May 2017 14:03:24 +0000 (16:03 +0200)]
SONAR-6100 Improve support of binary files and/or files with different encoding
Grégoire Aubert [Wed, 3 May 2017 11:22:21 +0000 (13:22 +0200)]
Expose router components (used in billing plugin)
Stas Vilchik [Wed, 3 May 2017 09:30:13 +0000 (11:30 +0200)]
fix extensions using backbone router (#2005)