]>
source.dussan.org Git - sonarqube.git/log
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
Simon Brandhof [Thu, 13 Oct 2016 05:41:44 +0000 (07:41 +0200)]
SONAR-8134 remove RoleDao#countComponentPermissions()
replaced by GroupPermissionDao#hasRootComponentPermissions() and
UserPermissionDao#hasRootComponentPermissions()
Simon Brandhof [Wed, 12 Oct 2016 22:54:42 +0000 (00:54 +0200)]
SONAR-8134 remove RoleDao#deleteGroupRole()
replaced by GroupPermissionDao#delete()
Simon Brandhof [Wed, 12 Oct 2016 22:20:20 +0000 (00:20 +0200)]
SONAR-8134 remove RoleDao#deleteGroupRolesByResourceId()
Replaced by GroupPermissionDao#deleteByRootComponentId()
Simon Brandhof [Wed, 12 Oct 2016 21:39:58 +0000 (23:39 +0200)]
SONAR-8134 make column group_roles.organization_uuid not null
Simon Brandhof [Wed, 12 Oct 2016 21:08:47 +0000 (23:08 +0200)]
SONAR-8134 populate column group_roles.organization_uuid on upgrade
Simon Brandhof [Wed, 12 Oct 2016 21:03:57 +0000 (23:03 +0200)]
SONAR-8134 feed column group_roles.organization_uuid
when adding permissions to a group
Simon Brandhof [Wed, 12 Oct 2016 20:21:02 +0000 (22:21 +0200)]
SONAR-8134 add column group_roles.organization_uuid
Column is currently empty.
Simon Brandhof [Wed, 12 Oct 2016 16:53:31 +0000 (18:53 +0200)]
Support organizations in user group web services
Simon Brandhof [Wed, 12 Oct 2016 16:53:03 +0000 (18:53 +0200)]
Support organizations in permission template web services
Simon Brandhof [Wed, 12 Oct 2016 16:50:20 +0000 (18:50 +0200)]
Support organizations in permission web services
Simon Brandhof [Wed, 12 Oct 2016 16:44:13 +0000 (18:44 +0200)]
Refactor some tests using DbTester
Simon Brandhof [Wed, 12 Oct 2016 16:01:43 +0000 (18:01 +0200)]
SONAR-8134 add new user to default group _of default organization_
Simon Brandhof [Wed, 12 Oct 2016 15:55:48 +0000 (17:55 +0200)]
Improve error message of empty group name
Simon Brandhof [Wed, 12 Oct 2016 15:53:23 +0000 (17:53 +0200)]
SONAR-8134 add column permission_templates.organization_uuid
Simon Brandhof [Wed, 12 Oct 2016 15:50:21 +0000 (17:50 +0200)]
SONAR-8134 add column user_roles.organization_uuid
Simon Brandhof [Wed, 12 Oct 2016 15:49:14 +0000 (17:49 +0200)]
SONAR-8134 make column groups.organization_uuid not null
Simon Brandhof [Wed, 12 Oct 2016 15:45:41 +0000 (17:45 +0200)]
SONAR-8134 prepare support of organizations in user group DAO
Simon Brandhof [Wed, 12 Oct 2016 15:44:35 +0000 (17:44 +0200)]
SONAR-8134 prepare support of organizations in permission DAO
Simon Brandhof [Wed, 12 Oct 2016 15:38:45 +0000 (17:38 +0200)]
SONAR-8134 prepare support of organizations in permission template DAO
Simon Brandhof [Wed, 12 Oct 2016 12:04:05 +0000 (14:04 +0200)]
Improve formatting of insert/update requests
Simon Brandhof [Mon, 3 Oct 2016 20:36:47 +0000 (22:36 +0200)]
SONAR-8134 Deprecated OldPermissionQuery
Simon Brandhof [Mon, 3 Oct 2016 16:32:18 +0000 (18:32 +0200)]
SONAR-8134 create default organization in DbTester
Simon Brandhof [Mon, 3 Oct 2016 16:31:21 +0000 (18:31 +0200)]
SONAR-8134 change signature of GroupDao#selectByName()
Simon Brandhof [Thu, 29 Sep 2016 09:57:35 +0000 (11:57 +0200)]
SONAR-8134 add search by organization and name in GroupDao
Simon Brandhof [Wed, 28 Sep 2016 19:38:06 +0000 (21:38 +0200)]
SONAR-8134 Replace CountByProjectAndPermissionDto by CountPerProjectPermission
Simon Brandhof [Wed, 28 Sep 2016 17:04:51 +0000 (19:04 +0200)]
SONAR-8134 add db column groups.organization_uuid
Julien Lancelot [Thu, 13 Oct 2016 10:05:07 +0000 (12:05 +0200)]
Reverting returning ComponentDto in insert
Julien Lancelot [Wed, 12 Oct 2016 16:31:41 +0000 (18:31 +0200)]
SONAR-8229 Update project measures index when removing a project
Julien Lancelot [Wed, 12 Oct 2016 15:30:41 +0000 (17:30 +0200)]
SONAR-8222 Update project measures index at the end of each project analysis