]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
8 years agoSONAR-7759 Java WS are not executed by Rails
Julien Lancelot [Mon, 27 Jun 2016 09:07:27 +0000 (11:07 +0200)]
SONAR-7759 Java WS are not executed by Rails

8 years agoSONAR-7796 Rewrite /api/authentication/validate in Java
Julien Lancelot [Wed, 22 Jun 2016 15:04:00 +0000 (17:04 +0200)]
SONAR-7796 Rewrite /api/authentication/validate in Java

8 years agoSONAR-7732 UserSession throws UnauthorizedException if null
Julien Lancelot [Thu, 23 Jun 2016 07:54:55 +0000 (09:54 +0200)]
SONAR-7732 UserSession throws UnauthorizedException if null

If user is not authorized (bad credentials, not authenticated when force authentication is true, etc.) the UserSession will throw an UnauthorizedException in order for rails to be able to deal with this use case (redirect to login page, render 401 in WS,etc.)

8 years agoUserSession should not be used when defining WS
Julien Lancelot [Thu, 23 Jun 2016 07:51:38 +0000 (09:51 +0200)]
UserSession should not be used when defining WS

 As UserSession is not set at startup, using it to get the user locale is useless.
 It's netter to directly use English locale (which is the default value)

8 years agoSONAR-7761 Fix ITs as login page is now using AJAX
Julien Lancelot [Wed, 22 Jun 2016 12:32:29 +0000 (14:32 +0200)]
SONAR-7761 Fix ITs as login page is now using AJAX

8 years agoSONAR-7763 Allow authentication using basic HTTP authentication in Java
Julien Lancelot [Tue, 21 Jun 2016 12:03:15 +0000 (14:03 +0200)]
SONAR-7763 Allow authentication using basic HTTP authentication in Java

8 years agoSONAR-7761 improve submitting of login form
Stas Vilchik [Fri, 24 Jun 2016 09:43:52 +0000 (11:43 +0200)]
SONAR-7761 improve submitting of login form

8 years agoSONAR-7761 Login page is using /api/authentication/login WS
Julien Lancelot [Tue, 21 Jun 2016 08:00:11 +0000 (10:00 +0200)]
SONAR-7761 Login page is using /api/authentication/login WS

8 years agoSONAR-7732 Authentication is now done in Java
Julien Lancelot [Fri, 17 Jun 2016 16:01:48 +0000 (18:01 +0200)]
SONAR-7732 Authentication is now done in Java

8 years agoRevert "SONAR-7780 table PROJECT_MEASURES should use analysis UUID"
Simon Brandhof [Wed, 29 Jun 2016 05:22:53 +0000 (07:22 +0200)]
Revert "SONAR-7780 table PROJECT_MEASURES should use analysis UUID"

This reverts commit 87f2df380bc31b616fa9a1b6376b0ff26ee84ccc.

8 years agoSONAR-7780 table PROJECT_MEASURES should use analysis UUID
Simon Brandhof [Tue, 28 Jun 2016 07:27:05 +0000 (09:27 +0200)]
SONAR-7780 table PROJECT_MEASURES should use analysis UUID

8 years agoSONAR-7719 remove version now remove it from snapshot 1065/head
Sébastien Lesaint [Fri, 24 Jun 2016 15:38:08 +0000 (17:38 +0200)]
SONAR-7719 remove version now remove it from snapshot

8 years agoFix PopulateUuidPathColumnOnProjects for Oracle
Sébastien Lesaint [Tue, 28 Jun 2016 10:45:10 +0000 (12:45 +0200)]
Fix PopulateUuidPathColumnOnProjects for Oracle

8 years agoFix SQL inner join on MSSQL
Simon Brandhof [Tue, 28 Jun 2016 11:56:16 +0000 (13:56 +0200)]
Fix SQL inner join on MSSQL

8 years agoFix SQL request for MSSQL and Postgres
Simon Brandhof [Tue, 28 Jun 2016 07:35:02 +0000 (09:35 +0200)]
Fix SQL request for MSSQL and Postgres

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

* origin/branch-5.6:
  SONAR-7798 support BIN and BIN2 collation on MsSQL
  SONAR-7798 mssql fix collation now support complex collations

