moodle.git
6 years agoMerge branch 'MDL-63282_master' of git://github.com/markn86/moodle
Damyon Wiese [Thu, 8 Nov 2018 06:00:00 +0000 (14:00 +0800)]
Merge branch 'MDL-63282_master' of git://github.com/markn86/moodle

6 years agoMerge branch 'MDL-63902-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 8 Nov 2018 05:39:05 +0000 (13:39 +0800)]
Merge branch 'MDL-63902-master' of git://github.com/andrewnicols/moodle

6 years agoMDL-63282 core_message: Setting messagingallusers = 1 for behat tests
Amaia Anabitarte [Tue, 6 Nov 2018 17:27:18 +0000 (18:27 +0100)]
MDL-63282 core_message: Setting messagingallusers = 1 for behat tests

Default setting value for new instances is 0
Default setting value for existing instances is 1
to get same search results than before this setting exists

Setting messagingallusers = 1 for behat tests to simulate old versions functionality

Followup: MDL-63911

6 years agoMDL-63282 core_message: New Search API function
Amaia Anabitarte [Tue, 23 Oct 2018 13:06:29 +0000 (15:06 +0200)]
MDL-63282 core_message: New Search API function

6 years agoMerge branch 'MDL-63840-master' of https://github.com/lucaboesch/moodle
Jun Pataleta [Thu, 8 Nov 2018 03:32:12 +0000 (11:32 +0800)]
Merge branch 'MDL-63840-master' of https://github.com/lucaboesch/moodle

6 years agoMerge branch 'MDL-63875' of https://github.com/timhunt/moodle
Damyon Wiese [Thu, 8 Nov 2018 01:41:16 +0000 (09:41 +0800)]
Merge branch 'MDL-63875' of https://github.com/timhunt/moodle

6 years agoMDL-63902 dataprivacy: Check course children not the course
Andrew Nicols [Wed, 7 Nov 2018 05:59:22 +0000 (13:59 +0800)]
MDL-63902 dataprivacy: Check course children not the course

When checking the expiry and protected state of a context, we need to do
so knowing what kind of use that context has.

If it is used in the user context, then only the user context matters.
If it is used within a course, then that child context must be checked
in relation to the course.

6 years agoMDL-63840 theme: block menu cog size.
Luca Bösch [Thu, 1 Nov 2018 18:22:51 +0000 (19:22 +0100)]
MDL-63840 theme: block menu cog size.

6 years agoMDL-62294 lib: Take note of cherry-picked upstream commit
Jun Pataleta [Wed, 12 Sep 2018 07:21:11 +0000 (15:21 +0800)]
MDL-62294 lib: Take note of cherry-picked upstream commit

* Make a note of the applied upstream patch in
  lib/lessphp/moodle_readme.txt which fixes the PHP 7.2 compatibility
  issue when counting ruleset rules.

* Amended on integration to put together all the local modifications.

6 years agoMDL-62294 lessphp: Fix for PHP 7.2 compatibility
Michaël Marinetti [Wed, 12 Sep 2018 07:16:38 +0000 (15:16 +0800)]
MDL-62294 lessphp: Fix for PHP 7.2 compatibility

From upstream commit:
https://github.com/oyejorge/less.php/commit/669acc51817a8da162b5f1b7137e79f0e4acc636

6 years agoMerge branch 'MDL-63888-master' of git://github.com/jleyva/moodle
David Monllao [Wed, 7 Nov 2018 12:03:34 +0000 (13:03 +0100)]
Merge branch 'MDL-63888-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-63740-master' of git://github.com/jleyva/moodle
David Monllao [Wed, 7 Nov 2018 11:56:10 +0000 (12:56 +0100)]
Merge branch 'MDL-63740-master' of git://github.com/jleyva/moodle

6 years agoMDL-63740 webservice: Add new dashboard functions to mobile service
Juan Leyva [Tue, 6 Nov 2018 10:30:14 +0000 (11:30 +0100)]
MDL-63740 webservice: Add new dashboard functions to mobile service

