moodle.git
4 days agoweekly release 4.1.3+ MOODLE_401_STABLE
Sara Arjona [Fri, 26 May 2023 07:28:53 +0000 (09:28 +0200)]
weekly release 4.1.3+

5 days agoMDL-78346 tool_langimport: Print any notifications before redirect
Andrew Nicols [Thu, 25 May 2023 06:54:35 +0000 (14:54 +0800)]
MDL-78346 tool_langimport: Print any notifications before redirect

5 days agoMDL-78346 tool_langimport: Redirect after action to prevent resubmission
Andrew Nicols [Wed, 24 May 2023 14:48:28 +0000 (22:48 +0800)]
MDL-78346 tool_langimport: Redirect after action to prevent resubmission

5 days agoMDL-78346 tool_langimport: Prevent uninstallation of invalid targets
Andrew Nicols [Wed, 24 May 2023 14:48:12 +0000 (22:48 +0800)]
MDL-78346 tool_langimport: Prevent uninstallation of invalid targets

6 days agoMDL-78320 quiz_overview: format group names in overview report.
Paul Holden [Fri, 19 May 2023 10:05:11 +0000 (11:05 +0100)]
MDL-78320 quiz_overview: format group names in overview report.

7 days agoMDL-76065 behat: Review and enhance mod_lti Behat tests
Simey Lameze [Thu, 18 May 2023 04:05:11 +0000 (12:05 +0800)]
MDL-76065 behat: Review and enhance mod_lti Behat tests

In this commit, the following improvements were made to the mod_lti Behat tests:

* Replaced manual steps with data generators to set completion.
* Eliminated unnecessary user and course enrolments data generation as some tests can be performed as an admin.
* Removed the @javascript tag from non-JS tests.
* Updated the LTI data generator to generate an internal Moodle URL in the toolurl field, enabling the use of XML files.

7 days agoMDL-76065 behat: LTI behat generators use UI
Angelia Dela Cruz [Mon, 7 Nov 2022 04:38:52 +0000 (12:38 +0800)]
MDL-76065 behat: LTI behat generators use UI

Replace steps that manually add LTI instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.

7 days agoAutomatically generated installer lang files
AMOS bot [Tue, 23 May 2023 00:10:27 +0000 (00:10 +0000)]
Automatically generated installer lang files

8 days agoMDL-78157 js: Be more careful about inserting missing module names
Andrew Nicols [Tue, 9 May 2023 02:17:14 +0000 (10:17 +0800)]
MDL-78157 js: Be more careful about inserting missing module names

It is perfectly legitimate to create and/or use a method named `define`
in JS outside of RequireJS.

Unfortunately our requirejs.php wrapper is dumb and does not understand
this.

In the long term we need to stop doing this at all. We really should be
able to already, but every time I try to something prevents it.

In the interim, this change adds a secondary check to see if there is an
existing define which _does_ have the right name in it already.

11 days agoMDL-78176 Question: Fix D&D onto image and D&D markers theme issue
Anupama Sarjoshi [Thu, 11 May 2023 17:14:33 +0000 (18:14 +0100)]
MDL-78176 Question: Fix D&D onto image and D&D markers theme issue

11 days agoweekly release 4.1.3+
Jun Pataleta [Fri, 19 May 2023 13:13:57 +0000 (21:13 +0800)]
weekly release 4.1.3+

11 days agoMDL-77733 behat: Remove extraneous no-axe option
Andrew Nicols [Thu, 18 May 2023 07:31:10 +0000 (15:31 +0800)]
MDL-77733 behat: Remove extraneous no-axe option

There is no need for no-axe if we make axe a boolean value. We already
have automatic support for negated boolean flags.

12 days agoMDL-78005 editor_tiny: Declared vars to supress error logging
David Woloszyn [Thu, 18 May 2023 02:57:56 +0000 (12:57 +1000)]
MDL-78005 editor_tiny: Declared vars to supress error logging

13 days agoMDL-78260 quiz stats: fix View details for random questions
Tim Hunt [Tue, 16 May 2023 08:23:09 +0000 (09:23 +0100)]
MDL-78260 quiz stats: fix View details for random questions

