]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
9 years agoFix issue bulk change modal permission check 301/head
Jean-Baptiste Lievremont [Tue, 12 May 2015 12:18:23 +0000 (14:18 +0200)]
Fix issue bulk change modal permission check

9 years agoFix regression introduced by SONAR-6535
Julien HENRY [Tue, 12 May 2015 13:28:40 +0000 (15:28 +0200)]
Fix regression introduced by SONAR-6535

9 years agoRemove duplication
David Gageot [Tue, 12 May 2015 09:30:34 +0000 (11:30 +0200)]
Remove duplication

9 years agoUseless code
David Gageot [Tue, 12 May 2015 08:42:31 +0000 (10:42 +0200)]
Useless code

9 years agoDead code
David Gageot [Tue, 12 May 2015 08:33:55 +0000 (10:33 +0200)]
Dead code

9 years agoFix .gitignore
Julien HENRY [Tue, 12 May 2015 12:28:56 +0000 (14:28 +0200)]
Fix .gitignore

9 years agoSONAR-6517 fix self-first classloaders in plugins
Simon Brandhof [Tue, 12 May 2015 11:40:32 +0000 (13:40 +0200)]
SONAR-6517 fix self-first classloaders in plugins

9 years agorename UserSession.login=>getLogin and UserSessionRule.logon=>login 299/head
Sébastien Lesaint [Tue, 12 May 2015 08:47:32 +0000 (10:47 +0200)]
rename UserSession.login=>getLogin and UserSessionRule.logon=>login

allow using the method name login() for the login action in UserSessionRule

9 years agomake UserSession non static
Sébastien Lesaint [Mon, 11 May 2015 08:06:03 +0000 (10:06 +0200)]
make UserSession non static

UserSession is now an interface
the old UserSession has been split into ServerUserSession (implements the lazy loading of credentials directly from DAOs) and ThreadLocalUserSession (implements the thread local management)
add UserSessionRule for UserSession management in unit test with support for ServerTester
DoPrivileged now restores the user session which was in ThreadLocal before it ran
move MockUserSession to server.tester package

9 years agoSONAR-6517 fix sharing of plugin api packages across plugin classloaders
Simon Brandhof [Mon, 11 May 2015 21:06:36 +0000 (23:06 +0200)]
SONAR-6517 fix sharing of plugin api packages across plugin classloaders

9 years agorefactor WS using 'f' and 'q' parameters with WebService.Param fields 298/head
Teryk Bellahsene [Fri, 8 May 2015 16:17:10 +0000 (18:17 +0200)]
refactor WS using 'f' and 'q' parameters with WebService.Param fields

9 years agoWS api/projects/projects/provisioned list the provisioned projects - SONAR-6526
Teryk Bellahsene [Fri, 8 May 2015 10:05:06 +0000 (12:05 +0200)]
WS api/projects/projects/provisioned list the provisioned projects - SONAR-6526

9 years agoFix some quality flaws
Julien HENRY [Mon, 11 May 2015 15:23:12 +0000 (17:23 +0200)]
Fix some quality flaws

9 years agoSONAR-6536 Drop concept of task
Julien HENRY [Mon, 11 May 2015 10:09:44 +0000 (12:09 +0200)]
SONAR-6536 Drop concept of task

9 years agoSONAR-6535 API cleanup: deprecate BatchComponent and ServerComponent
Julien HENRY [Thu, 7 May 2015 13:59:40 +0000 (15:59 +0200)]
SONAR-6535 API cleanup: deprecate BatchComponent and ServerComponent

9 years agoremove useless qualifiers
Sébastien Lesaint [Mon, 11 May 2015 12:59:12 +0000 (14:59 +0200)]
remove useless qualifiers

9 years agoFix developers section of pom
Simon Brandhof [Mon, 11 May 2015 12:21:40 +0000 (14:21 +0200)]
Fix developers section of pom

9 years agoSONAR-6517 fix loading of field Sonar-RequirePlugins
Simon Brandhof [Mon, 11 May 2015 12:14:54 +0000 (14:14 +0200)]
SONAR-6517 fix loading of field Sonar-RequirePlugins

