moodle.git
2 months agoMerge branch 'MDL-70769-master' of https://github.com/sharidas/moodle
Víctor Déniz [Thu, 8 Apr 2021 23:54:18 +0000 (00:54 +0100)]
Merge branch 'MDL-70769-master' of https://github.com/sharidas/moodle

2 months agoMerge branch 'MDL-70802-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Thu, 8 Apr 2021 16:30:13 +0000 (18:30 +0200)]
Merge branch 'MDL-70802-master' of git://github.com/andrewnicols/moodle

2 months agoMerge branch 'MDL-65616' of git://github.com/paulholden/moodle
Sara Arjona [Thu, 8 Apr 2021 15:45:41 +0000 (17:45 +0200)]
Merge branch 'MDL-65616' of git://github.com/paulholden/moodle

2 months agoMerge branch 'master_MDL-32226' of https://github.com/danmarsden/moodle
Eloy Lafuente (stronk7) [Thu, 8 Apr 2021 15:30:12 +0000 (17:30 +0200)]
Merge branch 'master_MDL-32226' of https://github.com/danmarsden/moodle

2 months agoMerge branch 'MDL-71116-master' of git://github.com/sarjona/moodle
Víctor Déniz [Thu, 8 Apr 2021 00:01:15 +0000 (01:01 +0100)]
Merge branch 'MDL-71116-master' of git://github.com/sarjona/moodle

2 months agoMerge branch 'MDL-71178-master' of git://github.com/junpataleta/moodle
Víctor Déniz [Wed, 7 Apr 2021 15:09:15 +0000 (16:09 +0100)]
Merge branch 'MDL-71178-master' of git://github.com/junpataleta/moodle

2 months agoMerge branch 'MDL-70935-master-4' of git://github.com/mickhawkins/moodle
Adrian Greeve [Wed, 7 Apr 2021 07:41:04 +0000 (15:41 +0800)]
Merge branch 'MDL-70935-master-4' of git://github.com/mickhawkins/moodle

2 months agoMDL-70935 mod_quiz: Custom completion implementation
Shamim Rezaie [Thu, 25 Mar 2021 11:37:12 +0000 (22:37 +1100)]
MDL-70935 mod_quiz: Custom completion implementation

2 months agoMDL-70935 mod_quiz: combine 'pass' and 'attemptsexhausted' rules
Shamim Rezaie [Wed, 24 Mar 2021 18:57:19 +0000 (05:57 +1100)]
MDL-70935 mod_quiz: combine 'pass' and 'attemptsexhausted' rules

Custom rules are combined using the AND operator. However, the
'completionpass' and 'completionattemptsexhausted' rules are exceptions
because they are combined together with OR, and form a single new rule
that then will be combined with the rest of the rules using AND.
This commit combines the mentioned rules into a single rule named
'completionpassorattemptsexhausted'.

2 months agoMDL-70935 mod_quiz: Missing completionminattempts rule description
Shamim Rezaie [Wed, 24 Mar 2021 14:23:14 +0000 (01:23 +1100)]
MDL-70935 mod_quiz: Missing completionminattempts rule description

The mod_quiz_get_completion_active_rule_descriptions() function was not
returning the description for the 'completionminattempts' rule. Added
that.

2 months agoMDL-70935 mod_scorm: Custom completion implementation
Michael Hawkins [Tue, 23 Mar 2021 18:37:38 +0000 (02:37 +0800)]
MDL-70935 mod_scorm: Custom completion implementation

2 months agoMDL-70935 mod_lesson: Custom completion implementation
Michael Hawkins [Thu, 25 Mar 2021 07:39:05 +0000 (15:39 +0800)]
MDL-70935 mod_lesson: Custom completion implementation

2 months agoMerge branch 'MDL-70820-master' of git://github.com/lameze/moodle
Adrian Greeve [Wed, 7 Apr 2021 05:26:12 +0000 (13:26 +0800)]
Merge branch 'MDL-70820-master' of git://github.com/lameze/moodle