- core_course_get_enrolled_courses_by_timeline_classification
- core_course_get_recent_courses
- core_course_set_favourite_courses
- block_starredcourses_get_starred_courses

6 years agoMDL-63888 webservice: Return new global setting "messagingallusers"
Juan Leyva [Tue, 6 Nov 2018 11:08:41 +0000 (12:08 +0100)]
MDL-63888 webservice: Return new global setting "messagingallusers"

6 years agoMerge branch 'MDL-63883-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Wed, 7 Nov 2018 09:48:12 +0000 (10:48 +0100)]
Merge branch 'MDL-63883-master' of https://github.com/snake/moodle

6 years agoMerge branch 'MDL-63675-master' of git://github.com/bmbrands/moodle
David Monllao [Wed, 7 Nov 2018 09:44:57 +0000 (10:44 +0100)]
Merge branch 'MDL-63675-master' of git://github.com/bmbrands/moodle

6 years agoMerge branch 'MDL-63898-master' of https://github.com/snake/moodle
Damyon Wiese [Wed, 7 Nov 2018 07:30:52 +0000 (15:30 +0800)]
Merge branch 'MDL-63898-master' of https://github.com/snake/moodle

6 years agoMerge branch 'master_MDL-63800' of https://github.com/danmarsden/moodle
Jun Pataleta [Wed, 7 Nov 2018 07:27:27 +0000 (15:27 +0800)]
Merge branch 'master_MDL-63800' of https://github.com/danmarsden/moodle

6 years agoMerge branch 'MDL-63839_master' of git://github.com/markn86/moodle
Damyon Wiese [Wed, 7 Nov 2018 06:29:02 +0000 (14:29 +0800)]
Merge branch 'MDL-63839_master' of git://github.com/markn86/moodle

6 years agoMDL-63898 core_message: fix for get_conversations message formatting
Jake Dallimore [Wed, 7 Nov 2018 05:58:04 +0000 (13:58 +0800)]
MDL-63898 core_message: fix for get_conversations message formatting

This used to return a text version of the message, but needs to return
the message formatted with message_format_message_text().

6 years agoMerge branch 'MDL-63451' of https://github.com/peterspicer-catalyst/moodle
Damyon Wiese [Wed, 7 Nov 2018 04:05:27 +0000 (12:05 +0800)]
Merge branch 'MDL-63451' of https://github.com/peterspicer-catalyst/moodle

6 years agoMerge branch 'MDL-63884-master' of https://github.com/snake/moodle
Damyon Wiese [Wed, 7 Nov 2018 03:00:41 +0000 (11:00 +0800)]
Merge branch 'MDL-63884-master' of https://github.com/snake/moodle

6 years agoMDL-63708 tool_mobile: Add options for disabling blocks
Juan Leyva [Fri, 19 Oct 2018 09:27:57 +0000 (11:27 +0200)]
MDL-63708 tool_mobile: Add options for disabling blocks

Now that we are supporting the new dashboard and site home blocks on the mobile app,
we need options to allow admin to forbid certain blocks to be displayed on the app.

6 years agoMDL-63183 auth_shibboleth: Don't render page when already logged in
Jun Pataleta [Wed, 24 Oct 2018 04:36:56 +0000 (12:36 +0800)]
MDL-63183 auth_shibboleth: Don't render page when already logged in

6 years agoMDL-63183 auth_shibboleth: Add hidden login token in guest login form
Jun Pataleta [Wed, 24 Oct 2018 02:44:55 +0000 (10:44 +0800)]
MDL-63183 auth_shibboleth: Add hidden login token in guest login form

6 years agoMDL-63183 auth: Login protection
Damyon Wiese [Wed, 29 Aug 2018 01:38:46 +0000 (09:38 +0800)]
MDL-63183 auth: Login protection

CSRF protection for the login form. The authenticate_user_login function was
extended to validate the token (in \core\session\manager) but by default it
does not perform the extra validation. Existing uses of this function from
auth plugins and features like "change password" will continue to work without
changes. New config value $CFG->disablelogintoken can bypass this check.