9 years agoSONAR-6365 implement DB check in /api/system/status 288/head
Sébastien Lesaint [Mon, 4 May 2015 15:35:58 +0000 (17:35 +0200)]
SONAR-6365 implement DB check in /api/system/status

9 years agoSONAR-6365 add Java WS system status (no DB check)
Sébastien Lesaint [Tue, 5 May 2015 08:13:54 +0000 (10:13 +0200)]
SONAR-6365 add Java WS system status (no DB check)

9 years agoSONAR-6365 use an enum to represent status of Platform
Sébastien Lesaint [Tue, 5 May 2015 08:10:23 +0000 (10:10 +0200)]
SONAR-6365 use an enum to represent status of Platform

using an enum allows testing all possible state of the Platform class based on a single value instead of combining multiple sequential method call which can return an inconsistent result of state changes in between method calls

9 years agoUpdate console issues report: blocking -> blocker
Julien HENRY [Mon, 11 May 2015 10:15:39 +0000 (12:15 +0200)]
Update console issues report: blocking -> blocker

9 years agoFix merge conflicts 292/head
Simon Brandhof [Mon, 11 May 2015 08:30:42 +0000 (10:30 +0200)]
Fix merge conflicts

9 years agoFix stability of PluginInfoTest
Simon Brandhof [Thu, 7 May 2015 15:57:02 +0000 (17:57 +0200)]
Fix stability of PluginInfoTest

9 years agoSONAR-6517 apply second feedback
Simon Brandhof [Thu, 7 May 2015 15:11:07 +0000 (17:11 +0200)]
SONAR-6517 apply second feedback

9 years agoSONAR-6517 rename field "homepage" by "homepageUrl" in api/plugins
Simon Brandhof [Wed, 6 May 2015 20:14:58 +0000 (22:14 +0200)]
SONAR-6517 rename field "homepage" by "homepageUrl" in api/plugins

9 years agoSONAR-6517 apply feedback
Simon Brandhof [Wed, 6 May 2015 20:08:31 +0000 (22:08 +0200)]
SONAR-6517 apply feedback

9 years agoSONAR-6517 fix regression - server should stop if plugin is not compatible with SQ...
Simon Brandhof [Wed, 6 May 2015 08:50:08 +0000 (10:50 +0200)]
SONAR-6517 fix regression - server should stop if plugin is not compatible with SQ version (see SONAR-3516)

9 years agoSONAR-6517 Remove the unused properties sonar.includePlugins/sonar.excludePlugins
Simon Brandhof [Tue, 5 May 2015 21:55:09 +0000 (23:55 +0200)]
SONAR-6517 Remove the unused properties sonar.includePlugins/sonar.excludePlugins

9 years agoSONAR-6370 isolate plugin classloader from core
Simon Brandhof [Fri, 24 Apr 2015 07:15:05 +0000 (09:15 +0200)]
SONAR-6370 isolate plugin classloader from core

9 years agorename ambiguous field names
Teryk Bellahsene [Fri, 8 May 2015 08:30:54 +0000 (10:30 +0200)]
rename ambiguous field names

9 years agolower complexity of searchTests method
Teryk Bellahsene [Fri, 8 May 2015 08:23:16 +0000 (10:23 +0200)]
lower complexity of searchTests method

9 years agomeasure filter ordering simplified
Teryk Bellahsene [Fri, 8 May 2015 08:20:26 +0000 (10:20 +0200)]
measure filter ordering simplified

9 years agogenerate random test data with covered file each time
Teryk Bellahsene [Fri, 8 May 2015 08:17:34 +0000 (10:17 +0200)]
generate random test data with covered file each time

9 years agoFormat code
David Gageot [Thu, 7 May 2015 17:13:00 +0000 (19:13 +0200)]
Format code

9 years agoDead code
David Gageot [Thu, 7 May 2015 17:12:45 +0000 (19:12 +0200)]
Dead code

