]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
8 years agoSONAR-7689 support DUPLICATIONS_INDEX.ANALYSIS_UUID in code 1057/head
Sébastien Lesaint [Tue, 21 Jun 2016 10:08:02 +0000 (12:08 +0200)]
SONAR-7689 support DUPLICATIONS_INDEX.ANALYSIS_UUID in code

8 years agoSONAR-7689 add column DUPLICATIONS_INDEX.ANALYSIS_UUID
Sébastien Lesaint [Fri, 17 Jun 2016 15:04:35 +0000 (17:04 +0200)]
SONAR-7689 add column DUPLICATIONS_INDEX.ANALYSIS_UUID

8 years agoMerge remote-tracking branch 'origin/branch-5.6'
Simon Brandhof [Wed, 22 Jun 2016 07:12:53 +0000 (09:12 +0200)]
Merge remote-tracking branch 'origin/branch-5.6'

* origin/branch-5.6:
  SONAR-7791 Upgrade to Tomcat 8.0.32
  SONAR-7791 Upgrade to Tomcat 8.0.32

8 years agoSONAR-7791 Upgrade to Tomcat 8.0.32
Simon Brandhof [Tue, 21 Jun 2016 13:11:20 +0000 (15:11 +0200)]
SONAR-7791 Upgrade to Tomcat 8.0.32

8 years agoSONAR-7791 Upgrade to Tomcat 8.0.32
Simon Brandhof [Mon, 20 Jun 2016 19:29:46 +0000 (21:29 +0200)]
SONAR-7791 Upgrade to Tomcat 8.0.32

8 years agoSONAR-7773 Add number of deprecated rules to WS api/qualityprofiles/search 1053/head
Teryk Bellahsene [Mon, 20 Jun 2016 16:12:40 +0000 (18:12 +0200)]
SONAR-7773 Add number of deprecated rules to WS api/qualityprofiles/search

8 years agoQuality Profile's SearchDataLoader with Java 8 streams
Teryk Bellahsene [Mon, 20 Jun 2016 12:07:47 +0000 (14:07 +0200)]
Quality Profile's SearchDataLoader with Java 8 streams

8 years agoFix Quality flaw
Simon Brandhof [Tue, 21 Jun 2016 11:48:35 +0000 (13:48 +0200)]
Fix Quality flaw

8 years agoCache JDK8 installer on Travis
Simon Brandhof [Tue, 21 Jun 2016 07:11:35 +0000 (09:11 +0200)]
Cache JDK8 installer on Travis

8 years agoAdd integration test for WS GET api/properties?resource=x
Simon Brandhof [Mon, 20 Jun 2016 21:02:35 +0000 (23:02 +0200)]
Add integration test for WS GET api/properties?resource=x

8 years agoSONAR-7792 Upgrade MySQL driver to version 5.1.39
Simon Brandhof [Mon, 20 Jun 2016 19:44:27 +0000 (21:44 +0200)]
SONAR-7792 Upgrade MySQL driver to version 5.1.39

8 years agoSONAR-7791 Upgrade to Tomcat 8.0.32
Simon Brandhof [Mon, 20 Jun 2016 19:29:46 +0000 (21:29 +0200)]
SONAR-7791 Upgrade to Tomcat 8.0.32

8 years agoUpgrade to parent 36
Simon Brandhof [Mon, 20 Jun 2016 19:28:05 +0000 (21:28 +0200)]
Upgrade to parent 36

Allows to bypass header checks in quick-build.sh

8 years agoSONAR-7778 support addition of DUPLICATIONS_INDEX.COMPONENT_UUID 1048/head
Sébastien Lesaint [Fri, 17 Jun 2016 09:36:49 +0000 (11:36 +0200)]
SONAR-7778 support addition of DUPLICATIONS_INDEX.COMPONENT_UUID

8 years agoSONAR-7778 add DUPLICATIONS_INDEX.COMPONENT_UUID
Sébastien Lesaint [Mon, 20 Jun 2016 13:37:36 +0000 (15:37 +0200)]
SONAR-7778 add DUPLICATIONS_INDEX.COMPONENT_UUID

