]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
9 years agoSpecify data types on inserts into project_measures 47/head
Stephen Kitt [Tue, 16 Dec 2014 18:49:51 +0000 (19:49 +0100)]
Specify data types on inserts into project_measures

At least when using Oracle databases, projects with large volumes of
updates (over a million inserts per hour) see lots of cursor
contention, accounting for up to 40% of the database's activity (after
adjusting the shared pool size appropriately). This is due to the
presence of null values where the database can't determine the data
type, and therefore has to try different variants of the statement.

Specifying the data types on the non-blob columns avoids the type
uncertainty, and solves the cursor contention.

Signed-off-by: Stephen Kitt <steve@sk2.org>
9 years agoAutomatic merge from branch-4.5
Jenkins CI [Mon, 8 Dec 2014 17:29:24 +0000 (18:29 +0100)]
Automatic merge from branch-4.5

* origin/branch-4.5:
  SSF-24 SQL Injection on Measures page
  Revert "SONAR-5844 Profile inheritance is always displaying '0 rules' whatever the content of Profiles"
  SONAR-5844 Profile inheritance is always displaying '0 rules' whatever the content of Profiles
  SONAR-5902 Fix preserving of planned=false
  Update documentation of PostJob extension

9 years agoSSF-24 SQL Injection on Measures page
Julien Lancelot [Mon, 8 Dec 2014 17:27:03 +0000 (18:27 +0100)]
SSF-24 SQL Injection on Measures page

9 years agoRevert "SONAR-5844 Profile inheritance is always displaying '0 rules' whatever the...
Julien Lancelot [Mon, 8 Dec 2014 17:26:00 +0000 (18:26 +0100)]
Revert "SONAR-5844 Profile inheritance is always displaying '0 rules' whatever the content of Profiles"

This reverts commit a060b930acec945a80cbecbba92db66e5f859a91.

9 years agoSONAR-5844 Profile inheritance is always displaying '0 rules' whatever the content...
Julien Lancelot [Mon, 8 Dec 2014 17:24:28 +0000 (18:24 +0100)]
SONAR-5844 Profile inheritance is always displaying '0 rules' whatever the content of Profiles

9 years agoFix quality flaws
Julien Lancelot [Mon, 8 Dec 2014 16:38:24 +0000 (17:38 +0100)]
Fix quality flaws

9 years agoFix quality flaws
Julien Lancelot [Mon, 8 Dec 2014 16:17:28 +0000 (17:17 +0100)]
Fix quality flaws

9 years agoFix server-test-benchmarks assertions because of Lucene optimizations
Simon Brandhof [Mon, 8 Dec 2014 16:18:17 +0000 (17:18 +0100)]
Fix server-test-benchmarks assertions because of Lucene optimizations

9 years agoSupport missing dates in the migration FeedLissueLongDates
Simon Brandhof [Mon, 8 Dec 2014 15:59:54 +0000 (16:59 +0100)]
Support missing dates in the migration FeedLissueLongDates

9 years agoRe-enable IssueIndexMediumTest
Simon Brandhof [Mon, 8 Dec 2014 15:47:30 +0000 (16:47 +0100)]
Re-enable IssueIndexMediumTest

9 years agoFix quality flaw
Julien Lancelot [Mon, 8 Dec 2014 11:20:13 +0000 (12:20 +0100)]
Fix quality flaw

9 years agoRefactor FileCache#newTempFile()
Simon Brandhof [Mon, 8 Dec 2014 15:08:21 +0000 (16:08 +0100)]
Refactor FileCache#newTempFile()

9 years agoImprove stability of sonar-server-benchmarks
Simon Brandhof [Mon, 8 Dec 2014 15:08:05 +0000 (16:08 +0100)]
Improve stability of sonar-server-benchmarks

Optimize Lucene FS so it does not evolve when estimating size

9 years agoSONAR-5902 Fix preserving of planned=false
Stas Vilchik [Mon, 8 Dec 2014 13:07:41 +0000 (14:07 +0100)]
SONAR-5902 Fix preserving of planned=false