6 years agoMerge branch 'm36_MDL-63789_Search_SOLR_Fixes_Proxy_Auth' of https://github.com/scara...
Eloy Lafuente (stronk7) [Tue, 6 Nov 2018 23:08:12 +0000 (00:08 +0100)]
Merge branch 'm36_MDL-63789_Search_SOLR_Fixes_Proxy_Auth' of https://github.com/scara/moodle

6 years agoon-demand release 3.6dev+
Eloy Lafuente (stronk7) [Tue, 6 Nov 2018 18:06:54 +0000 (19:06 +0100)]
on-demand release 3.6dev+

6 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Tue, 6 Nov 2018 18:06:52 +0000 (19:06 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

6 years agoMerge branch 'MDL-58454-master-fix' of git://github.com/junpataleta/moodle
Damyon Wiese [Tue, 6 Nov 2018 08:45:48 +0000 (16:45 +0800)]
Merge branch 'MDL-58454-master-fix' of git://github.com/junpataleta/moodle

6 years agoMDL-58454 badges: Use correct function for fetching badge issuer
Jun Pataleta [Tue, 6 Nov 2018 08:31:27 +0000 (16:31 +0800)]
MDL-58454 badges: Use correct function for fetching badge issuer

6 years agoMerge branch 'MDL-63711-master-fix' of git://github.com/junpataleta/moodle
Andrew Nicols [Tue, 6 Nov 2018 06:20:24 +0000 (14:20 +0800)]
Merge branch 'MDL-63711-master-fix' of git://github.com/junpataleta/moodle

6 years agoMDL-58454 core: Fix savepoint in upgrade.php
Jun Pataleta [Tue, 6 Nov 2018 03:57:09 +0000 (11:57 +0800)]
MDL-58454 core: Fix savepoint in upgrade.php

6 years agoMDL-63711 core_grade: Use canonicalize for checking userlist IDs
Jun Pataleta [Tue, 6 Nov 2018 06:15:04 +0000 (14:15 +0800)]
MDL-63711 core_grade: Use canonicalize for checking userlist IDs

6 years agoMerge branch 'MDL-58454-master' of git://github.com/junpataleta/moodle
David Monllao [Tue, 6 Nov 2018 14:48:23 +0000 (15:48 +0100)]
Merge branch 'MDL-58454-master' of git://github.com/junpataleta/moodle

6 years agoMerge branch 'MDL-63297' of https://github.com/timhunt/moodle
Damyon Wiese [Tue, 6 Nov 2018 03:39:09 +0000 (11:39 +0800)]
Merge branch 'MDL-63297' of https://github.com/timhunt/moodle

6 years agoMDL-63884 core_message: add imageurl support for linked conversations
Jake Dallimore [Tue, 6 Nov 2018 07:00:35 +0000 (15:00 +0800)]
MDL-63884 core_message: add imageurl support for linked conversations

This is an extra field specific to linked conversations, so the helper
method has been extended to encompass this alongside the subname field.

6 years agoMDL-63884 core: allow tests to set group pictures when creating groups
Jake Dallimore [Tue, 6 Nov 2018 08:41:45 +0000 (16:41 +0800)]
MDL-63884 core: allow tests to set group pictures when creating groups

6 years agoMDL-63883 core_message: fix random externnallib_test phpunit failure
Jake Dallimore [Tue, 6 Nov 2018 06:15:43 +0000 (14:15 +0800)]
MDL-63883 core_message: fix random externnallib_test phpunit failure

Users created by the test generator could have the same name as one
another, so trying to assert names NOT in an array would clash. Fix
is to remove those assertions - there were superfluous anyway.

6 years agoMDL-58454 badges: Fix related badge deletion
Jun Pataleta [Tue, 6 Nov 2018 03:44:58 +0000 (11:44 +0800)]
MDL-58454 badges: Fix related badge deletion

* When deleting a badge, delete badge_related records where this badge
is also set as the related badge.

6 years agoMerge branch 'MDL-63062-master-renamed' of https://github.com/vmdef/moodle
Jun Pataleta [Tue, 6 Nov 2018 02:32:18 +0000 (10:32 +0800)]
Merge branch 'MDL-63062-master-renamed' of https://github.com/vmdef/moodle

6 years agoMerge branch 'MDL-62563-master-3' of git://github.com/mihailges/moodle
Andrew Nicols [Tue, 6 Nov 2018 01:37:23 +0000 (09:37 +0800)]
Merge branch 'MDL-62563-master-3' of git://github.com/mihailges/moodle

6 years agoMDL-63863 block_myoverview: remove superfluous div
Bas Brands [Mon, 5 Nov 2018 13:40:29 +0000 (14:40 +0100)]
MDL-63863 block_myoverview: remove superfluous div

So the clean suite in behat will be back to pass.

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 6 Nov 2018 00:07:16 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 years agoMDL-63062 block_recentlyaccessedcourses: add starred icon
Víctor Déniz Falcón [Mon, 5 Nov 2018 23:51:49 +0000 (23:51 +0000)]
MDL-63062 block_recentlyaccessedcourses: add starred icon

6 years agoMDL-63062 block_recentlyaccessedcourses: add block and styles
Víctor Déniz Falcón [Mon, 5 Nov 2018 21:50:40 +0000 (21:50 +0000)]
MDL-63062 block_recentlyaccessedcourses: add block and styles

6 years agoMDL-63062 block_recentlyaccessedcourses: add web service
Victor Deniz [Mon, 5 Nov 2018 11:41:55 +0000 (11:41 +0000)]
MDL-63062 block_recentlyaccessedcourses: add web service

6 years agoMDL-63800 mod_assign: don't show grade if not set.
Dan Marsden [Mon, 5 Nov 2018 20:57:36 +0000 (09:57 +1300)]
MDL-63800 mod_assign: don't show grade if not set.

6 years agoMDL-63875 qtype_ddmarker: fix layout with multi-line markers
Tim Hunt [Mon, 5 Nov 2018 17:45:05 +0000 (17:45 +0000)]
MDL-63875 qtype_ddmarker: fix layout with multi-line markers

6 years agoMDL-58454 badges: Fix some minor errors for Open Badges v2
Sara Arjona [Mon, 5 Nov 2018 13:17:59 +0000 (14:17 +0100)]
MDL-58454 badges: Fix some minor errors for Open Badges v2

6 years agoMerge branch 'MDL-63711-master' of git://github.com/abgreeve/moodle
David Monllao [Mon, 5 Nov 2018 15:35:34 +0000 (16:35 +0100)]
Merge branch 'MDL-63711-master' of git://github.com/abgreeve/moodle

6 years agoMDL-58454 badges: Open Badges Specification Version 2.0 Changes
Tung Thai [Mon, 6 Aug 2018 18:15:03 +0000 (01:15 +0700)]
MDL-58454 badges: Open Badges Specification Version 2.0 Changes

6 years agoMDL-63675 block_myoverview: IE11 card size issues
Bas Brands [Mon, 5 Nov 2018 12:43:52 +0000 (13:43 +0100)]
MDL-63675 block_myoverview: IE11 card size issues

6 years agoMerge branch 'MDL-63748-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 5 Nov 2018 12:11:17 +0000 (13:11 +0100)]
Merge branch 'MDL-63748-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-63764-master' of git://github.com/mickhawkins/moodle
David Monllao [Mon, 5 Nov 2018 11:46:12 +0000 (12:46 +0100)]
Merge branch 'MDL-63764-master' of git://github.com/mickhawkins/moodle

6 years agoMerge branch 'MDL-63739-master' of git://github.com/jleyva/moodle
David Monllao [Mon, 5 Nov 2018 10:19:32 +0000 (11:19 +0100)]
Merge branch 'MDL-63739-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-63700-master' of git://github.com/mickhawkins/moodle
David Monllao [Mon, 5 Nov 2018 10:13:51 +0000 (11:13 +0100)]
Merge branch 'MDL-63700-master' of git://github.com/mickhawkins/moodle

6 years agoMDL-62563 privacy: Create delete data request for existing deleted users
Mihail Geshoski [Mon, 5 Nov 2018 08:20:37 +0000 (16:20 +0800)]
MDL-62563 privacy: Create delete data request for existing deleted users

6 years agoMDL-62563 privacy: Add unit tests
Mihail Geshoski [Mon, 5 Nov 2018 08:20:06 +0000 (16:20 +0800)]
MDL-62563 privacy: Add unit tests

6 years agoMDL-44137 group: fix stdClass name
Damyon Wiese [Mon, 5 Nov 2018 07:06:00 +0000 (15:06 +0800)]
MDL-44137 group: fix stdClass name

Fix only for new core_group_update_groups webservice.

6 years agoMerge branch 'MDL-44137_add_update-groups_webservice' of https://github.com/TheVirtua...
Damyon Wiese [Mon, 5 Nov 2018 07:07:26 +0000 (15:07 +0800)]
Merge branch 'MDL-44137_add_update-groups_webservice' of https://github.com/TheVirtualLtd/moodle

6 years agoMerge branch 'MDL-63689-master-workshopprivacy' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Mon, 5 Nov 2018 06:54:09 +0000 (14:54 +0800)]
Merge branch 'MDL-63689-master-workshopprivacy' of git://github.com/mudrd8mz/moodle

