]>
source.dussan.org Git - sonarqube.git/log
Sébastien Lesaint [Thu, 15 Dec 2016 14:19:48 +0000 (15:19 +0100)]
SONAR-8445 drop field DatabaseVersion.LAST_VERSION
replace usages of this field by either MigrationSteps.getMaxMigrationNumber() or DatabaseVersion.getStatus()
also, change return type of DatabaseVersion.getVersion from int to Optional<Long>
MigrationStep configuration is now avaiable at level2, in both web and CE container (because it is used by DatabaseVersion class)
Sébastien Lesaint [Fri, 16 Dec 2016 08:12:19 +0000 (09:12 +0100)]
SONAR-8445 move DatabaseVersion to sonar-db-migration
Sébastien Lesaint [Thu, 15 Dec 2016 14:03:40 +0000 (15:03 +0100)]
add constant for minimum number of components in ComponentContainer
Sébastien Lesaint [Thu, 15 Dec 2016 13:52:38 +0000 (14:52 +0100)]
SONAR-8445 move DatabaseVersion to level2
also moved DatabaseServerCompatibility which depends on it
Sébastien Lesaint [Thu, 15 Dec 2016 13:30:58 +0000 (14:30 +0100)]
SONAR-8445 add a DAO for SCHEMA_MIGRATIONS
and remove direct usages of MyBatis mapper
Sébastien Lesaint [Thu, 15 Dec 2016 13:22:44 +0000 (14:22 +0100)]
improving stability of DatabaseMigrationImplConcurrentAccessTest
Sébastien Lesaint [Thu, 15 Dec 2016 10:24:37 +0000 (11:24 +0100)]
sort DAO classes in DaoModule alphabetically
Sébastien Lesaint [Thu, 15 Dec 2016 10:11:00 +0000 (11:11 +0100)]
SONAR-8445 move DataChange subclasses from sonar-db to sonar-db-migration
Sébastien Lesaint [Thu, 15 Dec 2016 10:04:28 +0000 (11:04 +0100)]
SONAR-8445 delete unused resources from deleted unit test
Sébastien Lesaint [Thu, 15 Dec 2016 10:01:02 +0000 (11:01 +0100)]
SONAR-8445 move def and sql builder classes to sonar-db-migration
Sébastien Lesaint [Thu, 15 Dec 2016 09:20:10 +0000 (10:20 +0100)]
SONAR-8445 move package charset from sonar-db to sonar-db-migration
Sébastien Lesaint [Wed, 14 Dec 2016 13:04:32 +0000 (14:04 +0100)]
SONAR-8445 a bit of Ruby code cleaning + fix quality flaws
Julien HENRY [Fri, 16 Dec 2016 12:30:50 +0000 (13:30 +0100)]
Try to reenable failing test with a lower footprint
Julien HENRY [Fri, 16 Dec 2016 09:29:26 +0000 (10:29 +0100)]
Temporarily disable test that cause OOM
Julien HENRY [Thu, 15 Dec 2016 15:31:58 +0000 (16:31 +0100)]
Fix quality flaws
Julien Lancelot [Thu, 15 Dec 2016 13:48:40 +0000 (14:48 +0100)]
SONAR-7292 Remove useless code in IssueChangeDao
Julien Lancelot [Wed, 14 Dec 2016 18:28:38 +0000 (19:28 +0100)]
SONAR-7293 Replace Ruby WS api/issues/delete_comment by Java WS
Julien Lancelot [Wed, 14 Dec 2016 17:56:53 +0000 (18:56 +0100)]
SONAR-7294 Replace Ruby WS api/issues/edit_comment
Julien Lancelot [Wed, 14 Dec 2016 17:08:17 +0000 (18:08 +0100)]
SONAR-7292 IssueChangeDao#selectCommentByKey now returns a dto
Julien Lancelot [Wed, 14 Dec 2016 16:41:04 +0000 (17:41 +0100)]
SONAR-7292 Move IssueTesting to sonar-db for IssueDto and keep IssueDocTesting for IssueDoc
Julien Lancelot [Wed, 14 Dec 2016 16:06:14 +0000 (17:06 +0100)]
SONAR-7292 Sanitize IssuesWsParameters and add some missing actions in IssueService
Julien Lancelot [Wed, 14 Dec 2016 10:27:15 +0000 (11:27 +0100)]
SONAR-7292 Replace Ruby WS api/issues/add_comment
Julien HENRY [Wed, 14 Dec 2016 16:45:59 +0000 (17:45 +0100)]
SONAR-8540 Fix saving of raw IT/Overall coverage measures
and improve coverage
Sébastien Lesaint [Thu, 15 Dec 2016 08:26:17 +0000 (09:26 +0100)]
Merge branch 'branch-6.2'
Teryk Bellahsene [Wed, 14 Dec 2016 17:18:23 +0000 (18:18 +0100)]
Fix quality flaws
Simon Brandhof [Fri, 9 Dec 2016 11:41:42 +0000 (12:41 +0100)]
Use local SonarQube ZIP in performance and upgrade tests
Simon Brandhof [Wed, 14 Dec 2016 16:29:48 +0000 (17:29 +0100)]
Drop some Ruby code
* Drop color-tools ruby gem
* Drop unused jrails.rb
* Sanitize database_version.rb
Sébastien Lesaint [Wed, 14 Dec 2016 14:52:24 +0000 (15:52 +0100)]
SONAR-8416 fix login failure log on logout from the UI
Sébastien Lesaint [Mon, 28 Nov 2016 11:40:47 +0000 (12:40 +0100)]
SONAR-8417 control auth event log with sonar.log.level.web.auth.event
Julien Lancelot [Fri, 2 Dec 2016 10:06:52 +0000 (11:06 +0100)]
SONAR-8416 Update UTs to check auth events in LoginActionTest
Sébastien Lesaint [Fri, 2 Dec 2016 08:12:18 +0000 (09:12 +0100)]
SONAR-8416 fix quality flaws (duplicated code and other)
Sébastien Lesaint [Wed, 30 Nov 2016 11:33:10 +0000 (12:33 +0100)]
SONAR-8416 restore error message displayed to user
Julien Lancelot [Tue, 29 Nov 2016 13:36:28 +0000 (14:36 +0100)]
SONAR-8416 Add IT in SSO authentication
This test is checking that the ui is displaying an explicit message when a user try to authenticate with the same email than an existing one
Julien Lancelot [Tue, 29 Nov 2016 09:35:34 +0000 (10:35 +0100)]
SONAR-8416 improve ITs on authentication
Complete check on message displayed in ui when functional authentication errors are generated
Add ITs when errors are generated during callback of OAuth2 authentication plugins
Sébastien Lesaint [Mon, 28 Nov 2016 11:31:00 +0000 (12:31 +0100)]
SONAR-8416 AuthenticationEventImpl now log at DEBUG
Sébastien Lesaint [Mon, 28 Nov 2016 10:47:25 +0000 (11:47 +0100)]
SONAR-8416 prevent log flooding with über long login
Sébastien Lesaint [Tue, 29 Nov 2016 17:04:01 +0000 (18:04 +0100)]
SONAR-8416 add event log on error in OAuth2 and Base authent
Sébastien Lesaint [Tue, 29 Nov 2016 13:28:43 +0000 (14:28 +0100)]
SONAR-8416 move handling logic out from UnauthorizedException
and to AuthenticationError
Sébastien Lesaint [Mon, 28 Nov 2016 08:30:33 +0000 (09:30 +0100)]
SONAR-8416 add event log in case of error for basic, realm, jwt
generic UnauthorizedException thrown in case of login failure is replaced by specific AuthenticationException which includes context information to generate details failure logs
Sébastien Lesaint [Fri, 25 Nov 2016 10:41:10 +0000 (11:41 +0100)]
SONAR-8416 add log (INFO) when user successfuly log in
Teryk Bellahsene [Wed, 14 Dec 2016 15:14:34 +0000 (16:14 +0100)]
SONAR-8467 Fix total number of analyses when filtering by category
Teryk Bellahsene [Tue, 13 Dec 2016 16:34:51 +0000 (17:34 +0100)]
SONAR-8468 Create WS api/project_analyses/delete
ssjenka [Wed, 14 Dec 2016 15:33:37 +0000 (16:33 +0100)]
Automatic merge from branch-6.2
* origin/branch-6.2:
Fix IssueNotificationsTest
Simon Brandhof [Wed, 14 Dec 2016 14:44:32 +0000 (15:44 +0100)]
Fix IssueNotificationsTest
Fail because the analysis date is hardcoded to 2012-12-15,
so 5 years ago. Issues are created and purged in a row !
Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
Stas Vilchik [Wed, 14 Dec 2016 14:11:28 +0000 (15:11 +0100)]
run jest tests sequentially
Julien Lancelot [Tue, 13 Dec 2016 16:59:25 +0000 (17:59 +0100)]
SONAR-7728 Add IT checking changelog of file move contains file names
Julien Lancelot [Tue, 13 Dec 2016 17:08:39 +0000 (18:08 +0100)]
SONAR-7728 Return file long name in changelog during a file move
Julien Lancelot [Tue, 13 Dec 2016 16:46:27 +0000 (17:46 +0100)]
SONAR-7728 Replace old IssueClient by new one
Oliver Trosien [Wed, 14 Dec 2016 12:21:10 +0000 (13:21 +0100)]
Typo: "componet" instead of "component" (#1463)
Sébastien Lesaint [Tue, 13 Dec 2016 15:43:47 +0000 (16:43 +0100)]
SONAR-8445 do auto upgrade on fresh install without Ruby
Sébastien Lesaint [Tue, 13 Dec 2016 11:20:34 +0000 (12:20 +0100)]
SONAR-8445 move SQ 5.6 create schema migrations out of Ruby
and start some cleaning of migration related code in Ruby
Sébastien Lesaint [Tue, 13 Dec 2016 10:39:22 +0000 (11:39 +0100)]
SONAR-8445 move SQ 5.6.1 migration out of Ruby
Sébastien Lesaint [Mon, 12 Dec 2016 15:40:14 +0000 (16:40 +0100)]
SONAR-8445 add module sonar-db-migration to db-unit QA axes
Sébastien Lesaint [Wed, 14 Dec 2016 10:41:42 +0000 (11:41 +0100)]
SONAR-8445 move SQ 6.0 migrations out of Ruby
Sébastien Lesaint [Mon, 12 Dec 2016 10:56:39 +0000 (11:56 +0100)]
SONAR-8445 move SQ 6.1 migrations out of Ruby
Sébastien Lesaint [Mon, 12 Dec 2016 13:15:22 +0000 (14:15 +0100)]
SONAR-8445 support multiple migrations referencing same MigrationStep
includes add support for support components per DbVersion
Sébastien Lesaint [Mon, 12 Dec 2016 09:46:52 +0000 (10:46 +0100)]
SONAR-8445 move SQ 6.2 migrations out of Ruby
Sébastien Lesaint [Thu, 8 Dec 2016 17:25:20 +0000 (18:25 +0100)]
SONAR-8445 run DB migration of SQ 6.3 with Java
add Java toolkit to run DB migrations
port last 3 DB migrations (ie. from current SQ 6.3) to this Java toolkit and make it run after Ruby migration
Sébastien Lesaint [Fri, 9 Dec 2016 16:34:02 +0000 (17:34 +0100)]
SONAR-8445 fork BaseDataChange and DdlChange in sonar-db-migration
interface DataChange is dropped and BaseDataChange renamed to DataChange
Sébastien Lesaint [Thu, 8 Dec 2016 10:53:37 +0000 (11:53 +0100)]
SONAR-8445 move PlatformDatabaseMigration to package migration
instead of package migrations, so that it is located as if it was in sonar-db-migration
Sébastien Lesaint [Thu, 8 Dec 2016 09:55:57 +0000 (10:55 +0100)]
SONAR-8445 move DatabaseMigration to sonar-db-migration
also, split state (which must be stored at platform level 2 because we need to keep state until SQ is shutdown) from migration code, which doesn't need to be kept in memory once Platform is out of safe mode
Sébastien Lesaint [Wed, 7 Dec 2016 14:04:10 +0000 (15:04 +0100)]
SONAR-8445 handle creation of table SCHEMA_MIGRATIONS in Java
Sébastien Lesaint [Wed, 7 Dec 2016 10:09:50 +0000 (11:09 +0100)]
SONAR-8445 create maven module sonar-db-migration
Simon Brandhof [Wed, 14 Dec 2016 11:06:19 +0000 (12:06 +0100)]
Fix some Quality flaws
Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
Simon Brandhof [Wed, 14 Dec 2016 09:47:50 +0000 (10:47 +0100)]
SONAR-8535 SONAR-7304 sanitize WS api/server/*
- SONAR-8535 drop api/server/index
- SONAR-8535 drop api/server/setup
- SONAR-7304 refactor api/server/version in Java
Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
Julien Lancelot [Wed, 14 Dec 2016 08:27:29 +0000 (09:27 +0100)]
Remove file related to measure filters
Tom [Wed, 14 Dec 2016 07:34:33 +0000 (08:34 +0100)]
Automatic merge from branch-6.2
* origin/branch-6.2:
Prepare for next development iteration
release 6.2
fix type of INTEGER columns on Oracle
Teryk Bellahsene [Tue, 13 Dec 2016 17:02:33 +0000 (18:02 +0100)]
SONAR-8467 Fix pagination result when filtering by category
Janos Gyerik [Tue, 13 Dec 2016 16:39:00 +0000 (17:39 +0100)]
Make sure we always start with empty buffers before tests
Tom [Tue, 13 Dec 2016 16:29:05 +0000 (17:29 +0100)]
Prepare for next development iteration
Julien Lancelot [Mon, 12 Dec 2016 16:52:19 +0000 (17:52 +0100)]
SONAR-7290 Add changelog action in IssueClient from ws-client
Julien Lancelot [Mon, 12 Dec 2016 15:55:09 +0000 (16:55 +0100)]
SONAR-8531 api/issues/changelog should return raw value of effort
Julien Lancelot [Mon, 12 Dec 2016 13:51:59 +0000 (14:51 +0100)]
SONAR-7290 Rewrite api/issues/changelog in Java
Julien Lancelot [Mon, 12 Dec 2016 14:36:18 +0000 (15:36 +0100)]
SONAR-7290 Remove api/issues/changelog from rails
Julien Lancelot [Mon, 12 Dec 2016 08:53:43 +0000 (09:53 +0100)]
SONAR-7290 Move issues classes related to ws to IssueWsModule
Julien Lancelot [Mon, 12 Dec 2016 08:47:36 +0000 (09:47 +0100)]
SONAR-7290 Simplify and rename ActionService to ActionFinder
Tom [Tue, 13 Dec 2016 15:05:23 +0000 (16:05 +0100)]
release 6.2
Simon Brandhof [Tue, 13 Dec 2016 12:01:18 +0000 (13:01 +0100)]
SONAR-5471 fix type of INTEGER columns on Oracle
Correct type is NUMBER(38,0) but not INTEGER
Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
Simon Brandhof [Mon, 12 Dec 2016 16:54:28 +0000 (17:54 +0100)]
SONAR-5471 use v5.6 as version of initial schema
Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
Simon Brandhof [Mon, 12 Dec 2016 16:44:25 +0000 (17:44 +0100)]
SONAR-8533 Force unit CHAR on VARCHAR columns on Oracle
Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
Simon Brandhof [Mon, 12 Dec 2016 16:43:45 +0000 (17:43 +0100)]
SONAR-5471 Auto-incremented ID must start with 1 on all DB
- H2 was 1 in schema-h2.ddl but 0 in CreateTableBuilder
- MSSQL was 1 in ruby but 0 in CreateTableBuilder
Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
Simon Brandhof [Mon, 12 Dec 2016 15:53:05 +0000 (16:53 +0100)]
Fix Quality flaws
Simon Brandhof [Mon, 12 Dec 2016 14:31:39 +0000 (15:31 +0100)]
SONAR-5471 create initial schema (version 5.5)
Simon Brandhof [Mon, 12 Dec 2016 14:26:32 +0000 (15:26 +0100)]
SONAR-5471 ability to have DEFAULT values on INT columns
Teryk Bellahsene [Mon, 12 Dec 2016 16:16:05 +0000 (17:16 +0100)]
SONAR-8467 Create WS api/project_analyses/search
Simon Brandhof [Tue, 13 Dec 2016 12:52:23 +0000 (13:52 +0100)]
fix type of INTEGER columns on Oracle
Correct type is NUMBER(38,0) but not INTEGER
Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
Simon Brandhof [Tue, 13 Dec 2016 08:58:18 +0000 (09:58 +0100)]
SONAR-8534 delete ACTIVITY rows which don't have profileKey field
Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
ssjenka [Tue, 13 Dec 2016 07:02:44 +0000 (08:02 +0100)]
Automatic merge from branch-6.2
* origin/branch-6.2:
SONAR-8532 Upgrade embedded plugins to latest version
Stas Vilchik [Mon, 12 Dec 2016 16:40:57 +0000 (17:40 +0100)]
use yarn (#1453)
Julien Lancelot [Mon, 12 Dec 2016 16:09:03 +0000 (17:09 +0100)]
SONAR-8532 Upgrade embedded plugins to latest version
Stas Vilchik [Mon, 12 Dec 2016 15:24:56 +0000 (16:24 +0100)]
support old project permalinks
Julien Lancelot [Fri, 9 Dec 2016 08:36:43 +0000 (09:36 +0100)]
SONAR-7291 Extract transition methods from IssueService to TransitionService
Julien Lancelot [Fri, 9 Dec 2016 08:33:49 +0000 (09:33 +0100)]
SONAR-7291 Rename IssueUpdater to IssueFieldsSetter
A new IssueUpdater used to update issue in db needs to be created
Julien Lancelot [Thu, 8 Dec 2016 16:18:58 +0000 (17:18 +0100)]
SONAR-7291 Drop WS api/issues/transitions
Julien Lancelot [Thu, 8 Dec 2016 10:44:33 +0000 (11:44 +0100)]
SONAR-7291 Clean up no more used code related to rails
Remove no more used rails Issue.to_hash
Remove no more used method from InternalRubyIssueService
Stas Vilchik [Mon, 12 Dec 2016 13:47:41 +0000 (14:47 +0100)]
use nodejs 6.x (#1451)
Simon Brandhof [Mon, 12 Dec 2016 09:25:58 +0000 (10:25 +0100)]
SONAR-5471 refactor db migration 1315 in Java
Simon Brandhof [Thu, 8 Dec 2016 20:31:20 +0000 (21:31 +0100)]
SONAR-5471 add RenameTableBuilder
Simon Brandhof [Wed, 7 Dec 2016 13:02:14 +0000 (14:02 +0100)]
SONAR-5471 move creation of 5.6+ indices to Java migrations
Simon Brandhof [Wed, 7 Dec 2016 09:45:16 +0000 (10:45 +0100)]
SONAR-5471 support timestamp type