9 years agoSONAR-5877 Update component viewer coverage popup
Stas Vilchik [Mon, 8 Dec 2014 12:24:34 +0000 (13:24 +0100)]
SONAR-5877 Update component viewer coverage popup

9 years agoFix assertions of sonar-server-benchmarks
Simon Brandhof [Mon, 8 Dec 2014 12:12:50 +0000 (13:12 +0100)]
Fix assertions of sonar-server-benchmarks

9 years agoRemove test in SearchServerTest because of too many false-positives on slow windows...
Simon Brandhof [Mon, 8 Dec 2014 11:08:44 +0000 (12:08 +0100)]
Remove test in SearchServerTest because of too many false-positives on slow windows environment

9 years agoFix quality flaws
Simon Brandhof [Mon, 8 Dec 2014 10:50:57 +0000 (11:50 +0100)]
Fix quality flaws

9 years agoFix assertions of sonar-server-benchmarks
Simon Brandhof [Mon, 8 Dec 2014 10:48:50 +0000 (11:48 +0100)]
Fix assertions of sonar-server-benchmarks

9 years agoFix some quality flaws
Julien HENRY [Mon, 8 Dec 2014 10:52:48 +0000 (11:52 +0100)]
Fix some quality flaws

9 years agoFix some quality flaws
Julien HENRY [Mon, 8 Dec 2014 10:50:52 +0000 (11:50 +0100)]
Fix some quality flaws

9 years agoSONAR-5642 Remove Git command line implementation
Julien HENRY [Mon, 8 Dec 2014 10:22:55 +0000 (11:22 +0100)]
SONAR-5642 Remove Git command line implementation

9 years agoUpdate documentation of PostJob extension
Julien HENRY [Mon, 8 Dec 2014 10:12:15 +0000 (11:12 +0100)]
Update documentation of PostJob extension

9 years agoSONAR-5718 Fix activation of action plans facet
Stas Vilchik [Mon, 8 Dec 2014 09:50:54 +0000 (10:50 +0100)]
SONAR-5718 Fix activation of action plans facet

9 years agoFix quality flaw
Jean-Baptiste Lievremont [Mon, 8 Dec 2014 09:04:01 +0000 (10:04 +0100)]
Fix quality flaw

9 years agoSONAR-5801 Protect against null file_sources.data column
Jean-Baptiste Lievremont [Mon, 8 Dec 2014 09:03:51 +0000 (10:03 +0100)]
SONAR-5801 Protect against null file_sources.data column

9 years agoAdd assertions to sonar-server-benchmarks
Simon Brandhof [Fri, 5 Dec 2014 17:38:24 +0000 (18:38 +0100)]
Add assertions to sonar-server-benchmarks

9 years agoAdd assertions for SonarSource performancing box to sonar-server-benchmarks
Simon Brandhof [Fri, 5 Dec 2014 17:14:37 +0000 (18:14 +0100)]
Add assertions for SonarSource performancing box to sonar-server-benchmarks

9 years agoNew settings for sonar-server-benchmarks
Simon Brandhof [Fri, 5 Dec 2014 16:50:30 +0000 (17:50 +0100)]
New settings for sonar-server-benchmarks

9 years agoRename module sonar-data-test to sonar-server-benchmarks
Simon Brandhof [Fri, 5 Dec 2014 16:36:29 +0000 (17:36 +0100)]
Rename module sonar-data-test to sonar-server-benchmarks

9 years agoFix merge
Simon Brandhof [Fri, 5 Dec 2014 16:24:46 +0000 (17:24 +0100)]
Fix merge

9 years agoMerge remote-tracking branch 'origin/branch-4.5'
Simon Brandhof [Fri, 5 Dec 2014 16:20:04 +0000 (17:20 +0100)]
Merge remote-tracking branch 'origin/branch-4.5'

Conflicts:
sonar-plugin-api/src/main/java/org/sonar/api/web/CodeColorizerFormat.java