6 years agoMerge branch 'MDL-63717-master' of git://github.com/jleyva/moodle
Damyon Wiese [Mon, 5 Nov 2018 05:45:25 +0000 (13:45 +0800)]
Merge branch 'MDL-63717-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-63564-master' of git://github.com/mihailges/moodle
Andrew Nicols [Mon, 5 Nov 2018 04:57:48 +0000 (12:57 +0800)]
Merge branch 'MDL-63564-master' of git://github.com/mihailges/moodle

6 years agoMDL-63839 core_message: use component name for Behat tag
Mark Nelson [Mon, 5 Nov 2018 02:35:51 +0000 (10:35 +0800)]
MDL-63839 core_message: use component name for Behat tag

6 years agoMerge branch 'MDL-63827' of https://github.com/timhunt/moodle
Damyon Wiese [Mon, 5 Nov 2018 02:28:11 +0000 (10:28 +0800)]
Merge branch 'MDL-63827' of https://github.com/timhunt/moodle

6 years agoMerge branch 'MDL-63772' of https://github.com/timhunt/moodle
Andrew Nicols [Mon, 5 Nov 2018 01:36:09 +0000 (09:36 +0800)]
Merge branch 'MDL-63772' of https://github.com/timhunt/moodle

6 years agoMerge branch 'MDL-63712-master' of git://github.com/mickhawkins/moodle
Andrew Nicols [Mon, 5 Nov 2018 01:33:42 +0000 (09:33 +0800)]
Merge branch 'MDL-63712-master' of git://github.com/mickhawkins/moodle