8 years agoSONAR-7229 improve messages
Stas Vilchik [Tue, 21 Jun 2016 08:03:31 +0000 (10:03 +0200)]
SONAR-7229 improve messages

8 years agoAutomatic merge from branch-5.6
ssjenka [Tue, 21 Jun 2016 06:01:57 +0000 (08:01 +0200)]
Automatic merge from branch-5.6

* origin/branch-5.6:
  Fix documentation of properties *.javaOpts

8 years agoClean-up JRubyFacade
Simon Brandhof [Fri, 17 Jun 2016 19:30:27 +0000 (21:30 +0200)]
Clean-up JRubyFacade

8 years agoFix documentation of properties *.javaOpts
Simon Brandhof [Mon, 20 Jun 2016 16:10:21 +0000 (18:10 +0200)]
Fix documentation of properties *.javaOpts

8 years agoFix infinite loop in project.r, method ancestor_projects
Simon Brandhof [Mon, 20 Jun 2016 11:58:55 +0000 (13:58 +0200)]
Fix infinite loop in project.r, method ancestor_projects

8 years agoSONAR-7788 Improve PathResolver::relativePath(File, File) when arguments 1050/head
Julien HENRY [Mon, 20 Jun 2016 06:30:42 +0000 (08:30 +0200)]
SONAR-7788 Improve PathResolver::relativePath(File, File) when arguments
are not normalized

8 years agoSONAR-7693 fix use of SNAPSHOTS.PROJECT_ID in events widget
Sébastien Lesaint [Fri, 17 Jun 2016 15:30:29 +0000 (17:30 +0200)]
SONAR-7693 fix use of SNAPSHOTS.PROJECT_ID in events widget

8 years agoFix migration from 4.5
Simon Brandhof [Sat, 18 Jun 2016 11:58:28 +0000 (13:58 +0200)]
Fix migration from 4.5

PROJECT_MEASURES.PROJECT_ID is not populated in 4.5 so it
can't be used to group updates during migration

8 years agoFix insert in SnapshotMapper.xml
Simon Brandhof [Fri, 17 Jun 2016 18:46:06 +0000 (20:46 +0200)]
Fix insert in SnapshotMapper.xml

8 years agoSONAR-7691 table CE_ACTIVITY should use analysis UUID
Simon Brandhof [Thu, 16 Jun 2016 20:10:06 +0000 (22:10 +0200)]
SONAR-7691 table CE_ACTIVITY should use analysis UUID

8 years agoSONAR-7779 Add column UUID to table SNAPSHOTS
Simon Brandhof [Thu, 16 Jun 2016 16:20:36 +0000 (18:20 +0200)]
SONAR-7779 Add column UUID to table SNAPSHOTS

8 years agoSONAR-7688 Decrease number of SQL requests
Simon Brandhof [Fri, 17 Jun 2016 13:24:20 +0000 (15:24 +0200)]
SONAR-7688 Decrease number of SQL requests

8 years agoSONAR-7720 apply feedback
Stas Vilchik [Fri, 17 Jun 2016 16:14:19 +0000 (18:14 +0200)]
SONAR-7720 apply feedback

8 years agoSONAR-7229 apply feedback
Stas Vilchik [Fri, 17 Jun 2016 16:07:20 +0000 (18:07 +0200)]
SONAR-7229 apply feedback

8 years agoSONAR-7747 IT to validate automatic onboarding 1045/head
Teryk Bellahsene [Thu, 16 Jun 2016 14:01:53 +0000 (16:01 +0200)]
SONAR-7747 IT to validate automatic onboarding

8 years agoSONAR-7747 IT to add and remove a project template creator
Teryk Bellahsene [Thu, 16 Jun 2016 13:25:52 +0000 (15:25 +0200)]
SONAR-7747 IT to add and remove a project template creator

8 years agoSONAR-7747 Check potential permissions when submitting a report
Teryk Bellahsene [Thu, 16 Jun 2016 11:52:57 +0000 (13:52 +0200)]
SONAR-7747 Check potential permissions when submitting a report

8 years agoSONAR-7747 Replace project creator by current user when creating a project
Teryk Bellahsene [Tue, 14 Jun 2016 17:32:34 +0000 (19:32 +0200)]
SONAR-7747 Replace project creator by current user when creating a project