9 years agoRevert name of FILE_SOURCES index
Simon Brandhof [Fri, 5 Dec 2014 15:59:22 +0000 (16:59 +0100)]
Revert name of FILE_SOURCES index

9 years agoRemove some usages of IssueNormalizer in IssueIndex
Simon Brandhof [Fri, 5 Dec 2014 15:59:07 +0000 (16:59 +0100)]
Remove some usages of IssueNormalizer in IssueIndex

9 years agoSONAR-5889 Enable possibility of mapping index action to / with Java WS
Jean-Baptiste Lievremont [Fri, 5 Dec 2014 15:54:13 +0000 (16:54 +0100)]
SONAR-5889 Enable possibility of mapping index action to / with Java WS

9 years agoSONAR-5889 Implement api/sources/index on ES index
Jean-Baptiste Lievremont [Fri, 5 Dec 2014 15:26:39 +0000 (16:26 +0100)]
SONAR-5889 Implement api/sources/index on ES index

9 years agoDo not mark Decorator and PostJob as deprecated
Simon Brandhof [Fri, 5 Dec 2014 16:03:02 +0000 (17:03 +0100)]
Do not mark Decorator and PostJob as deprecated

9 years agoRefactor IndexDefinitionHash
Simon Brandhof [Fri, 5 Dec 2014 15:58:24 +0000 (16:58 +0100)]
Refactor IndexDefinitionHash

9 years agoIncrease timeout of ProgressLoggerTest for slow boxes
Simon Brandhof [Fri, 5 Dec 2014 15:43:49 +0000 (16:43 +0100)]
Increase timeout of ProgressLoggerTest for slow boxes

9 years agoSONAR-5877 Close popup by esc
Stas Vilchik [Fri, 5 Dec 2014 13:52:31 +0000 (14:52 +0100)]
SONAR-5877 Close popup by esc

9 years agoSONAR-5845 Issue is selected by border
Stas Vilchik [Fri, 5 Dec 2014 13:49:53 +0000 (14:49 +0100)]
SONAR-5845 Issue is selected by border

9 years agoFix regression concerning SONAR-5878 (custom working directory was not considered)
Julien HENRY [Fri, 5 Dec 2014 10:13:09 +0000 (11:13 +0100)]
Fix regression concerning SONAR-5878 (custom working directory was not considered)

9 years agoFix XSS
Stas Vilchik [Thu, 4 Dec 2014 12:53:36 +0000 (13:53 +0100)]
Fix XSS

9 years agofix purge task when trying to delete a non existant component
Teryk Bellahsene [Fri, 5 Dec 2014 08:49:12 +0000 (09:49 +0100)]
fix purge task when trying to delete a non existant component

9 years agoRe-enable random execution of tests
Simon Brandhof [Fri, 5 Dec 2014 08:38:17 +0000 (09:38 +0100)]
Re-enable random execution of tests

9 years agoFix header
Simon Brandhof [Fri, 5 Dec 2014 07:31:06 +0000 (08:31 +0100)]
Fix header

9 years agoFix bad merge
Simon Brandhof [Thu, 4 Dec 2014 22:50:10 +0000 (23:50 +0100)]
Fix bad merge

9 years agoMinor refactoring in 713_create_file_sources.rb
Simon Brandhof [Thu, 4 Dec 2014 16:41:10 +0000 (17:41 +0100)]
Minor refactoring in 713_create_file_sources.rb

9 years agoStream parsing of data in SourceLineResultSetIterator
Simon Brandhof [Thu, 4 Dec 2014 16:39:11 +0000 (17:39 +0100)]
Stream parsing of data in SourceLineResultSetIterator

9 years agoRetry bulk index request on failures
Simon Brandhof [Thu, 4 Dec 2014 16:38:47 +0000 (17:38 +0100)]
Retry bulk index request on failures

9 years agoAdd class ProgressLogger to log state of counter at fixed intervals
Simon Brandhof [Thu, 4 Dec 2014 22:32:28 +0000 (23:32 +0100)]
Add class ProgressLogger to log state of counter at fixed intervals