9 years agoRedundant imports
David Gageot [Thu, 7 May 2015 17:07:05 +0000 (19:07 +0200)]
Redundant imports

9 years agoRedundant throws clause in tests
David Gageot [Thu, 7 May 2015 17:04:22 +0000 (19:04 +0200)]
Redundant throws clause in tests

9 years agoWe don't need two versions of phantomjs
David Gageot [Thu, 7 May 2015 17:03:30 +0000 (19:03 +0200)]
We don't need two versions of phantomjs

9 years agoWhy wait for so "long"?
David Gageot [Thu, 7 May 2015 16:49:17 +0000 (18:49 +0200)]
Why wait for so "long"?

9 years agoThrow actual exception
David Gageot [Thu, 7 May 2015 16:46:24 +0000 (18:46 +0200)]
Throw actual exception

9 years agoDead code
David Gageot [Thu, 7 May 2015 16:45:36 +0000 (18:45 +0200)]
Dead code

9 years agoSONAR-6470 New Java WS to show a user's groups
Jean-Baptiste Lievremont [Tue, 5 May 2015 13:38:14 +0000 (15:38 +0200)]
SONAR-6470 New Java WS to show a user's groups

9 years agoFix quality flaws
Julien Lancelot [Thu, 7 May 2015 13:20:08 +0000 (15:20 +0200)]
Fix quality flaws

9 years agoSONAR-6468 Remove password_confirmation parameter (validation is delegated to UI) 279/head
Jean-Baptiste Lievremont [Wed, 6 May 2015 09:40:41 +0000 (11:40 +0200)]
SONAR-6468 Remove password_confirmation parameter (validation is delegated to UI)

9 years agoSONAR-6468 New WS to change a user's password
Jean-Baptiste Lievremont [Mon, 4 May 2015 13:41:31 +0000 (15:41 +0200)]
SONAR-6468 New WS to change a user's password

9 years agoSONAR-6467 Change behavior of user update WS
Jean-Baptiste Lievremont [Mon, 4 May 2015 09:47:51 +0000 (11:47 +0200)]
SONAR-6467 Change behavior of user update WS

9 years agoSONAR-6416 migrate web to new tests WS
Stas Vilchik [Thu, 7 May 2015 12:36:11 +0000 (14:36 +0200)]
SONAR-6416 migrate web to new tests WS

9 years agoSONAR-5726 fix the display of limited results warning
Stas Vilchik [Thu, 7 May 2015 12:14:04 +0000 (14:14 +0200)]
SONAR-5726 fix the display of limited results warning

9 years agoSONAR-5851 properly restore the initial page state
Stas Vilchik [Thu, 7 May 2015 12:07:13 +0000 (14:07 +0200)]
SONAR-5851 properly restore the initial page state

9 years agoupdate WS to rely on new tests - SONAR-6255 290/head
Teryk Bellahsene [Mon, 4 May 2015 09:34:54 +0000 (11:34 +0200)]
update WS to rely on new tests - SONAR-6255

9 years agoindex tests - SONAR-6255
Teryk Bellahsene [Thu, 30 Apr 2015 14:24:13 +0000 (16:24 +0200)]
index tests - SONAR-6255

9 years agoadd top 5 rules on 'New Issues' and 'My New Issues' notifications 294/head
Teryk Bellahsene [Wed, 6 May 2015 12:25:01 +0000 (14:25 +0200)]
add top 5 rules on 'New Issues' and 'My New Issues' notifications

9 years agoSONAR-6529 Fail to create manual metrics on MSSQL if DB role db_owner is not granted
Simon Brandhof [Wed, 6 May 2015 21:21:26 +0000 (23:21 +0200)]
SONAR-6529 Fail to create manual metrics on MSSQL if DB role db_owner is not granted

9 years agofaster grunt build
Stas Vilchik [Wed, 6 May 2015 09:01:06 +0000 (11:01 +0200)]
faster grunt build

9 years agoMerge pull request #293 from SonarSource/feature/compatibility_rulefinder_rulequery
Julien HENRY [Wed, 6 May 2015 09:33:47 +0000 (11:33 +0200)]
Merge pull request #293 from SonarSource/feature/compatibility_rulefinder_rulequery