2 months agoMDL-70820 mod_forum: custom completion implementation
Simey Lameze [Tue, 2 Mar 2021 03:33:05 +0000 (11:33 +0800)]
MDL-70820 mod_forum: custom completion implementation

2 months agoMDL-70820 mod_glossary: custom completion implementation
Simey Lameze [Mon, 1 Mar 2021 23:02:25 +0000 (07:02 +0800)]
MDL-70820 mod_glossary: custom completion implementation

2 months agoMDL-70820 mod_assign: custom completion implementation
Simey Lameze [Thu, 11 Mar 2021 11:04:41 +0000 (19:04 +0800)]
MDL-70820 mod_assign: custom completion implementation

2 months agoMDL-70820 mod_data: custom completion implementation
Simey Lameze [Fri, 19 Feb 2021 08:11:29 +0000 (16:11 +0800)]
MDL-70820 mod_data: custom completion implementation

2 months agoMDL-70820 mod_feedback: custom completion implementation
Simey Lameze [Fri, 19 Feb 2021 07:42:11 +0000 (15:42 +0800)]
MDL-70820 mod_feedback: custom completion implementation

2 months agoMDL-70820 mod_survey: custom completion implementation
Simey Lameze [Thu, 11 Mar 2021 09:08:28 +0000 (17:08 +0800)]
MDL-70820 mod_survey: custom completion implementation

2 months agoMerge branch 'MDL-68635' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 6 Apr 2021 20:23:15 +0000 (22:23 +0200)]
Merge branch 'MDL-68635' of https://github.com/paulholden/moodle

2 months agoMerge branch 'MDL-71128' of git://github.com/paulholden/moodle
Víctor Déniz [Tue, 6 Apr 2021 18:41:04 +0000 (19:41 +0100)]
Merge branch 'MDL-71128' of git://github.com/paulholden/moodle

2 months agoweekly release 4.0dev
Sara Arjona [Tue, 6 Apr 2021 13:29:06 +0000 (15:29 +0200)]
weekly release 4.0dev

2 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Tue, 6 Apr 2021 13:29:02 +0000 (15:29 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 months agoMerge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Tue, 6 Apr 2021 13:13:16 +0000 (15:13 +0200)]
Merge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle

2 months agoMDL-71215 Acceptance test: Missing Behat for webservice service_users
sam marshall [Tue, 6 Apr 2021 09:41:40 +0000 (10:41 +0100)]
MDL-71215 Acceptance test: Missing Behat for webservice service_users

2 months agoMerge branch 'MDL-70817-master' of git://github.com/abgreeve/moodle
Adrian Greeve [Tue, 6 Apr 2021 08:35:17 +0000 (16:35 +0800)]
Merge branch 'MDL-70817-master' of git://github.com/abgreeve/moodle

2 months agoMDL-70817 lib: Update the install xml file to use the correct length.
Adrian Greeve [Tue, 6 Apr 2021 07:24:00 +0000 (15:24 +0800)]
MDL-70817 lib: Update the install xml file to use the correct length.

The showactivitydates field had the wrong length of 4. This changes
it to 1.

2 months agoMerge branch 'MDL-70817-master-8' of git://github.com/junpataleta/moodle
Adrian Greeve [Tue, 6 Apr 2021 05:00:53 +0000 (13:00 +0800)]
Merge branch 'MDL-70817-master-8' of git://github.com/junpataleta/moodle

2 months agoAutomatically generated installer lang files
AMOS bot [Tue, 6 Apr 2021 00:08:07 +0000 (00:08 +0000)]
Automatically generated installer lang files

2 months agoMerge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Sun, 4 Apr 2021 13:49:59 +0000 (15:49 +0200)]
Merge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle

2 months agoAutomatically generated installer lang files
AMOS bot [Sun, 4 Apr 2021 00:08:05 +0000 (00:08 +0000)]
Automatically generated installer lang files