13 days agoMDL-77983 core_user: Avoid passing nulls to base64_decode
Rajneel Totaram [Wed, 17 May 2023 07:37:15 +0000 (19:37 +1200)]
MDL-77983 core_user: Avoid passing nulls to base64_decode

13 days agoAutomatically generated installer lang files
AMOS bot [Wed, 17 May 2023 00:10:58 +0000 (00:10 +0000)]
Automatically generated installer lang files

2 weeks agoMDL-77439 lib_filebrowser: Splitup query to speedup get_courses
Peter Mayer [Tue, 28 Feb 2023 15:11:11 +0000 (16:11 +0100)]
MDL-77439 lib_filebrowser: Splitup query to speedup get_courses

2 weeks agoMDL-78072 core: Skip mobile encryption if Sodium is not available
Andrew Nicols [Tue, 9 May 2023 04:35:00 +0000 (12:35 +0800)]
MDL-78072 core: Skip mobile encryption if Sodium is not available

2 weeks agoMDL-78242 roles: consistently check course contact config.
Paul Holden [Mon, 15 May 2023 11:57:35 +0000 (12:57 +0100)]
MDL-78242 roles: consistently check course contact config.

2 weeks agoMDL-75576 quiz/question statistics: don't expire by time
Tim Hunt [Tue, 14 Mar 2023 14:33:24 +0000 (14:33 +0000)]
MDL-75576 quiz/question statistics: don't expire by time

Previously, a set of calculated quiz statistics would only 'last' for
15 minutes. Then they would be considered invalid and not used.

Now, computed statistics are kept indefinitely. Instead, when a new
batch of values are computed for a particular set of settings, older numbers
for the same settings are deleted first. Therefore,
question_stats_cleanup_task is no more.

2 weeks agoMDL-75576 quiz statistics: don't time-limit the use of cached values
Tim Hunt [Fri, 17 Feb 2023 15:53:55 +0000 (15:53 +0000)]
MDL-75576 quiz statistics: don't time-limit the use of cached values

This should have been done as part of  MDL-74762, but was missed.

2 weeks agoMDL-75576 quiz statistics: don't compute when a user views the qbank
Tim Hunt [Mon, 30 Jan 2023 16:02:50 +0000 (16:02 +0000)]
MDL-75576 quiz statistics: don't compute when a user views the qbank

Previously, when users viewed the question bank, if the quiz statistics
had not already been calculated, we would try to compute them there an then.
This could be very, very slow, leading to session lock problems.

Now, we never try to compute the statistics on the fly. Instead, we rely
on the existing \quiz_statistics\task\recalculate scheduled task to do it.

2 weeks agoMDL-75576 question bank: bulk-load statistics for all questions at once
Tim Hunt [Mon, 30 Jan 2023 15:42:27 +0000 (15:42 +0000)]
MDL-75576 question bank: bulk-load statistics for all questions at once

There is a new method on the column class, for the column to declare any
statistics it requires. The question then efficiently loads all those
statistics in one go, and makes them available as the columns are
rendererd, or do any subsequent processing.

2 weeks agoMDL-75576 qbank_statistics: remove copy-pasted PHPdoc comments
Tim Hunt [Mon, 30 Jan 2023 12:31:07 +0000 (12:31 +0000)]
MDL-75576 qbank_statistics: remove copy-pasted PHPdoc comments

These methods are already correctly documented on the base class.

2 weeks agoMDL-78120 login: handle empty wantsurl on login with alternateloginurl.
Luca Bösch [Thu, 4 May 2023 09:44:10 +0000 (11:44 +0200)]
MDL-78120 login: handle empty wantsurl on login with alternateloginurl.

2 weeks agoMDL-77995 javascript: more precise path matching building JS.
Paul Holden [Fri, 21 Apr 2023 13:44:35 +0000 (14:44 +0100)]
MDL-77995 javascript: more precise path matching building JS.

2 weeks agoMDL-78125 qtype_multianswer: Convert popover trigger to link
Jun Pataleta [Fri, 5 May 2023 16:03:27 +0000 (00:03 +0800)]
MDL-78125 qtype_multianswer: Convert popover trigger to link

According to Boostrap Popovers documentation for popovers triggered
on focus:
"For proper cross-browser and cross-platform behavior, you must use the
<a> tag, not the <button> tag, and you also must include a tabindex
attribute."