8 years agoFix typo of WS description api/rules/show
Teryk Bellahsene [Wed, 15 Jun 2016 14:49:19 +0000 (16:49 +0200)]
Fix typo of WS description api/rules/show

8 years agoFix quality flaws
Teryk Bellahsene [Tue, 14 Jun 2016 13:47:35 +0000 (15:47 +0200)]
Fix quality flaws

8 years agoSONAR-7713 SONAR-7733 Context path of cookies is now always "/"
Julien Lancelot [Fri, 17 Jun 2016 11:30:13 +0000 (13:30 +0200)]
SONAR-7713 SONAR-7733 Context path of cookies is now always "/"

 It's useless to set the context path of cookies to the web context.
 Moreover, settings the web context in cookie's path will prevent rails to remove the cookie as it's only using '/'

8 years agofix display of My Projects page when web context is set
Stas Vilchik [Fri, 17 Jun 2016 07:33:18 +0000 (09:33 +0200)]
fix display of My Projects page when web context is set

8 years agoFix Quality flaws in DB migrations
Simon Brandhof [Thu, 16 Jun 2016 20:41:26 +0000 (22:41 +0200)]
Fix Quality flaws in DB migrations

8 years agoFix quality flaws
Simon Brandhof [Thu, 16 Jun 2016 12:28:17 +0000 (14:28 +0200)]
Fix quality flaws

