MDL-40354 groups: Add unit tests for the api groups_group_visible()
MDL-40354 groups: Add new api groups_group_visible()
MDL-40354 groups:groups_get_activity_allowed_groups() should use passed userid to check capabilities
MDL-40354 groups: Fix issues in groups_group_visible()
Merge branch 'MDL-40354-master' of git://github.com/ankitagarwal/moodle
MDL-40449 use data generator to create random qs
MDL-40368 tool_capability: fixed regression marking single result selected
Merge branch 'MDL-38366-master' of git://github.com/FMCorz/moodle
MDL-31776 - lib: mod/forums - Fixed discussion sql query.
MDL-31776 - lib: Alternate name fields - fixed up user object in question code.
MDL-40358 Enrolments: Fixed sql when user is suspended
MDL-31776 - lib: Alternate name fields - update of gradebook sql query.
Merge branch 'wip-MDL-31776-master-alternatenamesfix' of git://github.com/abgreeve/moodle
MDL-40426 - Libraries: Deprecate mark_context_dirty().
MDL-40428 Libraries: Deprecated delete_context
MDL-40431 libraries: deprecated get_context_url()
MDL-40431 libraries: added another PHPUnit test to ensure deprecated function returns the same as the replacement
MDL-40462 libraries: deprecated get_course_context()
MDL-40462 libraries: added another PHPUnit test to ensure deprecated function returns the same as the replacement
MDL-40464 libraries: Deprecate get_user_courses_bycap()