]>
source.dussan.org Git - sonarqube.git/log
Julien HENRY [Fri, 21 Oct 2016 11:29:11 +0000 (13:29 +0200)]
SONAR-8186 Refresh default value of 'sonar.preview.excludePlugins'
Sébastien Lesaint [Fri, 21 Oct 2016 09:36:52 +0000 (11:36 +0200)]
SONAR-8176 do not fail when ES is not available in api/system/info
Sébastien Lesaint [Fri, 21 Oct 2016 07:51:09 +0000 (09:51 +0200)]
SONAR-8192 improve coverage of AlwaysIncreasingSystem2
Sébastien Lesaint [Thu, 20 Oct 2016 14:53:30 +0000 (16:53 +0200)]
SONAR-8318 api/project_links/search support null name or type
Sébastien Lesaint [Thu, 20 Oct 2016 13:08:12 +0000 (15:08 +0200)]
SONAR-8306 don't fail inserting scanner context if task is restarted
Simon Brandhof [Fri, 21 Oct 2016 13:25:28 +0000 (15:25 +0200)]
SONAR-8134 fix isolation of organizations when dropping global permissions on user
Simon Brandhof [Fri, 21 Oct 2016 13:25:28 +0000 (15:25 +0200)]
SONAR-8134 fix isolation of organizations when dropping global permissions
on user
Simon Brandhof [Fri, 21 Oct 2016 08:50:08 +0000 (10:50 +0200)]
SONAR-8278 Support organizations in web service api/permissions/search_templates
Simon Brandhof [Thu, 20 Oct 2016 17:58:55 +0000 (19:58 +0200)]
SONAR-8134 merge PermissionRepository into PermissionTemplateService
Simon Brandhof [Thu, 20 Oct 2016 17:19:58 +0000 (19:19 +0200)]
SONAR-8134 rename PermissionService
It's only about templates, so class is renamed
PermissionTemplateService.
Simon Brandhof [Thu, 20 Oct 2016 17:04:00 +0000 (19:04 +0200)]
SONAR-8134 remove ComponentFinder from PermissionService
Simon Brandhof [Thu, 20 Oct 2016 16:41:38 +0000 (18:41 +0200)]
SONAR-8134 do not verify provisioning permission in PermissionService
Simon Brandhof [Thu, 20 Oct 2016 16:40:16 +0000 (18:40 +0200)]
SONAR-8134 use a single DbSession in ReportSubmitter
Simon Brandhof [Thu, 20 Oct 2016 16:03:53 +0000 (18:03 +0200)]
SONAR-8134 remove useless CE step about permissions
No need to apply default permission template in CE
as it's already done during submit of report to WS.
Simon Brandhof [Thu, 20 Oct 2016 15:09:21 +0000 (17:09 +0200)]
SONAR-8278 add DbSession param to DefaultRubyComponentService#create()
Simon Brandhof [Wed, 19 Oct 2016 15:43:40 +0000 (17:43 +0200)]
SONAR-8278 remove coupling of Ruby on class PermissionService
Simon Brandhof [Wed, 19 Oct 2016 14:58:02 +0000 (16:58 +0200)]
SONAR-8278 clean-up SearchTemplateAction and its test
Simon Brandhof [Wed, 19 Oct 2016 14:55:09 +0000 (16:55 +0200)]
SONAR-8134 replace WsTester by WsActionTester
in tests of permissions web services
Evgeny Mandrikov [Fri, 21 Oct 2016 11:54:45 +0000 (13:54 +0200)]
SONAR-6337 Detect encoding of a file from BOM
Julien HENRY [Fri, 21 Oct 2016 09:09:42 +0000 (11:09 +0200)]
SONAR-8281 coverage_*_data measure should be sorted
Julien HENRY [Wed, 19 Oct 2016 14:50:16 +0000 (16:50 +0200)]
SONAR-8310, SONAR-8314 Make generic coverage plugin a core feature
Julien HENRY [Thu, 20 Oct 2016 09:14:12 +0000 (11:14 +0200)]
SONAR-8281 Update SensorContextTester to no more expose coverage type
Julien HENRY [Wed, 19 Oct 2016 08:33:11 +0000 (10:33 +0200)]
Move old test API to deprecated package
Julien HENRY [Wed, 19 Oct 2016 08:29:39 +0000 (10:29 +0200)]
Rename persistit classes Cache* -> Storage*
Julien HENRY [Wed, 19 Oct 2016 08:23:04 +0000 (10:23 +0200)]
Update JavaDoc
Julien HENRY [Wed, 19 Oct 2016 08:18:48 +0000 (10:18 +0200)]
SONAR-8310 Prevent generic coverage plugin to load in SonarQube
Stas Vilchik [Tue, 18 Oct 2016 07:46:22 +0000 (09:46 +0200)]
SONAR-8300 Create new "Projects" page [first iter]
Stas Vilchik [Mon, 17 Oct 2016 09:37:50 +0000 (11:37 +0200)]
move /projects to /projects/admin
Julien Lancelot [Thu, 20 Oct 2016 14:54:00 +0000 (16:54 +0200)]
SONAR-8287 Only accepts numeric, enabled and visible metrics
Julien Lancelot [Thu, 20 Oct 2016 14:10:32 +0000 (16:10 +0200)]
SONAR-8287 Support operators '>=' and '<'
Sébastien Lesaint [Wed, 19 Oct 2016 08:38:40 +0000 (10:38 +0200)]
SONAR-8152 make current user "owner" in api/organizations/create
by creating a group "Owners" with all global permissions and make current user a member of this group
Sébastien Lesaint [Thu, 20 Oct 2016 08:24:28 +0000 (10:24 +0200)]
SONAR-8192 fix unstability of UT of api/users/create
Sébastien Lesaint [Thu, 20 Oct 2016 08:20:36 +0000 (10:20 +0200)]
SONAR-8192 fix unstable UT for api/user_groups/delete
Sébastien Lesaint [Thu, 20 Oct 2016 07:47:11 +0000 (09:47 +0200)]
fix some quality flaws (UT coverage and useless imports)
Sébastien Lesaint [Thu, 20 Oct 2016 07:42:07 +0000 (09:42 +0200)]
SONAR-8192 add missing UT on AlwaysIncreasingSystem2
and fix initial returned value of method now() when an initial value is provided
Sébastien Lesaint [Thu, 20 Oct 2016 07:30:10 +0000 (09:30 +0200)]
make PermissionTemplateDaoTest more stable
Sébastien Lesaint [Tue, 18 Oct 2016 16:15:39 +0000 (18:15 +0200)]
SONAR-8100 add GroupDao#deleteByOrganization
Sébastien Lesaint [Tue, 18 Oct 2016 16:08:00 +0000 (18:08 +0200)]
SONAR-8100 add PermissionTemplateDao#deleteByOrganization
Sébastien Lesaint [Tue, 18 Oct 2016 16:07:38 +0000 (18:07 +0200)]
SONAR-8100 add UserPermissionDao#deleteByOrganization
Sébastien Lesaint [Tue, 18 Oct 2016 16:06:44 +0000 (18:06 +0200)]
SONAR-8100 add GroupPermissionDao#deleteByOrganization
Sébastien Lesaint [Tue, 18 Oct 2016 15:01:49 +0000 (17:01 +0200)]
SONAR-8100 add PermissionTemplateDbTester to DbTester
Sébastien Lesaint [Wed, 19 Oct 2016 09:02:08 +0000 (11:02 +0200)]
SONAR-8134 add organization uuid to unique index of table GROUP_ROLES
Sébastien Lesaint [Wed, 19 Oct 2016 09:14:12 +0000 (11:14 +0200)]
SONAR-8100 check user's organization in api/organizations/delete
Julien Lancelot [Thu, 20 Oct 2016 13:12:48 +0000 (15:12 +0200)]
SONAR-8221 Fix issue on MySQL when indexing project measures without analysis
Julien Lancelot [Thu, 20 Oct 2016 13:03:19 +0000 (15:03 +0200)]
SONAR-8221 Add IT on search projects action
Simon Brandhof [Wed, 19 Oct 2016 14:07:45 +0000 (16:07 +0200)]
SONAR-8267 SONAR-8265 add organization parameter
to web services api/permissions/search_global_permissions
and api/permissions/users.
Both WS are touched at the same time as the same refactoring
is required in UserPermissionDao.
Simon Brandhof [Wed, 19 Oct 2016 07:56:39 +0000 (09:56 +0200)]
SONAR-8261 add test to UserIdentityAuthenticatorTest about organizations
Simon Brandhof [Mon, 17 Oct 2016 16:04:12 +0000 (18:04 +0200)]
SONAR-8134 add javadoc to GroupPermissionDao
Simon Brandhof [Mon, 17 Oct 2016 16:02:46 +0000 (18:02 +0200)]
SONAR-8134 improve PermissionTemplateDao
- deprecate the methods that do not support organizations
- do not commit session in DAO
Simon Brandhof [Mon, 17 Oct 2016 15:48:19 +0000 (17:48 +0200)]
SONAR-8134 delete unused GroupDao#selectByName(DbSession, String)
Simon Brandhof [Tue, 18 Oct 2016 11:57:08 +0000 (13:57 +0200)]
SONAR-8261 Support organizations in web service api/permissions/groups
Simon Brandhof [Mon, 17 Oct 2016 13:11:35 +0000 (15:11 +0200)]
SONAR-8134 remove unused production code from RoleDao
Simon Brandhof [Wed, 19 Oct 2016 14:04:34 +0000 (16:04 +0200)]
SONAR-8263 isolate organizations when removing user permissions
Teryk Bellahsene [Thu, 20 Oct 2016 12:41:24 +0000 (14:41 +0200)]
fixup! SONAR-8233 WS components/search_projects return facets for desired metrics
Teryk Bellahsene [Wed, 19 Oct 2016 21:39:29 +0000 (23:39 +0200)]
SONAR-8233 WS components/search_projects return facets for desired metrics
Teryk Bellahsene [Wed, 19 Oct 2016 19:27:16 +0000 (21:27 +0200)]
SONAR-8232 WS api/components/search_projects return the ncloc facet
Julien Lancelot [Thu, 20 Oct 2016 10:45:06 +0000 (12:45 +0200)]
SONAR-8227 Rename AuthorizationIndexer to PermissionIndexer
Julien Lancelot [Thu, 20 Oct 2016 10:42:30 +0000 (12:42 +0200)]
SONAR-8227 Replace user login by user id in permission indexer
Julien Lancelot [Thu, 20 Oct 2016 10:14:59 +0000 (12:14 +0200)]
SONAR-8227 Add DbSession parameter in AuthorizationIndexer index methods
Julien Lancelot [Thu, 20 Oct 2016 10:09:21 +0000 (12:09 +0200)]
SONAR-8227 Remove permission from index at the same time than removing a project from index
Julien Lancelot [Wed, 19 Oct 2016 09:48:35 +0000 (11:48 +0200)]
SONAR-8227 Use authorization index when searching project measures
Julien Lancelot [Wed, 19 Oct 2016 09:48:28 +0000 (11:48 +0200)]
SONAR-8227 Fix project measures authorization index definition
Routing is missing in order to use a "join" in ES
Julien Lancelot [Tue, 18 Oct 2016 15:44:48 +0000 (17:44 +0200)]
SONAR-8227 Index project measures authorization
Julien Lancelot [Tue, 18 Oct 2016 14:17:20 +0000 (16:17 +0200)]
SONAR-8227 Index authorization by projects
Julien Lancelot [Mon, 17 Oct 2016 16:03:13 +0000 (18:03 +0200)]
SONAR-8227 Replace selection of date by projects in authorization index
Julien Lancelot [Mon, 17 Oct 2016 14:45:35 +0000 (16:45 +0200)]
SONAR-8227 Remove source from issue/authorization index
Julien Lancelot [Mon, 17 Oct 2016 13:45:14 +0000 (15:45 +0200)]
SONAR-8227 Remove DbUnit usage from AuthorizationDao/Indexer
Julien Lancelot [Wed, 19 Oct 2016 06:50:11 +0000 (08:50 +0200)]
SONAR-8227 Create project measures authorisation index
Julien Lancelot [Mon, 17 Oct 2016 13:01:38 +0000 (15:01 +0200)]
SONAR-8227 Move org.sonar.server.issue.index.IssueAuthorizationIndexer to org.sonar.server.permission.index.AuthorizationIndexer
This indexer will also be used to feed the authorization type of projectmeasures index
Julien Lancelot [Wed, 19 Oct 2016 12:59:50 +0000 (14:59 +0200)]
SONAR-8307 Filter by Quality Gate in WS api/components/search_projects
Julien Lancelot [Wed, 19 Oct 2016 14:25:11 +0000 (16:25 +0200)]
SONAR-8307 Project measures query now supports equal operator
Sébastien Lesaint [Tue, 18 Oct 2016 07:28:01 +0000 (09:28 +0200)]
SONAR-8172 check user's organization in api/organizations/update
Sébastien Lesaint [Wed, 19 Oct 2016 12:44:03 +0000 (14:44 +0200)]
SONAR-8192 update root flag of members in api/user_groups/remove
Sébastien Lesaint [Tue, 18 Oct 2016 13:49:26 +0000 (15:49 +0200)]
SONAR-8192 use a System2 impl always returning a bigger number
provides bullet proof reliability to unit tests checking updates actually occured by checking the value of the update_at column
Sébastien Lesaint [Tue, 18 Oct 2016 09:47:38 +0000 (11:47 +0200)]
SONAR-8192 skip MyBatis in RootFlagAssertions
Sébastien Lesaint [Mon, 17 Oct 2016 10:36:38 +0000 (12:36 +0200)]
SONAR-8192 set/unset root flag when creating a user via WS
depending upon whether the default group has the System Adminisiter permission or not
Sébastien Lesaint [Mon, 17 Oct 2016 10:28:47 +0000 (12:28 +0200)]
SONAR-8192 set root flag in UserIdentityAuthenticator
depending upon whether groups of the user have or not System Administer permision and whether, when it already exists, the user has user permission "System Administer"
Sébastien Lesaint [Fri, 14 Oct 2016 15:48:19 +0000 (17:48 +0200)]
SONAR-8192 set/unset root with admin permission change though WS
this applies only to the admin permission of the default organization
Sébastien Lesaint [Thu, 13 Oct 2016 13:22:12 +0000 (15:22 +0200)]
SONAR-8192 rename DefaultOrganizationProviderRule to TestDefaultOrganizationProvider
Sébastien Lesaint [Thu, 13 Oct 2016 12:52:58 +0000 (14:52 +0200)]
SONAR-8192 add OrganizationDbTester and add it to DbTester
Sébastien Lesaint [Fri, 14 Oct 2016 08:55:44 +0000 (10:55 +0200)]
change MyBatis session cache to statement cache
evernat [Sat, 15 Oct 2016 23:16:03 +0000 (01:16 +0200)]
Do not throw UnsupportedOperationException when httpRequest.getSession(false) is called
When httpRequest.getSession(false) is called, the callers does not ask to create a http session. (javadoc of HttpServletRequest: "If create is false and the request has no valid HttpSession, this method returns null.")
So throwing UnsupportedOperationException is not needed in this case and returning null is enough.
This will fix a [blocking issue](https://github.com/javamelody/sonar-javamelody/issues/4) in the [Sonar JavaMelody plugin](https://github.com/javamelody/javamelody/wiki/UserGuide#sonar-plugin).
Julien HENRY [Tue, 18 Oct 2016 14:40:30 +0000 (16:40 +0200)]
SONAR-8284 Make IT/Overall coverage measures 'hidden'
Julien HENRY [Tue, 18 Oct 2016 14:05:39 +0000 (16:05 +0200)]
SONAR-8286 Reword common rules about coverage
Julien Lancelot [Tue, 18 Oct 2016 13:06:00 +0000 (15:06 +0200)]
SONAR-8287 Project measure value is a double in ES index
Julien Lancelot [Tue, 18 Oct 2016 10:30:25 +0000 (12:30 +0200)]
SONAR-8287 Feed measures in project measures index
Teryk Bellahsene [Tue, 18 Oct 2016 08:51:04 +0000 (10:51 +0200)]
SONAR-8287 Refactor project measures index and WS domain
Teryk Bellahsene [Tue, 18 Oct 2016 06:34:08 +0000 (08:34 +0200)]
SONAR-8287 Filter measures in ES
Teryk Bellahsene [Mon, 17 Oct 2016 09:11:20 +0000 (11:11 +0200)]
SONAR-8287 Add nested field to index type 'projectmeasures'
Julien Lancelot [Fri, 14 Oct 2016 15:28:11 +0000 (17:28 +0200)]
SONAR-8287 Add filter parameter in api/components/search_projects
Julien HENRY [Tue, 18 Oct 2016 12:46:06 +0000 (14:46 +0200)]
SONAR-7875 Log a warning when a metric should not be saved by a Sensor
Julien HENRY [Tue, 18 Oct 2016 10:30:51 +0000 (12:30 +0200)]
SONAR-8281 Recompute coverage measures from line data to ensure consistency
Julien HENRY [Mon, 17 Oct 2016 14:31:39 +0000 (16:31 +0200)]
SONAR-8284 Remove overall/IT coverage data from scanner report
Julien HENRY [Fri, 14 Oct 2016 15:36:53 +0000 (17:36 +0200)]
SONAR-8281 Rework Sensor storage to merge multiple coverage reports
Julien HENRY [Wed, 12 Oct 2016 14:49:57 +0000 (16:49 +0200)]
SONAR-8281 Rename measure "Coverage by unit tests" -> " "Coverage by tests"
Julien HENRY [Wed, 12 Oct 2016 14:47:37 +0000 (16:47 +0200)]
SONAR-8281 Deprecated IT/Overall coverage measures
Julien HENRY [Wed, 12 Oct 2016 14:11:42 +0000 (16:11 +0200)]
SONAR-8281 Change coverage API to accept unlimited reports/deprecate coverage type
Julien HENRY [Wed, 12 Oct 2016 12:53:07 +0000 (14:53 +0200)]
Ensure component in not null on an issue location to prevent NPE at runtime
Julien Lancelot [Thu, 13 Oct 2016 13:22:58 +0000 (15:22 +0200)]
SONAR-8223 Update project measures index when creating/updating project
Julien Lancelot [Thu, 13 Oct 2016 12:44:39 +0000 (14:44 +0200)]
SONAR-8223 Clean up ComponentService
Remove no more used code
BulkUpdateKeyAction is now using ComponentService for the bulk update of key