9 years agoRefactor issue indexer (project-agnostic approach)
Simon Brandhof [Thu, 4 Dec 2014 20:56:18 +0000 (21:56 +0100)]
Refactor issue indexer (project-agnostic approach)

9 years agoWIP SONAR-5802 Log progress of bulk index
Jean-Baptiste Lievremont [Thu, 4 Dec 2014 15:31:17 +0000 (16:31 +0100)]
WIP SONAR-5802 Log progress of bulk index

9 years agoSONAR-5826 Fix reentrance of migration, add unique constraint on file_sources to...
Jean-Baptiste Lievremont [Thu, 4 Dec 2014 13:48:00 +0000 (14:48 +0100)]
SONAR-5826 Fix reentrance of migration, add unique constraint on file_sources to prevent dups

9 years agoFix measure filter as a list
Stas Vilchik [Thu, 4 Dec 2014 14:28:20 +0000 (15:28 +0100)]
Fix measure filter as a list

9 years agoSONAR-5811 Use the new /api/sources/raw WS instead of the deprecated /api/sources
Stas Vilchik [Thu, 4 Dec 2014 13:29:53 +0000 (14:29 +0100)]
SONAR-5811 Use the new /api/sources/raw WS instead of the deprecated /api/sources

9 years agoRemove unused test file
Simon Brandhof [Thu, 4 Dec 2014 13:16:24 +0000 (14:16 +0100)]
Remove unused test file

9 years agoSONAR-5292 fix mime type of response api/sources/raw
Simon Brandhof [Thu, 4 Dec 2014 13:16:14 +0000 (14:16 +0100)]
SONAR-5292 fix mime type of response api/sources/raw

9 years agoFix XSS
Stas Vilchik [Thu, 4 Dec 2014 12:53:36 +0000 (13:53 +0100)]
Fix XSS

9 years agoSONAR-5869 Remove last references to snapshot_sources from Rails code
Jean-Baptiste Lievremont [Thu, 4 Dec 2014 10:37:39 +0000 (11:37 +0100)]
SONAR-5869 Remove last references to snapshot_sources from Rails code

9 years agoSONAR-5869 Drop snapshot_sources table
Jean-Baptiste Lievremont [Thu, 4 Dec 2014 09:53:11 +0000 (10:53 +0100)]
SONAR-5869 Drop snapshot_sources table

9 years agoFix regression concerning SONAR-5878 (task property was released too early)
Julien HENRY [Thu, 4 Dec 2014 10:46:43 +0000 (11:46 +0100)]
Fix regression concerning SONAR-5878 (task property was released too early)

9 years agoFix some quality flaws
Julien HENRY [Thu, 4 Dec 2014 08:08:46 +0000 (09:08 +0100)]
Fix some quality flaws

9 years agoadd file_sources to cleanup task
Teryk Bellahsene [Thu, 4 Dec 2014 09:58:10 +0000 (10:58 +0100)]
add file_sources to cleanup task

9 years agoSONAR-5819 SONAR-5868 Fix required permission in description of source related WS
Jean-Baptiste Lievremont [Thu, 4 Dec 2014 09:27:33 +0000 (10:27 +0100)]
SONAR-5819 SONAR-5868 Fix required permission in description of source related WS

9 years agoSONAR-5817 remove snapshot_sources use during purge and snapshot delete
Teryk Bellahsene [Thu, 4 Dec 2014 08:36:57 +0000 (09:36 +0100)]
SONAR-5817 remove snapshot_sources use during purge and snapshot delete

9 years agoFix SearchActionMediumTest (which worked until hardcoded date 2014-12-04)
Simon Brandhof [Thu, 4 Dec 2014 08:39:13 +0000 (09:39 +0100)]
Fix SearchActionMediumTest (which worked until hardcoded date 2014-12-04)

Workaround is not good at all (postponed the date). Waiting for removal of formatted dates in ws response.