6 years agoMerge branch 'MDL-63818-master-2' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Sun, 4 Nov 2018 23:02:56 +0000 (00:02 +0100)]
Merge branch 'MDL-63818-master-2' of git://github.com/andrewnicols/moodle

6 years agoMDL-63789 search_solr: use proxy creds, if any
Matteo Scaramuccia [Sat, 27 Oct 2018 15:13:36 +0000 (17:13 +0200)]
MDL-63789 search_solr: use proxy creds, if any

Also use proxy port, IF any.

6 years agoon-demand release 3.6dev+
Eloy Lafuente (stronk7) [Fri, 2 Nov 2018 20:08:46 +0000 (21:08 +0100)]
on-demand release 3.6dev+

6 years agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Fri, 2 Nov 2018 20:08:46 +0000 (21:08 +0100)]
NOBUG: Fixed file access permissions

6 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 2 Nov 2018 20:08:44 +0000 (21:08 +0100)]
NOBUG: Fixed SVG browser compatibility

6 years agoMDL-63711 core_grades: Delete data for specified users in a context.
Adrian Greeve [Mon, 22 Oct 2018 06:37:48 +0000 (14:37 +0800)]
MDL-63711 core_grades: Delete data for specified users in a context.

6 years agoMDL-63748 core_auth: Fix redirect parameter being ignored
Juan Leyva [Fri, 2 Nov 2018 14:16:02 +0000 (15:16 +0100)]
MDL-63748 core_auth: Fix redirect parameter being ignored