2 weeks agoMDL-77432 mod_assign: Confirm submission page standard and not incourse
Luca Bösch [Sun, 30 Apr 2023 09:20:50 +0000 (11:20 +0200)]
MDL-77432 mod_assign: Confirm submission page standard and not incourse

2 weeks agoweekly release 4.1.3+
Ilya Tregubov [Fri, 12 May 2023 00:56:50 +0000 (08:56 +0800)]
weekly release 4.1.3+

2 weeks agoMDL-78226 contentbank: verify presence of bank heading element.
Paul Holden [Thu, 11 May 2023 22:15:29 +0000 (23:15 +0100)]
MDL-78226 contentbank: verify presence of bank heading element.

2 weeks agoMDL-78225 output: add sesskey for post requests only in renderables.
Paul Holden [Thu, 11 May 2023 21:46:18 +0000 (22:46 +0100)]
MDL-78225 output: add sesskey for post requests only in renderables.

2 weeks agoMDL-76903 mod_book: Fix activity completion
Laurent David [Wed, 19 Apr 2023 09:23:45 +0000 (11:23 +0200)]
MDL-76903 mod_book: Fix activity completion

* Check only visibles pages to set completion status.
* Make sure we have consistent completion value in API and on the view page.

2 weeks agoMDL-78140 analytics: improve context restrictions manager test.
Paul Holden [Wed, 10 May 2023 13:47:25 +0000 (14:47 +0100)]
MDL-78140 analytics: improve context restrictions manager test.

This test apparently fails sporadically on Oracle, without obvious
causes. The failure however was hard to interpret, and the test
itself made a lot of assumptions about the system re. naming of
categories/courses. This could be prone to errors, so improve that.

2 weeks agoMDL-76344 course: Fixed course image 'non image file' layout
Stevani Andolo [Thu, 11 May 2023 03:12:41 +0000 (11:12 +0800)]
MDL-76344 course: Fixed course image 'non image file' layout

2 weeks agoMDL-78211 contentbank: fix context option when formatting categories.
Paul Holden [Wed, 10 May 2023 16:38:53 +0000 (17:38 +0100)]
MDL-78211 contentbank: fix context option when formatting categories.

2 weeks agoMDL-78151 core: account for timezone differences in intl extension.
Paul Holden [Tue, 9 May 2023 10:23:32 +0000 (11:23 +0100)]
MDL-78151 core: account for timezone differences in intl extension.

Recent additions to timezones from the IANA TZDB are not necessarily
reflected in those used by the intl extension and/or ICU zones:

 * America/Ciudad_Juarez
 * America/Nuuk
 * Europe/Kyiv
 * Pacific/Kanton

Create mapping to allow these zones to be used without errors.

3 weeks agoMDL-78170 rating: consistently calculate average rating aggregation.
Paul Holden [Tue, 9 May 2023 14:06:51 +0000 (15:06 +0100)]
MDL-78170 rating: consistently calculate average rating aggregation.

Ensure it's always cast by the database as a float, to avoid loss of
precision.

3 weeks agoMDL-78149 mod_data: ensure group selector is always present.
Paul Holden [Tue, 9 May 2023 11:02:31 +0000 (12:02 +0100)]
MDL-78149 mod_data: ensure group selector is always present.

3 weeks agoMDL-78152 mod_book: set permissions required for page editing.
Paul Holden [Tue, 9 May 2023 10:51:38 +0000 (11:51 +0100)]
MDL-78152 mod_book: set permissions required for page editing.

3 weeks agoMDL-77451 gradereport: stress handling for multiple clicks
Shamim Rezaie [Tue, 9 May 2023 06:28:51 +0000 (16:28 +1000)]
MDL-77451 gradereport: stress handling for multiple clicks

3 weeks agoMDL-75552 badges: move apiBase consumption to backpack
Andrew Nicols [Wed, 26 Apr 2023 06:27:21 +0000 (14:27 +0800)]
MDL-75552 badges: move apiBase consumption to backpack

The apiBase in .well-known/badgeconnect.json was ignored and it was
causing some failures when connecting or sending badges to an
external backpack.
For OBv2.1, it has been changed to always use the apiBase defined
in the badgeconnect.json backpack provider.