8 years agoSONAR-7789 WS api/qualityprofiles/search return lastUsed field when searching by...
Teryk Bellahsene [Mon, 27 Jun 2016 22:38:00 +0000 (00:38 +0200)]
SONAR-7789 WS api/qualityprofiles/search return lastUsed field when searching by project key

8 years agoRemove unused method ComponentDao#existsById()
Simon Brandhof [Mon, 27 Jun 2016 16:18:05 +0000 (18:18 +0200)]
Remove unused method ComponentDao#existsById()

8 years agoSONAR-7800 add column PROJECTS.UUID_PATH
Simon Brandhof [Wed, 22 Jun 2016 14:37:21 +0000 (16:37 +0200)]
SONAR-7800 add column PROJECTS.UUID_PATH

8 years agorefactor quality profiles page (#1056)
Stas Vilchik [Mon, 27 Jun 2016 14:08:44 +0000 (16:08 +0200)]
refactor quality profiles page (#1056)

8 years agoSONAR-7798 support BIN and BIN2 collation on MsSQL 1062/head
Sébastien Lesaint [Fri, 24 Jun 2016 16:11:42 +0000 (18:11 +0200)]
SONAR-7798 support BIN and BIN2 collation on MsSQL

8 years agoSONAR-7798 mssql fix collation now support complex collations
Sébastien Lesaint [Fri, 24 Jun 2016 08:51:08 +0000 (10:51 +0200)]
SONAR-7798 mssql fix collation now support complex collations

collations can actually have a combination of case sensitivity and accent sensitivity
also, the might not end with accent sensitivity

8 years agoSONAR-7789 WS api/qualityprofiles/search return lastUsed field
Teryk Bellahsene [Mon, 27 Jun 2016 09:33:35 +0000 (11:33 +0200)]
SONAR-7789 WS api/qualityprofiles/search return lastUsed field

8 years agoSONAR-7690 support EVENTS.ANALYSIS_UUID in code 1061/head
Sébastien Lesaint [Wed, 22 Jun 2016 09:16:09 +0000 (11:16 +0200)]
SONAR-7690 support EVENTS.ANALYSIS_UUID in code

8 years agoSONAR-7690 add EVENTS.ANALYSIS_UUID in place of SNAPSHOT_ID
Sébastien Lesaint [Wed, 22 Jun 2016 06:54:56 +0000 (08:54 +0200)]
SONAR-7690 add EVENTS.ANALYSIS_UUID in place of SNAPSHOT_ID

8 years agoSONAR-7779 Event.already_exists can now use component uuid
Sébastien Lesaint [Tue, 21 Jun 2016 16:04:05 +0000 (18:04 +0200)]
SONAR-7779 Event.already_exists can now use component uuid

rather than snapshot id and do a select on snapshot

8 years agoSONAR-7803 creates events only on PROJECTS
Sébastien Lesaint [Tue, 21 Jun 2016 15:48:12 +0000 (17:48 +0200)]
SONAR-7803 creates events only on PROJECTS

8 years agoAutomatic merge from branch-5.6
Tom [Mon, 27 Jun 2016 08:17:52 +0000 (10:17 +0200)]
Automatic merge from branch-5.6

* origin/branch-5.6:
  set next dev version to 5.6.1-SNAPSHOT

8 years agoset next dev version to 5.6.1-SNAPSHOT
Tom [Mon, 27 Jun 2016 07:52:08 +0000 (09:52 +0200)]
set next dev version to 5.6.1-SNAPSHOT

8 years agoFix some Quality flaws
Simon Brandhof [Mon, 27 Jun 2016 07:51:40 +0000 (09:51 +0200)]
Fix some Quality flaws

8 years agoSONAR-7789 Add and populate DB column RULES_PROFILES.LAST_USED 1060/head
Teryk Bellahsene [Wed, 22 Jun 2016 09:38:41 +0000 (11:38 +0200)]
SONAR-7789 Add and populate DB column RULES_PROFILES.LAST_USED

8 years agoSONAR-7688 add index to PROJECT_MEASURES.COMPONENT_UUID
Simon Brandhof [Wed, 22 Jun 2016 13:43:21 +0000 (15:43 +0200)]
SONAR-7688 add index to PROJECT_MEASURES.COMPONENT_UUID

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