]>
source.dussan.org Git - sonarqube.git/log
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
Simon Brandhof [Mon, 17 Oct 2016 10:30:02 +0000 (12:30 +0200)]
Fix PermissionTemplateCharacteristicDaoTest
Test was passing for a bad reason: ids of template and
characteristic were the sames in the test.
Simon Brandhof [Sun, 16 Oct 2016 17:43:42 +0000 (19:43 +0200)]
SONAR-8291 make organization parameters as internal
Simon Brandhof [Sun, 16 Oct 2016 17:35:31 +0000 (19:35 +0200)]
SONAR-8291 display internal flag in web api documentation
Simon Brandhof [Sun, 16 Oct 2016 17:30:53 +0000 (19:30 +0200)]
SONAR-8291 support internal params in WS api/webservices/list
Simon Brandhof [Sun, 16 Oct 2016 17:18:38 +0000 (19:18 +0200)]
SONAR-8291 add NewParam#setInternal(boolean) to API
Stas Vilchik [Mon, 17 Oct 2016 08:59:14 +0000 (10:59 +0200)]
SONAR-5857 remove "E" option
Simon Brandhof [Sun, 16 Oct 2016 21:13:42 +0000 (23:13 +0200)]
SONAR-8280 organization in WS api/permissions/update_template
Simon Brandhof [Sun, 16 Oct 2016 21:13:12 +0000 (23:13 +0200)]
SONAR-8297 organization in WS api/permissions/template_users
Simon Brandhof [Sun, 16 Oct 2016 21:12:12 +0000 (23:12 +0200)]
SONAR-8296 organization in WS api/permissions/template_groups
Simon Brandhof [Sun, 16 Oct 2016 21:09:24 +0000 (23:09 +0200)]
SONAR-8279 organization in WS api/permissions/set_default_template
Simon Brandhof [Sun, 16 Oct 2016 21:08:50 +0000 (23:08 +0200)]
SONAR-8277 organization in WS api/permissions/remove_user_from_template
Simon Brandhof [Sun, 16 Oct 2016 21:08:15 +0000 (23:08 +0200)]
SONAR-8276 organization in WS api/permissions/remove_project_creator_from_template
Simon Brandhof [Sun, 16 Oct 2016 21:07:39 +0000 (23:07 +0200)]
SONAR-8275 organization in WS api/permissions/remove_group_from_template
Simon Brandhof [Sun, 16 Oct 2016 21:06:54 +0000 (23:06 +0200)]
SONAR-8268 organization in WS api/permissions/delete_template
Simon Brandhof [Sun, 16 Oct 2016 21:06:17 +0000 (23:06 +0200)]
SONAR-8274 organization in WS api/permissions/create_template
Simon Brandhof [Sun, 16 Oct 2016 21:05:42 +0000 (23:05 +0200)]
SONAR-8271 organization in WS api/permissions/add_user_to_template
Simon Brandhof [Sun, 16 Oct 2016 21:05:01 +0000 (23:05 +0200)]
SONAR-8269 organization in WS api/permissions/add_group_to_template
Simon Brandhof [Sun, 16 Oct 2016 21:03:59 +0000 (23:03 +0200)]
SONAR-8270 organization in WS api/permissions/add_project_creator_to_template
Simon Brandhof [Sun, 16 Oct 2016 21:02:45 +0000 (23:02 +0200)]
SONAR-8272 SONAR-8273 organization in WS to apply permission templates
Simon Brandhof [Sun, 16 Oct 2016 16:26:42 +0000 (18:26 +0200)]
SONAR-8259 add missing test about authorization
in api/permissions/add_group
Simon Brandhof [Sun, 16 Oct 2016 16:18:02 +0000 (18:18 +0200)]
SONAR-8258 check admin permission on related organization
in api/user_groups/update
Simon Brandhof [Sun, 16 Oct 2016 16:06:59 +0000 (18:06 +0200)]
SONAR-8257 check admin permission on related organization
in api/user_groups/update
Simon Brandhof [Sun, 16 Oct 2016 15:57:38 +0000 (17:57 +0200)]
Add missing jdbcType attributes in user and permission SQL requests
Simon Brandhof [Sun, 16 Oct 2016 15:41:11 +0000 (17:41 +0200)]
SONAR-8253 do not delete the last administrators of organization
Simon Brandhof [Sun, 16 Oct 2016 13:03:59 +0000 (15:03 +0200)]
SONAR-8252 check admin permission on related organization
Simon Brandhof [Sun, 16 Oct 2016 12:57:43 +0000 (14:57 +0200)]
SONAR-8254 check admin permission on related organization
Simon Brandhof [Sat, 15 Oct 2016 08:24:46 +0000 (10:24 +0200)]
SONAR-8134 isolate deletion of permissions
Simon Brandhof [Fri, 14 Oct 2016 12:09:12 +0000 (14:09 +0200)]
SONAR-8134 refactor SQL to check organization permission
Simon Brandhof [Fri, 14 Oct 2016 09:06:39 +0000 (11:06 +0200)]
SONAR-8134 merge PermissionMapper into AuthorizationDao
Simon Brandhof [Fri, 14 Oct 2016 08:02:26 +0000 (10:02 +0200)]
SONAR-8263 verify authorization on organization
Simon Brandhof [Fri, 14 Oct 2016 08:02:00 +0000 (10:02 +0200)]
SONAR-8262 verify authorization on organization
Simon Brandhof [Fri, 14 Oct 2016 08:01:30 +0000 (10:01 +0200)]
SONAR-8134 support of orgs in PermissionPrivilegeChecker
Simon Brandhof [Fri, 14 Oct 2016 08:00:47 +0000 (10:00 +0200)]
SONAR-8260 verify authorization on organization
Simon Brandhof [Fri, 14 Oct 2016 08:00:26 +0000 (10:00 +0200)]
SONAR-8264 verify authorization on organization
Simon Brandhof [Fri, 14 Oct 2016 07:59:06 +0000 (09:59 +0200)]
SONAR-8134 add missing "since 6.2" on parameter "organization"
Simon Brandhof [Fri, 14 Oct 2016 05:55:13 +0000 (07:55 +0200)]
SONAR-8134 add support of organizations in UserSession
Simon Brandhof [Fri, 14 Oct 2016 05:54:54 +0000 (07:54 +0200)]
SONAR-8134 add dao to verify authorizations
Simon Brandhof [Thu, 13 Oct 2016 18:22:59 +0000 (20:22 +0200)]
SONAR-8134 Remove check of authorization in PermissionUpdater
so that Compute Engine can call it without emulating
authroization stack.
Authorization is verified directly in the api/permissions
web services.
Simon Brandhof [Thu, 13 Oct 2016 15:38:02 +0000 (17:38 +0200)]
SONAR-8134 Rename WsProjectRef to ProjectWsRef
for consistency with org.sonar.server.usergroups.ws.ProjectId and ProjectWsRef
Simon Brandhof [Thu, 13 Oct 2016 15:35:00 +0000 (17:35 +0200)]
SONAR-8134 Rename ProjectRef to ProjectId
for consistency with org.sonar.server.usergroups.ws.ProjectId
Julien HENRY [Thu, 13 Oct 2016 15:11:27 +0000 (17:11 +0200)]
Fix core.properties by removing merging conflicts
Julien Lancelot [Thu, 13 Oct 2016 09:06:46 +0000 (11:06 +0200)]
SONAR-8221 Take into account date when indexing project measures at startup
Simon Brandhof [Thu, 13 Oct 2016 15:20:57 +0000 (17:20 +0200)]
Improve readability of schema-h2.ddl
by moving each index next to the related table