]>
source.dussan.org Git - sonarqube.git/log
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.)
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)
Julien Lancelot [Wed, 22 Jun 2016 12:32:29 +0000 (14:32 +0200)]
SONAR-7761 Fix ITs as login page is now using AJAX
Julien Lancelot [Tue, 21 Jun 2016 12:03:15 +0000 (14:03 +0200)]
SONAR-7763 Allow authentication using basic HTTP authentication in Java
Stas Vilchik [Fri, 24 Jun 2016 09:43:52 +0000 (11:43 +0200)]
SONAR-7761 improve submitting of login form
Julien Lancelot [Tue, 21 Jun 2016 08:00:11 +0000 (10:00 +0200)]
SONAR-7761 Login page is using /api/authentication/login WS
Julien Lancelot [Fri, 17 Jun 2016 16:01:48 +0000 (18:01 +0200)]
SONAR-7732 Authentication is now done in Java
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 .
Simon Brandhof [Tue, 28 Jun 2016 07:27:05 +0000 (09:27 +0200)]
SONAR-7780 table PROJECT_MEASURES should use analysis UUID
Sébastien Lesaint [Fri, 24 Jun 2016 15:38:08 +0000 (17:38 +0200)]
SONAR-7719 remove version now remove it from snapshot
Sébastien Lesaint [Tue, 28 Jun 2016 10:45:10 +0000 (12:45 +0200)]
Fix PopulateUuidPathColumnOnProjects for Oracle
Simon Brandhof [Tue, 28 Jun 2016 11:56:16 +0000 (13:56 +0200)]
Fix SQL inner join on MSSQL
Simon Brandhof [Tue, 28 Jun 2016 07:35:02 +0000 (09:35 +0200)]
Fix SQL request for MSSQL and Postgres
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
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
Simon Brandhof [Mon, 27 Jun 2016 16:18:05 +0000 (18:18 +0200)]
Remove unused method ComponentDao#existsById()
Simon Brandhof [Wed, 22 Jun 2016 14:37:21 +0000 (16:37 +0200)]
SONAR-7800 add column PROJECTS.UUID_PATH
Stas Vilchik [Mon, 27 Jun 2016 14:08:44 +0000 (16:08 +0200)]
refactor quality profiles page (#1056)
Sébastien Lesaint [Fri, 24 Jun 2016 16:11:42 +0000 (18:11 +0200)]
SONAR-7798 support BIN and BIN2 collation on MsSQL
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
Teryk Bellahsene [Mon, 27 Jun 2016 09:33:35 +0000 (11:33 +0200)]
SONAR-7789 WS api/qualityprofiles/search return lastUsed field
Sébastien Lesaint [Wed, 22 Jun 2016 09:16:09 +0000 (11:16 +0200)]
SONAR-7690 support EVENTS.ANALYSIS_UUID in code
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
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
Sébastien Lesaint [Tue, 21 Jun 2016 15:48:12 +0000 (17:48 +0200)]
SONAR-7803 creates events only on PROJECTS
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
Tom [Mon, 27 Jun 2016 07:52:08 +0000 (09:52 +0200)]
set next dev version to 5.6.1-SNAPSHOT
Simon Brandhof [Mon, 27 Jun 2016 07:51:40 +0000 (09:51 +0200)]
Fix some Quality flaws
Teryk Bellahsene [Wed, 22 Jun 2016 09:38:41 +0000 (11:38 +0200)]
SONAR-7789 Add and populate DB column RULES_PROFILES.LAST_USED
Simon Brandhof [Wed, 22 Jun 2016 13:43:21 +0000 (15:43 +0200)]
SONAR-7688 add index to PROJECT_MEASURES.COMPONENT_UUID
Sébastien Lesaint [Tue, 21 Jun 2016 10:08:02 +0000 (12:08 +0200)]
SONAR-7689 support DUPLICATIONS_INDEX.ANALYSIS_UUID in code
Sébastien Lesaint [Fri, 17 Jun 2016 15:04:35 +0000 (17:04 +0200)]
SONAR-7689 add column DUPLICATIONS_INDEX.ANALYSIS_UUID
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
Simon Brandhof [Tue, 21 Jun 2016 13:11:20 +0000 (15:11 +0200)]
SONAR-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
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
Teryk Bellahsene [Mon, 20 Jun 2016 12:07:47 +0000 (14:07 +0200)]
Quality Profile's SearchDataLoader with Java 8 streams
Simon Brandhof [Tue, 21 Jun 2016 11:48:35 +0000 (13:48 +0200)]
Fix Quality flaw
Simon Brandhof [Tue, 21 Jun 2016 07:11:35 +0000 (09:11 +0200)]
Cache JDK8 installer on Travis
Simon Brandhof [Mon, 20 Jun 2016 21:02:35 +0000 (23:02 +0200)]
Add integration test for WS GET api/properties?resource=x
Simon Brandhof [Mon, 20 Jun 2016 19:44:27 +0000 (21:44 +0200)]
SONAR-7792 Upgrade MySQL driver to version 5.1.39
Simon Brandhof [Mon, 20 Jun 2016 19:29:46 +0000 (21:29 +0200)]
SONAR-7791 Upgrade to Tomcat 8.0.32
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
Sébastien Lesaint [Fri, 17 Jun 2016 09:36:49 +0000 (11:36 +0200)]
SONAR-7778 support addition of 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
Stas Vilchik [Tue, 21 Jun 2016 08:03:31 +0000 (10:03 +0200)]
SONAR-7229 improve messages
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
Simon Brandhof [Fri, 17 Jun 2016 19:30:27 +0000 (21:30 +0200)]
Clean-up JRubyFacade
Simon Brandhof [Mon, 20 Jun 2016 16:10:21 +0000 (18:10 +0200)]
Fix documentation of properties *.javaOpts
Simon Brandhof [Mon, 20 Jun 2016 11:58:55 +0000 (13:58 +0200)]
Fix infinite loop in project.r, method ancestor_projects
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
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
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
Simon Brandhof [Fri, 17 Jun 2016 18:46:06 +0000 (20:46 +0200)]
Fix insert in SnapshotMapper.xml
Simon Brandhof [Thu, 16 Jun 2016 20:10:06 +0000 (22:10 +0200)]
SONAR-7691 table CE_ACTIVITY should use analysis UUID
Simon Brandhof [Thu, 16 Jun 2016 16:20:36 +0000 (18:20 +0200)]
SONAR-7779 Add column UUID to table SNAPSHOTS
Simon Brandhof [Fri, 17 Jun 2016 13:24:20 +0000 (15:24 +0200)]
SONAR-7688 Decrease number of SQL requests
Stas Vilchik [Fri, 17 Jun 2016 16:14:19 +0000 (18:14 +0200)]
SONAR-7720 apply feedback
Stas Vilchik [Fri, 17 Jun 2016 16:07:20 +0000 (18:07 +0200)]
SONAR-7229 apply feedback
Teryk Bellahsene [Thu, 16 Jun 2016 14:01:53 +0000 (16:01 +0200)]
SONAR-7747 IT to validate automatic onboarding
Teryk Bellahsene [Thu, 16 Jun 2016 13:25:52 +0000 (15:25 +0200)]
SONAR-7747 IT to add and remove a project template creator
Teryk Bellahsene [Thu, 16 Jun 2016 11:52:57 +0000 (13:52 +0200)]
SONAR-7747 Check potential permissions when submitting a report
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
Teryk Bellahsene [Wed, 15 Jun 2016 14:49:19 +0000 (16:49 +0200)]
Fix typo of WS description api/rules/show
Teryk Bellahsene [Tue, 14 Jun 2016 13:47:35 +0000 (15:47 +0200)]
Fix quality flaws
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 '/'
Stas Vilchik [Fri, 17 Jun 2016 07:33:18 +0000 (09:33 +0200)]
fix display of My Projects page when web context is set
Simon Brandhof [Thu, 16 Jun 2016 20:41:26 +0000 (22:41 +0200)]
Fix Quality flaws in DB migrations
Simon Brandhof [Thu, 16 Jun 2016 12:28:17 +0000 (14:28 +0200)]
Fix quality flaws
Stas Vilchik [Thu, 16 Jun 2016 15:28:47 +0000 (17:28 +0200)]
SONAR-7708 Reorganize "Code Smells" domain on project page (#1027)
Simon Brandhof [Thu, 16 Jun 2016 12:28:17 +0000 (14:28 +0200)]
Fix Quality flaws
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
Sébastien Lesaint [Tue, 14 Jun 2016 16:44:35 +0000 (18:44 +0200)]
SONAR-7738 ensure remove_index is reentrant
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
Julien Lancelot [Wed, 15 Jun 2016 08:57:58 +0000 (10:57 +0200)]
SONAR-7746 Delete permission template characteristics when deleting a permission template
Simon Brandhof [Thu, 16 Jun 2016 07:23:27 +0000 (09:23 +0200)]
Disable Clirr check
As it's incompatible with Java 8
Simon Brandhof [Wed, 15 Jun 2016 20:15:18 +0000 (22:15 +0200)]
Fix and add tests, fix quality flaws
Simon Brandhof [Wed, 15 Jun 2016 13:04:44 +0000 (15:04 +0200)]
Improve org.sonar.api.web.ServletFilter.UrlPattern
Stas Vilchik [Wed, 15 Jun 2016 14:57:33 +0000 (16:57 +0200)]
fix l10n message
Stas Vilchik [Wed, 15 Jun 2016 14:01:34 +0000 (16:01 +0200)]
fix MyAccountPageTest
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
Stas Vilchik [Wed, 15 Jun 2016 11:17:27 +0000 (13:17 +0200)]
improve reliability of MyAccountPageTest
Stas Vilchik [Wed, 15 Jun 2016 11:11:59 +0000 (13:11 +0200)]
fix double web context when request l10n messages
Simon Brandhof [Wed, 15 Jun 2016 09:46:31 +0000 (11:46 +0200)]
Remove useless code from UpgradeTest
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
Julien Lancelot [Tue, 14 Jun 2016 15:28:20 +0000 (17:28 +0200)]
SONAR-7713 Exclude static resources from token validation filter
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
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
Julien Lancelot [Mon, 13 Jun 2016 12:40:10 +0000 (14:40 +0200)]
SONAR-7733 Add CSRF protection with JWT
Julien Lancelot [Thu, 9 Jun 2016 14:52:53 +0000 (16:52 +0200)]
SONAR-7739 Remove remember me cookie
Julien Lancelot [Tue, 14 Jun 2016 09:27:38 +0000 (11:27 +0200)]
SONAR-7740 /oauth/callback is generating a JWT token
Julien Lancelot [Tue, 14 Jun 2016 09:27:10 +0000 (11:27 +0200)]
SONAR-7713 Use JWT session
Stas Vilchik [Fri, 3 Jun 2016 08:14:44 +0000 (10:14 +0200)]
SONAR-7229 Create new Projects page for My Account space
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
Stas Vilchik [Wed, 15 Jun 2016 07:36:50 +0000 (09:36 +0200)]
SONAR-7717 automatically handle baseUrl (#1039)
Simon Brandhof [Mon, 13 Jun 2016 09:54:01 +0000 (11:54 +0200)]
SONAR-7688 table PROJECT_MEASURES should use component UUID
Simon Brandhof [Mon, 13 Jun 2016 09:54:20 +0000 (11:54 +0200)]
Improve documentation of UuidFactory
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
Sébastien Lesaint [Thu, 9 Jun 2016 15:09:20 +0000 (17:09 +0200)]
SONAR-7693 support removal of ID columns in SNAPSHOTS
Sébastien Lesaint [Thu, 9 Jun 2016 15:08:37 +0000 (17:08 +0200)]
SONAR-7693 replace SNAPSHOTS.*PROJECT_ID by columns with uuids