8 years agoSONAR-7708 Reorganize "Code Smells" domain on project page (#1027)
Stas Vilchik [Thu, 16 Jun 2016 15:28:47 +0000 (17:28 +0200)]
SONAR-7708 Reorganize "Code Smells" domain on project page (#1027)

8 years agoFix Quality flaws
Simon Brandhof [Thu, 16 Jun 2016 12:28:17 +0000 (14:28 +0200)]
Fix Quality flaws

8 years agoSONAR-7738 support in code use of *_UUID instead of PROJECTS._*ID 1044/head
Sébastien Lesaint [Tue, 14 Jun 2016 13:22:05 +0000 (15:22 +0200)]
SONAR-7738 support in code use of *_UUID instead of PROJECTS._*ID

8 years agoSONAR-7738 ensure remove_index is reentrant
Sébastien Lesaint [Tue, 14 Jun 2016 16:44:35 +0000 (18:44 +0200)]
SONAR-7738 ensure remove_index is reentrant

8 years agoSONAR-7738 update table PROJECTS to have self UUIDs insteaf of ID
Sébastien Lesaint [Fri, 10 Jun 2016 15:19:48 +0000 (17:19 +0200)]
SONAR-7738 update table PROJECTS to have self UUIDs insteaf of ID

8 years agoSONAR-7746 Delete permission template characteristics when deleting a permission... 1041/head
Julien Lancelot [Wed, 15 Jun 2016 08:57:58 +0000 (10:57 +0200)]
SONAR-7746 Delete permission template characteristics when deleting a permission template

8 years agoDisable Clirr check
Simon Brandhof [Thu, 16 Jun 2016 07:23:27 +0000 (09:23 +0200)]
Disable Clirr check

As it's incompatible with Java 8

8 years agoFix and add tests, fix quality flaws
Simon Brandhof [Wed, 15 Jun 2016 20:15:18 +0000 (22:15 +0200)]
Fix and add tests, fix quality flaws

8 years agoImprove org.sonar.api.web.ServletFilter.UrlPattern
Simon Brandhof [Wed, 15 Jun 2016 13:04:44 +0000 (15:04 +0200)]
Improve org.sonar.api.web.ServletFilter.UrlPattern

8 years agofix l10n message
Stas Vilchik [Wed, 15 Jun 2016 14:57:33 +0000 (16:57 +0200)]
fix l10n message

8 years agofix MyAccountPageTest
Stas Vilchik [Wed, 15 Jun 2016 14:01:34 +0000 (16:01 +0200)]
fix MyAccountPageTest

8 years agoSONAR-7244 fix component's selectByQuery when no component id is provided
Teryk Bellahsene [Wed, 15 Jun 2016 12:36:40 +0000 (14:36 +0200)]
SONAR-7244 fix component's selectByQuery when no component id is provided

8 years agoimprove reliability of MyAccountPageTest
Stas Vilchik [Wed, 15 Jun 2016 11:17:27 +0000 (13:17 +0200)]
improve reliability of MyAccountPageTest

8 years agofix double web context when request l10n messages
Stas Vilchik [Wed, 15 Jun 2016 11:11:59 +0000 (13:11 +0200)]
fix double web context when request l10n messages

8 years agoRemove useless code from UpgradeTest
Simon Brandhof [Wed, 15 Jun 2016 09:46:31 +0000 (11:46 +0200)]
Remove useless code from UpgradeTest

8 years agoSONAR-7688 fix migration from 4.5
Simon Brandhof [Wed, 15 Jun 2016 09:45:29 +0000 (11:45 +0200)]
SONAR-7688 fix migration from 4.5

Column PROJECT_MEASURES.PROJECT_ID is NULL when
upgrading from 4.5

8 years agoSONAR-7713 Exclude static resources from token validation filter 1029/head
Julien Lancelot [Tue, 14 Jun 2016 15:28:20 +0000 (17:28 +0200)]
SONAR-7713 Exclude static resources from token validation filter

8 years agoSONAR-7713 Fix JWT usage with authentication plugins
Julien Lancelot [Tue, 14 Jun 2016 12:49:55 +0000 (14:49 +0200)]
SONAR-7713 Fix JWT usage with authentication plugins

Init of UserSession is now done in User.authenticate and removal of cookies is now done in reset_session for authentication plugins to correctly work with JWT

8 years agoSONAR-7718 Web API requests should send X-XSRF-TOKEN HTTP header
Stas Vilchik [Mon, 6 Jun 2016 12:22:50 +0000 (14:22 +0200)]
SONAR-7718 Web API requests should send X-XSRF-TOKEN HTTP header

8 years agoSONAR-7733 Add CSRF protection with JWT
Julien Lancelot [Mon, 13 Jun 2016 12:40:10 +0000 (14:40 +0200)]
SONAR-7733 Add CSRF protection with JWT

8 years agoSONAR-7739 Remove remember me cookie
Julien Lancelot [Thu, 9 Jun 2016 14:52:53 +0000 (16:52 +0200)]
SONAR-7739 Remove remember me cookie

8 years agoSONAR-7740 /oauth/callback is generating a JWT token
Julien Lancelot [Tue, 14 Jun 2016 09:27:38 +0000 (11:27 +0200)]
SONAR-7740 /oauth/callback is generating a JWT token

8 years agoSONAR-7713 Use JWT session
Julien Lancelot [Tue, 14 Jun 2016 09:27:10 +0000 (11:27 +0200)]
SONAR-7713 Use JWT session

8 years agoSONAR-7229 Create new Projects page for My Account space 1032/head
Stas Vilchik [Fri, 3 Jun 2016 08:14:44 +0000 (10:14 +0200)]
SONAR-7229 Create new Projects page for My Account space

8 years agoSONAR-7244 WS api/projects/search_my_projects list projects of which current user...
Teryk Bellahsene [Fri, 10 Jun 2016 11:32:45 +0000 (13:32 +0200)]
SONAR-7244 WS api/projects/search_my_projects list projects of which current user is admin

8 years agoSONAR-7717 automatically handle baseUrl (#1039)
Stas Vilchik [Wed, 15 Jun 2016 07:36:50 +0000 (09:36 +0200)]
SONAR-7717 automatically handle baseUrl (#1039)

8 years agoSONAR-7688 table PROJECT_MEASURES should use component UUID
Simon Brandhof [Mon, 13 Jun 2016 09:54:01 +0000 (11:54 +0200)]
SONAR-7688 table PROJECT_MEASURES should use component UUID

8 years agoImprove documentation of UuidFactory
Simon Brandhof [Mon, 13 Jun 2016 09:54:20 +0000 (11:54 +0200)]
Improve documentation of UuidFactory

8 years agorestore migration 1152, lost in a merge, into rows-h2.sql 1035/head
Sébastien Lesaint [Tue, 14 Jun 2016 14:12:31 +0000 (16:12 +0200)]
restore migration 1152, lost in a merge, into rows-h2.sql

8 years agoSONAR-7693 support removal of ID columns in SNAPSHOTS
Sébastien Lesaint [Thu, 9 Jun 2016 15:09:20 +0000 (17:09 +0200)]
SONAR-7693 support removal of ID columns in SNAPSHOTS

8 years agoSONAR-7693 replace SNAPSHOTS.*PROJECT_ID by columns with uuids
Sébastien Lesaint [Thu, 9 Jun 2016 15:08:37 +0000 (17:08 +0200)]
SONAR-7693 replace SNAPSHOTS.*PROJECT_ID by columns with uuids

8 years agofix bad refactoring
Stas Vilchik [Tue, 14 Jun 2016 12:00:13 +0000 (14:00 +0200)]
fix bad refactoring

8 years agoSONAR-7720 Modify the Permission Templates page to support project creators (#1030)
Stas Vilchik [Tue, 14 Jun 2016 11:32:01 +0000 (13:32 +0200)]
SONAR-7720 Modify the Permission Templates page to support project creators (#1030)

8 years agofix padding on the "Update Key" page
Stas Vilchik [Tue, 14 Jun 2016 08:51:00 +0000 (10:51 +0200)]
fix padding on the "Update Key" page

8 years agoSONAR-7501 drop DB columns
Simon Brandhof [Sat, 11 Jun 2016 09:00:49 +0000 (11:00 +0200)]
SONAR-7501 drop DB columns

8 years agoSONAR-7501 remove usage of columns in SQL requests
Simon Brandhof [Sat, 11 Jun 2016 08:58:54 +0000 (10:58 +0200)]
SONAR-7501 remove usage of columns in SQL requests

8 years agoFix OOM in build
Simon Brandhof [Mon, 13 Jun 2016 15:02:07 +0000 (17:02 +0200)]
Fix OOM in build

due to https://issues.apache.org/jira/browse/MSOURCES-94
Reverting upgrade to parent 35 and fixing skip of enforcer rules
 in quick-build.sh

8 years agoImprove quick-build.sh
Simon Brandhof [Mon, 13 Jun 2016 14:11:50 +0000 (16:11 +0200)]
Improve quick-build.sh

- upgrade to parent 35 to allow to skip license header check
- do not enabled enforcer on size of zip file

8 years agoimprove table rendering on the Code page
Stas Vilchik [Mon, 13 Jun 2016 08:19:55 +0000 (10:19 +0200)]
improve table rendering on the Code page

8 years agoSONAR-7748 Implement API Server.getPublicRootUrl() on scanner side 1026/head
Julien HENRY [Thu, 9 Jun 2016 09:45:01 +0000 (11:45 +0200)]
SONAR-7748 Implement API Server.getPublicRootUrl() on scanner side

8 years agoAutomatic merge from branch-5.6
ssjenka [Mon, 13 Jun 2016 07:45:53 +0000 (09:45 +0200)]
Automatic merge from branch-5.6

* origin/branch-5.6:
  SONAR-7752 Documentation of sonar.web.port in sonar.properties is not correct
  Fix 2 links in javadoc of org.sonar.api.batch

8 years agoSONAR-7752 Documentation of sonar.web.port in sonar.properties is not correct
Simon Brandhof [Mon, 13 Jun 2016 07:42:55 +0000 (09:42 +0200)]
SONAR-7752 Documentation of sonar.web.port in sonar.properties is not correct

8 years agoFix 2 links in javadoc of org.sonar.api.batch
Simon Brandhof [Mon, 13 Jun 2016 07:39:07 +0000 (09:39 +0200)]
Fix 2 links in javadoc of org.sonar.api.batch

8 years agoDB migration: make alter column re-entrant on Oracle 1023/head
Sébastien Lesaint [Wed, 8 Jun 2016 08:22:22 +0000 (10:22 +0200)]
DB migration: make alter column re-entrant on Oracle

this is achieved by handling errors ORA-01451 and ORA-01442 when statement is executed and executing it again without the confliction NULL or NOT NULL
also, altering multiple columns in the same statement on Oracle had to be removed to ensure correct handling of these errors

8 years agorename AlterColumnsTypeBuilder to AlterColumnsBuilder
Sébastien Lesaint [Wed, 8 Jun 2016 06:48:28 +0000 (08:48 +0200)]
rename AlterColumnsTypeBuilder to AlterColumnsBuilder

8 years agoSONAR-7692 support uuid columns in resource_index
Sébastien Lesaint [Tue, 7 Jun 2016 16:35:06 +0000 (18:35 +0200)]
SONAR-7692 support uuid columns in resource_index

8 years agoAlterColumnsTypeBuilder: support change nullity on postgre and oracle too
Sébastien Lesaint [Tue, 7 Jun 2016 07:16:15 +0000 (09:16 +0200)]
AlterColumnsTypeBuilder: support change nullity on postgre and oracle too

8 years agoSONAR-7692 add DdlChange#getDialect() and use it in subclasses
Sébastien Lesaint [Thu, 9 Jun 2016 13:55:10 +0000 (15:55 +0200)]
SONAR-7692 add DdlChange#getDialect() and use it in subclasses

this avoid having two private property with the same object

8 years agoSONAR-7692 change table resource_index to use project uuids
Sébastien Lesaint [Mon, 6 Jun 2016 15:12:38 +0000 (17:12 +0200)]
SONAR-7692 change table resource_index to use project uuids

8 years agoDbTester: add test on nullable or not to assertColumnDefinition
Sébastien Lesaint [Mon, 6 Jun 2016 15:11:34 +0000 (17:11 +0200)]
DbTester: add test on nullable or not to assertColumnDefinition

8 years agoDbTester: add executeInsert with varargs
Sébastien Lesaint [Mon, 6 Jun 2016 15:11:06 +0000 (17:11 +0200)]
DbTester: add executeInsert with varargs

8 years agoRemove support of unused property sonar.authorizer in ruby code
Simon Brandhof [Thu, 9 Jun 2016 13:33:43 +0000 (15:33 +0200)]
Remove support of unused property sonar.authorizer in ruby code

8 years agoSONAR-7501 do not use rule_id in project_measure.rb
Simon Brandhof [Thu, 9 Jun 2016 13:15:18 +0000 (15:15 +0200)]
SONAR-7501 do not use rule_id in project_measure.rb

8 years agoRemove unused ruby classes Dependency and ResourceFinder
Simon Brandhof [Thu, 9 Jun 2016 13:11:59 +0000 (15:11 +0200)]
Remove unused ruby classes Dependency and ResourceFinder

8 years agoRemove useless property enforcer.skip
Simon Brandhof [Tue, 7 Jun 2016 08:11:14 +0000 (10:11 +0200)]
Remove useless property enforcer.skip

This property is already defined in profile skipSanityChecks

8 years agoAdd comment to PluginsTest for disabled maifcobol plugin
Simon Brandhof [Tue, 7 Jun 2016 10:40:32 +0000 (12:40 +0200)]
Add comment to PluginsTest for disabled maifcobol plugin

8 years agoRemove unused constants in ProcessProperties
Simon Brandhof [Tue, 7 Jun 2016 08:07:17 +0000 (10:07 +0200)]
Remove unused constants in ProcessProperties

8 years agorefactor react components (#1033)
Stas Vilchik [Fri, 10 Jun 2016 15:37:21 +0000 (17:37 +0200)]
refactor react components (#1033)

8 years agoSONAR-7726 WS api/permissions/search_templates ordered alphabetically
Teryk Bellahsene [Fri, 10 Jun 2016 09:50:39 +0000 (11:50 +0200)]
SONAR-7726 WS api/permissions/search_templates ordered alphabetically

8 years agoFix IT - WS api/permissions/search_templates returns all project permissions
Teryk Bellahsene [Fri, 10 Jun 2016 09:03:29 +0000 (11:03 +0200)]
Fix IT - WS api/permissions/search_templates returns all project permissions

8 years agoAutomatic merge from branch-5.6
ssjenka [Thu, 9 Jun 2016 13:55:53 +0000 (15:55 +0200)]
Automatic merge from branch-5.6

* origin/branch-5.6:
  Remove useless declaration of animal-sniffer-maven-plugin