6 years agoMDL-63717 tool_mobile: Ensure URLs are valid
Juan Leyva [Fri, 2 Nov 2018 13:34:58 +0000 (14:34 +0100)]
MDL-63717 tool_mobile: Ensure URLs are valid

We need to clean the URLs returned by the get_public_config WS because some old plugins didn't validate the stored data.

6 years agoMDL-63739 core_enrol: Add completion criteria, hiden and favourited data
Juan Leyva [Fri, 2 Nov 2018 11:10:57 +0000 (12:10 +0100)]
MDL-63739 core_enrol: Add completion criteria, hiden and favourited data

6 years agoMDL-63564 core_question: Avoid using UNION in get_users_in_context()
Mihail Geshoski [Fri, 2 Nov 2018 06:14:19 +0000 (14:14 +0800)]
MDL-63564 core_question: Avoid using UNION in get_users_in_context()

6 years agoMDL-63564 mod_quiz: Added delete_quizaccess_data_for_users to polyfill
Shamim Rezaie [Thu, 11 Oct 2018 15:47:40 +0000 (02:47 +1100)]
MDL-63564 mod_quiz: Added delete_quizaccess_data_for_users to polyfill

This issue is a part of the MDL-62560 Epic.

6 years agoMDL-63564 mod_quiz: support removal of multiple users in a context
Shamim Rezaie [Thu, 11 Oct 2018 11:56:05 +0000 (22:56 +1100)]
MDL-63564 mod_quiz: support removal of multiple users in a context

This issue is a part of the MDL-62560 Epic.

6 years agoMDL-63564 mod_quiz: Added quizaccess_user_provider interface
Shamim Rezaie [Thu, 11 Oct 2018 05:14:44 +0000 (16:14 +1100)]
MDL-63564 mod_quiz: Added quizaccess_user_provider interface

This issue is a part of the MDL-62560 Epic.

6 years agoMDL-63564 question: Add helper to fetch users in context
Shamim Rezaie [Wed, 10 Oct 2018 16:06:07 +0000 (03:06 +1100)]
MDL-63564 question: Add helper to fetch users in context

This issue is a part of the MDL-62560 Epic.

6 years agoMDL-63564 core_question: support removal of multiple users in a context
Shamim Rezaie [Tue, 9 Oct 2018 05:33:05 +0000 (16:33 +1100)]
MDL-63564 core_question: support removal of multiple users in a context

This issue is a part of the MDL-62560 Epic.

6 years agoMerge branch 'MDL-63701-master-1' of git://github.com/mihailges/moodle
Andrew Nicols [Fri, 2 Nov 2018 04:02:58 +0000 (12:02 +0800)]
Merge branch 'MDL-63701-master-1' of git://github.com/mihailges/moodle

6 years agoMerge branch 'MDL-63666-master' of git://github.com/mihailges/moodle
Andrew Nicols [Fri, 2 Nov 2018 02:46:33 +0000 (10:46 +0800)]
Merge branch 'MDL-63666-master' of git://github.com/mihailges/moodle

6 years agoMDL-63457 block_myoverview: Bug fixes
Peter [Fri, 2 Nov 2018 00:25:53 +0000 (08:25 +0800)]
MDL-63457 block_myoverview: Bug fixes

* Updated bootstrap theme to match boost
* Fix up logical errors in js

6 years agoMerge branch 'MDL-63549-master' of https://github.com/snake/moodle
Damyon Wiese [Fri, 2 Nov 2018 02:17:54 +0000 (10:17 +0800)]
Merge branch 'MDL-63549-master' of https://github.com/snake/moodle