2 months agoMDL-70817 admin: Remove heading for showcompletionconditions
Jun Pataleta [Tue, 16 Mar 2021 16:00:05 +0000 (00:00 +0800)]
MDL-70817 admin: Remove heading for showcompletionconditions

It should be under the "Completion tracking" subheading just like in
the course form.

2 months agoMDL-70781 completion: behat coverage for new setting
Simey Lameze [Fri, 26 Feb 2021 06:04:51 +0000 (14:04 +0800)]
MDL-70781 completion: behat coverage for new setting

Part of MDL-70817

2 months agoMDL-70781 course: setting for displaying completion conditions
Simey Lameze [Mon, 8 Mar 2021 22:42:09 +0000 (06:42 +0800)]
MDL-70781 course: setting for displaying completion conditions

Part of MDL-70817

2 months agoMDL-70782 course: behat coverage for new setting
Simey Lameze [Sat, 13 Mar 2021 02:34:15 +0000 (10:34 +0800)]
MDL-70782 course: behat coverage for new setting

Part of MDL-70817

2 months agoMDL-70782 course: add setting to show activity dates
Simey Lameze [Mon, 8 Mar 2021 12:46:52 +0000 (20:46 +0800)]
MDL-70782 course: add setting to show activity dates

Part of MDL-70817

2 months agoMDL-70817 mod_choice: Behat tests for the activity completion info
Jun Pataleta [Fri, 12 Mar 2021 06:17:38 +0000 (14:17 +0800)]
MDL-70817 mod_choice: Behat tests for the activity completion info

2 months agoMDL-70817 mod_choice: Show choice activity info
Jun Pataleta [Sun, 7 Feb 2021 05:44:02 +0000 (13:44 +0800)]
MDL-70817 mod_choice: Show choice activity info

2 months agoMDL-70817 core_course: Create an activity information output component
Jun Pataleta [Fri, 5 Feb 2021 17:18:24 +0000 (01:18 +0800)]
MDL-70817 core_course: Create an activity information output component

The activity information output component displays information about
an activity module that can contain:
1. Activity dates
2. Completion information
   a. A manual completion button; or
   b. A list of automatic completion conditions and their statuses.

This patch also includes a new JS module called
core_course/manual_completion_toggle for toggling the
completion state of activities that support manual completion.

2 months agoMDL-70817 core_course: Add manual completion toggle to repository
Jun Pataleta [Fri, 5 Mar 2021 09:40:26 +0000 (17:40 +0800)]
MDL-70817 core_course: Add manual completion toggle to repository

Add the functionality of toggling the completion state of an
activity with manual completion to the core_course/repository
JS module.

2 months agoMDL-70817 core_course: Convert core_course/repository to ES6
Jun Pataleta [Fri, 5 Mar 2021 09:37:58 +0000 (17:37 +0800)]
MDL-70817 core_course: Convert core_course/repository to ES6

2 months agoMDL-70817 core: Allow the manual completion update WS function for AJAX
Jun Pataleta [Wed, 17 Feb 2021 16:07:02 +0000 (00:07 +0800)]
MDL-70817 core: Allow the manual completion update WS function for AJAX

Allow the core_completion_update_activity_completion_status_manually
web service function to be called from AJAX as well. This is needed
by the new manual completion toggle button in the
core_course/completion_manual template.

2 months agoMDL-70817 core_completion: Unit tests for cm_completion_details
Jun Pataleta [Mon, 15 Feb 2021 14:20:23 +0000 (22:20 +0800)]
MDL-70817 core_completion: Unit tests for cm_completion_details

2 months agoMDL-70817 core_completion: Course module completion details
Jun Pataleta [Tue, 16 Feb 2021 02:07:25 +0000 (10:07 +0800)]
MDL-70817 core_completion: Course module completion details

* Class cm_completion_details builds the custom completion details
for an activity module.