Restore partial support of RuleQuery in RuleFinder to fix issue with Gro...

9 years agoRestore partial support of RuleQuery in RuleFinder to fix issue with Groovy plugin 293/head
Julien HENRY [Wed, 6 May 2015 08:40:07 +0000 (10:40 +0200)]
Restore partial support of RuleQuery in RuleFinder to fix issue with Groovy plugin

9 years agoSONAR-6469 New Java WS to deactivate a user 287/head
Jean-Baptiste Lievremont [Tue, 5 May 2015 11:58:38 +0000 (13:58 +0200)]
SONAR-6469 New Java WS to deactivate a user

9 years agoSONAR-6465 Enforce use of SortedMap for ES index settings 276/head
Jean-Baptiste Lievremont [Tue, 5 May 2015 13:47:24 +0000 (15:47 +0200)]
SONAR-6465 Enforce use of SortedMap for ES index settings

9 years agoSONAR-6465 Refactor string multi field definition
Jean-Baptiste Lievremont [Mon, 4 May 2015 10:57:08 +0000 (12:57 +0200)]
SONAR-6465 Refactor string multi field definition

9 years agoSONAR-6465 Prevent side effect of multi-field mapping creation
Jean-Baptiste Lievremont [Mon, 4 May 2015 08:43:53 +0000 (10:43 +0200)]
SONAR-6465 Prevent side effect of multi-field mapping creation

9 years agoSONAR-6465 Create new Java WS to search users
Jean-Baptiste Lievremont [Wed, 29 Apr 2015 14:51:26 +0000 (16:51 +0200)]
SONAR-6465 Create new Java WS to search users

9 years agoMerge pull request #289 from SonarSource/feature/batch/new_ws_to_get_users
Julien HENRY [Wed, 6 May 2015 08:04:57 +0000 (10:04 +0200)]
Merge pull request #289 from SonarSource/feature/batch/new_ws_to_get_users

SONAR-6522 Consume batch/users WS to populate JSON report

9 years agoSONAR-6522 Consume batch/users WS to populate JSON report 289/head
Julien HENRY [Tue, 5 May 2015 15:11:35 +0000 (17:11 +0200)]
SONAR-6522 Consume batch/users WS to populate JSON report

9 years agoUse mime type for woff fonts
Simon Brandhof [Tue, 5 May 2015 21:00:28 +0000 (23:00 +0200)]
Use mime type for woff fonts

9 years agoSONAR-6212 Coverage exclusion properties are not working for IT and overall coverage
Julien HENRY [Tue, 5 May 2015 16:11:16 +0000 (18:11 +0200)]
SONAR-6212 Coverage exclusion properties are not working for IT and overall coverage

9 years agoSONAR-6366 fix quality flaws
Sébastien Lesaint [Tue, 5 May 2015 14:59:51 +0000 (16:59 +0200)]
SONAR-6366 fix quality flaws

9 years agoFix some quality flaws
Julien HENRY [Tue, 5 May 2015 14:05:31 +0000 (16:05 +0200)]
Fix some quality flaws

9 years agoapply new navigation WS
Stas Vilchik [Tue, 5 May 2015 13:15:16 +0000 (15:15 +0200)]
apply new navigation WS

9 years agoSONAR-6521 Pull ES scroll method to utility class 286/head
Jean-Baptiste Lievremont [Tue, 5 May 2015 08:30:46 +0000 (10:30 +0200)]
SONAR-6521 Pull ES scroll method to utility class

9 years agoFix protobuf merge
Jean-Baptiste Lievremont [Tue, 5 May 2015 07:55:17 +0000 (09:55 +0200)]
Fix protobuf merge

9 years agoSONAR-6521 Add internal WS to list user details for batch
Jean-Baptiste Lievremont [Mon, 4 May 2015 16:03:36 +0000 (18:03 +0200)]
SONAR-6521 Add internal WS to list user details for batch