9 years agoSONAR-5878 More improvement concerning memory consumption
Julien HENRY [Wed, 3 Dec 2014 22:51:05 +0000 (23:51 +0100)]
SONAR-5878 More improvement concerning memory consumption
  * replace all Properties objects by Map<String, String>
  * release Settings after each module analysis

9 years agoSONAR-5804 fix source lines purge of multi module projects
Teryk Bellahsene [Wed, 3 Dec 2014 17:42:09 +0000 (18:42 +0100)]
SONAR-5804 fix source lines purge of multi module projects

9 years agocompute engine – move ProjectPurgeTask on the server side
Teryk Bellahsene [Wed, 3 Dec 2014 16:34:21 +0000 (17:34 +0100)]
compute engine – move ProjectPurgeTask on the server side

9 years agoSONAR-5819 Add check for codeviewer permission on /api/sources/show
Jean-Baptiste Lievremont [Wed, 3 Dec 2014 15:57:35 +0000 (16:57 +0100)]
SONAR-5819 Add check for codeviewer permission on /api/sources/show

9 years agoSONAR-5819 Add check for codeviewer permission on /api/sources/raw
Jean-Baptiste Lievremont [Wed, 3 Dec 2014 15:43:54 +0000 (16:43 +0100)]
SONAR-5819 Add check for codeviewer permission on /api/sources/raw

9 years agoSONAR-5868 Add check for codeviewer permission on api/sources/hash
Jean-Baptiste Lievremont [Wed, 3 Dec 2014 15:38:41 +0000 (16:38 +0100)]
SONAR-5868 Add check for codeviewer permission on api/sources/hash

9 years agoFix parameter descriptions when create a custom rule
Stas Vilchik [Wed, 3 Dec 2014 15:17:35 +0000 (16:17 +0100)]
Fix parameter descriptions when create a custom rule

9 years agoFix message
Stas Vilchik [Wed, 3 Dec 2014 15:14:38 +0000 (16:14 +0100)]
Fix message

9 years agoSONAR-5819 Check sourceviewer permission on /api/sources/lines WS
Jean-Baptiste Lievremont [Wed, 3 Dec 2014 14:43:17 +0000 (15:43 +0100)]
SONAR-5819 Check sourceviewer permission on /api/sources/lines WS

9 years agoSONAR-5804 delete source lines from index while purging and deleting a project
Teryk Bellahsene [Wed, 3 Dec 2014 14:44:17 +0000 (15:44 +0100)]
SONAR-5804 delete source lines from index while purging and deleting a project

9 years agoFix db migration on mssql
Simon Brandhof [Wed, 3 Dec 2014 14:35:14 +0000 (15:35 +0100)]
Fix db migration on mssql

9 years agoSONAR-5827 Decrease memory use during SourcePersister phase
Julien HENRY [Wed, 3 Dec 2014 14:10:51 +0000 (15:10 +0100)]
SONAR-5827 Decrease memory use during SourcePersister phase

9 years agoFix additional logging for web MTs
Stas Vilchik [Wed, 3 Dec 2014 10:20:03 +0000 (11:20 +0100)]
Fix additional logging for web MTs

9 years agoAdd additional logging for web MTs
Stas Vilchik [Wed, 3 Dec 2014 10:02:33 +0000 (11:02 +0100)]
Add additional logging for web MTs

9 years agoSONAR-5718 Fix loading more source code
Stas Vilchik [Wed, 3 Dec 2014 09:33:05 +0000 (10:33 +0100)]
SONAR-5718 Fix loading more source code

9 years agoFix generating issues url from ruby
Stas Vilchik [Wed, 3 Dec 2014 08:47:27 +0000 (09:47 +0100)]
Fix generating issues url from ruby

9 years agoSONAR-5869 Remove persistence of highlighting and symbols in snapshot_data
Julien HENRY [Tue, 2 Dec 2014 16:56:08 +0000 (17:56 +0100)]
SONAR-5869 Remove persistence of highlighting and symbols in snapshot_data