2 months agoAutomatically generated installer lang files
AMOS bot [Fri, 2 Apr 2021 00:07:49 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 months agoAutomatically generated installer lang files
AMOS bot [Thu, 1 Apr 2021 00:07:51 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 months agoMDL-71178 completion: Rebuild course cache before completion reset
Jun Pataleta [Tue, 23 Mar 2021 16:24:53 +0000 (00:24 +0800)]
MDL-71178 completion: Rebuild course cache before completion reset

Before resetting completion states during module update, we need to
rebuild the course cache first in order to properly reset the completion
states. Otherwise, calls to methods that fetch course module info
via cache (e.g. cm_info::create()) will fetch outdated information.

2 months agoMerge branch 'MDL-70895' of https://github.com/mkassaei/moodle
Jun Pataleta [Wed, 31 Mar 2021 13:26:39 +0000 (21:26 +0800)]
Merge branch 'MDL-70895' of https://github.com/mkassaei/moodle

2 months agoMDL-71215 core_user: User fields - remaining deprecated functions
sam marshall [Mon, 29 Mar 2021 12:59:49 +0000 (13:59 +0100)]
MDL-71215 core_user: User fields - remaining deprecated functions

This change removes references in code and comments to a few
deprecated functions that were accidentally missed in the larger
change.

The code changes only affect service_users.php. I made it support
custom user profile fields in this query, because it was easy
enough, rather than adding another TODO to fix later.

2 months agoMDL-70895 Questions: Default options when creating a question
Mahmoud Kassaei [Mon, 22 Feb 2021 08:25:11 +0000 (08:25 +0000)]
MDL-70895 Questions: Default options when creating a question

2 months agoMerge branch 'MDL-37655' of https://github.com/stronk7/moodle
Adrian Greeve [Wed, 31 Mar 2021 07:46:51 +0000 (15:46 +0800)]
Merge branch 'MDL-37655' of https://github.com/stronk7/moodle

2 months agoMDL-37655 phpunit: Avoid having multiple testcase classes in 1 file
Eloy Lafuente (stronk7) [Sun, 14 Mar 2021 22:42:49 +0000 (23:42 +0100)]
MDL-37655 phpunit: Avoid having multiple testcase classes in 1 file

Note that there wasn't any case of multiple testcase classes in
1 file. All the cases reported in the issue were false positives
caused but other "mock/fixture" files being named _test.

So all this issue does is:

1) rename any _test suffixed class in test files, because we are
   going to start renaming a lot of test classes to _test.

2) ensure that the 2 test case classes modified in this issue,
   are already observing the filename = classname rule that will
   be implemented soon (and verigy it works).

2 months agoweekly release 4.0dev
Víctor Déniz [Tue, 30 Mar 2021 14:37:25 +0000 (15:37 +0100)]
weekly release 4.0dev