9 years agoSONAR-6521 Add protobuf declaration for users
Jean-Baptiste Lievremont [Mon, 4 May 2015 15:44:29 +0000 (17:44 +0200)]
SONAR-6521 Add protobuf declaration for users

9 years agoSONAR-6525 Fix security bypass on plugin-contributed pages 272/head
Jean-Baptiste Lievremont [Tue, 5 May 2015 09:35:56 +0000 (11:35 +0200)]
SONAR-6525 Fix security bypass on plugin-contributed pages

9 years agoSONAR-6427 SONAR-6428 Add permission checks on plugin pages
Jean-Baptiste Lievremont [Thu, 30 Apr 2015 09:15:17 +0000 (11:15 +0200)]
SONAR-6427 SONAR-6428 Add permission checks on plugin pages

9 years agoSONAR-6428 Fix WS example & response
Jean-Baptiste Lievremont [Thu, 30 Apr 2015 08:29:51 +0000 (10:29 +0200)]
SONAR-6428 Fix WS example & response

9 years agoSONAR-6427 Fix WS example & response
Jean-Baptiste Lievremont [Thu, 30 Apr 2015 07:56:08 +0000 (09:56 +0200)]
SONAR-6427 Fix WS example & response

9 years agoSONAR-6265 apply feedback
Stas Vilchik [Tue, 5 May 2015 09:26:04 +0000 (11:26 +0200)]
SONAR-6265 apply feedback

9 years agoMerge pull request #280 from SonarSource/feature/batch/feed_file_dependencies
Julien HENRY [Tue, 5 May 2015 09:23:59 +0000 (11:23 +0200)]
Merge pull request #280 from SonarSource/feature/batch/feed_file_dependencies

SONAR-6457 Feed dependencies in batch report

9 years agoSONAR-6457 Feed dependencies in batch report 280/head
Julien HENRY [Mon, 4 May 2015 17:45:03 +0000 (19:45 +0200)]
SONAR-6457 Feed dependencies in batch report

9 years agoSONAR-5851 apply feedback
Stas Vilchik [Tue, 5 May 2015 08:36:09 +0000 (10:36 +0200)]
SONAR-5851 apply feedback

9 years agoSONAR-6138 apply feedback
Stas Vilchik [Tue, 5 May 2015 07:57:21 +0000 (09:57 +0200)]
SONAR-6138 apply feedback

9 years agoSONAR-6366 remove operational field from JSON response 233/head
Sébastien Lesaint [Mon, 4 May 2015 07:14:17 +0000 (09:14 +0200)]
SONAR-6366 remove operational field from JSON response

remove operational field from response of /api/system/migrate_db, response from /api/system/status should be used instead

9 years agoSONAR-6366 add status NOT_SUPPORTED
Sébastien Lesaint [Thu, 30 Apr 2015 16:21:49 +0000 (18:21 +0200)]
SONAR-6366 add status NOT_SUPPORTED

9 years agofix JSON empty msg field on /api/system/restart when not in dev mode
Sébastien Lesaint [Thu, 30 Apr 2015 12:59:54 +0000 (14:59 +0200)]
fix JSON empty msg field on /api/system/restart when not in dev mode

9 years agoSONAR-6366 add missing impl of PlatformDatabaseMigrationAsynchronousTest
Sébastien Lesaint [Tue, 28 Apr 2015 15:52:51 +0000 (17:52 +0200)]
SONAR-6366 add missing impl of PlatformDatabaseMigrationAsynchronousTest

9 years agoSONAR-6366 SQ state check in RoR now uses Java DBMigration status
Sébastien Lesaint [Tue, 28 Apr 2015 13:57:49 +0000 (15:57 +0200)]
SONAR-6366 SQ state check in RoR now uses Java DBMigration status

use to be based on the RoR code handling the DB migration, it is now based on its Java replacement

9 years agoSONAR-6366 split ruby upgradeAndStart into three Java steps
Sébastien Lesaint [Tue, 28 Apr 2015 13:31:07 +0000 (15:31 +0200)]
SONAR-6366 split ruby upgradeAndStart into three Java steps