3 weeks agoMDL-77930 accesslib: php81 deprecation warnings on missing plugins
Rajneel Totaram [Sun, 16 Apr 2023 07:59:53 +0000 (19:59 +1200)]
MDL-77930 accesslib: php81 deprecation warnings on missing plugins

3 weeks agoMDL-78072 airnotifier: Apply payload size optimisation to all push
Juan Leyva [Mon, 17 Apr 2023 11:23:36 +0000 (13:23 +0200)]
MDL-78072 airnotifier: Apply payload size optimisation to all push

Backport of MDL-77893.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>

3 weeks agoMDL-78072 airnotifier: Allow configuring how to process encrypted notifs
Juan Leyva [Mon, 17 Apr 2023 10:38:18 +0000 (12:38 +0200)]
MDL-78072 airnotifier: Allow configuring how to process encrypted notifs

Backport of MDL-77893.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>

3 weeks agoMDL-78072 airnotifier: Leave only message data processed by: Airnotifier
Juan Leyva [Mon, 17 Apr 2023 09:21:52 +0000 (11:21 +0200)]
MDL-78072 airnotifier: Leave only message data processed by: Airnotifier

Backport of MDL-77893.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>

3 weeks agoMDL-78072 airnotifier: Allow to set publickey when creating new device
Juan Leyva [Mon, 17 Apr 2023 09:03:15 +0000 (11:03 +0200)]
MDL-78072 airnotifier: Allow to set publickey when creating new device

Backport of MDL-77893.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>

3 weeks agoMDL-78072 core: Fix upgrade failures with MariaDB
Sara Arjona [Wed, 12 Apr 2023 09:43:49 +0000 (11:43 +0200)]
MDL-78072 core: Fix upgrade failures with MariaDB

Backport of MDL-76722.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>

The 'enable' field doesn't exist, and this is causing some failures
with MariaDB (and probably with MySQL too).

3 weeks agoMDL-78072 message_airnotifier: Add encrypted notifications
Alex Morris [Tue, 28 Feb 2023 23:31:22 +0000 (12:31 +1300)]
MDL-78072 message_airnotifier: Add encrypted notifications

Backport of MDL-76722.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>

3 weeks agoMDL-78072 user: Add new update_user_device_public_key webservice
Alex Morris [Tue, 28 Feb 2023 22:24:57 +0000 (11:24 +1300)]
MDL-78072 user: Add new update_user_device_public_key webservice

Backport of MDL-76722.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>

3 weeks agoMDL-78072 lib/db: Add new publickey field to user_devices table
Alex Morris [Thu, 12 Jan 2023 00:36:15 +0000 (13:36 +1300)]
MDL-78072 lib/db: Add new publickey field to user_devices table

Backport of MDL-76722.

Co-authored by: Andrew Lyons <andrew@nicols.co.uk>

3 weeks agoMDL-76688 filter_text: prevent LaTeX3 syntax
Petr Skoda [Sun, 5 Mar 2023 09:05:57 +0000 (10:05 +0100)]
MDL-76688 filter_text: prevent LaTeX3 syntax