6 years agoMDL-63549 core_message: exclude conversations where all messages deleted
Jake Dallimore [Fri, 2 Nov 2018 02:10:37 +0000 (10:10 +0800)]
MDL-63549 core_message: exclude conversations where all messages deleted

If there are no recent messages for an individual conversation for the
user, then we exclude that conversation from the results.

6 years agoMDL-63666 logging: Rename delete_data_for_all_users() function
Mihail Geshoski [Fri, 2 Nov 2018 01:17:24 +0000 (09:17 +0800)]
MDL-63666 logging: Rename delete_data_for_all_users() function

6 years agoMDL-63666 logging: Add support for removal of context users.
Adrian Greeve [Wed, 17 Oct 2018 03:51:52 +0000 (11:51 +0800)]
MDL-63666 logging: Add support for removal of context users.

This creates a new interface for the logging subplugins to
implement for the users to be deleted separately.

6 years agoMerge branch 'MDL-63703-master-1' of git://github.com/mihailges/moodle
Andrew Nicols [Fri, 2 Nov 2018 00:56:40 +0000 (08:56 +0800)]
Merge branch 'MDL-63703-master-1' of git://github.com/mihailges/moodle

6 years agoMerge branch 'MDL-63738' of https://github.com/timhunt/moodle
Andrew Nicols [Fri, 2 Nov 2018 00:43:53 +0000 (08:43 +0800)]
Merge branch 'MDL-63738' of https://github.com/timhunt/moodle

6 years agoMDL-63702 core_block: Correct phpdoc for get_users
Andrew Nicols [Fri, 2 Nov 2018 00:32:48 +0000 (08:32 +0800)]
MDL-63702 core_block: Correct phpdoc for get_users

6 years agoMDL-63422 blog: Correct phpdoc for get_users
Andrew Nicols [Fri, 2 Nov 2018 00:32:33 +0000 (08:32 +0800)]
MDL-63422 blog: Correct phpdoc for get_users

6 years agoMerge branch 'MDL-63422' of git://github.com/stronk7/moodle
Andrew Nicols [Fri, 2 Nov 2018 00:22:33 +0000 (08:22 +0800)]
Merge branch 'MDL-63422' of git://github.com/stronk7/moodle

6 years agoMerge branch 'MDL-63816-master' of git://github.com/mickhawkins/moodle
Andrew Nicols [Fri, 2 Nov 2018 00:00:32 +0000 (08:00 +0800)]
Merge branch 'MDL-63816-master' of git://github.com/mickhawkins/moodle

6 years agoMerge branch 'MDL-63746-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Thu, 1 Nov 2018 14:38:08 +0000 (15:38 +0100)]
Merge branch 'MDL-63746-master' of git://github.com/damyon/moodle

6 years agoMDL-63818 core: Add all relevant module context caps
Andrew Nicols [Thu, 1 Nov 2018 00:22:48 +0000 (08:22 +0800)]
MDL-63818 core: Add all relevant module context caps

This change ensures that all capabilities at module context level are
shown within a module, only filtering out those which belong to another
module or the subplugins of another module.

This has the effect that module-level capabilities are included
providing they relate to
- the module being queried
- any subplugin of that module
- any capability at module level which does not belong to another module
  or its subplugin
- any other explicitly included capability

This allows permissions to be defined on a capability at a context
level.

6 years agoMDL-63772 atto_recordrtc: capabilities to control who can record what
Tim Hunt [Mon, 29 Oct 2018 17:49:39 +0000 (17:49 +0000)]
MDL-63772 atto_recordrtc: capabilities to control who can record what

6 years agoMDL-63712 core_message: Unit test improvements for fetching context/user
Michael Hawkins [Thu, 1 Nov 2018 05:20:11 +0000 (13:20 +0800)]
MDL-63712 core_message: Unit test improvements for fetching context/user

This issue is part of the MDL-62560 Epic.