Jordi Pujol Ahulló [Mon, 16 Nov 2020 15:54:45 +0000 (16:54 +0100)]
MDL-70230 admin: add setting sched. task status
When defining settings that are used by scheduled tasks,
it is also useful, or even needed, to know the status
of that scheduled task to have the whole big picture of
that part of the system.
Based on the admin_setting_description, this new setting
reports its name, its status, a link to the configuration.
When adding a new setting of this type, the user can add
an extra description field to complete the whole meaning.
Eloy Lafuente (stronk7) [Thu, 3 Jun 2021 21:56:05 +0000 (23:56 +0200)]
weekly release 4.0dev
Eloy Lafuente (stronk7) [Thu, 3 Jun 2021 21:56:01 +0000 (23:56 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Thu, 3 Jun 2021 03:51:12 +0000 (11:51 +0800)]
Merge branch 'MDL-71741-master' of git://github.com/HuongNV13/moodle
Huong Nguyen [Fri, 28 May 2021 01:55:43 +0000 (08:55 +0700)]
MDL-71741 portfolio: Reset header information between requests
The reset process also removes the CURLFile option in the HTTP object,
which will avoid the serialisation issue on PHP7.4 and upward
Andrew Nicols [Thu, 3 Jun 2021 03:44:57 +0000 (11:44 +0800)]
Merge branch 'MDL-71661' of https://github.com/paulholden/moodle
abgreeve [Thu, 3 Jun 2021 03:42:53 +0000 (11:42 +0800)]
Merge branch 'MDL-71284-master' of git://github.com/lucaboesch/moodle
Andrew Nicols [Thu, 3 Jun 2021 03:31:42 +0000 (11:31 +0800)]
Merge branch 'MDL-71668-master' of git://github.com/rezaies/moodle
Andrew Nicols [Thu, 3 Jun 2021 03:18:25 +0000 (11:18 +0800)]
Merge branch 'MDL-71622' of https://github.com/stronk7/moodle
Andrew Nicols [Thu, 3 Jun 2021 03:06:57 +0000 (11:06 +0800)]
Merge branch 'MDL-71737-master' of git://github.com/HuongNV13/moodle
abgreeve [Thu, 3 Jun 2021 02:17:11 +0000 (10:17 +0800)]
Merge branch 'MDL-71693' of git://github.com/paulholden/moodle
abgreeve [Thu, 3 Jun 2021 01:47:06 +0000 (09:47 +0800)]
Merge branch 'MDL-68927' of https://github.com/paulholden/moodle
abgreeve [Thu, 3 Jun 2021 01:40:43 +0000 (09:40 +0800)]
Merge branch 'MDL-71644-master' of https://github.com/NashTechOpenUniversity/moodle
Eloy Lafuente (stronk7) [Wed, 2 Jun 2021 22:00:07 +0000 (00:00 +0200)]
Merge branch 'MDL-71476-drop_myisam_migrate' of https://github.com/leonstr/moodle
Eloy Lafuente (stronk7) [Wed, 2 Jun 2021 21:50:23 +0000 (23:50 +0200)]
Merge branch 'master-MDL-71438_v2' of https://github.com/golenkovm/moodle
Mikhail Golenkov [Wed, 2 Jun 2021 12:10:37 +0000 (22:10 +1000)]
MDL-71438 blocks: Add index on mdl_user_preferences.name
Andrew Nicols [Wed, 2 Jun 2021 04:20:47 +0000 (12:20 +0800)]
Merge branch 'master-MDL-70337' of https://github.com/golenkovm/moodle
AMOS bot [Wed, 2 Jun 2021 00:07:41 +0000 (00:07 +0000)]
Automatically generated installer lang files
Andrew Nicols [Tue, 1 Jun 2021 04:46:54 +0000 (12:46 +0800)]
Merge branch 'MDL-71731' of https://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Mon, 31 May 2021 21:03:16 +0000 (23:03 +0200)]
Merge branch 'MDL-71474' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Mon, 31 May 2021 20:41:28 +0000 (22:41 +0200)]
Merge branch 'MDL-70905-master' of https://github.com/kabalin/moodle
Eloy Lafuente (stronk7) [Mon, 31 May 2021 20:34:39 +0000 (22:34 +0200)]
Merge branch 'MDL-71595-master' of https://github.com/sammarshallou/moodle
Shamim Rezaie [Mon, 31 May 2021 09:20:49 +0000 (19:20 +1000)]
MDL-71668 editor_atto: Accissibility focus styling for Atto buttons
Make all Atto buttons consistent in the way they show the focus outline
AMOS bot [Sat, 29 May 2021 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files
Paul Holden [Thu, 13 May 2021 20:21:37 +0000 (21:21 +0100)]
MDL-71474 mod_chat: remove redundant next session action item.
Deprecate now unused lang string for same.
Huong Nguyen [Fri, 28 May 2021 08:03:41 +0000 (15:03 +0700)]
MDL-71737 portfolio: Make is_valid_image become internal function
Huong Nguyen [Fri, 28 May 2021 01:52:05 +0000 (08:52 +0700)]
MDL-71741 portfolio: Use the correct configurations
Luca Bösch [Wed, 31 Mar 2021 13:33:57 +0000 (15:33 +0200)]
MDL-71284 assign: prevent double escaping assignment name.
Eloy Lafuente (stronk7) [Mon, 24 May 2021 18:41:22 +0000 (20:41 +0200)]
MDL-71731 phpunit: isolate tests requiring lots of peak mem
It's mostly addDocuments(), used by test_add_document_batch_large()
with 100 big documents what requires a lot of ram
although apparently, it's freed (partially) once ended.
Just the peak usage remains high. In any case, isolating that
test to avoid the non-freed side of it to consume too
much memory for the rest. (We allow "only" 2GB).
Still, I think that there is a good work about to detect which
tests are leaking / consuming too much, I'd bet there are
a bunch running completely out of control.
Eloy Lafuente (stronk7) [Thu, 13 May 2021 21:57:09 +0000 (23:57 +0200)]
MDL-71622 behat: use own fork of friends-of-behat/mink-extension
Upstream behat/mink-extension isn't updated since 2018.
So we switch to friends-of-behat/mink-extension until
upstream situation is clarified.
But friends-of-behat/mink-extension has some PHP8 issues
that, at the time of writting this, have not been solved:
- https://github.com/FriendsOfBehat/MinkExtension/pull/9
So we are temporarily changing to one fork:
https://github.com/moodlehq/MinkExtension
Whenever those issues are solved by friends-of-beha or behat
we will change back to them and remove our fork.
Generated with composer 2.x and PHP 7.3
Sara Arjona [Thu, 27 May 2021 15:45:06 +0000 (17:45 +0200)]
weekly release 4.0dev
Sara Arjona [Thu, 27 May 2021 15:45:03 +0000 (17:45 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Thu, 27 May 2021 10:24:47 +0000 (12:24 +0200)]
Merge branch 'MDL-69703' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Thu, 27 May 2021 10:21:00 +0000 (12:21 +0200)]
Merge branch 'MDL-68394-master' of git://github.com/ilyatregubov/moodle
Ilya Tregubov [Thu, 27 May 2021 10:08:28 +0000 (12:08 +0200)]
MDL-68394 h5pactivity: Limit query to given course module.
Paul Holden [Thu, 27 May 2021 09:44:10 +0000 (10:44 +0100)]
MDL-69703 theme_boost: ensure multi-select options take all space.
Sara Arjona [Thu, 27 May 2021 09:36:53 +0000 (11:36 +0200)]
Merge branch 'MDL-71145-master' of git://github.com/HuongNV13/moodle
Huong Nguyen [Thu, 27 May 2021 08:29:07 +0000 (15:29 +0700)]
MDL-71145 qtype_ddmarker: Fix Behat failure
Andrew Nicols [Thu, 27 May 2021 04:05:44 +0000 (12:05 +0800)]
Merge branch 'MDL-69703' of git://github.com/paulholden/moodle
Andrew Nicols [Thu, 27 May 2021 03:47:59 +0000 (11:47 +0800)]
Merge branch 'MDL-71637-master' of git://github.com/peterRd/moodle
Andrew Nicols [Thu, 27 May 2021 03:43:46 +0000 (11:43 +0800)]
Merge branch 'MDL-53544-master-2' of git://github.com/peterRd/moodle
Andrew Nicols [Thu, 27 May 2021 03:25:59 +0000 (11:25 +0800)]
Merge branch 'MDL-71466-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Thu, 27 May 2021 03:18:14 +0000 (11:18 +0800)]
Merge branch 'MDL-71047-master' of https://github.com/NashTechOpenUniversity/moodle
Andrew Nicols [Thu, 27 May 2021 02:58:50 +0000 (10:58 +0800)]
Merge branch 'MDL-70853-master' of git://github.com/lucaboesch/moodle
Peter Dias [Thu, 27 May 2021 00:36:25 +0000 (08:36 +0800)]
MDL-53544 core: Performance update is_charset_supported
Andrew Nicols [Thu, 27 May 2021 01:54:02 +0000 (09:54 +0800)]
MDL-71462 core: Remove duplicate gitignore line
Andrew Nicols [Thu, 27 May 2021 01:52:59 +0000 (09:52 +0800)]
Merge branch 'MDL-71462-master' of https://github.com/SysBind/moodle
Andrew Nicols [Thu, 27 May 2021 01:44:26 +0000 (09:44 +0800)]
Merge branch 'MDL-67771-master' of git://github.com/peterRd/moodle
Andrew Nicols [Thu, 27 May 2021 01:35:09 +0000 (09:35 +0800)]
Merge branch 'MDL-71145-master' of git://github.com/HuongNV13/moodle
AMOS bot [Thu, 27 May 2021 00:07:47 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Wed, 26 May 2021 16:35:55 +0000 (18:35 +0200)]
Merge branch 'MDL-71159-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 26 May 2021 15:25:44 +0000 (17:25 +0200)]
Merge branch 'MDL-68394-master' of git://github.com/ilyatregubov/moodle
Sara Arjona [Wed, 26 May 2021 10:39:25 +0000 (12:39 +0200)]
Merge branch 'MDL-53544-master-2' of git://github.com/peterRd/moodle
Peter Dias [Fri, 21 May 2021 02:24:30 +0000 (10:24 +0800)]
MDL-53544 lib: Update unit tests and thirdpartylibs
Peter Dias [Fri, 21 May 2021 02:34:41 +0000 (10:34 +0800)]
MDL-53544 core: Remove typo3 usages in core
Peter Dias [Fri, 21 May 2021 02:23:37 +0000 (10:23 +0800)]
MDL-53544 lib: Remove typo3 from text.php
Peter Dias [Wed, 26 May 2021 05:51:46 +0000 (13:51 +0800)]
MDL-71637 core: Set default for mb_substitute_character
Ilya Tregubov [Wed, 20 Jan 2021 12:18:09 +0000 (14:18 +0200)]
MDL-68394 h5pactivity: Implement methods to display recent
activity info.
Jake Dallimore [Wed, 26 May 2021 04:49:34 +0000 (12:49 +0800)]
Merge branch 'MDL-70990-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 25 Feb 2021 01:33:18 +0000 (09:33 +0800)]
MDL-70990 core: Deprecate core/events::getLegacyEvents()
Andrew Nicols [Thu, 25 Feb 2021 02:41:25 +0000 (10:41 +0800)]
MDL-70990 core_block: Replace legacy BLOCK_CONTENT_UPDATED event
The legacy M.core.event.BLOCK_CONTENT_UPDATED event has been replaced with a
new core_block/events::blockContentUpdated native DOM event.
The new event can be triggered using the `notifyBlockContentUpdated`
event, and by providing the HTMLElement that was updated, for example:
```
import {notifyBlockContentUpdated} from 'core_block/events';
const someHandler = e => {
// ...
const updatedBlock = e.target.closest('.block');
notifyBlockContentUpdated(updatedBlock);
};
```
The new event can be listened to at any point in the DOM using the
following syntax:
```
import {eventTypes} from 'core_block/events';
const handler = e => {
// The block that was updated.
e.target;
// The id of the updated block.
e.detail.instanceId;
};
document.addEventListener(eventTypes.blockContentUpdated, handler);
```
A backward-compatabibility layer is included to ensure that any legacy
YUI event listener is still called with the same arguments.
This legacy bridges will be removed after Moodle 4.3.
Andrew Nicols [Thu, 25 Feb 2021 02:24:03 +0000 (10:24 +0800)]
MDL-70990 core_form: Replace FORM_ERROR event
The legacy M.core.event.FORM_ERROR event has been replaced with a new
core_form/events::formError native DOM event.
The new event can be listened to at any point in the DOM using the
following syntax:
```
import {eventTypes} from 'core_form/events';
document.addEventListener(eventTypes.formError, handler);
```
A backward-compatabibility layer is included to ensure that any legacy
YUI event listener is still called with the same arguments.
This legacy bridges will be removed after Moodle 4.3.
Andrew Nicols [Mon, 17 May 2021 07:09:19 +0000 (15:09 +0800)]
MDL-70990 core_filter: Add new native filterContentUpdated event
The legacy M.core.event.FILTER_CONTENT_UPDATED event has been replaced with a
new core_filter/events::filterContentUpdated native DOM event.
The new event can be triggered using the `notifyFilterContentUpdated`
function, and by providing with an Array containing the HTMLElements
that were updated, for example:
```
import {notifyFilterContentUpdated} from 'core_filter/events';
const someHandler = e => {
// ...
const nodeList = Array.from(document.querySelectorAll('div'));
notifyFilterContentUpdated(nodeList);
};
```
The new event can be listened to at any point in the DOM using the
following syntax:
```
import {eventTypes} from 'core_filter/events';
const handler = e => {
// The list of HTMLElements in an Array.
e.detail.nodes;
};
document.addEventListener(eventTypes.filterContentUpdated, handler);
```
A backward-compatabibility layer is included to ensure that any legacy
YUI event listener, or jQuery event listener are still called with the
same arguments.
This legacy bridges will be removed after Moodle 4.3.
Andrew Nicols [Wed, 24 Feb 2021 09:41:35 +0000 (17:41 +0800)]
MDL-70990 core_editor: Replace EDITOR_CONTENT_RESTORED event
The legacy M.core.event.EDITOR_CONTENT_RESTORED event has been replaced
with a new core_editor/events::editorContentRestored native DOM event.
The new event can be listened to at any point in the DOM using the
following syntax:
```
import {eventTypes} from 'core_editor/events';
document.addEventListener(eventTypes.editorContentRestored, handler);
```
A backward-compatabibility layer is included to ensure that any legacy
jQuery event is still called with the same arguments.
This legacy bridge will be removed after Moodle 4.3.
Andrew Nicols [Tue, 25 May 2021 05:18:25 +0000 (13:18 +0800)]
MDL-70990 core_form: Standardise event name usage
The `types` object introduced in Moodle 3.11 has been replaced with the
`eventTypes` object which is used consistently across all CustomEvent
definitinos.
Likewise the trigger functions have been renamed from
`triggerUploadStarted` to `notifyUploadStarted` and from
`triggerUploadCompleted` to `notifyUploadCompleted`.
Backwards compatability is maintained.
Andrew Nicols [Tue, 25 May 2021 05:46:03 +0000 (13:46 +0800)]
MDL-70990 core_form: Replace FORM_FIELD_VALIDATION event
The legacy core/event::FORM_FIELD_VALIDATION event has been replaced with a
new core_form/events::formFieldValidationFailed native DOM event.
The new event can be listened to at any point in the DOM using the
following syntax:
```
import {eventTypes} from 'core_form/events';
document.addEventListener(eventTypes.formFieldValidationFailed, handler);
```
A backward-compatabibility layer is included to ensure that any legacy
jQuery event is still called with the same arguments.
This legacy bridge will be removed after Moodle 4.3.
Andrew Nicols [Mon, 17 May 2021 07:05:12 +0000 (15:05 +0800)]
MDL-70990 core_form: Replace FORM_SUBMIT_AJAX event
The legacy M.core.event.FORM_SUBMIT_AJAX ecent has been replaced with a
new core_form/events::formSubmittedByJavascript native DOM event.
The new event can be listened to at any point in the DOM using the
following syntax:
```
import {eventTypes} from 'core_form/events';
document.addEventListener(eventTypes.formSubmittedByJavascript, handler);
```
A backward-compatabibility layer is included to ensure that any
legacy YUI event triggered on a form is still respected and the new
native event is also fired.
A similar handler is also included to ensure that any legacy YUI event
listener is still called with the same arguments.
These legacy bridges will be removed after Moodle 4.3.
Andrew Nicols [Wed, 24 Feb 2021 01:35:38 +0000 (09:35 +0800)]
MDL-70990 core: Rewrite core/event as ES6
Andrew Nicols [Wed, 26 May 2021 02:38:48 +0000 (10:38 +0800)]
Merge branch 'MDL-71628-master' of https://github.com/nguyenphuctien/moodle
Sara Arjona [Tue, 25 May 2021 13:34:23 +0000 (15:34 +0200)]
Merge branch 'MDL-68925_master' of git://github.com/mdjnelson/moodle
Tien Nguyen [Fri, 14 May 2021 07:51:40 +0000 (14:51 +0700)]
MDL-71628 quiz: Quiz review: names not shown on Manual grading screens
Eloy Lafuente (stronk7) [Mon, 24 May 2021 21:22:59 +0000 (23:22 +0200)]
Merge branch 'MDL-71659-master-missinggradeitem' of git://github.com/mudrd8mz/moodle
Paul Holden [Mon, 23 Nov 2020 23:19:42 +0000 (23:19 +0000)]
MDL-69703 theme_boost: remove right padding for multi-selects.
This removes the whitespace obscuring longer option elements when
selected, particularly on narrow screens.
Paul Holden [Tue, 18 May 2021 08:22:31 +0000 (09:22 +0100)]
MDL-71661 cohort: support custom user profile fields.
avi [Tue, 27 Apr 2021 13:14:56 +0000 (16:14 +0300)]
MDL-71462 core: Add phpstorm metadata file to gitignore
Andrew Nicols [Mon, 1 Mar 2021 12:25:39 +0000 (20:25 +0800)]
MDL-70990 core: Ignore amd directory in plugin-like lists
The `get_list_of_plugins()` function is used to fetch plugin-like files
or directories from a specified directory. A number of standard
exclusions are included but this list is not the same as the list in
`core_component`.
The list has been updated to include the `amd` directory, which is
regularly used in both components, and plugins.
Mikhail Golenkov [Thu, 17 Dec 2020 04:28:06 +0000 (15:28 +1100)]
MDL-70337 backup: Enhance automated backup logs readability
AMOS bot [Mon, 24 May 2021 00:07:47 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Sun, 23 May 2021 00:07:43 +0000 (00:07 +0000)]
Automatically generated installer lang files
Peter Dias [Tue, 27 Apr 2021 05:15:29 +0000 (13:15 +0800)]
MDL-53544 lib: Remove old Typo3 files
Huong Nguyen [Mon, 12 Apr 2021 08:59:00 +0000 (15:59 +0700)]
MDL-71145 qtype_ddmarker: Incorrect marker positions in responsive mode
Jun Pataleta [Fri, 21 May 2021 00:56:08 +0000 (08:56 +0800)]
Merge branch 'MDL-60431' of https://github.com/jonof/moodle
Jonathon Fowler [Wed, 5 May 2021 06:35:52 +0000 (16:35 +1000)]
MDL-60431 qtype_calculated: handle NAN and INF calculation outcomes
With significant-digits presentation mode, NAN would be formatted as
'NAN' followed by zeroes, which looks silly, and +INF would cause an
execution timeout as Moodle tries to divide +∞ by 10 until it becomes
less than 1, which can happen in a divide-by-zero situation.
Note that the user can't answer NAN or INF to any question, but at this
at least now looks consistent and also doesn't break Moodle in the case
of +INF.
Paul Holden [Thu, 20 May 2021 19:39:38 +0000 (20:39 +0100)]
MDL-71693 admin: set default for debugdisplay to off.
The previous default value for this config was based on the
PHP ini file `display_error` property (
6349a3ba). However we
override this propertly during page setup (
25338300) according
to the value of the configuration itself.
This had the effect of always setting the default value for
this config to it's current value.
Luca Bösch [Tue, 18 May 2021 19:54:34 +0000 (21:54 +0200)]
MDL-70853 theme: align submit buttons in settings forms.
Sara Arjona [Thu, 20 May 2021 09:09:00 +0000 (11:09 +0200)]
weekly release 4.0dev
Sara Arjona [Thu, 20 May 2021 09:08:57 +0000 (11:08 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Peter Dias [Thu, 20 May 2021 07:13:51 +0000 (15:13 +0800)]
MDL-67771 theme: Add side-post to incourse views
Mark Nelson [Mon, 12 Oct 2020 05:12:08 +0000 (15:12 +1000)]
MDL-68925 assignfeedback_editpdf: avoid hiding comments with a menu open
Co-authored by: Jonathon Fowler <fowlerj@usq.edu.au>
Jun Pataleta [Thu, 20 May 2021 04:30:15 +0000 (12:30 +0800)]
Merge branch 'MDL-71157-master' of git://github.com/sarjona/moodle
abgreeve [Thu, 20 May 2021 03:10:07 +0000 (11:10 +0800)]
Merge branch 'MDL-65203-master' of https://github.com/dcai/moodle
Andrew Nicols [Thu, 20 May 2021 02:49:13 +0000 (10:49 +0800)]
Merge branch 'MDL-71647' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 20 May 2021 01:32:06 +0000 (09:32 +0800)]
Merge branch 'MDL-71626' of https://github.com/paulholden/moodle
Thong Bui [Tue, 18 May 2021 11:15:25 +0000 (18:15 +0700)]
MDL-71644 Quiz: The issues outstanding from MDL-70947.
Issue 1: While essay question's uploading progress, we need to disable submit
buttons to prevent submit form event.
Issue 2: Enable buttons after pressing cancel button on the popup
confirming overwrite file existed.
Eloy Lafuente (stronk7) [Wed, 19 May 2021 21:02:41 +0000 (23:02 +0200)]
Merge branch 'MDL-71126-master' of git://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Wed, 19 May 2021 20:50:02 +0000 (22:50 +0200)]
Merge branch 'MDL-67935-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Wed, 19 May 2021 17:36:04 +0000 (19:36 +0200)]
Merge branch 'MDL-71373-master' of git://github.com/lucaboesch/moodle
Luca Bösch [Wed, 19 May 2021 07:28:11 +0000 (09:28 +0200)]
MDL-71373 tool_usertours: localize "previous"/"next" in user tours.
AMOS BEGIN
CPY [previous,core],[previousstep,tool_usertours]
CPY [next,core],[nextstep,tool_usertours]
AMOS END
Sara Arjona [Fri, 14 May 2021 13:57:54 +0000 (15:57 +0200)]
MDL-71157 block_myoverview: remove wait from behat
The step "And I wait until ".block_myoverview
[data-control='next']" "css_element" exists" is not correct
because this [data-control='next'] element exists before and
after the step so, in some cases, it might cause the following
step will start earlier than expected.
As pending JS has been added, this wait steps are not required
any more.
Andrew Nicols [Tue, 18 May 2021 00:56:23 +0000 (08:56 +0800)]
MDL-71157 core: Pending JS in paged content bars