2 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Víctor Déniz [Tue, 30 Mar 2021 14:37:18 +0000 (15:37 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 months agoMDL-68635 tool_cohortroles: observe user initial table filter.
Paul Holden [Thu, 7 May 2020 21:07:04 +0000 (22:07 +0100)]
MDL-68635 tool_cohortroles: observe user initial table filter.

2 months agoMerge branch 'MDL-70963-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Mon, 29 Mar 2021 10:39:32 +0000 (12:39 +0200)]
Merge branch 'MDL-70963-master' of git://github.com/sarjona/moodle

2 months agoMDL-70963 core_badges: Use expected JSON format for OBv2.1
Sara Arjona [Mon, 22 Feb 2021 15:20:49 +0000 (16:20 +0100)]
MDL-70963 core_badges: Use expected JSON format for OBv2.1

This patch adds some changes to guarantee that OpenBadges 2.1 (OBv2.1)
will return always the same JSON format that OBv2.0 (because the only
difference between both versions it's the BadgeConnect API).

2 months agoMerge branch 'MDL-70962' of git://github.com/paulholden/moodle
Andrew Nicols [Mon, 29 Mar 2021 03:58:05 +0000 (11:58 +0800)]
Merge branch 'MDL-70962' of git://github.com/paulholden/moodle

2 months agoMerge branch 'MDL-71004' of https://github.com/stronk7/moodle
Andrew Nicols [Mon, 29 Mar 2021 03:53:43 +0000 (11:53 +0800)]
Merge branch 'MDL-71004' of https://github.com/stronk7/moodle

2 months agoAutomatically generated installer lang files
AMOS bot [Mon, 29 Mar 2021 00:07:49 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 months agoMerge branch 'MDL-68496-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Sun, 28 Mar 2021 21:48:14 +0000 (23:48 +0200)]
Merge branch 'MDL-68496-master' of git://github.com/andrewnicols/moodle

2 months agoMerge branch 'MDL-71131-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Sun, 28 Mar 2021 21:21:33 +0000 (23:21 +0200)]
Merge branch 'MDL-71131-master' of https://github.com/sammarshallou/moodle

2 months agoAutomatically generated installer lang files
AMOS bot [Sun, 28 Mar 2021 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 months agoMerge branch 'MDL-71099-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Sat, 27 Mar 2021 09:17:43 +0000 (10:17 +0100)]
Merge branch 'MDL-71099-master' of https://github.com/sammarshallou/moodle

2 months agoMerge branch 'MDL-70537-master' of https://github.com/sammarshallou/moodle
Víctor Déniz [Fri, 26 Mar 2021 20:14:19 +0000 (20:14 +0000)]
Merge branch 'MDL-70537-master' of https://github.com/sammarshallou/moodle

2 months agoMDL-32226 mod_quiz: Add Plagiarism hooks to quiz and essay question.
Dan Marsden [Fri, 1 May 2020 08:32:09 +0000 (20:32 +1200)]
MDL-32226 mod_quiz: Add Plagiarism hooks to quiz and essay question.

2 months agoMDL-70962 forms: catch modal exceptions when getting body content.
Paul Holden [Mon, 22 Feb 2021 11:23:28 +0000 (11:23 +0000)]
MDL-70962 forms: catch modal exceptions when getting body content.

They are thrown in the following circumstances:

 * The dynamic form class doesn't exist;
 * It does exist but it's `check_access` method throws exception

Co-Authored-By: Andrew Nicols <andrew@nicols.co.uk>
2 months agoMerge branch 'MDL-71194-master' of git://github.com/NoelDeMartin/moodle
Víctor Déniz [Thu, 25 Mar 2021 15:06:48 +0000 (15:06 +0000)]
Merge branch 'MDL-71194-master' of git://github.com/NoelDeMartin/moodle

2 months agoMDL-71131 Admin: Users page incorrectly showing all name fields
sam marshall [Thu, 18 Mar 2021 13:00:20 +0000 (13:00 +0000)]
MDL-71131 Admin: Users page incorrectly showing all name fields

2 months agoMDL-71099 Lib: Move new user_fields class from core to core_user
sam marshall [Mon, 15 Mar 2021 15:36:32 +0000 (15:36 +0000)]
MDL-71099 Lib: Move new user_fields class from core to core_user

This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.

Since the class has only just been added to Moodle, now is a good
time to move it.

2 months agoMerge branch 'MDL-70842_master_v3' of https://github.com/TomoTsuyuki/moodle
Víctor Déniz [Thu, 25 Mar 2021 12:57:18 +0000 (12:57 +0000)]
Merge branch 'MDL-70842_master_v3' of https://github.com/TomoTsuyuki/moodle

2 months agoMDL-71194 behat: Fix app tests
Noel De Martin [Thu, 25 Mar 2021 12:50:27 +0000 (13:50 +0100)]
MDL-71194 behat: Fix app tests

2 months agoMerge branch 'MDL-70318-master' of https://github.com/ilyatregubov/moodle
Andrew Nicols [Thu, 25 Mar 2021 04:32:41 +0000 (12:32 +0800)]
Merge branch 'MDL-70318-master' of https://github.com/ilyatregubov/moodle

2 months agoMerge branch 'MDL-65776-master' of git://github.com/sarjona/moodle
Andrew Nicols [Thu, 25 Mar 2021 03:03:32 +0000 (11:03 +0800)]
Merge branch 'MDL-65776-master' of git://github.com/sarjona/moodle

2 months agoMerge branch 'MDL-70844-master' of git://github.com/peterRd/moodle
Andrew Nicols [Thu, 25 Mar 2021 02:22:51 +0000 (10:22 +0800)]
Merge branch 'MDL-70844-master' of git://github.com/peterRd/moodle

2 months agoMDL-70844 core: Pass anchors instead of URL for siteadmin tabs.
Peter Dias [Tue, 16 Feb 2021 01:22:54 +0000 (09:22 +0800)]
MDL-70844 core: Pass anchors instead of URL for siteadmin tabs.

2 months agoMerge branch 'MDL-70871-master' of git://github.com/roland04/moodle
Andrew Nicols [Thu, 25 Mar 2021 00:10:14 +0000 (08:10 +0800)]
Merge branch 'MDL-70871-master' of git://github.com/roland04/moodle

2 months agoAutomatically generated installer lang files
AMOS bot [Thu, 25 Mar 2021 00:07:58 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 months agoMerge branch 'MDL-70980-master' of git://github.com/ferranrecio/moodle
Andrew Nicols [Thu, 25 Mar 2021 00:06:14 +0000 (08:06 +0800)]
Merge branch 'MDL-70980-master' of git://github.com/ferranrecio/moodle

2 months agoMDL-71004 git: Ignore moodle-plugin-ci.phar in any directory
Eloy Lafuente (stronk7) [Sun, 21 Mar 2021 22:21:28 +0000 (23:21 +0100)]
MDL-71004 git: Ignore moodle-plugin-ci.phar in any directory

2 months agoweekly release 4.0dev
Víctor Déniz [Wed, 24 Mar 2021 14:20:33 +0000 (14:20 +0000)]
weekly release 4.0dev

2 months agoMerge branch 'MDL-71182-master-2' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Wed, 24 Mar 2021 09:48:37 +0000 (10:48 +0100)]
Merge branch 'MDL-71182-master-2' of git://github.com/lameze/moodle

2 months agoMDL-71182 calendar: add logic for category events in get_context
Simey Lameze [Mon, 24 Aug 2020 03:08:00 +0000 (11:08 +0800)]
MDL-71182 calendar: add logic for category events in get_context

This commit adds the missing logic for category events in
get_context() method. Without this fix, users will get errors
if they have category events with userid set to 0.

2 months agoMDL-70842 mod_assign: Add more cases to add file to archive
Tomo Tsuyuki [Wed, 24 Mar 2021 05:00:00 +0000 (16:00 +1100)]
MDL-70842 mod_assign: Add more cases to add file to archive

2 months agoMDL-70802 javascript: Normalise component consistently in templates
Andrew Nicols [Fri, 5 Feb 2021 07:51:18 +0000 (15:51 +0800)]
MDL-70802 javascript: Normalise component consistently in templates

2 months agoMDL-71182 calendar: Revert "Merge branch 'MDL-67494-master' of git://github.com/lamez...
Simey Lameze [Tue, 23 Mar 2021 11:26:50 +0000 (19:26 +0800)]
MDL-71182 calendar: Revert "Merge branch 'MDL-67494-master' of git://github.com/lameze/moodle"

This reverts commit 9d58d4de46e9415eb4ac405a340381de44c510c1, reversing
changes made to 535c0277de3547f02d94959fbe103e44a6706d4e.

2 months agoMerge branch 'MDL-71022' of git://github.com/paulholden/moodle
Víctor Déniz [Tue, 23 Mar 2021 22:49:55 +0000 (22:49 +0000)]
Merge branch 'MDL-71022' of git://github.com/paulholden/moodle

2 months agoMerge branch 'MDL-70727-master' of https://github.com/NashTechOpenUniversity/moodle
Víctor Déniz [Tue, 23 Mar 2021 16:52:46 +0000 (16:52 +0000)]
Merge branch 'MDL-70727-master' of https://github.com/NashTechOpenUniversity/moodle

2 months agoMDL-70871 user: Move 'Show all X' functionality to dynamic_table
Mikel Martín [Mon, 15 Feb 2021 11:09:28 +0000 (12:09 +0100)]
MDL-70871 user: Move 'Show all X' functionality to dynamic_table

2 months agoMDL-70871 table: Add 'Show all X' functionality to dynamic_table
Mikel Martín [Mon, 15 Feb 2021 10:36:59 +0000 (11:36 +0100)]
MDL-70871 table: Add 'Show all X' functionality to dynamic_table

2 months agoMerge branch 'MDL-71149' of https://github.com/stronk7/moodle
Travis CI [Tue, 23 Mar 2021 07:56:00 +0000 (15:56 +0800)]
Merge branch 'MDL-71149' of https://github.com/stronk7/moodle

2 months agoMerge branch 'MDL-71084-master' of git://github.com/peterRd/moodle
Travis CI [Tue, 23 Mar 2021 05:57:13 +0000 (13:57 +0800)]
Merge branch 'MDL-71084-master' of git://github.com/peterRd/moodle

2 months agoMDL-71084 core_navigation: Move secondary_test to proper location with namespace
Peter Dias [Tue, 23 Mar 2021 03:41:16 +0000 (11:41 +0800)]
MDL-71084 core_navigation: Move secondary_test to proper location with namespace

2 months agoMDL-71084 core_navigation: Provide a header title and active node text
Peter Dias [Thu, 18 Mar 2021 00:53:32 +0000 (08:53 +0800)]
MDL-71084 core_navigation: Provide a header title and active node text

2 months agoMerge branch 'MDL-69792-master' of git://github.com/sarjona/moodle
Travis CI [Tue, 23 Mar 2021 05:53:01 +0000 (13:53 +0800)]
Merge branch 'MDL-69792-master' of git://github.com/sarjona/moodle

2 months agoMerge branch 'MDL-71104-master-2' of git://github.com/mickhawkins/moodle
Travis CI [Tue, 23 Mar 2021 05:46:20 +0000 (13:46 +0800)]
Merge branch 'MDL-71104-master-2' of git://github.com/mickhawkins/moodle

2 months agoMDL-71104 core_completion: Fix fetching of grade completion status
Michael Hawkins [Thu, 18 Mar 2021 06:27:36 +0000 (14:27 +0800)]
MDL-71104 core_completion: Fix fetching of grade completion status

We should be able to fetch the grade completion status for modules
that do not have custom completion configured. This also improves
unit testing coverage.

2 months agoMDL-71104 completion: Fix completion_info::get_data() unit tests
Jun Pataleta [Mon, 15 Mar 2021 06:39:08 +0000 (14:39 +0800)]
MDL-71104 completion: Fix completion_info::get_data() unit tests

* Fixed inverted $sameuser test data.
* Fixed caching expectation check. Caching only relies on whether the
user accessing the completion data is the same user or not.
* Fixed checking for the caching of other modules. Should have been
checking cm ID and not instance ID.
* Additional test case when whole course parameter is passed as
true, but the requesting user is different from the target user.

2 months agoMerge branch 'MDL-71039-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Tue, 23 Mar 2021 03:17:44 +0000 (11:17 +0800)]
Merge branch 'MDL-71039-master' of git://github.com/marinaglancy/moodle

2 months agoMerge branch 'MDL-70313-master' of git://github.com/peterRd/moodle
Andrew Nicols [Tue, 23 Mar 2021 01:58:57 +0000 (09:58 +0800)]
Merge branch 'MDL-70313-master' of git://github.com/peterRd/moodle