9 years agoAdd module sonar-data-test to build
Simon Brandhof [Tue, 2 Dec 2014 17:58:46 +0000 (18:58 +0100)]
Add module sonar-data-test to build

9 years agoFix execution of web MTs
Stas Vilchik [Tue, 2 Dec 2014 16:38:37 +0000 (17:38 +0100)]
Fix execution of web MTs

9 years agoSONAR-5869 Remove SnapshotSourceDto and all related code. Remove colorizer stuff...
Julien HENRY [Tue, 2 Dec 2014 16:33:57 +0000 (17:33 +0100)]
SONAR-5869 Remove SnapshotSourceDto and all related code. Remove colorizer stuff on server side.

9 years agoSONAR-5869 Remove source code display from issue/show modal
Jean-Baptiste Lievremont [Tue, 2 Dec 2014 15:56:07 +0000 (16:56 +0100)]
SONAR-5869 Remove source code display from issue/show modal

9 years agorename subProjectId by parentProjectId in ComponentDto except in WS use
Teryk Bellahsene [Tue, 25 Nov 2014 10:07:19 +0000 (11:07 +0100)]
rename subProjectId by parentProjectId in ComponentDto except in WS use

Conflicts:
server/sonar-server/src/test/java/org/sonar/server/component/db/ComponentDaoTest.java
sonar-core/src/test/java/org/sonar/core/component/ComponentDtoTest.java

9 years agoSONAR-5804 delete file_sources when deleting a project or during the data cleaning...
Teryk Bellahsene [Tue, 2 Dec 2014 14:54:24 +0000 (15:54 +0100)]
SONAR-5804 delete file_sources when deleting a project or during the data cleaning step

9 years agoFix problem of MySQL closed connections between Ruby and Java migrations
Simon Brandhof [Tue, 2 Dec 2014 14:52:36 +0000 (15:52 +0100)]
Fix problem of MySQL closed connections between Ruby and Java migrations

9 years agoImprove reentrancy of InsertProjectsAuthorizationUpdatedAtMigration
Simon Brandhof [Tue, 2 Dec 2014 14:26:38 +0000 (15:26 +0100)]
Improve reentrancy of InsertProjectsAuthorizationUpdatedAtMigration

9 years agoSONAR-5877 Add the issue underline for just created issues
Stas Vilchik [Tue, 2 Dec 2014 14:02:50 +0000 (15:02 +0100)]
SONAR-5877 Add the issue underline for just created issues

9 years agoSONAR-5877 Return back the issue underline
Stas Vilchik [Tue, 2 Dec 2014 13:52:19 +0000 (14:52 +0100)]
SONAR-5877 Return back the issue underline

9 years agoSONAR-5877 Return back the issue underline
Stas Vilchik [Tue, 2 Dec 2014 13:48:51 +0000 (14:48 +0100)]
SONAR-5877 Return back the issue underline

9 years agoSONAR-5827 Disable batch session when inserting in file_sources to avoid OOM
Julien HENRY [Tue, 2 Dec 2014 13:29:14 +0000 (14:29 +0100)]
SONAR-5827 Disable batch session when inserting in file_sources to avoid OOM

9 years agoDisable JS tests when enabling the profile dbTests
Simon Brandhof [Tue, 2 Dec 2014 13:21:29 +0000 (14:21 +0100)]
Disable JS tests when enabling the profile dbTests

9 years agoIncrease default ES max heap size from 256m to 1G
Simon Brandhof [Tue, 2 Dec 2014 09:20:28 +0000 (10:20 +0100)]
Increase default ES max heap size from 256m to 1G

9 years agoSONAR-5877 Integrate the duplications info
Stas Vilchik [Tue, 2 Dec 2014 13:18:15 +0000 (14:18 +0100)]
SONAR-5877 Integrate the duplications info

9 years agoSONAR-5819 Fix handling of empty highlighting rules
Jean-Baptiste Lievremont [Tue, 2 Dec 2014 11:06:39 +0000 (12:06 +0100)]
SONAR-5819 Fix handling of empty highlighting rules