3 weeks agoAutomatically generated installer lang files
AMOS bot [Sun, 7 May 2023 00:07:26 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 weeks agoMDL-78135 completion: include required criteria library in test.
Paul Holden [Fri, 5 May 2023 15:43:42 +0000 (16:43 +0100)]
MDL-78135 completion: include required criteria library in test.

3 weeks agoweekly release 4.1.3+
Sara Arjona [Thu, 4 May 2023 10:42:50 +0000 (12:42 +0200)]
weekly release 4.1.3+

3 weeks agoMDL-78116 core: Run tests against Windows on GHA
Eloy Lafuente (stronk7) [Fri, 27 Nov 2020 11:19:52 +0000 (12:19 +0100)]
MDL-78116 core: Run tests against Windows on GHA

Signed-off-by: Andrew Nicols <andrew@nicols.co.uk>
3 weeks agoMDL-76344 course: Fixed course image 'non image file' layout
Stevani Andolo [Thu, 4 May 2023 02:26:06 +0000 (10:26 +0800)]
MDL-76344 course: Fixed course image 'non image file' layout

3 weeks agoMDL-78040 block_glossary_random: switch to block test generator.
Paul Holden [Wed, 3 May 2023 15:42:55 +0000 (16:42 +0100)]
MDL-78040 block_glossary_random: switch to block test generator.

Random failures after manually adding block instances (specifically
on slow/Oracle systems) can be entirely avoided by using the block
test generator for scenarios that are not specifically concerned with
manually adding blocks.

3 weeks agoMDL-77781 core_completion: Completion view must be deleted too
Laurent David [Thu, 20 Apr 2023 05:28:54 +0000 (07:28 +0200)]
MDL-77781 core_completion: Completion view must be deleted too

When resetting a course, completion view entries should also be
deleted

Co-authored-by: Georg Moser <georg@moser.link>
3 weeks agoMDL-77840 enrol_lti: Avoid passing nulls to base64_encode
David Woloszyn [Tue, 2 May 2023 01:34:13 +0000 (11:34 +1000)]
MDL-77840 enrol_lti: Avoid passing nulls to base64_encode

4 weeks agoMDL-77840 lti: Avoid passing nulls to base64_encode
David Woloszyn [Thu, 27 Apr 2023 04:50:40 +0000 (14:50 +1000)]
MDL-77840 lti: Avoid passing nulls to base64_encode

4 weeks agoMDL-77840 backup: Avoid passing nulls to base64_encode
David Woloszyn [Wed, 19 Apr 2023 02:38:20 +0000 (12:38 +1000)]
MDL-77840 backup: Avoid passing nulls to base64_encode

4 weeks agoMDL-77840 mnet: Avoid passing nulls to base64_encode
David Woloszyn [Fri, 14 Apr 2023 06:47:41 +0000 (16:47 +1000)]
MDL-77840 mnet: Avoid passing nulls to base64_encode

4 weeks agoMDL-77810 gradereport_summary: show localised plugin name in report.
Paul Holden [Mon, 3 Apr 2023 09:09:21 +0000 (10:09 +0100)]
MDL-77810 gradereport_summary: show localised plugin name in report.

4 weeks agoweekly release 4.1.3+
Ilya Tregubov [Thu, 27 Apr 2023 11:28:38 +0000 (19:28 +0800)]
weekly release 4.1.3+

4 weeks agoMDL-76857 filter_displayh5p: Improve behat tests
Sara Arjona [Fri, 14 Apr 2023 10:20:32 +0000 (12:20 +0200)]
MDL-76857 filter_displayh5p: Improve behat tests

Although the screenshots in the failures for some of the scenarios in
filter/displayh5p/tests/behat/h5p_filter.feature, like "Render a local
H5P file as teacher" were displaying the expected result, there were
some javascript errors (probably due to behat is quicker and the
iframes were not always ready).
I've added one extra step before accessing the iframe to give more
time to the H5P player to load and confirm the page is displayed
properly.

4 weeks agoMDL-77320 tool_licensemanager: restrict exposure of user sesskey.
Paul Holden [Mon, 20 Feb 2023 12:41:18 +0000 (12:41 +0000)]
MDL-77320 tool_licensemanager: restrict exposure of user sesskey.

4 weeks agoMDL-77546 gradereport_singleview: Fix item order in grade item selector
Mihail Geshoski [Wed, 26 Apr 2023 08:15:39 +0000 (16:15 +0800)]
MDL-77546 gradereport_singleview: Fix item order in grade item selector

4 weeks agoMDL-78038 mod_bigbluebuttonbn: observe course format section config.
Paul Holden [Tue, 3 Jan 2023 17:34:01 +0000 (17:34 +0000)]
MDL-78038 mod_bigbluebuttonbn: observe course format section config.

4 weeks agoMDL-78025 questions: improve the comment on question_references.version
Tim Hunt [Wed, 26 Apr 2023 14:26:08 +0000 (15:26 +0100)]
MDL-78025 questions: improve the comment on question_references.version

4 weeks agoMDL-78025 questions: fix PHPdoc on question_require_capability_on
Tim Hunt [Wed, 26 Apr 2023 09:46:44 +0000 (10:46 +0100)]
MDL-78025 questions: fix PHPdoc on question_require_capability_on

4 weeks agoMDL-78025 quiz: fix the quiz_questions_in_use logic
Tim Hunt [Tue, 25 Apr 2023 17:11:57 +0000 (18:11 +0100)]
MDL-78025 quiz: fix the quiz_questions_in_use logic

4 weeks agoMDL-78025 questions: questions_in_use should check question_references
Tim Hunt [Tue, 25 Apr 2023 17:04:11 +0000 (18:04 +0100)]
MDL-78025 questions: questions_in_use should check question_references

This avoids the needs for plugins to do separate queries, which is
easier for them, and better performing.

4 weeks agoMDL-78025 question generator: make the behaviour less surprising
Tim Hunt [Tue, 25 Apr 2023 16:58:58 +0000 (17:58 +0100)]
MDL-78025 question generator: make the behaviour less surprising

* The object returned by update_question is alwasy a new clone
  and the $question passed in will not be modified.

* The returned object has the fields like questionbankentryid and
  the ones related to versionning, so it is more like the data
  returned by question_bank::load_question_data.

4 weeks agoMDL-78025 question: move hiding logic into question_delete_question
Tim Hunt [Wed, 26 Apr 2023 09:42:11 +0000 (10:42 +0100)]
MDL-78025 question: move hiding logic into question_delete_question

This logic belongs in the API, so it is applied consistently.

Also this avoids calling the expensive function questions_in_use
twice per question.

4 weeks agoMDL-78034 mod_bigbluebuttonbn: format instance group names.
Paul Holden [Wed, 26 Apr 2023 14:25:34 +0000 (15:25 +0100)]
MDL-78034 mod_bigbluebuttonbn: format instance group names.

4 weeks agoMDL-76835 theme: Fix unordered lists indentation
Aya Saad [Wed, 26 Apr 2023 11:57:49 +0000 (13:57 +0200)]
MDL-76835 theme: Fix unordered lists indentation

4 weeks agoMDL-77791 data: Fix file attachment to search doc
David Castro [Thu, 13 Apr 2023 19:03:38 +0000 (14:03 -0500)]
MDL-77791 data: Fix file attachment to search doc

5 weeks agoMDL-78023 tool_policy: cast timemodified column on table download.
Paul Holden [Tue, 25 Apr 2023 13:48:38 +0000 (14:48 +0100)]
MDL-78023 tool_policy: cast timemodified column on table download.

5 weeks agoMDL-77384 check: clarify statistics check name.
Paul Holden [Thu, 23 Feb 2023 10:47:55 +0000 (10:47 +0000)]
MDL-77384 check: clarify statistics check name.

5 weeks agoMDL-78011 qbank_managecategories: require library for pagesize const.
Paul Holden [Mon, 24 Apr 2023 14:34:23 +0000 (15:34 +0100)]
MDL-78011 qbank_managecategories: require library for pagesize const.

5 weeks agoMDL-78009 auth: require necessary files
Marina Glancy [Mon, 24 Apr 2023 12:38:58 +0000 (13:38 +0100)]
MDL-78009 auth: require necessary files

5 weeks agoMDL-77766 qtype_truefalse: Respect showstandardinstruction
Jun Pataleta [Mon, 24 Apr 2023 12:07:57 +0000 (20:07 +0800)]
MDL-77766 qtype_truefalse: Respect showstandardinstruction

* When showstandardinstruction is set to no, replace the standard
instruction with the generic "Answer" text for the answer options
fieldset's legend.

5 weeks agoMDL-77766 qtype_multichoice: Respect showstandardinstruction
Jun Pataleta [Mon, 24 Apr 2023 12:07:38 +0000 (20:07 +0800)]
MDL-77766 qtype_multichoice: Respect showstandardinstruction

* When showstandardinstruction is set to no, replace the standard
instruction with the generic "Answer" text for the answer options
fieldset's legend.

5 weeks agoMDL-77997 questions: add back Export as XML to the preview screen
Tim Hunt [Fri, 21 Apr 2023 17:39:44 +0000 (18:39 +0100)]
MDL-77997 questions: add back Export as XML to the preview screen

The used the exist in Moodle up to 3.11, but then was removed with
insufficient thought in 4.0 (because we had grander long-term plans
which still have not happened). Until those plans happen, this
commit adds the simple link back on the preview screen.

5 weeks agoMDL-77987 Backup: add progress tracking to some slow steps
Anupama Sarjoshi [Thu, 20 Apr 2023 17:22:03 +0000 (18:22 +0100)]
MDL-77987 Backup: add progress tracking to some slow steps

5 weeks agoMDL-77312 files: exclude drafts when determining license usage.
Paul Holden [Mon, 20 Feb 2023 14:40:58 +0000 (14:40 +0000)]
MDL-77312 files: exclude drafts when determining license usage.

5 weeks agoMDL-77313 restore: re-add field to indicate course/category search.
Paul Holden [Tue, 21 Feb 2023 12:12:16 +0000 (12:12 +0000)]
MDL-77313 restore: re-add field to indicate course/category search.

When the two restore forms for searching courses and categories were
converted to core templates in eb9935c9 they lost the named submit
button, which broke searching.

5 weeks agoMDL-77858 javascript: correct `core/notification` exception imports.
Paul Holden [Wed, 5 Apr 2023 17:57:57 +0000 (18:57 +0100)]
MDL-77858 javascript: correct `core/notification` exception imports.

5 weeks agoMDL-77394 mod_forum: de-couple discussion pinned/starred options.
Paul Holden [Tue, 28 Feb 2023 09:43:51 +0000 (09:43 +0000)]
MDL-77394 mod_forum: de-couple discussion pinned/starred options.

5 weeks agoMDL-77398 mod_assign: disable form submit protection for batch options.
Paul Holden [Fri, 24 Feb 2023 09:19:53 +0000 (09:19 +0000)]
MDL-77398 mod_assign: disable form submit protection for batch options.

5 weeks agoMDL-78007 tiny_media: Fix wrong condition for the Tiny Media
Huong Nguyen [Mon, 24 Apr 2023 08:53:37 +0000 (15:53 +0700)]
MDL-78007 tiny_media: Fix wrong condition for the Tiny Media

Including in this commit:
 - Switched to Tiny editor in manually_mark_question.feature

5 weeks agoMDL-77883 forms: fix display of client-side validation for textareas
danghieu1407 [Mon, 24 Apr 2023 06:54:37 +0000 (13:54 +0700)]
MDL-77883 forms: fix display of client-side validation for textareas

5 weeks agoMoodle release 4.1.3 v4.1.3
Jun Pataleta [Sat, 22 Apr 2023 08:22:40 +0000 (16:22 +0800)]
Moodle release 4.1.3

5 weeks agoweekly release 4.1.2+
Eloy Lafuente (stronk7) [Fri, 21 Apr 2023 17:19:12 +0000 (19:19 +0200)]
weekly release 4.1.2+

5 weeks agoMDL-77927 core: mod_assignment subplugins environment check
Jun Pataleta [Thu, 20 Apr 2023 15:30:45 +0000 (23:30 +0800)]
MDL-77927 core: mod_assignment subplugins environment check

5 weeks agoMDL-77229 mod_lesson: Black list detailed statistics in classic Behat.
Ilya Tregubov [Fri, 21 Apr 2023 07:03:02 +0000 (15:03 +0800)]
MDL-77229 mod_lesson: Black list detailed statistics in classic Behat.

The nav element to go to detailed stats page is missing in classic

5 weeks agoMDL-77229 lesson: Add Behat test
Ilya Tregubov [Fri, 21 Apr 2023 03:59:27 +0000 (11:59 +0800)]
MDL-77229 lesson: Add Behat test

5 weeks agoAutomatically generated installer lang files
AMOS bot [Fri, 21 Apr 2023 00:07:41 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 weeks agoMDL-77896 editor_tiny: approximate height for non-visible editors.
Paul Holden [Wed, 19 Apr 2023 15:34:00 +0000 (16:34 +0100)]
MDL-77896 editor_tiny: approximate height for non-visible editors.

When an editor is renderer initially invisible to the browser, e.g.
the forum "Add discussion" form, it has a `clientHeight` value of
zero. We can approximate an alternative value based on the number
of rows in the textarea.

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
5 weeks agoMDL-77229 lesson: Fix error for empty responses (numerical pagetype)
Juan Leyva [Thu, 20 Apr 2023 09:13:23 +0000 (11:13 +0200)]
MDL-77229 lesson: Fix error for empty responses (numerical pagetype)