modified ruby scripts used by RubyBridge to define and instance a class instead of only define a method alone because mapping such script to a Java interface works only for the first script (at least in unit tests)
split upgrade_and_start from Ruby into two seperate Ruby tasks (trigger ActiveRecord migration on one side and web route (re)creation on the other) and a pure Java task to restart the container

9 years agoSONAR-6366 make Java WS available when DB migration is needed
Sébastien Lesaint [Tue, 14 Apr 2015 14:43:59 +0000 (16:43 +0200)]
SONAR-6366 make Java WS available when DB migration is needed

introduce a new "level" in ServerComponents called safe-mode which is started in place of level3 and 4 when DB needs to be migrated
update ROR code so that Java WS are always started by ROR, even when DB needs an upgrade. In such case, only Java Webservices which supports DB to be in such state are now instanced
in addition, make sure the currentContainer is pointing at all times to a fully initialized container chain (one ending with level4 or safemode), this ensure there is always valid components to support the UI and WS calls
PlatformDatabaseMigration is part of level2 in order to have the same instance share between safe mode container and level3/4 containers therefor avoiding loosing the migration status once the migration is copmplete and the Platform#doStart() is called
refactor Platform code to separate current container switch from start/stop of containers

9 years agoDashboard webService and action belong to level 4
Sébastien Lesaint [Tue, 14 Apr 2015 13:19:06 +0000 (15:19 +0200)]
Dashboard webService and action belong to level 4

9 years agoSONAR-6366 add new WS to migrate SonarQube DB
Sébastien Lesaint [Tue, 7 Apr 2015 12:22:48 +0000 (14:22 +0200)]
SONAR-6366 add new WS to migrate SonarQube DB

WS is available on /api/system/migrate_db

9 years agosystem/upgrades and system/restart should not require user authent
Sébastien Lesaint [Wed, 29 Apr 2015 11:24:09 +0000 (13:24 +0200)]
system/upgrades and system/restart should not require user authent

remove global authentication verification on /api/system in RoR so that WS /api/system/upgrades and /api/system/restart do not require user to be authenticated

9 years agoSONAR-6365 consistent properties for plugin in JSON response 275/head
Sébastien Lesaint [Mon, 4 May 2015 08:07:04 +0000 (10:07 +0200)]
SONAR-6365 consistent properties for plugin in JSON response

9 years agoSONAR-5851 apply feedback
Stas Vilchik [Mon, 4 May 2015 15:40:12 +0000 (17:40 +0200)]
SONAR-5851 apply feedback

9 years agoSONAR-6210 show key, hide parameters
Stas Vilchik [Mon, 4 May 2015 15:12:20 +0000 (17:12 +0200)]
SONAR-6210 show key, hide parameters

9 years agoSONAR-6215 do not show tab for currently open item
Stas Vilchik [Mon, 4 May 2015 15:08:09 +0000 (17:08 +0200)]
SONAR-6215 do not show tab for currently open item

9 years agoSONAR-6464 Optimize query that return file source hashes in /batch/project WS
Julien Lancelot [Mon, 4 May 2015 14:41:00 +0000 (16:41 +0200)]
SONAR-6464 Optimize query that return file source hashes in /batch/project WS

9 years agoupdate the versions of node.js and npm
Stas Vilchik [Mon, 4 May 2015 14:46:43 +0000 (16:46 +0200)]
update the versions of node.js and npm

9 years agoMerge pull request #278 from SonarSource/feature/batch/cleanup_devcockpit_views
Julien HENRY [Mon, 4 May 2015 14:08:10 +0000 (16:08 +0200)]
Merge pull request #278 from SonarSource/feature/batch/cleanup_devcockpit_views

Cleanup batch side from specific code for devcockpit and views

9 years agoCleanup batch side from specific code for devcockpit and views 278/head
Julien HENRY [Mon, 4 May 2015 09:39:01 +0000 (11:39 +0200)]
Cleanup batch side from specific code for devcockpit and views