Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialization of 'Closure' is not allowed exception when run tests in process isolation mode #2739

Closed
vinterskogen opened this issue Jul 15, 2017 · 14 comments

Comments

@vinterskogen
Copy link

Q A
PHPUnit version 5.7.21
PHP version 7.0.20
Installation Method Composer

I discovered, that phpunit crashes with closure serialisation exception when run a test, that uses a data provider, which returns an object of \Closure class, as one of elements in a dataset.

PHP Fatal error:  Uncaught Exception: Serialization of 'Closure' is not allowed in /tmp/wtfunit/vendor/phpunit/phpunit/src/Framework/TestCase.php:814

The following test is green when running in process isolation mode turned off, but causes crash in process isolation mode turned on.

Code to reproduce error:

<?php

namespace Tests\Unit;

class FooTest extends \PHPUnit_Framework_TestCase
{
    /**
     * Test, that uses a data provider.
     *
     * @dataProvider foobarDataProvider
     * @return void
     */
    public function testFoobar($callback, $expected)
    {
        $actual = call_user_func($callback);
        $this->assertEquals($expected, $actual);
    }

    /**
     * Data provider, which returns an object of \Closure class, as one of
     * elements in a dataset.
     *
     * @return array
     */
    public function foobarDataProvider()
    {
        return [[
                function () { return 'foo'; },
                'foo',
            ], [
                function () { return 'bar'; },
                'bar',
            ]
        ];
    }
}

Output:

vinter@vinter-pc /tmp/wtfunit $ ./vendor/bin/phpunit tests/Unit/FooTest.php --process-isolation 
PHPUnit 5.7.21 by Sebastian Bergmann and contributors.

PHP Fatal error:  Uncaught Exception: Serialization of 'Closure' is not allowed in /tmp/wtfunit/vendor/phpunit/phpunit/src/Framework/TestCase.php:814
Stack trace:
#0 /tmp/wtfunit/vendor/phpunit/phpunit/src/Framework/TestCase.php(814): serialize(Array)
#1 /tmp/wtfunit/vendor/phpunit/phpunit/src/Framework/TestSuite.php(722): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#2 /tmp/wtfunit/vendor/phpunit/phpunit/src/Framework/TestSuite.php(722): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#3 /tmp/wtfunit/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(517): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#4 /tmp/wtfunit/vendor/phpunit/phpunit/src/TextUI/Command.php(186): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array, true)
#5 /tmp/wtfunit/vendor/phpunit/phpunit/src/TextUI/Command.php(116): PHPUnit_TextUI_Command->run(Array, true)
#6 /tmp/wtfunit/vendor/phpunit/phpunit/phpunit(52): PHPUnit_TextUI_Command::main()
#7 {main}
  thrown in /tmp/wtfunit/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 814

May be related to:

Is this an expected behavior?

Are objects of a \Closure class allowed to be used as a dataset element in data providers? By now docs don't cover this details.

Hope this issue will help to fix it! ;)

--
Regards,
Vinter Skogen

@sebastianbergmann
Copy link
Owner

PHP cannot serialize anonmyous functions. The process isolation feature requires serialization, for instance of the data from a data provider. So yes, this is expected behavior for now.

The implementation could be changed to only pass along the ID of the data set from the parent to the child process in which case no serialization would be required but the data provider would be executed once for each child process.

@vinterskogen
Copy link
Author

vinterskogen commented Jul 15, 2017

Thanks. Hopе this will be at least documented to decrease a number of miscommunications in understanding of how the process isolation works.

@vinterskogen
Copy link
Author

If there is any way to implement support for passing anonymous functions from data provider to tests while running in process isolation mode on, that would be great. It is a really useful feature. In fact, I expect to run correctly written tests successfully (without crashes) both in default and process isolation modes. Thanks. ;)

@vinterskogen
Copy link
Author

Another way to serialize closures is to use under the hood an "uncanny" tool (yeah...) like this - https://packagist.org/packages/jeremeamia/SuperClosure. On the other hand, it is, of course, а new external dependency for the phpunit.

@GrahamCampbell
Copy link
Contributor

I don't consider this a bug, just an annoyance.

@GrahamCampbell
Copy link
Contributor

Would need some convincing that phpunit should pull in a closure serialization hack out of the box, personally.

@vinterskogen
Copy link
Author

Agree, it's an annoyance. But the crash on a dummy test is caused by internal logic of framework, so, nah, it is a bug in fact, in my opinion.

@dawei101
Copy link

dawei101 commented Aug 27, 2018

Actually, I think phpunit is not a good tools.
I have got same exception in 4.6 version , also 5.* version

And the most bad thing is , It could pass test in my dev machine, and could not run when in another environment.

Do you think it would be a good idea to do that:

use bash or python to execute only one TestCase class in single process

There wont be serialization issues then.

@AeonFr
Copy link

AeonFr commented Mar 4, 2019

When introducing a bug of this kind in the bootstrap file, all tests fail with the same message. It would be nice to have some kind of back trace.

I'm still figuring out why phpunit fails on perform an external library's method but my web browser doesn't show any error of any kind (even after doing error_reporting(E_ALL);ini_set('display_errors', 1);).

Having a back trace would make this easier. I don't know if this is possible or not, but if it is, then I would propose it as a feature request.

edit: Just in case it's not clear, instead of:

PHPUnit 4.8.36 by Sebastian Bergmann and contributors.

EEEEEEEEEEEEEEEEE

Time: 637 ms, Memory: 14.00MB

There were 17 errors:

1) AuditoriaTest::testSePuedeInstanciar
Exception: Serialization of 'Closure' is not allowed

2) AuditoriaTest::testSiSeAgregaUnDuplicadoSeActualiza
Exception: Serialization of 'Closure' is not allowed

...

FAILURES!
Tests: 17, Assertions: 0, Errors: 17.

Something like...

Error in the bootstrap file C:\...\bootstrap.php:
Exception: Serialization of 'Closure' is not allowed

C:\...\bootstrap.php:17
C:\...\conection.php:25

@epdenouden
Copy link
Contributor

@AeonFr You said the magic word! A backtrace surely would be handy, I will do a quick investigation and report back here. I have been adding new code location hints recently, let's do some more.

@jarnojellesma
Copy link

Is there any workaround when dealing with 3rd party code? Setting the --process-isolation to false does not solve the problem either. Thanks.

@mpyw
Copy link

mpyw commented Jun 23, 2021

I wrote the patch: mpyw/phpunit-patch-serializable-comparison

@farpat
Copy link

farpat commented Nov 10, 2022

Hello World!

For anyone having the problem because using dataprovider like this :

public function provideData(): \Generator
{
   yield 'test' => [
       'closure' => function () {}
   ]
}

you must convert the above code like this rather :

public function provideData(): \Generator
{
   $closure = function () {};
   yield 'test' => [
       'closure' => convert_closure_to_serializable_closure ($closure)
   ]
}

To implement convert_closure_... function, you can use https://opis.io/closure/3.x/serialize.html#serialize-closures.

paulholden added a commit to paulholden/moodle that referenced this issue Apr 17, 2023
Simplify the test for allowed contexts by removing problematic use of
data provider annotation.

See: sebastianbergmann/phpunit#2739
paulholden added a commit to paulholden/moodle that referenced this issue Apr 17, 2023
Simplify the test for allowed contexts by removing problematic use of
data provider annotation.

See: sebastianbergmann/phpunit#2739
paulholden added a commit to paulholden/moodle that referenced this issue Apr 17, 2023
Simplify the test for allowed contexts by removing problematic use of
data provider annotation.

See: sebastianbergmann/phpunit#2739
danchamp added a commit to Rosedean-Group/moodle that referenced this issue May 2, 2023
commit c36636264fe8a1a1e874c675f29d221b0809d6ae
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 27 19:28:42 2023 +0800

    weekly release 4.0.8+

commit 6bab38c1b05054e526ad097af09e82c01684fb08
Merge: 64d50b27e61 d3e28351717
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 27 11:09:00 2023 +0800

    Merge branch 'MDL-77883-400' of https://github.com/danghieu1407/moodle into MOODLE_400_STABLE

commit 64d50b27e61ab829f3f591646433896d2691e91e
Merge: 1ee2a411426 c5cd5a0a112
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 27 10:40:36 2023 +0800

    Merge branch 'MDL-77997_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE

commit 1ee2a41142650e33312fa90b402fc318bf3717e0
Merge: 41a6048b0b7 8ce75290f24
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 25 15:18:49 2023 +0200

    Merge branch 'MDL-77313-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 41a6048b0b726e8f9787f0df4def039cc59d39bc
Merge: d6362e1bd8b addb8f1c031
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 11:54:18 2023 +0100

    Merge branch 'MDL-73331_400_toolbrickfieldadvancedtab' of https://github.com/brickfield/moodle into MOODLE_400_STABLE

commit d6362e1bd8b8ad1a06db4de316498868d5efd0d0
Merge: 2caed2991ed bd8df1ac793
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 09:38:38 2023 +0100

    Merge branch 'MDL-77766-400-2' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE

commit bd8df1ac793da3235a3cde87c8eae6779c0df1a2
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Apr 24 20:07:38 2023 +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.

commit c5cd5a0a11232541e1874502c986dcec1cd86c6b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Apr 21 18:39:44 2023 +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.

commit 8ce75290f24351d573807b190747058d4fb11570
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Feb 21 12:12:16 2023 +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.

commit d3e28351717d5d4a349c2fee1c6cd7eff804c71a
Author: danghieu1407 <danghieu140701@gmail.com>
Date:   Mon Apr 24 14:02:16 2023 +0700

    MDL-77883 forms: fix display of client-side validation for textareas

commit 2caed2991ed05e936c0f08f4ce790594b3d9a6b1
Author: Jun Pataleta <jun@moodle.com>
Date:   Sat Apr 22 16:22:46 2023 +0800

    Moodle release 4.0.8

commit 3552ac0622e16d7c7905e5ab8ef8c963763a18e5
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Fri Apr 21 19:19:20 2023 +0200

    weekly release 4.0.7+

commit b665e63be8af463322d71a4f39e052e6a6f0c4e7
Merge: 8e2239f1a70 72c5bcc745b
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Fri Apr 21 19:19:15 2023 +0200

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit 8e2239f1a700afe52aa1c517ffd8c6824c335794
Merge: 4e9a6ef5be4 c4f58034ab3
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 16:52:09 2023 +0800

    Merge branch 'MDL-77927-400' of https://github.com/stevandoMoodle/moodle into MOODLE_400_STABLE

commit 4e9a6ef5be4f1fa39cee035b7fe26b265f4cfdcf
Merge: 881cc1da194 313d3d76eb3
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 16:45:01 2023 +0800

    Merge branch 'MDL-77229-patch-400' of https://github.com/ilyatregubov/moodle into MOODLE_400_STABLE

commit c4f58034ab3f94b464c1a9202319f56af39acde4
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 23:30:45 2023 +0800

    MDL-77927 core: mod_assignment subplugins environment check

commit 313d3d76eb30eca81779531e6fd19fb7599d71ef
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 15:03:02 2023 +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

commit 881cc1da1943a77394f2bdb828662ff4ea99e7ab
Merge: b0d5d0ebc5d 553ea69c3fd
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 12:10:28 2023 +0800

    Merge branch 'MDL-77229-400' of https://github.com/ilyatregubov/moodle into MOODLE_400_STABLE

commit 553ea69c3fd6aa660419337c7a5650c0ed1e72ff
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 11:59:27 2023 +0800

    MDL-77229 lesson: Add Behat test

commit 72c5bcc745baa0c405a498c1940d97e4ed5ed393
Author: AMOS bot <amos@moodle.org>
Date:   Fri Apr 21 00:07:38 2023 +0000

    Automatically generated installer lang files

commit d2a623971c3645fcefe8b0adb7fc4d4cde234a35
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu Apr 20 11:13:23 2023 +0200

    MDL-77229 lesson: Fix error for empty responses (numerical pagetype)

commit b0d5d0ebc5d3a6c33bcd87dc41f833b2c87afba1
Merge: 636890e5f6a 7fe5196a52f
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 16:44:46 2023 +0800

    Merge branch 'MDL-73012-400' of https://github.com/ferranrecio/moodle into MOODLE_400_STABLE

commit 636890e5f6a06726ff3b75d9aaa3bdd8d2b2ffa1
Merge: 1a2ca071ebf cc46c0158a0
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 16:10:21 2023 +0800

    Merge branch 'MDL-77922-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE

commit 7fe5196a52fe45f654c1cc662adc4b884dfc1462
Author: Ferran Recio <ferran@moodle.com>
Date:   Thu Apr 20 09:53:04 2023 +0200

    MDL-73012 core_courseformat: add pending to move section modal

commit cc46c0158a092e450503ae5f424be81db4ea5f23
Author: Ferran Recio <ferran@moodle.com>
Date:   Tue Apr 18 13:22:08 2023 +0200

    MDL-77922 core_courseformat: add pending to move activity modal

commit 1a2ca071ebf13e05b3c49cde0fc583f7b3f816a0
Merge: b17f5b63374 7c007b8f324
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 20 12:33:50 2023 +0800

    Merge branch 'MDL-77577-400' of https://github.com/andelacruz/moodle into MOODLE_400_STABLE

commit b17f5b6337444c4f71d0ba77ee7214f16c284678
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Feb 8 16:49:38 2023 +0000

    MDL-77187 mod_wiki: validate external method sort parameters.

commit 7daac50b35640cac14963eb5ce50f86875c520f8
Merge: 1ee4d7da646 a96de1c74d3
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 13:41:34 2023 +0100

    Merge branch 'MDL-77960-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE

commit addb8f1c031f5eb4c41aebd76359a940917a9794
Author: Max Larkin <maxlarkin@protonmail.com>
Date:   Wed Dec 8 11:42:23 2021 +0000

    MDL-73331 tool_brickfield: Update advanced tab display

commit 1ee4d7da646939346382bce5c12dd1db73a379ba
Merge: 9540c536d89 2bbb3d0eb4a
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 13:06:42 2023 +0100

    Merge branch 'MDL-77944-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE

commit 9540c536d892aa8294a444f2904969e2bbec510a
Merge: d2790cca27a 40277218416
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 09:03:24 2023 +0100

    Merge branch 'MDL-77898-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE

commit a96de1c74d3eb5ab5500375b210ce942edb3e20b
Author: Simey Lameze <simey@moodle.com>
Date:   Wed Apr 19 11:49:30 2023 +0800

    MDL-77960 behat: make verification steps more specific

commit d2790cca27a27666b88344d208c726d8120dcd81
Merge: 69e8820de12 f1949fe80cb
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Apr 19 13:33:00 2023 +0800

    Merge branch 'MDL-77935-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 69e8820de12bec718575933ee8285ca48b44ad6a
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 22:28:15 2023 +0800

    weekly release 4.0.7+

commit 8d9daa91ba72d0ae12dc728fee65241919eb3146
Merge: 475256b6210 a84fb29fcb1
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 22:28:12 2023 +0800

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit 4027721841650e58239da33201f261c5159cfa0c
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Apr 12 23:41:53 2023 +0800

    MDL-77898 calendar: Add iconclass for upcoming_mini template

    The icon's iconclass context data adds additional CSS class(es) to
    calendar event icons to better control how the event icon is displayed.
    e.g. without filtering for activity events that don't hae monologo
    versions of their icons.

commit 475256b62102db2752ae826bda1f92c0cea3a634
Merge: ddc8ddb047f 75b6190bdee
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 14:29:07 2023 +0800

    Merge branch 'MDL-77916-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit ddc8ddb047ff6577d1c9f83edceea5a39ba3c246
Merge: 7f349d6552c 8ec461823ad
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 12:32:46 2023 +0800

    Merge branch 'MDL-77829-400' of https://github.com/stevandoMoodle/moodle into MOODLE_400_STABLE

commit 7f349d6552c3ffcf2f5663c5a3d2dd6643b1d00b
Merge: 68d1a0c1c01 18886c271f0
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 12:10:40 2023 +0800

    Merge branch 'MDL-77735-400' of https://github.com/sarjona/moodle into MOODLE_400_STABLE

commit 2bbb3d0eb4a21866d0200e4ddb3020cf573f1753
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 09:02:16 2023 +0800

    MDL-77944 behat: Rename chrome options for w3c support

    From Selenium 4.8.0, support for non-w3c browser control has ended.

    We only use W3C browser control these days, and this was missed as part
    of the move to W3C. All browser options must be vendor-prefixed.

commit 68d1a0c1c01080da47f6a7791ff35b71d32559c3
Merge: 5158c1533cf 44a8713267e
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 08:59:41 2023 +0800

    Merge branch 'MDL-77827-400' of https://github.com/HuongNV13/moodle into MOODLE_400_STABLE

commit a84fb29fcb13e12b54a20745287a1b67edba5f73
Author: AMOS bot <amos@moodle.org>
Date:   Tue Apr 18 00:07:35 2023 +0000

    Automatically generated installer lang files

commit 5158c1533cf86947563a94da0c574ba25ce58d9a
Merge: c8defec8dd7 532c3eb7b01
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 19:12:38 2023 +0100

    Merge branch 'MDL-77878-400-enfix' of https://github.com/vmdef/moodle into MOODLE_400_STABLE

commit c8defec8dd765fca2d76b58abfb097b18a2eeb37
Merge: 2ac6d6a7d36 75bf395e477
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon Apr 17 21:28:24 2023 +1000

    Merge branch 'MDL-76998-400' of https://github.com/aanabit/moodle into MOODLE_400_STABLE

commit 532c3eb7b011a12ae70401970a37acc3f3c88e94
Author: Víctor Déniz <victor@moodle.com>
Date:   Sun Apr 16 22:04:15 2023 +0100

    MDL-77878 lang: Use fixed strings in tests

commit f1949fe80cb58ab0941ddd491d1846e575e36033
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 09:26:16 2023 +0100

    MDL-77935 contentbank: avoid phpunit crashes during isolated tests.

    Simplify the test for allowed contexts by removing problematic use of
    data provider annotation.

    See: https://github.com/sebastianbergmann/phpunit/issues/2739

commit 2ac6d6a7d36baf980cfb396af19c78a4cfc6ba9b
Merge: 75226d8c9e4 b456e7aa18b
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Mon Apr 17 11:15:25 2023 +0800

    Merge branch 'MDL-76995-400' of https://github.com/aanabit/moodle into MOODLE_400_STABLE

commit 75226d8c9e43c96a8099be5530d9baa425b735bf
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 17 11:02:36 2023 +0800

    MDL-76994 core_course: Fix version for weeks and topics course formats

commit 6496dd5277e3d80ae1d8d7ee1918e99e2c1cd805
Merge: 95b427d8fee 029457a0a60
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 17 09:47:30 2023 +0800

    Merge branch 'MDL-76994-400' of https://github.com/aanabit/moodle into MOODLE_400_STABLE

commit 3ef7b399a843c27e8dfd176fc344165f81dd7d6f
Author: Víctor Déniz <victor@moodle.com>
Date:   Sun Apr 16 22:04:03 2023 +0100

    MDL-77878 lang: Import fixed English strings (en_fix)

commit 95b427d8feec5d574b0f8862e284a1b4b64e8d08
Merge: 9cae11732f4 53f5432d89e
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 14:02:23 2023 +0200

    Merge branch 'MDL-77913-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 18886c271f06c0af803f261ca34d91ea85af4882
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 24 12:42:53 2023 +0100

    MDL-77735 core: Check $CFG->lang isset

    In some cases, $CFG->lang might not be set, and this is causing a
    Notice to be displayed when, for instance, database connection fails.
    This patch should fix this case.

commit 9cae11732f4706d1ce26ae122941b24213f24a05
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 10:50:13 2023 +0200

    weekly release 4.0.7+

commit 960073182104fd5f8954f21ae1feff2a37d076a2
Merge: a2e0dec53bd 2397eee6cbf
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 10:50:10 2023 +0200

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit 44a8713267e5a6881b8f6944064c565733f6a952
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Fri Apr 14 09:24:32 2023 +0700

    MDL-77827 events: Changed JSON comparison to be less strict

commit 75b6190bdee14b8be347ef6546078ca112adb440
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Apr 13 23:12:13 2023 +0100

    MDL-77916 h5p: register autoloader in helper testcase.

commit 53f5432d89eef4d578e15174b8b81bccaf27d6d0
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Apr 13 21:13:41 2023 +0100

    MDL-77913 qbank_previewquestion: deterministic ordering of versions.

    Ensure the ordering of loaded question versions is consistent, avoids
    random Oracle failures.

commit b456e7aa18b33bd6e95f8446d8cda3779359b4ed
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Tue Mar 7 11:51:34 2023 +0100

    MDL-76995 core_courseindex: Apply indentation in the course index

commit 75bf395e47737de5748ea96556fe42e258f42adf
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Mon Mar 13 12:34:42 2023 +0100

    MDL-76998 admin: Option to reset course indentation

commit 029457a0a600cc1d944bab2fb6a3aabbcceeb0e4
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Mon Mar 13 11:47:05 2023 +0100

    MDL-76994 tool_mobile: Return course format indentation setting

commit d23ff0a5b3d5f476d3de1af6a9fae47ccbe66fa5
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Mar 8 12:41:11 2023 +0100

    MDL-76994 core_course: New course format setting to enable indentation

commit a2e0dec53bdc77ea6797987ea7fa7f493d28fa74
Merge: 2867735f7e2 c08401f159f
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 16:24:32 2023 +0200

    Merge branch 'MDL-76859-400' of https://github.com/sarjona/moodle into MOODLE_400_STABLE

commit 2867735f7e240333ae7ecddaad1987d749f56b56
Merge: dbb0410d589 4d5ea5e9a9f
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 16:20:11 2023 +0200

    Merge branch 'MDL77833-course-content-chng-notificatn-multilang-m4' of https://github.com/Amrita1991/moodle into MOODLE_400_STABLE

commit dbb0410d58987d88304fa0a78e70cf5faaf5a18b
Merge: 4721df9f4c9 9cf38cfd39e
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 13:45:06 2023 +0200

    Merge branch 'MDL-77860-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 4721df9f4c9ecf2a3d3a506601c9cea56c69fcca
Merge: 243c35b3e87 5292926ebb7
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 13:18:05 2023 +0200

    Merge branch 'MDL-77788-400' of https://github.com/rmady/moodle into MOODLE_400_STABLE

commit 243c35b3e87a06b408a2c185ca3067734e13694c
Merge: b47fa670f0c f42ac85b7ed
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 12:19:21 2023 +0200

    Merge branch 'MDL-77618-admin-password-autocomplete-MOODLE_400_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_400_STABLE

commit 4d5ea5e9a9f33da477c3cfe288ea3ca8e9e93cef
Author: Amrita1991 <amritad1991@gmail.com>
Date:   Wed Apr 5 14:40:38 2023 +0200

    MDL-77833 course: content change notification multilang processing

    changing context parameter

commit b47fa670f0cc7e383306a2b59af90ec115e4ff6b
Merge: e196979e095 756f56492ec
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 11:20:38 2023 +0200

    Merge branch 'MDL-77256-400' of https://github.com/rbravod/moodle into MOODLE_400_STABLE

commit e196979e0951c0adefd1d8126ea67ad85a4a2c36
Merge: 50a79addb1c b3eb9423014
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 09:43:10 2023 +0200

    Merge branch 'MDL-77856-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE

commit 50a79addb1c5fbe7225c935292942ff487b1bb09
Merge: 893bdf26037 5f7b44fe700
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 09:20:04 2023 +0200

    Merge branch 'MDL-77468-400' of https://github.com/rmady/moodle into MOODLE_400_STABLE

commit 5f7b44fe7008a33a41f05b099f59481ff4a8e6a2
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue Mar 21 16:01:33 2023 +0100

    MDL-77468 user: Fix invalid check for group belonging

commit a18deeb18b5493c4ef8a24680202274c5867cd41
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue Mar 21 09:47:08 2023 +0100

    MDL-77468 user: Make user profile visibility consistent web and ws

commit 893bdf260375254caf7be7ab97fe0a97f05586a5
Merge: 26ffef4f6de 7d9d0f35a09
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 18:19:47 2023 +0200

    Merge branch 'MDL-73610_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE

commit c08401f159f5feed1fb601e06058b3b571d7ca41
Author: Petr Skoda <commits@skodak.org>
Date:   Sun Feb 19 18:32:03 2023 +0100

    MDL-76859 h5p: Fix behat failures

    - Only resize if the H5P EmbedCommunicator is defined (otherwise, it was causing a
    JS error)
    - An unnecessary image has been removed from the greeting-card.h5p fixture package.
    That way, the text will always be displayed (even if the iframe is still not
    resized). Instead of replacing the original greeting-card-887.h5p file, I've
    renamed it to greeting-card.h5p, to remove these ugly and unnecessary numbers
    at the end of the file name).

commit 26ffef4f6de5312f990afbaa7f75af14e2514131
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Tue Apr 11 18:11:45 2023 +0200

    MDL-76993 core_course: Recover move right/left functionality

    This is a backport of MDL-76990

commit a0668908815c948d07face163672ef43cc23ac37
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Tue Apr 11 13:57:38 2023 +0200

    MDL-76993 core_course: Functions need to backport MDL-76990

    MDL-76990 will be backported to 4.1 and 4.0. This commit adds the
    methods needed to backport it which were not in 4.0.

commit 65532b40c9994b4b50cb663e6fbe0fd1c95effcf
Merge: b61400d5047 875c1d96381
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 12:12:57 2023 +0200

    Merge branch 'MDL-77837-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE

commit b61400d5047fce43732b0cbd4631e24582571cc5
Merge: 9079a523481 55139ae7443
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 11:13:46 2023 +0200

    Merge branch 'MDL-77552-400' of https://github.com/ferranrecio/moodle into MOODLE_400_STABLE

commit 9079a5234818e3b0e607f89a3d81c5816bb74661
Merge: 64038bd1d29 6bee956edef
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 10:17:14 2023 +0200

    Merge branch 'MDL-77148_400' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_400_STABLE

commit 64038bd1d29975c047eaaa2fd5e6d790133da989
Merge: 7d8f31dbe7b dad1f86b286
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 10:04:48 2023 +0200

    Merge branch 'MDL-77612-400' of https://github.com/laurentdavid/moodle into MOODLE_400_STABLE

commit dad1f86b2865a88d57636adae9595c82d29e7ac9
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 16 09:14:03 2023 +0100

    MDL-77612 mod_label: Label name fix

    * The @@PLUGINFILE@@ placeholder or URLs should not be displayed in the
    course index for labels

commit 8ec461823adbecafea16c48e2715d2496d9d4249
Author: Stevani Andolo <stevani.andolo@moodle.com>
Date:   Wed Apr 5 11:45:24 2023 +0800

    MDL-77829 core: Added environment check for mod_assignment

    Decided to add an environment check before uninstalling the
    mod_assignment plugin to prevent data lost.

commit 2397eee6cbf62219e778f0c32ebf5d6618dcb381
Author: AMOS bot <amos@moodle.org>
Date:   Fri Apr 7 00:07:30 2023 +0000

    Automatically generated installer lang files

commit 875c1d96381d7365916eb153421ee35a55ffff05
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Apr 6 16:26:38 2023 +0800

    MDL-77837 core: Improve usage docs for cron_setup_user

commit 46ea3269fc5f4d5b19139e62f66ffd880b1da21e
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 09:26:34 2023 +0800

    MDL-77837 phpunit: Ensure that the cron user setter is used

    When running an adhoc task in a unit test we should use the cron variant
    of the set user method to mimic the behaviour of a real cron run.

commit be8fac62911b84822a3f7667c3b678c68215ee32
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 09:25:04 2023 +0800

    MDL-77837 cron: Ensure user is set when running tasks

    We should be proactive in ensuring that the environment is clean when
    running a task. We already ensure that we have a clean renderer and
    other parts of the output chain, but we were not setting a clean user.

    This change adds a call to setup the cron user before each task is
    actually executed.

commit 7d9d0f35a09ef688e1ece71cd9fd9ae79671b0e9
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue Apr 4 18:23:33 2023 +0200

    MDL-73610 nodejs: Small updates to required packages

    The main goal of this issue is to avoid scanners (Dependabot
    and friends), reporting about security issues with the current
    xmldom 0.6.0 package.

    Note that this doesn't affect prod at all, because it's a dev
    dependency, hardly exploitable. So it's not a security fix, just
    a security_benefit, if something.

    So here, we are updating from xmldom 0.6.0 to @xmldom/xmldom 0.8.7
    (note that the package was renamed in 0.7.0, so it's the very same)

    Also, when proceeding with the changes, it was detected that we
    are incorrectly declaring @babel/eslint-parser as a normal dependency
    instead of a development one, so we are also fixing that little detail.

    The commands executed to get the changes above applied have been:

    - nvm use
    - npm install @xmldom/xmldom@^0.8.7 --save-dev
    - npm uninstall xmldom
    - npm install @babel/eslint-parser@^7.17.0 --save-dev

    (we haven't run a complete re-install because we only want to modify
    the minimum possible at this stage).

commit 6bee956edef205a94e8902f24a508928f8a44ccd
Author: Anupama Sarjoshi <anupama.sarjoshi@open.ac.uk>
Date:   Mon Feb 13 13:53:49 2023 +0000

    MDL-77148 core: Fix to export params for templates in correct format

    When questions are filtered by tags in the question bank, the qtagids
    params are passed in the array format. Though moodle_url handles this,
    single_button::export_for_template cannot. Hence changes done in
    weblib.php to provide params for export_for_template in the
    suitable format.
    Thanks Huong. I have added the Behat test you provided in the patch.

commit 7d8f31dbe7bf50fd69d5c579156011b4c66270d2
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 14:02:24 2023 +0200

    weekly release 4.0.7+

commit e4e7902d7ccfdb19578f6682db7027ce72bd008d
Merge: fce3ba9b110 946ff0171c7
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 14:02:19 2023 +0200

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit 946ff0171c7f9bc10c4b26b9c0edb03b165d42c2
Author: AMOS bot <amos@moodle.org>
Date:   Thu Apr 6 00:07:34 2023 +0000

    Automatically generated installer lang files

commit 9cf38cfd39eae1e46a6af48714eeba87630f7312
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 5 23:01:15 2023 +0100

    MDL-77860 tool_moodlenet: use localised language strings for import.

commit b3eb94230142e1e28de260e1dd719bd933f3d15a
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Apr 4 00:03:00 2023 +0800

    MDL-77856 qtype_multianswer: Use Bootstrap Popover for subq feedback

    The YUI Overlay widget encloses the subquestion feedback in a div
    which causes a div element to be enclosed in the subquestion span. This
    leads to an accessibility issue in terms of HTML parsing as inline
    elements (span) should not contain block elements (div)
    The YUI Overlay widget is also not accessible as it does not really hide
    the overlay contents via aria-hidden when the overlay is not being
    shown. It's better if we stop using this and use Bootstrap's
    popover component which is more accessible by default.

    This patch also removes module.js for the qtype_multianswer plugin as
    it only contains codes related to rendering the feedback contents in the
    YUI overlay widget which is no longer necessary.

commit fce3ba9b1106bc87a73a4d948d7c7721f38d86d8
Merge: 42b6a398089 9079e01d44d
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 5 17:17:41 2023 +0200

    Merge branch 'MDL-73642_MOODLE_400_STABLE' of https://github.com/tasosb/moodle into MOODLE_400_STABLE

commit 42b6a398089422816d42b3c266efbfbb92b02b74
Merge: df17b180f2f 6ff023d2925
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 5 12:49:34 2023 +0200

    Merge branch 'MDL-75301_400_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_400_STABLE

commit df17b180f2f0a7fcf38dfe88a63e85d008c745fd
Merge: 60ecd6cef5e 551edbb9a60
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed Apr 5 20:15:09 2023 +1000

    Merge branch 'MDL-77555-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 6ff023d29252ad714727cc6c2db10735b27c7c81
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:34:56 2023 +0000

    MDL-75301 quiz: Use "always latest" option for question previews

    This will set the "alwayslatest" option when previewing a question from
    the quiz according to the version setting used in the quiz slot.

commit 8043b7838aa646db13616936fd274cfaf5fc3c7c
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:33:44 2023 +0000

    MDL-75301 question: Add "always latest" option to previews

commit 60ecd6cef5e3b8e817b9dd59748fc0a8dd3af96b
Merge: b559b84774b e19cbda970f
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 5 08:56:46 2023 +0100

    Merge branch 'MDL-69551_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE

commit 558585b1ed808a3428078cc23340c1ee797a7dff
Author: AMOS bot <amos@moodle.org>
Date:   Wed Apr 5 00:07:39 2023 +0000

    Automatically generated installer lang files

commit 5292926ebb713ec4f4b06e60d01b8b63730eecc2
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed Mar 29 16:01:39 2023 +0200

    MDL-77788 mod_assign: Apply format_string to group names in WS

commit e19cbda970f0654b99cd3de40a04e53fe045c101
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue Mar 28 17:35:21 2023 +0100

    MDL-69551 quiz: start quiz password field should be a passwordunmask

    This help accessibility and usability

commit b559b84774b4197bd026f0235c4fddefa8c34c0d
Merge: 4406bcd17a3 03c10953799
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 4 12:06:43 2023 +0100

    Merge branch 'MDL-77712-400' of https://github.com/laurentdavid/moodle into MOODLE_400_STABLE

commit 4406bcd17a325cd2c1d8319af0f2858b5ccb55a2
Merge: 0bfa7ee0a76 c5bea842a99
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 12:07:33 2023 +0800

    Merge branch 'MDL-77584-400' of https://github.com/ewallah/moodle into MOODLE_400_STABLE

commit f8e7a1e24bda0329a8fe56cecbc77c2bee9c2354
Author: AMOS bot <amos@moodle.org>
Date:   Tue Apr 4 00:07:40 2023 +0000

    Automatically generated installer lang files

commit 0bfa7ee0a76a47329717b54b7a75f36f81f8596c
Merge: dec59bd6141 f37baf7b596
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 3 14:54:06 2023 +0100

    Merge branch 'MDL-75906-400' of https://github.com/mickhawkins/moodle into MOODLE_400_STABLE

commit 6f61f48e20d12382d4c13d89bea394b08c407ad3
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Thu Mar 16 08:37:47 2023 +0000

    MDL-75301 question: Add behat generator for updating questions

    This adds "core_question > updated question" as an entity for `the
    following "X" exist` and calls the existing update_question() generator
    which will create a new question version with the supplied data.

commit dec59bd61414de228dffef3f83bd711ac5f07803
Merge: 8400206468f d9f694bfa84
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 3 10:47:38 2023 +0100

    Merge branch 'MDL-77227-400' of https://github.com/aanabit/moodle into MOODLE_400_STABLE

commit f37baf7b596d413136c24396053e3f8b8c1b32b8
Author: Michael Hawkins <michaelh@moodle.com>
Date:   Mon Apr 3 17:11:02 2023 +0800

    MDL-75906 core: Updated security.txt expiry

commit 03c109537998773a5b4fda43545d88d8ba440873
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 30 11:09:59 2023 +0200

    MDL-77712 core_course: Fix exception with inplace editor

    * On fresh install, an exception is raised when we try to modify
    the name of a newly inserted activity in the front page

commit 55139ae74436bc51e5d295b26557e04da8cc557a
Author: Ferran Recio <ferran@moodle.com>
Date:   Wed Mar 8 10:03:40 2023 +0100

    MDL-77552 core_courseformat: add plugin and module to cm state

    Backport of MDL-77386

commit 6cf8bd983278eb7eb20897152caa5db8049aa323
Author: AMOS bot <amos@moodle.org>
Date:   Sun Apr 2 00:07:33 2023 +0000

    Automatically generated installer lang files

commit ed4e4660dbc8fc2b90d0830b1b2a79579a22b5f7
Author: AMOS bot <amos@moodle.org>
Date:   Sat Apr 1 00:07:42 2023 +0000

    Automatically generated installer lang files

commit 8400206468fc3c3a17a343babd0357af36492312
Author: Paul Holden <paulh@moodle.com>
Date:   Fri Mar 31 18:11:57 2023 +0100

    weekly release 4.0.7+

commit 32a944bac882e8f62f9ceb8271e44872a39cde08
Merge: d7185519c38 d8d79addc47
Author: Paul Holden <paulh@moodle.com>
Date:   Fri Mar 31 18:11:55 2023 +0100

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit d7185519c3819242d8827eabc916dbbcfbfe2990
Merge: 9daaca24000 5eb255f0517
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 31 11:57:43 2023 +0800

    Merge branch 'MDL-59175-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 9daaca24000d30939fa8e751dd3727b70d597a1f
Merge: dc2b74c749d 4a603fe534f
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 31 11:48:56 2023 +0800

    Merge branch 'MDL-77794-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit dc2b74c749d386c55b00e33d368f3e9f469cd214
Merge: db31cd37b2f 13fec4131ef
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 31 11:31:16 2023 +0800

    Merge branch 'MDL-77783-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE

commit db31cd37b2f611508cf2c988e05d38cdab7c6ce7
Merge: 178cc61b180 68456ca14f5
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Mar 31 09:42:34 2023 +0800

    Merge branch 'MDL-70976-400' of https://github.com/laurentdavid/moodle into MOODLE_400_STABLE

commit d8d79addc47ca117576faefa3099935c514d2dfd
Author: AMOS bot <amos@moodle.org>
Date:   Fri Mar 31 00:07:37 2023 +0000

    Automatically generated installer lang files

commit 178cc61b18000f2ecbb5825c20280f234b589335
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 23 10:31:51 2023 +0100

    MDL-77456 core_courseformat: Fix highlight in course index

    * When navigating to a restricted activity as a student from the course index
    the item is not highlighted when refreshing the page.

commit 5f87d913156e3bf88e566eedde0e455f10afe76e
Merge: 3cd54831ea3 9ebea4011ec
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 17:53:25 2023 +0200

    Merge branch 'MDL-77761-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE

commit 3cd54831ea3e77e6eeed3898bf02f155d14e8f86
Merge: 166c6cc61eb ff1b86ab600
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 16:31:26 2023 +0200

    Merge branch 'MDL-77764-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 166c6cc61eb973470a89c45c0061bf56af1e1b7e
Merge: f6169301380 7956a8d8145
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 12:50:11 2023 +0100

    Merge branch 'MDL-76481_400_Brickfield_TCPDF_error' of https://github.com/brickfield/moodle into MOODLE_400_STABLE

commit f61693013807ee6e2dde79650b25cd64b0d943e2
Merge: 8420c58e69b beaff418baa
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 13:45:23 2023 +0200

    Merge branch 'MDL-77762-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 8420c58e69b90bf3da19d8d664c5156e7df449c2
Merge: fba11f5c29e 87fbf39aaeb
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Mar 30 19:03:32 2023 +0800

    Merge branch 'MDL-77333_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE

commit 4a603fe534f6abc7c739b9ed8dea0c24ada5f004
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 09:50:51 2023 +0100

    MDL-77794 contentbank: fix plugin type language strings.

    AMOS BEGIN
     CPY [type_contentbank,core_plugin],[type_contenttype,core_plugin]
     CPY [type_contentbank_plural,core_plugin],[type_contenttype_plural,core_plugin]
    AMOS END

commit 7956a8d8145a36565e5d3a36cdf369c6c607d9a5
Author: Max Larkin <maxlarkin@protonmail.com>
Date:   Thu Mar 30 09:02:35 2023 +0100

    MDL-76481 tool_brickfield: Fix PHP 8 report download

commit fba11f5c29edb2e3659e0715948919a3ce66f9cc
Merge: b83db3be011 b7d7b84d306
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 08:47:56 2023 +0100

    Merge branch 'MDL-75017_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE

commit b83db3be0112e61f2ddecd88d9772a469958b917
Merge: 4b39aecb10b bdc55fbffc8
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Mar 30 14:23:08 2023 +0800

    Merge branch 'MDL-73771_400' of https://github.com/lostrogit/moodle into MOODLE_400_STABLE

commit b74ee3931cf880280ce3994e0c9f9dea5e4c71da
Author: AMOS bot <amos@moodle.org>
Date:   Thu Mar 30 00:07:41 2023 +0000

    Automatically generated installer lang files

commit d9f694bfa840ee8b5a7bf9518495b0db8ff60281
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Mar 29 18:15:21 2023 +0200

    MDL-77227 roles: Remove extra information for override page

commit bdc55fbffc88681e4b82f6824b880d665b1aa458
Author: Carlos Castillo <carlos.castillo@moodle.com>
Date:   Wed Mar 8 09:15:41 2023 -0500

    MDL-73771 theme: Fix scrollbar position

commit 4b39aecb10b7527d5f4c3e66f03e3ff3bebcf9b1
Merge: 2834086d07d 6597f8f7f5f
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed Mar 29 15:27:36 2023 +1100

    Merge branch 'MDL-74452_400_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_400_STABLE

commit 2834086d07d393d48fe6a5c13f1f064b9ff16e5d
Merge: b6604a3a191 622f98e6372
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 09:48:11 2023 +0800

    Merge branch 'MDL-77382-400' of https://github.com/snake/moodle into MOODLE_400_STABLE

commit b6604a3a191695a164d37b9c02b3881a7dd6fcf0
Merge: 6273e6fdf33 c7cc232e16b
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 09:31:43 2023 +0800

    Merge branch 'MDL-76941-400-2' of https://github.com/HuongNV13/moodle into MOODLE_400_STABLE

commit 13fec4131efacde35d02ab3f9abaee8379e8c6d2
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 08:35:30 2023 +0800

    MDL-77783 core: Validate sublugins.json

    * Validate the decoded subplugins.json before processing it.
    * Log errors if subplugins.json is invalid or if plugintypes is not
    defined.

commit 9ebea4011ecdf7d0d4df5b6509d61bc4cf71007e
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Mar 27 22:20:17 2023 +0800

    MDL-77761 core_form: Add label for editor format selector

commit 87fbf39aaeb581c96bb7c5ee42e20564b9e99b58
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Sat Mar 25 13:43:55 2023 +0100

    MDL-77333 mod_resource: fixes generator uploading files + tests

    MDL-76499 revealed a few problems with resource generators:

    1. We were not covering with unit tests the upload of files from disk
       (and here it's where the problem was).
    2. There was a little of confusion between disk paths (only needed
       to upload files) and file_area paths (the generator only creates
       or uploads files to the root directory of the file area.
    3. It was possible to request the upload of a file to the generator
       without that file effectively existing.

    This commit fixes those points  and covers 99% of the generator code.

commit 6273e6fdf337943559d53125015dbeb091cad1d3
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 15:55:22 2023 +0100

    weekly release 4.0.7+

commit e8be539742b4395f08b3805c14bb46af59b07c63
Merge: 5b94923b7a6 1018c8a4c53
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 15:55:20 2023 +0100

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit 5b94923b7a61a1e87aacbae9286eaf4915df02af
Merge: 07a3a15eb7f e736f800179
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 12:39:05 2023 +0100

    Merge branch 'MDL-77105-400-4' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE

commit e736f8001794a307ae7169750d0a7702828be9a2
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 18:48:31 2023 +0800

    MDL-77105 core: Cast custom data to an array when evaluating filtericon

    Since other modules may treat custom data as an object, we need to make
    cast it to an array before evaluating for the `filtericon` custom data.

commit c7cc232e16bda80f3a272254980caa07361b2c01
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Mon Mar 20 16:28:37 2023 +0700

    MDL-76941 tool_usertours: Fix accessibility issue when resizing

commit 07a3a15eb7fe5d2ea824b6708863e8a8e288b728
Merge: 07f644d2eca aac223ade5f
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 12:06:24 2023 +0800

    Merge branch 'MDL-77630-400' of https://github.com/meirzamoodle/moodle into MOODLE_400_STABLE

commit 07f644d2ecaf1452640756614fc8fdf5d50ca6a8
Merge: c1a94a7d529 22768e349ae
Author: Jake Dallimore <jake@moodle.com>
Date:   Tue Mar 28 11:42:54 2023 +0800

    Merge branch 'MDL-77105-400-4' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE

commit aac223ade5f47ddc31fd04e0effe8f733ba8bc63
Author: Meirza <meirza.arson@moodle.com>
Date:   Tue Mar 28 09:42:07 2023 +0700

    MDL-77630 mod_forum: correct typo in variable names

commit c1a94a7d52990e62b477ba15db59ef03f847f3b7
Merge: 191ef569b56 c0a05c9d8aa
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 07:05:17 2023 +0800

    Merge branch 'MDL-77670-400' of https://github.com/juancs/moodle into MOODLE_400_STABLE

commit beaff418baa571565f055366dbf2daa8d7eebe9c
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 17:54:34 2023 +0100

    MDL-77762 contentbank: always provide exit button when appropriate.

    If the current user can access the content bank in the context of the
    current item, then provide link back to it.

commit ff1b86ab60098d2e51a6bf3368bd9bc2491d9f59
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 16:51:52 2023 +0100

    MDL-77764 contentbank: add field label to context selection element.

commit 191ef569b56269e4647c71675b9c04578ae36bd1
Merge: 307be1189c7 801e7d9fe42
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:56:36 2023 +0200

    Merge branch 'MDL-76376_m40' of https://github.com/jrchamp/moodle into MOODLE_400_STABLE

commit 307be1189c73ee0b650215a5e2d9c72ce206b455
Merge: 3cfe37dd29c 2d9536f9807
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:50:37 2023 +0200

    Merge branch 'MDL-77659_400' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_400_STABLE

commit 3cfe37dd29c6a3f766bdfe2370bbbb9ce553157f
Merge: f6d297a9208 bb4329278b5
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:08:32 2023 +0200

    Merge branch 'MDL-73226-400' of https://github.com/jleyva/moodle into MOODLE_400_STABLE

commit bb4329278b5977eb7e31c4517ac016ddcba2b848
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu Mar 16 16:56:07 2023 +0100

    MDL-73226 files: Add quota checks to core_user_add_user_private_files

commit f6d297a9208cd6da0f3f36630fdbdd2f01087bbd
Merge: 36edc365ea5 f19e245f294
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 12:41:50 2023 +0200

    Merge branch 'MDL-76303-400' of https://github.com/ssj365/moodle into MOODLE_400_STABLE

commit 36edc365ea57c3e010b21b71d40fb0cdd570faf8
Merge: ed55a94fe8b 60220de680d
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 11:09:27 2023 +0100

    Merge branch 'MDL-77729_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE

commit ed55a94fe8b9075330cb1cb9ef6a2ee6097dbd0c
Merge: 8af994f1f06 74a28bde791
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 11:43:32 2023 +0200

    Merge branch 'MDL-77561-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE

commit 551edbb9a608d1228fe17f134ac537b04ff6fa89
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 7 22:09:32 2023 +0000

    MDL-77555 reportbuilder: improve SQL generation within filters.

    Use native ANSI SQL syntax for numeric comparisons where possible,
    define filter API for the case where filters must re-use the given
    field SQL while ensuring uniqueness of any field parameters.

commit 478861b4d15b3efc247e493367fb7d4a10322629
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 7 16:48:51 2023 +0000

    MDL-77555 reportbuilder: method to ensure unique parameters in SQL.

commit 22768e349ae391c25c6218ca7f1bdd8ad8116226
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Feb 13 13:17:18 2023 +0800

    MDL-77105 core: Add upgrade.txt notes

commit 6ad9bb2482143c6768ddf2d37f2b4f1f67b624fa
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 22:34:45 2023 +0800

    MDL-77105 mod_url: Declare filtericon custom data

    * Set a custom data `filtericon` when the icon being rendered for the
    URL resource is not equal to the default plugin icon.

commit fd953966d8dd2858a8165839d7ece72bfec18e79
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 19:06:59 2023 +0800

    MDL-77105 mod_lti: Add 'nofilter' class for custom tool icons

    Add a '.nofilter' class when rendering custom tool icons in order
    to render them as is and without CSS filter on the activity chooser.

commit 82db828016149ae6d023e84dace7d128d95eeeb1
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 22:33:37 2023 +0800

    MDL-77105 core_course: Add 'nofilter' class for non-monologo icons

    When rendering content items, check whether the plugin has monologo
    icons. If so, add a 'nofilter' class so the plugin icon can be
    rendered as is and without the CSS filter.

commit 6a409c4cd4574be7df9900717fac5821bf76bf71
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 18:43:25 2023 +0800

    MDL-77105 block_timeline: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the timeline block.

commit 894a6ab5ad53a1be8d71febda3b4632cc33b88f8
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 18:42:47 2023 +0800

    MDL-77105 block_recentlyaccesseditems: Add 'nofilter' class

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the recently accessed items block.

commit 5b1daccb9289d18b1499f5390fb095ff9e795043
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:59:31 2023 +0800

    MDL-77105 theme_boost: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the context header on the activity page.

commit f005111165583004244f29eae5f5f8b65c8ab89f
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:21:43 2023 +0800

    MDL-77105 course_format: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the course homepage.

commit 1e30a80b7f9542bfe5b0d2ae67b75aba882b8b17
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:19:54 2023 +0800

    MDL-77105 core: Conditionally apply icon filter

    * Apply the filter CSS property only to activity icons
    that don't have the ".nofilter" class. This will allow
    activities with non-SVG icons to be rendered as they are.

commit 0778d512fe11fa0517f952bfe667e7a48f4f0d3f
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:17:34 2023 +0800

    MDL-77105 core: Add a filtericon parameter to course mod icon URLs

    * If a plugin defines a `filtericon` custom data or uses its monologo
    version of the icon, a `filtericon` parameter is being added to the
    icon's URL. This information can help plugins determine whether to
    render the activity icon as is or with CSS filtering.

commit 8812990c851981647a3ca9887d805462950ac495
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Mar 27 10:30:26 2023 +0800

    MDL-77105 core: Method to determine whether a plugin has monolog icons

commit 1018c8a4c53b3348c931aa1920733f8f8251bcba
Author: AMOS bot <amos@moodle.org>
Date:   Sun Mar 26 00:07:38 2023 +0000

    Automatically generated installer lang files

commit 60220de680dfb38a926a7dbc158c1efc9dafeee1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat Mar 25 15:38:04 2023 +0000

    MDL-77729 qformat_missingword: fix form of help link

commit b7d7b84d306dfdec5b92dbf60611fc33975620a3
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Mar 24 10:41:38 2023 +0000

    MDL-75017 questions: give a clear error if the context type is invalid

commit 8169d1da07bf0664f99545e568cdbf15fcbc0ff8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Mar 24 12:55:57 2023 +0000

    MDL-75017 questions: fix weird setup in qformat_xml_import_export_test

commit 8af994f1f067ead59dd9cdc5d32affb902728de8
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 24 13:59:36 2023 +0100

    weekly release 4.0.7+

commit 8ca6ffa0774b815b7e0ca321730c41483ba42195
Merge: 3904547719b 529187a82a7
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 24 11:51:25 2023 +0800

    Merge branch 'MDL-77669-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE

commit 3904547719b3a12cd3c3a3de85ab79269a80c585
Merge: 5fb543fa452 88cedd9f99e
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 24 10:40:30 2023 +0800

    Merge branch 'MDL-77626_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE

commit 74a28bde79121a655c5095712506644dc3497b78
Author: Simey Lameze <simey@moodle.com>
Date:   Thu Mar 23 09:44:46 2023 +0800

    MDL-77561 behat: add step to accept dpa and enable bigbluebutton

    The step i_enable_plugin cannot be used as bigbluebuttonbn_default_dpa_accepted
    setting needs to be enable in order for the BigBlueButton plugin to be enabled.

commit 5fb543fa452e03f36e7bf6f488a80076c4d3d442
Merge: 922713d6263 75a1e8d843e
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 23 17:53:53 2023 +0100

    Merge branch 'MDL-77666-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit f19e245f2942417c185b3a21857117dbbac62dcb
Author: Shamiso.Jaravaza <33659194+ssj365@users.noreply.github.com>
Date:   Fri Mar 10 11:23:50 2023 -0700

    MDL-76303 mod_bigbluebuttonbn: Fix userlimit

commit 922713d626380fe508fd8c53215aeb29d3e5c49a
Merge: 712cdd0fc69 ac7720b9567
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 23 12:25:24 2023 +0000

    Merge branch 'MDL-77392-400' of https://github.com/srobotta/moodle into MOODLE_400_STABLE

commit ac7720b95677972526aa97b3f41c561e8616ad9d
Author: Stephan Robotta <stephan.robotta@bfh.ch>
Date:   Tue Mar 14 16:17:20 2023 +0100

    MDL-77392 calendar: calendar items are hidden because of settings

commit 712cdd0fc69acc065f8ef29487b6a3d5ee40d7ba
Merge: f575d8fc828 e04daa31e44
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 23 11:43:42 2023 +0000

    Merge branch 'MDL-77691-400' of https://github.com/roland04/moodle into MOODLE_400_STABLE

commit f575d8fc8284f1db5a3543761730f97b7aa6905f
Merge: 03a41fa881f bde844c57c9
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Mar 22 14:06:14 2023 +0100

    Merge branch 'MDL-77380-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE

commit 03a41fa881f671fe74674fde3a40a49d3ba09d98
Merge: 11a1ac89139 8f296f65281
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Mar 22 13:50:19 2023 +0100

    Merge branch 'MDL-77692-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 11a1ac891398c618216308d70d5715ad391195b8
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 22 09:37:13 2023 +0800

    weekly release 4.0.7+

commit c35fd3566c50d1708ce439cae4a3a7c6c7aaa56e
Merge: c68493a3495 5bbdf8ab516
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 22 09:37:11 2023 +0800

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit 6597f8f7f5f08ac30a6d111a8e4bedf9f379541a
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:17:13 2023 +0000

    MDL-74452 quiz: Display an error if all versions are in draft status

commit e04daa31e447a800848b940966bbd460db0baa32
Author: Mikel Martín <mikel@moodle.com>
Date:   Mon Mar 20 13:54:47 2023 +0100

    MDL-77691 behat: Add step to navigate to profile page directly

commit bde844c57c950c4e7bc0583ca259b8a8fa2238c5
Author: Simey Lameze <simey@moodle.com>
Date:   Wed Mar 8 10:34:35 2023 +0800

    MDL-77380 block_myoverview: improve show toggle functionality test

commit 7c007b8f324495e26f3ed77512564c936c18f45e
Author: Angelia Dela Cruz <andelacruz@ubiquitous-tech.com>
Date:   Thu Mar 16 13:14:28 2023 +0800

    MDL-77577 Behat: Replaced the use of "Install selected language pack(s)

    Evaluated usage of "Install selected language pack(s)" in Behat and
    replaced the steps to use generator to install language packs as part
    of test setup.

commit c68493a34957b4076d39f9bf79ab4b7c14c0398f
Merge: c38582b4093 d1254b0c8d5
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 21 12:00:55 2023 +0800

    Merge branch 'MDL-75746_400_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_400_STABLE

commit 529187a82a76ebe5396a02be17645a1f363c24af
Author: Meirza <meirza.arson@moodle.com>
Date:   Fri Dec 16 20:52:11 2022 +0700

    MDL-77669 dml: Added extrainfo in the DB options config.

    extrainfo is an extra information for the DB driver, e.g. SQL Server,
    has additional configuration according to its environment,
    which the administrator can specify to alter and override any connection options.

    Co-authored-by: LukeCarrier <luke@carrier.im>

    This is a backport of MDL-64153.

commit c38582b40936856a07bc811031a5885ec3fb0482
Merge: b0872b6aa5a 23e15c1ae2a
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Mar 21 08:24:54 2023 +0800

    Merge branch 'mdl-72533-event-table-performance-MOODLE_400_STABLE' of https://github.com/petersistrom/moodle into MOODLE_400_STABLE

commit b0872b6aa5a7d12238a98841c1eaa402bd657c41
Merge: 1b7f761528f 962ab85122a
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 20 17:04:56 2023 +0000

    Merge branch 'MDL-72124_400_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_400_STABLE

commit 8f296f65281cb9613d7fb511ad1d4d6c4932ae28
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 20 16:09:25 2023 +0000

    MDL-77692 reportbuilder: format custom field condition/filter names.

commit 1b7f761528f54f5149c5c4fd33e70683e7f401c5
Merge: 9845799ed64 136e636bf03
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 20 17:06:11 2023 +0100

    Merge branch 'MDL-77574-400' of https://github.com/lameze/moodle into MOODLE_400_STABLE

commit 2d9536f98078ed6e204626a44cb0215b2e290e4b
Author: Anupama Sarjoshi <anupama.sarjoshi@open.ac.uk>
Date:   Fri Mar 17 17:20:27 2023 +0000

    MDL-77659 core_reportbuilder: fix user profile fields phpunit tests

commit 9845799ed648d2d59f493959f66328a73115bde2
Merge: a971b893899 5fc2612d25d
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 20 13:42:55 2023 +0100

    Merge branch 'MDL-77523-400' of https://github.com/juancs/moodle into MOODLE_400_STABLE

commit 23e15c1ae2aaeea86d0bd1d4990be75c5bfa20ab
Author: Mark Sharp <mark.sharp@solent.ac.uk>
Date:   Fri Oct 7 15:37:39 2022 +1100

    MDL-72533 core_calendar: improve calendar event table peformance

    - Filter searchable courses if set.
    - Sites with large groups should now experience better performance.
    - Applies and optimises query against a proper date range.

    Co-authored-by: Mark Sharp <mark.sharp@solent.ac.uk>
    Co-authored-by: Peter Sistrom <petersistrom@catalyst-au.net>
    Co-authored-by: Kevin Pham <keevan.pham@gmail.com>

commit 5bbdf8ab5165763607cab3e003089fde8e63c015
Author: AMOS bot <amos@moodle.org>
Date:   Mon Mar 20 00:07:37 2023 +0000

    Automatically generated installer lang files

commit f42ac85b7ed4ae854c6a0cc12bce9fb173ea6e75
Author: Brendan Heywood <brendan@catalyst-au.net>
Date:   Tue Mar 14 10:22:44 2023 +1100

    MDL-77618 admin: Passwords should not auto complete

commit 6a566abcd9dd49540fad1bd32e34884b46e2029f
Author: AMOS bot <amos@moodle.org>
Date:   Sat Mar 18 00:07:38 2023 +0000

    Automatically generated installer lang files

commit c0a05c9d8aa3380fad52e0f017f3a52960652f48
Author: Juan Segarra Montesinos <juan.segarra@uji.es>
Date:   Fri Mar 17 06:49:50 2023 +0100

    MDL-77670 course: Preserve course summary format

commit a971b8938996d35c0497641f87b93eab6137a9a6
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 17 17:58:33 2023 +0100

    weekly release 4.0.7+

commit 10a640c25e7e92a4c67315392decb92b66d5a321
Merge: c0373ed7f77 213935c460e
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 17 17:58:25 2023 +0100

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit c0373ed7f77d862b37dbc9a3f8c985e57037e1ba
Merge: 6b7b12c7906 45d7645598c
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 17 11:01:14 2023 +0800

    Merge branch 'MDL-76257-400' of https://github.com/juancs/moodle into MOODLE_400_STABLE

commit 6b7b12c79066a97d2da18a330fa786c56955666c
Merge: 4e758d343a5 2919cf9e1b7
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 17 10:29:40 2023 +0800

    Merge branch 'MDL-77608-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

commit 213935c460ea957658735c87c73f06ec2149fa77
Author: AMOS bot <amos@moodle.org>
Date:   Fri Mar 17 00:07:40 2023 +0000

    Automatically generated installer lang files

commit 75a1e8d843e1d5c1faa3a561ffcb1c46c5558e5c
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 16 23:04:35 2023 +0000

    MDL-77666 contentbank: format category names for display.

commit c5bea842a99624128ce32bb6b886c64148fc2a45
Author: info@eWallah.net <info@eWallah.net>
Date:   Thu Mar 16 19:53:34 2023 +0100

    MDL-77584 currencies: Fix outdated ISO 4217 code for Zambian Kwacha

    On 2013-01-01 the ZMK code got replaced by the new ZMW code.

    AMOS BEGIN
     MOV [ZMK,core_currencies],[ZMW,core_currencies]
    AMOS END

commit 4e758d343a5fca1a7c5a86daafc82b944561f8a2
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Mar 15 19:15:53 2023 +0000

    MDL-76339 mod_bigbluebuttonbn: correct upgrade note fix versions.

commit e889cc49c2a57f653fb69c7619dcce2aedf02c8e
Merge: 06fa0aad493 55620756a57
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Mar 15 19:06:02 2023 +0000

    Merge branch 'MDL-76339-400' of https://github.com/call-learning/moodle into MOODLE_400_STABLE

commit 06fa0aad493d54b5e5d29b36e2f72fe4b52d9799
Merge: 4a60dd3205a 778840f1d74
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Wed Mar 15 14:26:38 2023 +0800

    Merge branch 'MDL-77550-400' of https://github.com/dpalou/moodle into MOODLE_400_STABLE

commit 4a60dd3205a11b5bd80cd0616f380a52789d2fdd
Merge: 264f4584171 9cf379579b6
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 15 10:00:58 2023 +0800

    Merge branch 'MDL-77611_400' of https://github.com/timhunt/moodle into MOODLE_400_STABLE

commit 7c18bb6833369b73610745cb9e34d1161f56bead
Author: AMOS bot <amos@moodle.org>
Date:   Wed Mar 15 00:07:36 2023 +0000

    Automatically generated installer lang files

commit 5eb255f051760ca8951edd1d1dd45bbfbbd5f6e1
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Jan 31 17:23:22 2023 +0000

    MDL-59175 theme_boost: style inherited permission on overide page.

commit 88cedd9f99e4cdb631eb6f8327c260f50f4abe33
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue Mar 14 16:29:12 2023 +0000

    MDL-77626 quiz statistics: Divide by zero if a random Q has max mark 0

commit d1254b0c8d5e2679965236fa9b712e0cc6bf2ab9
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Sep 16 11:51:34 2022 +1000

    MDL-75746 mod_quiz: Fix backup and restore of quiz slots

commit 962ab85122a7cd890919c591a85bb9b601f60beb
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Tue Mar 14 15:39:42 2023 +0000

    MDL-72124 question: Fix system-level URLs in question events

commit 264f4584171ed553299795f789504f39f8de1b65
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue Mar 14 16:07:41 2023 +0100

    weekly release 4.0.7+

commit adc9c66e753713b6a4f33f4312da0c58712615c5
Merge: 6ddeef9cab4 2c2bd9e2afe
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue Mar 14 16:07:36 2023 +0100

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit 6ddeef9cab4d8ddbc45d1cf799404b806dc49d2e
Merge: 0fae900b585 712391f96bc
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 14 11:57:09 2023 +0800

    Merge branch 'MDL-76680/400' of https://github.com/skodak/moodle into MOODLE_400_STABLE

commit 68456ca14f54309ad3c6e89f871ab33c6a41d7cd
Author: Laurent David <lmedavid@gmail.com>
Date:   Fri May 27 09:23:00 2022 +0200

    MDL-70976 core_files: Allow for draft files url inserted in content

    * The file file_remove_editor_orphaned_files should take into account URL that
    have been embedded in a tag content instead of an attribute (like src attribute)
    * This will fix issue with inserting H5P content in calendar events.

commit 45d7645598c9819ad526f74bc735add5064c1124
Author: Juan Segarra Montesinos <juan.segarra@uji.es>
Date:   Tue Mar 7 15:44:00 2023 +0100

    MDL-76257 core: Activity intro should honor user preference on creation

commit 2c2bd9e2afe826f084301e08746c1630da375652
Author: AMOS bot <amos@moodle.org>
Date:   Tue Mar 14 00:07:38 2023 +0000

    Automatically generated installer lang files

commit 9cf379579b621a347c55d130f629235f8c7a1350
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon Mar 13 13:31:33 2023 +0000

    MDL-77611 tool_uploaduser: fix phpunit assumptions about profile fields

commit 2919cf9e1b7b93216aaffdd938f266c76454239d
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 13 09:36:40 2023 +0000

    MDL-77608 mod_h5pactivity: namespace component lib testcase.

commit 136e636bf03a82ad923b5c063f776569081533d5
Author: Simey Lameze <simey@moodle.com>
Date:   Thu Mar 9 10:29:21 2023 +0800

    MDL-77574 myoverview: wait until next button exists before clicking

commit 622f98e6372db888014719cc8a6ff1450c8ac854
Author: Jake Dallimore <jake@moodle.com>
Date:   Thu Feb 23 17:33:41 2023 +0800

    MDL-77382 core: fix error handling in oauth2 callback for auth'd users

    Pass the errors back to the calling code when the user is authenticated,
    otherwise, fall back on the existing redirection to the login page.

commit aa6bfe07efbf140341423ba0c94998ea56843c9f
Author: AMOS bot <amos@moodle.org>
Date:   Sun Mar 12 00:07:44 2023 +0000

    Automatically generated installer lang files

commit 712391f96bc82ca0911edb7404d4fecd3fa6a401
Author: Petr Skoda <commits@skodak.org>
Date:   Sun Mar 5 11:12:31 2023 +0100

    MDL-76680 core: disable $USER->ignoresesskey on next page

commit 0fae900b58546643247df7bd1eae7a584d94eb1d
Author: Jun Pataleta <jun@moodle.com>
Date:   Sat Mar 11 13:10:44 2023 +0800

    Moodle release 4.0.7

commit 202cd371a12715b7b6742a46e7b3db442f3c3f53
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 10 22:09:56 2023 +0800

    weekly release 4.0.6+

commit e60107a0d3007166f727fa39376e877ec56a7236
Merge: 1c6dcd21f93 1fd4f4b11bf
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 10 22:09:54 2023 +0800

    Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE

commit 1c6dcd21f93fe3e68467cbc780c53cf0458cb3b5
Merge: 4027a6f9fbc 0be2c466920
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Mar 10 14:51:24 2023 +0800

    Merge branch 'MDL-77429-400-fix' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE

commit 0be2c4669202be734e6fdfcb97913bbe9143f8b1
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 10 14:11:21 2023 +0800

    MDL-77429 course: Change course date to previous day

    When a test runs just after midnight, and the user time zone is not the
    same as the server timezone, and the course is created using a generator
    (which runs in server time zone) but the UI presented in the user
    timezone, the course start time is still in the future.

    We need to create the course a day earlier to ensure that the "This
    week" indicator is in the correct day.

commit 4027a6f9fbccc1c30c92da77fcfc8ebb2062865b
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 10 13:31:29 2023 +0800

    MDL-77037 core_course: Add new courseindex test to classic excludelist

commit 2fc493dd9f142bb4d3acd703e3013557b8128b90
Merge: 25f8ff2446c e2eb63f1d95
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 10 12:06:03 2023 +0800

    Merge branch 'MDL-77458-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE

commit 25f8ff2446c542634c25de712a1d513223823e48
Merge: 4287b7acd92 04bb96886d4
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 10 11:41:11 2023 +0800

    Merge branch 'MDL-77517-400' of https://github.com/juancs/moodle into MOODLE_400_STABLE

commit 4287b7acd92c8807edc04d47c9043c84b6be6de9
Merge: a18d42a1bb5 e3356e2a5af
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 10 11:31:10 2023 +0800

    Merge branch 'MDL-77530-tool-task-checks-MOODLE_400_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_400_STABLE

commit a18d42a1bb5c0c12b29f1edd0187695d54c1838d
Merge: baabc32443f c11c5d26cdc
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 10 10:36:45 2023 +0800

    Merge branch 'MDL-77219-400' of https://github.com/sarjona/moodle into MOODLE_400_STABLE

commit baabc32443fa029e6ec8957a53ee3fa51ae232f1
Merge: 5ba62ce7aec 05d383cdffd
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 10 10:14:49 2023 +0800

    Merge branch 'MDL-76603-400' of https://github.com/junpataleta/moodle into MOODLE_400_STABLE

commit 05d383cdffd5c041ac056827d9a4e8e79bba038b
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri Feb 10 05:23:23 2023 +1100

    MDL-76603 gradingforms: Some A11y fixes on editing form

    - Use span instead of dummy input elements because form elements need a
      label
    - Sufficient size for target is at least 24px by 24px (Success Criteria
      2.5.8)

commit d6087552d0467630f916e22e6067da8c1570e792
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu Feb 9 23:01:14 2023 +1100

    MDL-76603 mod_assign: Move advanced grading grades out of the tables

commit 27c9eb38a001b47ff0121b25a32d03a84d6d7b0e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Sun Jan 15 06:52:27 2023 +1100

    MDL-76603 gradingform_rubric: preserve bg colour on hover

commit ea697ca8a0c821a18afb43dddf82083c3bfdbcff
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu Jan 5 22:16:20 2023 +1100

    MDL-76603 gradingform_rubric: fix roles

    - set the role of table to none
    - moved aria-label from <table> element (that doesn't has role="none")
      to the element that has the radiogroup role
    - if it's not radiogroup/radio, it is list/listitem
    - removed aria-label from the rubric table and used caption instead

commit 5ba62ce7aec6f1adfe8fbe92117b0457ae991a82
Merge: e851069e974 aa7d3faddb6
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 10 09:29:56 2023 +0800

    Merge branch 'MDL-76849-400-5' of https://github.com/j…
danchamp added a commit to Rosedean-Group/moodle that referenced this issue May 2, 2023
commit 4901ffe1ba570e14a46501050d7e4f36cdb9b78d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 27 19:28:38 2023 +0800

    weekly release 4.1.3+

commit 013735af51835aadaf18d97fb20b14238a6956ad
Merge: 6c890a63306 b04fab1a2af
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 27 11:08:54 2023 +0800

    Merge branch 'MDL-77883-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE

commit 6c890a63306823d53894ba05b6803031fda84dad
Merge: 9a3430f3fef a9f629fbf91
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 27 10:40:43 2023 +0800

    Merge branch 'MDL-77997_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit 9a3430f3fefadfa5b5fe8da239092b910a38e1e2
Merge: 79982a82a43 f3ae5116d03
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 25 15:18:42 2023 +0200

    Merge branch 'MDL-77313-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 79982a82a43159cbba2ea8decb686a35efba2f14
Merge: 4ee0bdfda60 4ec5aac7347
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 12:36:09 2023 +0100

    Merge branch 'MDL-78007-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

commit 4ee0bdfda60ec925e54bc26936308a2497c6063f
Merge: d10d553890d 60a2798da74
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 11:54:17 2023 +0100

    Merge branch 'MDL-73331_401_toolbrickfieldadvancedtab' of https://github.com/brickfield/moodle into MOODLE_401_STABLE

commit d10d553890da891e32d4c44926e3ebd388b0ba70
Merge: b2d07127484 952c8770b60
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 09:38:37 2023 +0100

    Merge branch 'MDL-77766-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 952c8770b60288df1596020329246800555f3e37
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Apr 24 20:07:57 2023 +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.

commit 132ac7486dc86c7cce507da92374251e1f5b8e42
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Apr 24 20:07:38 2023 +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.

commit a9f629fbf9150d6bf21da023e6c614e17001545a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Apr 21 18:39:44 2023 +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.

commit f3ae5116d033e1a5d40a06bae5667836bf38d728
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Feb 21 12:12:16 2023 +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.

commit 4ec5aac73470b418defac7d465428420cd0db7c7
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Mon Apr 24 15:53:37 2023 +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

commit b04fab1a2afeedacbe179c45ea97da25b4b6d5b3
Author: danghieu1407 <danghieu140701@gmail.com>
Date:   Mon Apr 24 13:54:37 2023 +0700

    MDL-77883 forms: fix display of client-side validation for textareas

commit b2d07127484b34fa1489ccf554087dd7335ea396
Author: Jun Pataleta <jun@moodle.com>
Date:   Sat Apr 22 16:22:40 2023 +0800

    Moodle release 4.1.3

commit f70a6d32cd7f53afc4e87bdc075c1a847dfbe04e
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Fri Apr 21 19:19:12 2023 +0200

    weekly release 4.1.2+

commit f691ccf8c61d207d744837f7dc3283f6cd9b6d0a
Merge: ceb2f856b03 a6a0e98e53d
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Fri Apr 21 19:19:07 2023 +0200

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit ceb2f856b03764cd0fc8561956c7f9758d5c188d
Merge: 955d89710ef 526e1af88be
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 16:52:21 2023 +0800

    Merge branch 'MDL-77927-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE

commit 955d89710ef9d33c9c142e83385fa63a8c290751
Merge: 8fb9177b749 b142840de18
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 16:44:38 2023 +0800

    Merge branch 'MDL-77229-patch-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit 526e1af88be53dda8a1d138bb794d02b5f920dfb
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 23:30:45 2023 +0800

    MDL-77927 core: mod_assignment subplugins environment check

commit b142840de184d7ae2da9832f34c1e66d714164af
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 15:03:02 2023 +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

commit 8fb9177b749cd392aa03ad035a89bda2cb4da150
Merge: b5a65e56fdf 6e15a26dcee
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 12:11:40 2023 +0800

    Merge branch 'MDL-77229-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit 6e15a26dcee98d935c960766915739daa70de667
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 11:59:27 2023 +0800

    MDL-77229 lesson: Add Behat test

commit b5a65e56fdf9d3eb62c93777a3fec42771d542c9
Merge: 9290627da9e c28cd3215b8
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 11:10:39 2023 +0800

    Merge branch 'MDL-77896-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit a6a0e98e53d83a64fab822135e5540304f3ebf14
Author: AMOS bot <amos@moodle.org>
Date:   Fri Apr 21 00:07:41 2023 +0000

    Automatically generated installer lang files

commit c28cd3215b8b7aca10905e7e16769975cd6ba058
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 16:34:00 2023 +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>

commit 39084a098b210ffff2d49847bc988b969a5001e6
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu Apr 20 11:13:23 2023 +0200

    MDL-77229 lesson: Fix error for empty responses (numerical pagetype)

commit 9290627da9e4555e19aaac13b125b9bb86e44262
Merge: bb5bd2eed89 f01ad401452
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 16:29:14 2023 +0800

    Merge branch 'MDL-73012-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE

commit bb5bd2eed893479fb904260248bd18d0fd2ea30a
Merge: 12195684b47 110ec6a703d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 20 16:23:19 2023 +0800

    Merge branch 'MDL-77436-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE

commit 12195684b476ce8cc01e170703ccc51fb12396dd
Merge: 339dfec4201 1d64897a3ca
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 16:10:10 2023 +0800

    Merge branch 'MDL-77922-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit f01ad4014527c6caf791032f34f410e722f2290f
Author: Ferran Recio <ferran@moodle.com>
Date:   Thu Apr 20 09:56:10 2023 +0200

    MDL-73012 core_courseformat: add pending to move section modal

commit 1d64897a3ca984143e36f3b42fd0875b8a08c20e
Author: Ferran Recio <ferran@moodle.com>
Date:   Tue Apr 18 13:22:08 2023 +0200

    MDL-77922 core_courseformat: add pending to move activity modal

commit 339dfec4201517dfb120cce810616a2ca10724c9
Merge: 1d16c049f37 084c120c79d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 20 12:33:38 2023 +0800

    Merge branch 'MDL-77577-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE

commit 1d16c049f3704781385d76f7cea783716a3f9e85
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Mar 23 10:17:48 2023 +0800

    MDL-77718 editor_tiny: Restrict the revision to int for loaders

    The revision should always be an int. I suspect this was missed during
    debugging and not corrected.

commit 4d4635228d7facf566af2f10ddb6963143ac55be
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Feb 8 16:49:38 2023 +0000

    MDL-77187 mod_wiki: validate external method sort parameters.

commit ce9cb1156c52ee16a9032c798c90804206a59c9e
Merge: c0429c1c902 ee519b690cc
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 14:13:04 2023 +0100

    Merge branch 'MDL-77897-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit c0429c1c902ff01cbfd797f10a9cc02652689c85
Merge: be8c02fc2c6 c0bea2a82db
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 13:41:32 2023 +0100

    Merge branch 'MDL-77960-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit be8c02fc2c68229dce8b4375c1e08e967a30ea72
Merge: 99b5e1059d6 bc85007834c
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 13:06:41 2023 +0100

    Merge branch 'MDL-77944-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 60a2798da74985b7767109998b30899ec833e2d2
Author: Max Larkin <maxlarkin@protonmail.com>
Date:   Wed Dec 8 11:42:23 2021 +0000

    MDL-73331 tool_brickfield: Update advanced tab display

commit 99b5e1059d61e4b3553ebe266a3d2059fc681248
Merge: 814c63fcc3d 24335d67bb8
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 09:03:22 2023 +0100

    Merge branch 'MDL-77898-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit ee519b690ccb2b5eca62bf144de963a1bfe52e83
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Wed Apr 19 14:57:10 2023 +0800

    MDL-77897 editor_tiny: Save editor content on editor blur

commit 814c63fcc3d5f9db33fe8caf3bed88056c9a4432
Merge: 799e962f1fd 40fad4d6b7d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Apr 19 13:32:36 2023 +0800

    git fetch https://github.com/paulholden/moodle.git MDL-77935 && git merge --no-ff FETCH_HEADMerge branch 'MDL-77935-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 799e962f1fd7451cc16909347520ecc6f666abcb
Merge: fc6764324a1 e9fcdec98b0
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Apr 19 12:37:45 2023 +0800

    Merge branch 'MDL-77953_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

commit c0bea2a82db6792826067647253d29b2e2196a8e
Author: Simey Lameze <simey@moodle.com>
Date:   Wed Apr 19 11:49:30 2023 +0800

    MDL-77960 behat: make verification steps more specific

commit e9fcdec98b086c8a55dbbb8b09d98fe9e55b36e5
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue Apr 18 16:03:19 2023 +0200

    MDL-77953 pagelib: Ensure that null $SCRIPT continues behaving the same

    It's possible to have some Moodle components soft linked instead
    of being real directories within codebase (within dirroot).

    For example, Composer's "vendor" directory can be soft linked
    (from elsewhere), or also plugins can be installed using soft
    links.

    In those cases, Moodle calculates the $SCRIPT global as null. And,
    then, string operations on it are emitting a PHP deprecation message
    with PHP 8.1 and up.

    This fix just ensures that the behaviour is the same than before
    PHP 8.1, aka: ltrim(null) = '' (empty string), without any PHP warning.

commit fc6764324a1e8f0305e76f00d81ce44f7f2ab69b
Merge: b71f01981a5 1b828701a6a
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 23:35:19 2023 +0800

    Merge branch 'MDL-77895-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b71f01981a5940f9aabc297bc6f97a31d2bda370
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 22:28:09 2023 +0800

    weekly release 4.1.2+

commit 5d1fcb942a1304111220e96b225b865df89dd2e5
Merge: f8e468c41af 76ab8a1c513
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 22:28:06 2023 +0800

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 24335d67bb8e08bd0b4a09a9e5cf1c65114daed7
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Apr 12 23:41:53 2023 +0800

    MDL-77898 calendar: Add iconclass for upcoming_mini template

    The icon's iconclass context data adds additional CSS class(es) to
    calendar event icons to better control how the event icon is displayed.
    e.g. without filtering for activity events that don't hae monologo
    versions of their icons.

commit 1b828701a6ae367d449578482529ebb90f6b88e3
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 12 14:50:59 2023 +0100

    MDL-77895 editor_tiny: standardize quickbar selection toolbar.

    Ensure the same heading tags are available as those defined in the
    editor block formats configuration (c51b7e2c).

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

commit f8e468c41aff34dd152dd83001b90a284ff062fa
Merge: b07df211ce4 31a3c8cda47
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 14:28:44 2023 +0800

    Merge branch 'MDL-77916-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b07df211ce430732e3c227f16522702dc71f1730
Merge: 4c289966d38 b796cbd03cc
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 12:31:46 2023 +0800

    Merge branch 'MDL-77829-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE

commit 4c289966d38ecf7cd29627d889aa7ee2b5eba152
Merge: 0d0fbec6166 38f5c818cbd
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 12:10:56 2023 +0800

    Merge branch 'MDL-77735-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE

commit 0d0fbec6166ea89122b50d00f49e5f8c1b41f59c
Merge: ca751bdc1f6 eb12428324d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 12:01:46 2023 +0800

    Merge branch 'MDL-77770-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit ca751bdc1f61b83b0b4e4dd7f2483268f919de5b
Merge: dd553c14066 faa121ad306
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 11:18:32 2023 +0800

    Merge branch 'MDL-76855-401' of https://github.com/Chocolate-lightning/moodle into MOODLE_401_STABLE

commit bc85007834ca1b898eba2b02f92a62156202e71d
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 09:02:16 2023 +0800

    MDL-77944 behat: Rename chrome options for w3c support

    From Selenium 4.8.0, support for non-w3c browser control has ended.

    We only use W3C browser control these days, and this was missed as part
    of the move to W3C. All browser options must be vendor-prefixed.

commit dd553c140660c192d7fc0e4086e18c55491e6ae3
Merge: 242ecbf7f31 2f601f1e51f
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 08:59:30 2023 +0800

    Merge branch 'MDL-77827-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

commit 76ab8a1c513795bf3213584130e2c32ad2177bf1
Author: AMOS bot <amos@moodle.org>
Date:   Tue Apr 18 00:07:38 2023 +0000

    Automatically generated installer lang files

commit 242ecbf7f31971a015909d54147d0f751f4c47d1
Merge: cbfde8c11a4 1265b0ad84e
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 19:12:36 2023 +0100

    Merge branch 'MDL-77878-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE

commit cbfde8c11a43f593eec516bb045ec72610014ede
Merge: df4f8dd322a 3502ad3da76
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon Apr 17 21:27:56 2023 +1000

    Merge branch 'MDL-76998-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit df4f8dd322a78f5c4ac5e14d98b44001033f5016
Merge: 60ab09ac87c 5b8ad6ae30e
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 11:50:54 2023 +0100

    Merge branch 'MDL-76212-401-nav' of https://github.com/kevpercy/moodle into MOODLE_401_STABLE

commit 60ab09ac87cb3b61df511f1a2eb1812b7de9158a
Merge: 797cbcc3dac 8dc9cd6cdce
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 11:06:14 2023 +0100

    Merge branch 'MDL-77324-401-2' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit 40fad4d6b7d1e7c742059f6bc482094376de0165
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 09:26:16 2023 +0100

    MDL-77935 contentbank: avoid phpunit crashes during isolated tests.

    Simplify the test for allowed contexts by removing problematic use of
    data provider annotation.

    See: https://github.com/sebastianbergmann/phpunit/issues/2739

commit 1265b0ad84e72a6e031057140b22f2b2cdce9c0e
Author: Víctor Déniz <victor@moodle.com>
Date:   Sun Apr 16 21:32:32 2023 +0100

    MDL-77878 lang: Use fixed strings in tests

commit faa121ad30628ca2eb84ac3bb724404d9922c2c6
Author: Mathew May <mathewm@hotmail.co.nz>
Date:   Mon Apr 17 11:24:51 2023 +0800

    MDL-76855 gradereport_user: Prevent parent access errors

commit 797cbcc3dacd8fde3c4021342c4648972dfd398a
Merge: 6bac9104343 c8f105800c3
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Mon Apr 17 11:17:04 2023 +0800

    Merge branch 'MDL-76995-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 6bac9104343db3e85893863a86cf9764b315da0c
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 17 10:58:38 2023 +0800

    MDL-76994 core_course: Fix version for weeks and topics course formats

commit a9b4b297ac7584ea651e5a95086a025268461cf7
Merge: 82a7b26648a 073deca0e1e
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Mon Apr 17 10:32:33 2023 +0800

    Merge branch 'MDL-77606' of https://github.com/skodak/moodle into MOODLE_401_STABLE

commit 073deca0e1ed66a846ad20df838e9806ab265e89
Author: Petr Skoda <commits@skodak.org>
Date:   Sun Mar 26 13:22:01 2023 +0200

    MDL-77606 grunt: fix Windows compatibility

    Backport of MDL-77748.

commit 2cc1182b1672baef1b62c458aeac5aa3810ecbc7
Author: Petr Skoda <commits@skodak.org>
Date:   Wed Jan 18 17:28:33 2023 +0100

    MDL-77606 core: switch to Dart sass

    Backport of MDL-73144.

commit 82a7b26648a359a8db96c3e23795be7005e774ed
Merge: 96f0478ec1d 15a5a938b60
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 17 09:47:04 2023 +0800

    Merge branch 'MDL-76994-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 2db1ddd290c8125a1c5080a88e13aa93c2b65bee
Author: Helen Foster <helen@moodle.org>
Date:   Sun Apr 16 20:49:02 2023 +0100

    MDL-77878 lang: Import fixed English strings (en_fix)

commit 96f0478ec1d1295935973a29b787a24afd82cff9
Merge: 38c35247e9e 39cf5561113
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 14:02:18 2023 +0200

    Merge branch 'MDL-77913-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 38f5c818cbd53ba44f47573712b42562b1451241
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 24 12:42:53 2023 +0100

    MDL-77735 core: Check $CFG->lang isset

    In some cases, $CFG->lang might not be set, and this is causing a
    Notice to be displayed when, for instance, database connection fails.
    This patch should fix this case.

commit 38c35247e9e8ccaecf13ce0e794699f5a47a84a5
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 10:50:08 2023 +0200

    weekly release 4.1.2+

commit 242dcfbc5525fb2385325774e56a0493c37cf4d9
Merge: 4c4be40c774 1066f5fe68a
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 10:50:03 2023 +0200

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 2f601f1e51f5a3e97b0ad05c5acaa425b79af7c2
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Fri Apr 14 09:24:32 2023 +0700

    MDL-77827 events: Changed JSON comparison to be less strict

commit 31a3c8cda47872e6c4cd73518d383a1f9b3b03e1
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Apr 13 23:12:13 2023 +0100

    MDL-77916 h5p: register autoloader in helper testcase.

commit 39cf5561113f41b6051a97082b10e8deb3afd025
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Apr 13 21:13:41 2023 +0100

    MDL-77913 qbank_previewquestion: deterministic ordering of versions.

    Ensure the ordering of loaded question versions is consistent, avoids
    random Oracle failures.

commit 4c4be40c774806523bb9238bd68724081fca16b3
Merge: bc34e3fef3f ab0038da849
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 17:32:03 2023 +0200

    Merge branch 'MDL-76986-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE

commit c8f105800c38925ac26987ade09d4a203ade2b86
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Feb 8 22:28:41 2023 +0100

    MDL-76995 core_courseindex: Apply indentation in the course index

commit 3502ad3da76e52e17c3341d3764aa330647fcc53
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Mon Mar 13 12:34:42 2023 +0100

    MDL-76998 admin: Option to reset course indentation

commit 15a5a938b60310a3252c6531d223456c71441f1c
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Mon Mar 13 11:47:05 2023 +0100

    MDL-76994 tool_mobile: Return course format indentation setting

commit ec4eacd1dab0d568f7681f7dae9d9607cad9c49e
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Mar 8 12:41:11 2023 +0100

    MDL-76994 core_course: New course format setting to enable indentation

commit bc34e3fef3f3dbee299baf51996da1e908b1f04c
Merge: 6aef92c24af f336875b1a7
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 16:24:28 2023 +0200

    Merge branch 'MDL-76859-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE

commit 6aef92c24af163ff10ab80c8982de2c426edbed9
Merge: 4b7c58febfd 6ae5ee18a0f
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 16:20:06 2023 +0200

    Merge branch 'MDL77833-course-content-chng-notificatn-multilang' of https://github.com/Amrita1991/moodle into MOODLE_401_STABLE

commit 4b7c58febfd9103460bf51151df76a81a738515c
Merge: 4ed6c8fbce2 d49ebb79c55
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 13:45:00 2023 +0200

    Merge branch 'MDL-77860-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 4ed6c8fbce23a8fbae6420657332c06e30d16037
Merge: af585fc7550 4e32a424152
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 13:16:55 2023 +0200

    Merge branch 'MDL-77788-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE

commit af585fc7550a318d203317906a5919a646ab4681
Merge: ead79582191 6e27e9e4814
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 12:19:16 2023 +0200

    Merge branch 'MDL-77618-admin-password-autocomplete-MOODLE_401_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_401_STABLE

commit 6ae5ee18a0f47ba55882284de64ba42b0833eeaa
Author: Amrita Deb Dutta <amritad1991@gmail.com>
Date:   Mon Apr 3 12:30:52 2023 +0200

    MDL-77833 course: content change notification multilang processing

    adding context to format string

    content change notificatn coursename multilang processing

    change context param

commit ead79582191ff0848cddb9925a0363e75880a22e
Merge: 69749509aba 9fbd5fb2192
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 11:20:32 2023 +0200

    Merge branch 'MDL-77256-401' of https://github.com/rbravod/moodle into MOODLE_401_STABLE

commit 8dc9cd6cdce05de9c37c0f066b4d3d888eaf5419
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 6 15:07:16 2023 +0800

    MDL-77324 gradereport_singleview: Make action menus consistent

commit 69749509abaca5e9896805fcbcf8114e1b6b5ac3
Merge: 59eac981ebb 85a7c17414e
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 09:43:05 2023 +0200

    Merge branch 'MDL-77856-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 59eac981ebb22f70eaeb23791a77301d5fefd010
Merge: a8eb4819804 2cde9578977
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 09:19:58 2023 +0200

    Merge branch 'MDL-77468-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE

commit ab0038da849906216516c751ff8534d68c979f66
Author: David Woloszyn <david.woloszyn@moodle.com>
Date:   Thu Apr 13 16:01:44 2023 +1000

    MDL-76986 editor_tiny: Convert language code format for getting strings

commit 2cde957897726a657275ad6c0f796c88028c0449
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue Mar 21 16:01:33 2023 +0100

    MDL-77468 user: Fix invalid check for group belonging

commit a8eb481980479472df9e127bc0c39e41dd9e72f9
Merge: 26aaa7486a8 127174088aa
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 18:19:40 2023 +0200

    Merge branch 'MDL-73610_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

commit 4c533b82045669c1c89efa93921094a7d0196bc5
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue Mar 21 09:47:08 2023 +0100

    MDL-77468 user: Make user profile visibility consistent web and ws

commit 26aaa7486a8fed39ca7b9042ff46621abe22e5ce
Merge: 6381daf52a6 360f9e37f85
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 14:09:33 2023 +0200

    Merge branch 'MDL-77012-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit f336875b1a777ce1e51c658848bd585e86ac72fa
Author: Petr Skoda <commits@skodak.org>
Date:   Sun Feb 19 18:32:03 2023 +0100

    MDL-76859 h5p: Fix behat failures

    - Only resize if the H5P EmbedCommunicator is defined (otherwise, it was causing a
    JS error)
    - An unnecessary image has been removed from the greeting-card.h5p fixture package.
    That way, the text will always be displayed (even if the iframe is still not
    resized). Instead of replacing the original greeting-card-887.h5p file, I've
    renamed it to greeting-card.h5p, to remove these ugly and unnecessary numbers
    at the end of the file name).

commit 6381daf52a6d64fb926ccb9af795a3c750feab52
Merge: 5563e99f2c2 3a38791d620
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 09:54:22 2023 +0200

    Merge branch 'MDL-76993-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 5b8ad6ae30e8325d6aa434ec5c51ed01f54c2459
Author: Kevin Percy <kevin.percy@moodle.com>
Date:   Wed Feb 8 20:33:50 2023 +0800

    MDL-76212 gradebook_nav: Fixed tertiary nav for smaller screens

commit 3a38791d620bf90b88a21017e7287ecf47452aae
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Feb 8 17:04:04 2023 +0100

    MDL-76993 core_course: Recover move right/left functionality

    This is a backport of MDL-76990

commit 5563e99f2c2d84f5325951d403c08b54f5381af3
Merge: 8bc1c231d6e 202718f9682
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 12:12:49 2023 +0200

    Merge branch 'MDL-77837-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 8bc1c231d6e2ef89709f5916c3d7ebb86595e4b4
Merge: 1226208a64c 8656271a635
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 11:13:41 2023 +0200

    Merge branch 'MDL-77552-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE

commit 1226208a64c167e26f5ded97e50f0e460e1f6eb9
Merge: 725277eb8b8 8b31922739f
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 10:17:08 2023 +0200

    Merge branch 'MDL-77148_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE

commit 725277eb8b84a2b8da38f98e444b4303fc997039
Merge: f8e24455138 b631966a70d
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 10:04:41 2023 +0200

    Merge branch 'MDL-77612-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE

commit b631966a70d8a0297d501c7e0bfcb48913cc960b
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 16 09:14:03 2023 +0100

    MDL-77612 mod_label: Label name fix

    * The @@PLUGINFILE@@ placeholder or URLs should not be displayed in the
    course index for labels

commit b796cbd03cc35f9dae70d61899b5565f095ff6cd
Author: Stevani Andolo <stevani.andolo@moodle.com>
Date:   Wed Apr 5 11:45:24 2023 +0800

    MDL-77829 core: Added environment check for mod_assignment

    Decided to add an environment check before uninstalling the
    mod_assignment plugin to prevent data lost.

commit 1066f5fe68a4b633ff90a5a25bc4746c3a5aa8d7
Author: AMOS bot <amos@moodle.org>
Date:   Fri Apr 7 00:07:35 2023 +0000

    Automatically generated installer lang files

commit 202718f968247943fcd38d4f3862e9c428251b89
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Apr 6 16:27:38 2023 +0800

    MDL-77837 core: Improve usage docs for cron_setup_user

commit 44d734147aadb67b598c84858c157921e12d5306
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 09:26:34 2023 +0800

    MDL-77837 phpunit: Ensure that the cron user setter is used

    When running an adhoc task in a unit test we should use the cron variant
    of the set user method to mimic the behaviour of a real cron run.

commit 346cb39cff2e6ac2da427299671e7bfcf1931379
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 09:25:04 2023 +0800

    MDL-77837 cron: Ensure user is set when running tasks

    We should be proactive in ensuring that the environment is clean when
    running a task. We already ensure that we have a clean renderer and
    other parts of the output chain, but we were not setting a clean user.

    This change adds a call to setup the cron user before each task is
    actually executed.

commit eb12428324d6b2b6af00ae4c9d4dbf7e5c12ec52
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Mar 29 17:59:32 2023 +0100

    MDL-77770 gradereport_user: fix errors when no users to navigate.

commit 8b31922739f0593247fa75b21dde4daf86b225d7
Author: Anupama Sarjoshi <anupama.sarjoshi@open.ac.uk>
Date:   Mon Feb 13 13:53:49 2023 +0000

    MDL-77148 core: Fix to export params for templates in correct format

    When questions are filtered by tags in the question bank, the qtagids
    params are passed in the array format. Though moodle_url handles this,
    single_button::export_for_template cannot. Hence changes done in
    weblib.php to provide params for export_for_template in the
    suitable format.
    Thanks Huong. I have added the Behat test you provided in the patch.

commit 127174088aaf6cc2e5ab5dfa54a5cadbb38491d2
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue Apr 4 18:09:20 2023 +0200

    MDL-73610 nodejs: Small updates to required packages

    The main goal of this issue is to avoid scanners (Dependabot
    and friends), reporting about security issues with the current
    xmldom 0.6.0 package.

    Note that this doesn't affect prod at all, because it's a dev
    dependency, hardly exploitable. So it's not a security fix, just
    a security_benefit, if something.

    So here, we are updating from xmldom 0.6.0 to @xmldom/xmldom 0.8.7
    (note that the package was renamed in 0.7.0, so it's the very same)

    Also, when proceeding with the changes, it was detected that we
    are incorrectly declaring @babel/eslint-parser as a normal dependency
    instead of a development one, so we are also fixing that little detail.

    The commands executed to get the changes above applied have been:

    - nvm use
    - npm install @xmldom/xmldom@^0.8.7 --save-dev
    - npm uninstall xmldom
    - npm install @babel/eslint-parser@^7.17.0 --save-dev

    (we haven't run a complete re-install because we only want to modify
    the minimum possible at this stage).

commit f8e244551383ba337158cbf06ce8108a0f5637d8
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 14:02:16 2023 +0200

    weekly release 4.1.2+

commit cb8bf1e001a7f8c3e65acc71ad21b3606c97d8af
Merge: 1f7063cc092 8a588f963ca
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 14:02:12 2023 +0200

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 1f7063cc092df0947dd0244a9538e96ecd3f4cea
Merge: c9b7b94ed43 60954253d49
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 08:12:03 2023 +0200

    Merge branch 'MDL-75301-fix' of https://github.com/sarjona/moodle into MOODLE_401_STABLE

commit 60954253d4921d4b5f046bbc3232add3366a2716
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 07:14:58 2023 +0200

    MDL-75301 quiz: Fix failing behat test

    I cherry-picked this branch from master (because the current 401
    had some conflicts). In master, quiz has been moved to quiz_settings,
    so that's why the behat test start failing. Using the proper name
    fixes it.

commit d49ebb79c55c3aa966b2a95986e40a95e7724580
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 5 23:01:15 2023 +0100

    MDL-77860 tool_moodlenet: use localised language strings for import.

commit 85a7c17414e607ad9434ddd13b8a755a7ef05569
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Apr 4 00:03:00 2023 +0800

    MDL-77856 qtype_multianswer: Use Bootstrap Popover for subq feedback

    The YUI Overlay widget encloses the subquestion feedback in a div
    which causes a div element to be enclosed in the subquestion span. This
    leads to an accessibility issue in terms of HTML parsing as inline
    elements (span) should not contain block elements (div)
    The YUI Overlay widget is also not accessible as it does not really hide
    the overlay contents via aria-hidden when the overlay is not being
    shown. It's better if we stop using this and use Bootstrap's
    popover component which is more accessible by default.

    This patch also removes module.js for the qtype_multianswer plugin as
    it only contains codes related to rendering the feedback contents in the
    YUI overlay widget which is no longer necessary.

commit c9b7b94ed43bdbfd9f03f4f298428a8ae8466bc2
Merge: 0bc265e900a f23463f8d60
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 5 17:17:35 2023 +0200

    Merge branch 'MDL-73642_MOODLE_401_STABLE' of https://github.com/tasosb/moodle into MOODLE_401_STABLE

commit 0bc265e900a8ce3de284aff0c5f1cc71e3e45990
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:34:56 2023 +0000

    MDL-75301 quiz: Use "always latest" option for question previews

    This will set the "alwayslatest" option when previewing a question from
    the quiz according to the version setting used in the quiz slot.

commit 6417d795b95a14bb3e1b0c66b21184c62a0c06c0
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:33:44 2023 +0000

    MDL-75301 question: Add "always latest" option to previews

commit c55473ad2e2695a868a9d9e9ca4652ceabd95c01
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Thu Mar 16 08:37:47 2023 +0000

    MDL-75301 question: Add behat generator for updating questions

    This adds "core_question > updated question" as an entity for `the
    following "X" exist` and calls the existing update_question() generator
    which will create a new question version with the supplied data.

commit ddaf4b7a58506b3b82990b7ecd9bfb6ab48aeb1b
Merge: 131d80441a8 be58d68f20c
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed Apr 5 20:15:39 2023 +1000

    Merge branch 'MDL-77555-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit be58d68f20c50524577162197e64d3ff901c6b72
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 7 22:09:32 2023 +0000

    MDL-77555 reportbuilder: improve SQL generation within filters.

    Use native ANSI SQL syntax for numeric comparisons where possible,
    define filter API for the case where filters must re-use the given
    field SQL while ensuring uniqueness of any field parameters.

    Currently only necessary in the category filter type.

commit 131d80441a88d0d5f3fbf64308fa5b1103b25913
Merge: 571c59b60ee aa9a462a4b7
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 5 08:56:45 2023 +0100

    Merge branch 'MDL-69551_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit 8a588f963ca91ac06fc3186ca137116c2b236b51
Author: AMOS bot <amos@moodle.org>
Date:   Wed Apr 5 00:07:43 2023 +0000

    Automatically generated installer lang files

commit 4e32a42415235f46d672292676cf0e6decb67e1e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed Mar 29 16:01:39 2023 +0200

    MDL-77788 mod_assign: Apply format_string to group names in WS

commit aa9a462a4b702781a5686f19ec5e4cadf7554cd4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue Mar 28 17:35:21 2023 +0100

    MDL-69551 quiz: start quiz password field should be a passwordunmask

    This help accessibility and usability

commit 571c59b60eedd78dc0cdfe106b1d0658723f7763
Merge: 65ba7df04b3 fbbdfefdb6c
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 4 12:06:42 2023 +0100

    Merge branch 'MDL-77712-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE

commit 360f9e37f85cb0c640016c1991e8f689f51d2fe7
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 6 08:35:32 2023 +0000

    MDL-77012 editor_tiny: correct block formats property syntax.

    Co-authored-by: Hiroto Kagotani <hiroto.kagotani@gmail.com>

commit 65ba7df04b33c9e624d7c42263e8f264e791becc
Merge: 2a4f86051b9 b3adaaf47f9
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 12:07:23 2023 +0800

    Merge branch 'MDL-77584-401' of https://github.com/ewallah/moodle into MOODLE_401_STABLE

commit 02aed7f6fcb09f02cdc455f0875eebdedfda2b5a
Author: AMOS bot <amos@moodle.org>
Date:   Tue Apr 4 00:07:43 2023 +0000

    Automatically generated installer lang files

commit 2a4f86051b91e3c32211264d944d3195ca7500e6
Merge: 701541f35b0 b33e5466df2
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 3 14:54:05 2023 +0100

    Merge branch 'MDL-75906-401' of https://github.com/mickhawkins/moodle into MOODLE_401_STABLE

commit 701541f35b03b5d9c7abb8d93ec36599a423eaac
Merge: 839681dc772 bc4b6cf8f79
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 3 10:56:19 2023 +0100

    Merge branch 'MDL-77227-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 839681dc7720181064fc2cd5d59f242ca55213b4
Merge: e1f3e7f2320 fbb6dc4ca3d
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Apr 3 11:53:19 2023 +0200

    Merge branch 'MDL-77807-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b33e5466df2e62b44c9dfff5267a381e32331383
Author: Michael Hawkins <michaelh@moodle.com>
Date:   Mon Apr 3 17:11:02 2023 +0800

    MDL-75906 core: Updated security.txt expiry

commit fbbdfefdb6c730b9dfe58a897090da51f89602f4
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 30 11:09:59 2023 +0200

    MDL-77712 core_course: Fix exception with inplace editor

    * On fresh install, an exception is raised when we try to modify
    the name of a newly inserted activity in the front page

commit 8656271a6355bba746d32e506bacecd435184913
Author: Ferran Recio <ferran@moodle.com>
Date:   Wed Mar 8 10:03:40 2023 +0100

    MDL-77552 core_courseformat: add plugin and module to cm state

    Backport of MDL-77386

commit e1f3e7f23205b70e03c007465bf83f675809dc7e
Merge: a78f3a02c69 f6c4303c582
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 3 10:03:53 2023 +0800

    Merge branch 'MDL-77603' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit f6c4303c582e7d10fe32daf03372a1e2b390a7af
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Mar 2 09:13:09 2023 +0800

    MDL-77603 theme_boost: Add reference to CL update

commit 134dc470c7ee8fc5d26372ef036b371d7aaf7976
Author: Petr Skoda <commits@skodak.org>
Date:   Wed Mar 1 13:01:18 2023 +0100

    MDL-77603 theme_boost: remove Bootstrap version reference

commit 45cd887f3b92c66b2ccac7d61f41a5049a4d265e
Author: Petr Skoda <commits@skodak.org>
Date:   Fri Feb 17 13:05:17 2023 +0100

    MDL-77603 tool_componentlibrary: import Bootstrap v4.6.2

commit b65ec774c5288bcce724674eb57be07c61da3b80
Author: Petr Skoda <commits@skodak.org>
Date:   Wed Jan 18 16:21:30 2023 +0100

    MDL-77603 theme_boost: import Bootstrap v4.6.2

commit 215e9f06885ad2e3dfd1b4c6608fb675064b3a07
Author: AMOS bot <amos@moodle.org>
Date:   Sun Apr 2 00:07:37 2023 +0000

    Automatically generated installer lang files

commit 035ebed95bdceb9c4fc4c117573264a65865d84d
Author: AMOS bot <amos@moodle.org>
Date:   Sat Apr 1 00:07:46 2023 +0000

    Automatically generated installer lang files

commit a78f3a02c692a094108a6620ef45b4fdd89ed5c4
Author: Paul Holden <paulh@moodle.com>
Date:   Fri Mar 31 18:11:53 2023 +0100

    weekly release 4.1.2+

commit 2890546f441e692d21d7e2a2426d66f20d87a7cd
Merge: a1df38dfc6d 1f337e76658
Author: Paul Holden <paulh@moodle.com>
Date:   Fri Mar 31 18:11:51 2023 +0100

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit a1df38dfc6da2226516f3cdd02bef8b37e0ef402
Merge: 82f9585f55f 4ee053a2782
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 31 11:57:27 2023 +0800

    Merge branch 'MDL-59175-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 82f9585f55f53a573b858963b9dc60057ab4678a
Merge: 0f092b86b57 87557383601
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 31 11:48:42 2023 +0800

    Merge branch 'MDL-77794-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 0f092b86b5739ec607f81b0db40a013f9fd04eb6
Merge: 74f3c34cbfb c99abd65ca4
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 31 11:31:05 2023 +0800

    Merge branch 'MDL-77783-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 74f3c34cbfb479b0425d1fa264931d3e30bdac51
Merge: ab3a2445681 8ee689f6124
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Mar 31 09:41:45 2023 +0800

    Merge branch 'MDL-70976-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE

commit 1f337e76658e5c31aa3330bff2b71e281c9b1c8d
Author: AMOS bot <amos@moodle.org>
Date:   Fri Mar 31 00:07:40 2023 +0000

    Automatically generated installer lang files

commit fbb6dc4ca3dc81d07fb62344228eb56c73593060
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 20:40:24 2023 +0100

    MDL-77807 files: normalise file entity size/type column fields.

    The `filename` field was only used by each to determine whether the
    file was itself a directory, and it's presence meant that aggregation
    of each column wasn't working properly.

commit ab3a2445681067104085341582b314eeff4eadf8
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 23 10:31:51 2023 +0100

    MDL-77456 core_courseformat: Fix highlight in course index

    * When navigating to a restricted activity as a student from the course index
    the item is not highlighted when refreshing the page.

commit 7b13a543ad5b9973184dff51b18590e6c083a912
Merge: dd10dead0f8 436ed2c4cb1
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 17:53:20 2023 +0200

    Merge branch 'MDL-77761-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit dd10dead0f8efb734e2792afa99a0351ac4e274c
Merge: b84a48d1eef 7b614d6f51b
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 16:31:21 2023 +0200

    Merge branch 'MDL-77764-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b84a48d1eefa55001ddd2fcf6cebf5a32e0ab82f
Merge: 3794210019d 4f8c5ef086d
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 12:50:09 2023 +0100

    Merge branch 'MDL-76481_401_Brickfield_TCPDF_error' of https://github.com/brickfield/moodle into MOODLE_401_STABLE

commit 3794210019dbf742c413364bfe80b3968cff4664
Merge: cca75ca9568 2b0a0cecdfc
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 13:45:18 2023 +0200

    Merge branch 'MDL-77762-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit cca75ca95686fc1cd6f68982bb8026cdbe1c554b
Merge: 93c91af6a94 d0ddc7692b4
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Mar 30 19:03:40 2023 +0800

    Merge branch 'MDL-77333_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

commit 93c91af6a94492c00418258737043cef360feec4
Merge: 5d10e53ba1e 5df8e8fa5f1
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 10:41:20 2023 +0100

    Merge branch 'MDL-77773-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 87557383601e07275db45e5e27b3e99f06b95f79
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 09:50:51 2023 +0100

    MDL-77794 contentbank: fix plugin type language strings.

    AMOS BEGIN
     CPY [type_contentbank,core_plugin],[type_contenttype,core_plugin]
     CPY [type_contentbank_plural,core_plugin],[type_contenttype_plural,core_plugin]
    AMOS END

commit 4f8c5ef086d17286293c276f11ad860f1de6ce23
Author: Max Larkin <maxlarkin@protonmail.com>
Date:   Thu Mar 30 09:02:35 2023 +0100

    MDL-76481 tool_brickfield: Fix PHP 8 report download

commit 5d10e53ba1efe57c2cc761291296f69c0ced0287
Merge: cc0c62d5644 fd9b8bf4d0e
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 08:47:54 2023 +0100

    Merge branch 'MDL-75017_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit cc0c62d5644356fa87ecbc8b51086c9cf031f012
Merge: d50bb07b2b0 f17b006dcba
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Mar 30 14:22:53 2023 +0800

    Merge branch 'MDL-73771_401' of https://github.com/lostrogit/moodle into MOODLE_401_STABLE

commit 48fb5b6e88f9f59024aa24fda9da6e4a73232a43
Author: AMOS bot <amos@moodle.org>
Date:   Thu Mar 30 00:07:44 2023 +0000

    Automatically generated installer lang files

commit bc4b6cf8f79915dcc05f77e9ad3e2cc6b869d744
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Mar 29 18:15:21 2023 +0200

    MDL-77227 roles: Remove extra information for override page

commit f17b006dcba898d8f029b4b875849f9cebe20456
Author: Carlos Castillo <carlos.castillo@moodle.com>
Date:   Wed Mar 8 09:15:41 2023 -0500

    MDL-73771 theme: Fix scrollbar position

commit d50bb07b2b020237a16e880acb8fe023dd2d880e
Merge: b85f6a660b1 0d4d201a8cf
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed Mar 29 15:27:15 2023 +1100

    Merge branch 'MDL-74452_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE

commit b85f6a660b1370e66efeb1679bc7e7359b92e520
Merge: dd584ab981d 50d1671a54b
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 29 10:58:47 2023 +0800

    Merge branch 'MDL-77740-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit dd584ab981d9187a2a83a1db83615a09365bc60c
Merge: ab9b09908a6 4ce5755a63d
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 09:48:17 2023 +0800

    Merge branch 'MDL-77382-401' of https://github.com/snake/moodle into MOODLE_401_STABLE

commit ab9b09908a6768303c33bd680e6c961046849f45
Merge: 449a8b0b31c 9a05e393dde
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 09:31:51 2023 +0800

    Merge branch 'MDL-76941-401-2' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

commit c99abd65ca4de9e2aac15434490fe15393486f12
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 08:35:30 2023 +0800

    MDL-77783 core: Validate sublugins.json

    * Validate the decoded subplugins.json before processing it.
    * Log errors if subplugins.json is invalid or if plugintypes is not
    defined.

commit 436ed2c4cb14665119c7fb1c6e0ae7a06018d2c4
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Mar 27 22:20:17 2023 +0800

    MDL-77761 core_form: Add label for editor format selector

commit d0ddc7692b40c6e72a0fdffb87a4d86530f7adda
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Sat Mar 25 13:43:55 2023 +0100

    MDL-77333 mod_resource: fixes generator uploading files + tests

    MDL-76499 revealed a few problems with resource generators:

    1. We were not covering with unit tests the upload of files from disk
       (and here it's where the problem was).
    2. There was a little of confusion between disk paths (only needed
       to upload files) and file_area paths (the generator only creates
       or uploads files to the root directory of the file area.
    3. It was possible to request the upload of a file to the generator
       without that file effectively existing.

    This commit fixes those points  and covers 99% of the generator code.

commit 449a8b0b31c2a71081b425dd86c67bd717eb875f
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 15:55:18 2023 +0100

    weekly release 4.1.2+

commit 0f251ce165902ffea9d57c62c14b76d11ea3a197
Merge: 7f6888bd536 1f4daa74026
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 15:55:16 2023 +0100

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 5df8e8fa5f160d34adc45c570f10de393f7e419f
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Mar 28 20:47:49 2023 +0800

    MDL-77773 editor_tiny: Improve initial editor size

commit 7f6888bd536373d428ed2f1717e64072237a0443
Merge: ae63139985e 95d5b0aab09
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 12:38:52 2023 +0100

    Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 95d5b0aab0972bd749c5ac7030ee33985520c6db
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 18:48:31 2023 +0800

    MDL-77105 core: Cast custom data to an array when evaluating filtericon

    Since other modules may treat custom data as an object, we need to make
    cast it to an array before evaluating for the `filtericon` custom data.

commit 9a05e393dded53c474cc169876361708dd5f7e1c
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Mon Mar 20 16:28:37 2023 +0700

    MDL-76941 tool_usertours: Fix accessibility issue when resizing

commit 110ec6a703d1014dfb3f595205c5eea86259b45e
Author: Meirza <meirza.arson@moodle.com>
Date:   Fri Nov 25 22:22:44 2022 +0700

    MDL-77436 auth_oauth2: Update profile fields based on data mapping.

    After the user creation, the system must call an update function to update profile_fields_*.
    We also provided two functions into user/profile/lib.php to get available from other areas.
    We added PHP unit testing for new public functions and
    the Behat tests for custom profile fields with locked and unlocked statuses.

    Co-authored-by: Matt Porritt <matt.porritt@moodle.com>

commit 714764d96611a343a95f1ef62e6ff3de1dd59b87
Author: Matt Porritt <mattp@catalyst-au.net>
Date:   Tue Nov 23 04:31:07 2021 +0000

    MDL-77436 auth_oauth2: Allow admin to choose profile fields for mapping

    Update oauth2 to allow mapping of provider attributes against
    user profile fields. Fields can also be locked to prevent
    user changes.

    Co-Authored-By: Michael Milette <michael.milette@tngconsulting.ca>

commit ae63139985e08535d20216c7832bc5fe521a9f23
Merge: e144ff8a43e cd528df0931
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 12:06:17 2023 +0800

    Merge branch 'MDL-77630-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE

commit e144ff8a43e9db8d6250ca35e7b7564ee865a224
Merge: 6b96cf8676b bc1d7e854be
Author: Jake Dallimore <jake@moodle.com>
Date:   Tue Mar 28 11:42:42 2023 +0800

    Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit cd528df09310c04d3e02b27d78b2e179d4675883
Author: Meirza <meirza.arson@moodle.com>
Date:   Tue Mar 28 09:39:01 2023 +0700

    MDL-77630 mod_forum: correct typo in variable names

commit 6b96cf8676bcba04c1232963f457308fe036ba0e
Merge: e7cda153a23 b296667ebf9
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 07:04:42 2023 +0800

    Merge branch 'MDL-77670-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE

commit 2b0a0cecdfcb227381edb13dae8225add852406c
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 17:54:34 2023 +0100

    MDL-77762 contentbank: always provide exit button when appropriate.

    If the current user can access the content bank in the context of the
    current item, then provide link back to it.

commit 7b614d6f51b2dd47c5430067ac43bb072a968b2c
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 16:51:52 2023 +0100

    MDL-77764 contentbank: add field label to context selection element.

commit e7cda153a23c98465e19682a919a5d7d6204ad6a
Merge: 0d6eaef2002 c55f219d77b
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:56:30 2023 +0200

    Merge branch 'MDL-76376_m41' of https://github.com/jrchamp/moodle into MOODLE_401_STABLE

commit 0d6eaef200264cece962c3ca632342560747bd4f
Merge: f32c46bf0ca 3fee9d949f6
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:50:31 2023 +0200

    Merge branch 'MDL-77659_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE

commit f32c46bf0cad66c6904c61ceaeddb624e547837f
Merge: 8c9b54cc5d7 eeae99afc7d
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:08:26 2023 +0200

    Merge branch 'MDL-73226-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE

commit eeae99afc7d60fefda989418bb04aa26229b5dfd
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu Mar 16 16:56:07 2023 +0100

    MDL-73226 files: Add quota checks to core_user_add_user_private_files

commit 8c9b54cc5d72fbb04e74a8ebd0b7be2550959f95
Merge: da42c763000 b924f6a3558
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 12:41:18 2023 +0200

    Merge branch 'MDL-76303-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE

commit da42c76300056179a1af1cacb8e6c2c8fefcbf24
Merge: c2714ff1af8 c1c1ca6e4d4
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 11:09:26 2023 +0100

    Merge branch 'MDL-77729_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit c2714ff1af82324fd592ceaadbfae5a50a26ae55
Merge: 5898c3e5dd8 7c1c1071e76
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 11:43:26 2023 +0200

    Merge branch 'MDL-77561-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit f2cbacbd2403967672850af0da45f4544e6d2868
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 7 16:48:51 2023 +0000

    MDL-77555 reportbuilder: method to ensure unique parameters in SQL.

commit bc1d7e854be0b9c8baad4120a5912585db47c328
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Feb 13 13:17:18 2023 +0800

    MDL-77105 core: Add upgrade.txt notes

commit 99bc8f2b309b3dca1c339b22fd98fde68c99ba6b
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 22:34:45 2023 +0800

    MDL-77105 mod_url: Declare filtericon custom data

    * Set a custom data `filtericon` when the icon being rendered for the
    URL resource is not equal to the default plugin icon.

commit 67f739499b3840ffc4cfae5a5a04c8dcd33bf3ab
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 19:06:59 2023 +0800

    MDL-77105 mod_lti: Add 'nofilter' class for custom tool icons

    Add a '.nofilter' class when rendering custom tool icons in order
    to render them as is and without CSS filter on the activity chooser.

commit 538e17e199ce7c96ae421f2e29100f7667ebebe3
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 22:33:37 2023 +0800

    MDL-77105 core_course: Add 'nofilter' class for non-monologo icons

    When rendering content items, check whether the plugin has monologo
    icons. If so, add a 'nofilter' class so the plugin icon can be
    rendered as is and without the CSS filter.

commit 28d8c9c1e73d28d8ccc33738e7cd2743054f759c
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 18:43:25 2023 +0800

    MDL-77105 block_timeline: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the timeline block.

commit 18703b71acaa4409305f584b91acfbafeb1149b9
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 18:42:47 2023 +0800

    MDL-77105 block_recentlyaccesseditems: Add 'nofilter' class

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the recently accessed items block.

commit f59220a76d0259f9b8547b575f89e14ae7ccf722
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:59:31 2023 +0800

    MDL-77105 theme_boost: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the context header on the activity page.

commit 84198e03c76ca3e46f58c3b447f4a3d9cd4c2b2d
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:21:43 2023 +0800

    MDL-77105 course_format: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the course homepage.

commit f5d445a68fd9235acb18057733ef1ede8df72867
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:19:54 2023 +0800

    MDL-77105 core: Conditionally apply icon filter

    * Apply the filter CSS property only to activity icons
    that don't have the ".nofilter" class. This will allow
    activities with non-SVG icons to be rendered as they are.

commit 30b0b0cf40b5f8c764e86c8c58f2986cfe0f4d79
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:17:34 2023 +0800

    MDL-77105 core: Add a filtericon parameter to course mod icon URLs

    * If a plugin defines a `filtericon` custom data or uses its monologo
    version of the icon, a `filtericon` parameter is being added to the
    icon's URL. This information can help plugins determine whether to
    render the activity icon as is or with CSS filtering.

commit 69948eda103573ceb38fc54f0d34f500460e6e2b
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Mar 27 10:30:26 2023 +0800

    MDL-77105 core: Method to determine whether a plugin has monolog icons

commit 1f4daa74026ea8a4a7f391444541ed7050fe6f93
Author: AMOS bot <amos@moodle.org>
Date:   Sun Mar 26 00:07:41 2023 +0000

    Automatically generated installer lang files

commit c1c1ca6e4d4c72024a76d769e3eadce293a1e2d9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat Mar 25 15:38:04 2023 +0000

    MDL-77729 qformat_missingword: fix form of help link

commit 50d1671a54b81d8ed0437927ce5ab8a55f6ea891
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 24 21:27:36 2023 +0800

    MDL-77740 editor_tiny: Set the Editor window from the iFrame element

    This is a workaround for an upstream bug which I have not been able to
    reproduce outside of Moodle whereby the editor.contentWindow does not
    math the editor.iframeElement.contentWindow when it should.

    This issue only seems to affect Firefox, and it may even be a bug in
    Firefox. It can only be reproduced when using a fresh browser which has
    never had a TinyMCE window open.

commit fd9b8bf4d0e2fab32e215c0c411946398b7a1819
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Mar 24 10:41:38 2023 +0000

    MDL-75017 questions: give a clear error if the context type is invalid

commit e405e6fd6ac3645e60e64866046dca50409853c1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Mar 24 12:55:57 2023 +0000

    MDL-75017 questions: fix weird setup in qformat_xml_import_export_test

commit 5898c3e5dd834d50cd7f6cda30818f5614b09b2e
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 24 13:59:31 2023 +0100

    weekly release 4.1.2+

commit d2bc54fba9ec198ab1a7170d3a9faf66f19b6cc2
Merge: 9b07f56addc 29a1cf86a38
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 24 11:51:36 2023 +0800

    Merge branch 'MDL-77669-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 9b07f56addcca5915787503b82da399150a04919
Merge: d2d49e150b1 4bc3782c4cc
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 24 10:40:36 2023 +0800

    Merge branch 'MDL-77626_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit 7c1c1071e769430362e7a3d5c94cd22d110d682a
Author: Simey Lameze <simey@moodle.com>
Date:   Thu Mar 23 09:44:46 2023 +0800

    MDL-77561 behat: add step to accept dpa and enable bigbluebutton

    The step i_enable_plugin cannot be used as bigbluebuttonbn_default_dpa_accepted
    setting needs to be enable in order for the BigBlueButton plugin to be enabled.

commit d2d49e150b1a266e539e0e1623a1f0701e032c5e
Merge: a7d71e0e2d1 ee3924702fe
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 23 18:30:27 2023 +0100

    Merge branch 'MDL-77705-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit a7d71e0e2d10449ab04e0ac29d61dc0cfd68f5dd
Merge: 3fa384384e4 71e751565cd
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 23 17:53:45 2023 +0100

    Merge branch 'MDL-77666-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b924f6a3558fd0efebe68b87a8475061e113e9ec
Author: Shamiso.Jaravaza <33659194+ssj365@users.noreply.github.com>
Date:   Fri Mar 10 11:21:34 2023 -0700

    MDL-76303 mod_bigbluebuttonbn: Fix userlimit

commit 3fa384384e47ceb25b577eceb69c68da26b722f3
Merge: fe07140e275 66e88ace0fb
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 23 12:25:29 2023 +0000

    Merge branch 'MDL-77392-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE

commit 66e88ace0fbfc20c76718a7f0379ae8f2bff2174
Author: Stephan Robotta <stephan.robotta@bfh.ch>
Date:   Tue Mar 14 16:18:00 2023 +0100

    MDL-77392 calendar: calendar items are hidden because of settings

commit fe07140e275d3d448a30636417c3e22abfdc2306
Merge: fad4e118a48 0b2085648e0
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 23 11:43:41 2023 +0000

    Merge branch 'MDL-77691-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE

commit fad4e118a48eead60be0cf27fb765fb798861ae8
Merge: 0d80eea9afb 939a4163082
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Mar 22 14:06:07 2023 +0100

    Merge branch 'MDL-77380-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit 0d80eea9afbdc536b2f7e5525c45ae0fb879cc12
Merge: 0b973b52e9b fac18282224
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Mar 22 13:50:11 2023 +0100

    Merge branch 'MDL-77692-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 0b973b52e9b23c85b58926671cee38a6a72742ab
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 22 09:37:08 2023 +0800

    weekly release 4.1.2+

commit b158354710e5b6cdad63eba0d3bf9dd9a5c139d8
Merge: 28d1db2f1dd 9e97a353ada
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 22 09:37:06 2023 +0800

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit ee3924702fea42d178ec682f95bbc972e10b8a23
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 21 16:02:54 2023 +0000

    MDL-77705 reportbuilder: avoid re-using field alias between entities.

    Ensure that when the user entity is added multiple times to a report,
    when there are custom profile fields, each of those gets a unique table
    alias per-entity.

commit 0d4d201a8cf35b7e7f6565e3d3def74da75f7f89
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:17:13 2023 +0000

    MDL-74452 quiz: Display an error if all versions are in draft status

commit 0b2085648e0b55a33772fea66dc0776de1ca93dc
Author: Mikel Martín <mikel@moodle.com>
Date:   Mon Mar 20 13:54:47 2023 +0100

    MDL-77691 behat: Add step to navigate to profile page directly

commit 939a4163082586e7327521349558ba11b1bb3447
Author: Simey Lameze <simey@moodle.com>
Date:   Wed Mar 8 10:34:35 2023 +0800

    MDL-77380 block_myoverview: improve show toggle functionality test

commit 28d1db2f1dd0d72cec46563398c2f7299dd01da2
Merge: ea915c29e5d 5a7ad7b2847
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 21 12:01:01 2023 +0800

    Merge branch 'MDL-75746_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE

commit 084c120c79db05a154b90f52255bb195d668dabf
Author: Angelia Dela Cruz <andelacruz@ubiquitous-tech.com>
Date:   Thu Mar 16 13:14:28 2023 +0800

    MDL-77577 Behat: Replaced the use of "Install selected language pack(s)

    Evaluated usage of "Install selected language pack(s)" in Behat and
    replaced the steps to use generator to install language packs as part
    of test setup.

commit 29a1cf86a383d2b2f7769935c4f923e2c3c6645c
Author: Meirza <meirza.arson@moodle.com>
Date:   Fri Dec 16 20:52:11 2022 +0700

    MDL-77669 dml: Added extrainfo in the DB options config.

    extrainfo is an extra information for the DB driver, e.g. SQL Server,
    has additional configuration according to its environment,
    which the administrator can specify to alter and override any connection options.

    Co-authored-by: LukeCarrier <luke@carrier.im>

    This is a backport of MDL-64153.

commit ea915c29e5d034b3d897a22cc8374222e07e6074
Merge: deced83b06b f8301fb4bc3
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Mar 21 08:24:59 2023 +0800

    Merge branch 'mdl-72533-event-table-performance-MOODLE_401_STABLE' of https://github.com/petersistrom/moodle into MOODLE_401_STABLE

commit deced83b06b7bb0eb4942b6d2ed5255d26bc7b56
Merge: 502536c16e4 34c452afb42
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 20 17:04:54 2023 +0000

    Merge branch 'MDL-72124_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE

commit fac18282224d779fb018ff0a45f6b328f17cf9eb
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 20 16:09:25 2023 +0000

    MDL-77692 reportbuilder: format custom field condition/filter names.

commit 502536c16e485cc151918fadaa…
danchamp added a commit to Rosedean-Group/moodle that referenced this issue May 2, 2023
commit 4901ffe1ba570e14a46501050d7e4f36cdb9b78d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 27 19:28:38 2023 +0800

    weekly release 4.1.3+

commit 013735af51835aadaf18d97fb20b14238a6956ad
Merge: 6c890a63306 b04fab1a2af
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 27 11:08:54 2023 +0800

    Merge branch 'MDL-77883-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE

commit 6c890a63306823d53894ba05b6803031fda84dad
Merge: 9a3430f3fef a9f629fbf91
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 27 10:40:43 2023 +0800

    Merge branch 'MDL-77997_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit 9a3430f3fefadfa5b5fe8da239092b910a38e1e2
Merge: 79982a82a43 f3ae5116d03
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 25 15:18:42 2023 +0200

    Merge branch 'MDL-77313-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 79982a82a43159cbba2ea8decb686a35efba2f14
Merge: 4ee0bdfda60 4ec5aac7347
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 12:36:09 2023 +0100

    Merge branch 'MDL-78007-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

commit 4ee0bdfda60ec925e54bc26936308a2497c6063f
Merge: d10d553890d 60a2798da74
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 11:54:17 2023 +0100

    Merge branch 'MDL-73331_401_toolbrickfieldadvancedtab' of https://github.com/brickfield/moodle into MOODLE_401_STABLE

commit d10d553890da891e32d4c44926e3ebd388b0ba70
Merge: b2d07127484 952c8770b60
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 09:38:37 2023 +0100

    Merge branch 'MDL-77766-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 952c8770b60288df1596020329246800555f3e37
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Apr 24 20:07:57 2023 +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.

commit 132ac7486dc86c7cce507da92374251e1f5b8e42
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Apr 24 20:07:38 2023 +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.

commit a9f629fbf9150d6bf21da023e6c614e17001545a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Apr 21 18:39:44 2023 +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.

commit f3ae5116d033e1a5d40a06bae5667836bf38d728
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Feb 21 12:12:16 2023 +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.

commit 4ec5aac73470b418defac7d465428420cd0db7c7
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Mon Apr 24 15:53:37 2023 +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

commit b04fab1a2afeedacbe179c45ea97da25b4b6d5b3
Author: danghieu1407 <danghieu140701@gmail.com>
Date:   Mon Apr 24 13:54:37 2023 +0700

    MDL-77883 forms: fix display of client-side validation for textareas

commit b2d07127484b34fa1489ccf554087dd7335ea396
Author: Jun Pataleta <jun@moodle.com>
Date:   Sat Apr 22 16:22:40 2023 +0800

    Moodle release 4.1.3

commit f70a6d32cd7f53afc4e87bdc075c1a847dfbe04e
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Fri Apr 21 19:19:12 2023 +0200

    weekly release 4.1.2+

commit f691ccf8c61d207d744837f7dc3283f6cd9b6d0a
Merge: ceb2f856b03 a6a0e98e53d
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Fri Apr 21 19:19:07 2023 +0200

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit ceb2f856b03764cd0fc8561956c7f9758d5c188d
Merge: 955d89710ef 526e1af88be
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 16:52:21 2023 +0800

    Merge branch 'MDL-77927-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE

commit 955d89710ef9d33c9c142e83385fa63a8c290751
Merge: 8fb9177b749 b142840de18
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 16:44:38 2023 +0800

    Merge branch 'MDL-77229-patch-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit 526e1af88be53dda8a1d138bb794d02b5f920dfb
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 23:30:45 2023 +0800

    MDL-77927 core: mod_assignment subplugins environment check

commit b142840de184d7ae2da9832f34c1e66d714164af
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 15:03:02 2023 +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

commit 8fb9177b749cd392aa03ad035a89bda2cb4da150
Merge: b5a65e56fdf 6e15a26dcee
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 12:11:40 2023 +0800

    Merge branch 'MDL-77229-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit 6e15a26dcee98d935c960766915739daa70de667
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 11:59:27 2023 +0800

    MDL-77229 lesson: Add Behat test

commit b5a65e56fdf9d3eb62c93777a3fec42771d542c9
Merge: 9290627da9e c28cd3215b8
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 11:10:39 2023 +0800

    Merge branch 'MDL-77896-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit a6a0e98e53d83a64fab822135e5540304f3ebf14
Author: AMOS bot <amos@moodle.org>
Date:   Fri Apr 21 00:07:41 2023 +0000

    Automatically generated installer lang files

commit c28cd3215b8b7aca10905e7e16769975cd6ba058
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 16:34:00 2023 +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>

commit 39084a098b210ffff2d49847bc988b969a5001e6
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu Apr 20 11:13:23 2023 +0200

    MDL-77229 lesson: Fix error for empty responses (numerical pagetype)

commit 9290627da9e4555e19aaac13b125b9bb86e44262
Merge: bb5bd2eed89 f01ad401452
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 16:29:14 2023 +0800

    Merge branch 'MDL-73012-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE

commit bb5bd2eed893479fb904260248bd18d0fd2ea30a
Merge: 12195684b47 110ec6a703d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 20 16:23:19 2023 +0800

    Merge branch 'MDL-77436-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE

commit 12195684b476ce8cc01e170703ccc51fb12396dd
Merge: 339dfec4201 1d64897a3ca
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 16:10:10 2023 +0800

    Merge branch 'MDL-77922-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit f01ad4014527c6caf791032f34f410e722f2290f
Author: Ferran Recio <ferran@moodle.com>
Date:   Thu Apr 20 09:56:10 2023 +0200

    MDL-73012 core_courseformat: add pending to move section modal

commit 1d64897a3ca984143e36f3b42fd0875b8a08c20e
Author: Ferran Recio <ferran@moodle.com>
Date:   Tue Apr 18 13:22:08 2023 +0200

    MDL-77922 core_courseformat: add pending to move activity modal

commit 339dfec4201517dfb120cce810616a2ca10724c9
Merge: 1d16c049f37 084c120c79d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 20 12:33:38 2023 +0800

    Merge branch 'MDL-77577-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE

commit 1d16c049f3704781385d76f7cea783716a3f9e85
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Mar 23 10:17:48 2023 +0800

    MDL-77718 editor_tiny: Restrict the revision to int for loaders

    The revision should always be an int. I suspect this was missed during
    debugging and not corrected.

commit 4d4635228d7facf566af2f10ddb6963143ac55be
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Feb 8 16:49:38 2023 +0000

    MDL-77187 mod_wiki: validate external method sort parameters.

commit ce9cb1156c52ee16a9032c798c90804206a59c9e
Merge: c0429c1c902 ee519b690cc
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 14:13:04 2023 +0100

    Merge branch 'MDL-77897-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit c0429c1c902ff01cbfd797f10a9cc02652689c85
Merge: be8c02fc2c6 c0bea2a82db
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 13:41:32 2023 +0100

    Merge branch 'MDL-77960-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit be8c02fc2c68229dce8b4375c1e08e967a30ea72
Merge: 99b5e1059d6 bc85007834c
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 13:06:41 2023 +0100

    Merge branch 'MDL-77944-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 60a2798da74985b7767109998b30899ec833e2d2
Author: Max Larkin <maxlarkin@protonmail.com>
Date:   Wed Dec 8 11:42:23 2021 +0000

    MDL-73331 tool_brickfield: Update advanced tab display

commit 99b5e1059d61e4b3553ebe266a3d2059fc681248
Merge: 814c63fcc3d 24335d67bb8
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 09:03:22 2023 +0100

    Merge branch 'MDL-77898-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit ee519b690ccb2b5eca62bf144de963a1bfe52e83
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Wed Apr 19 14:57:10 2023 +0800

    MDL-77897 editor_tiny: Save editor content on editor blur

commit 814c63fcc3d5f9db33fe8caf3bed88056c9a4432
Merge: 799e962f1fd 40fad4d6b7d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Apr 19 13:32:36 2023 +0800

    git fetch https://github.com/paulholden/moodle.git MDL-77935 && git merge --no-ff FETCH_HEADMerge branch 'MDL-77935-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 799e962f1fd7451cc16909347520ecc6f666abcb
Merge: fc6764324a1 e9fcdec98b0
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Apr 19 12:37:45 2023 +0800

    Merge branch 'MDL-77953_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

commit c0bea2a82db6792826067647253d29b2e2196a8e
Author: Simey Lameze <simey@moodle.com>
Date:   Wed Apr 19 11:49:30 2023 +0800

    MDL-77960 behat: make verification steps more specific

commit e9fcdec98b086c8a55dbbb8b09d98fe9e55b36e5
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue Apr 18 16:03:19 2023 +0200

    MDL-77953 pagelib: Ensure that null $SCRIPT continues behaving the same

    It's possible to have some Moodle components soft linked instead
    of being real directories within codebase (within dirroot).

    For example, Composer's "vendor" directory can be soft linked
    (from elsewhere), or also plugins can be installed using soft
    links.

    In those cases, Moodle calculates the $SCRIPT global as null. And,
    then, string operations on it are emitting a PHP deprecation message
    with PHP 8.1 and up.

    This fix just ensures that the behaviour is the same than before
    PHP 8.1, aka: ltrim(null) = '' (empty string), without any PHP warning.

commit fc6764324a1e8f0305e76f00d81ce44f7f2ab69b
Merge: b71f01981a5 1b828701a6a
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 23:35:19 2023 +0800

    Merge branch 'MDL-77895-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b71f01981a5940f9aabc297bc6f97a31d2bda370
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 22:28:09 2023 +0800

    weekly release 4.1.2+

commit 5d1fcb942a1304111220e96b225b865df89dd2e5
Merge: f8e468c41af 76ab8a1c513
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 22:28:06 2023 +0800

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 24335d67bb8e08bd0b4a09a9e5cf1c65114daed7
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Apr 12 23:41:53 2023 +0800

    MDL-77898 calendar: Add iconclass for upcoming_mini template

    The icon's iconclass context data adds additional CSS class(es) to
    calendar event icons to better control how the event icon is displayed.
    e.g. without filtering for activity events that don't hae monologo
    versions of their icons.

commit 1b828701a6ae367d449578482529ebb90f6b88e3
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 12 14:50:59 2023 +0100

    MDL-77895 editor_tiny: standardize quickbar selection toolbar.

    Ensure the same heading tags are available as those defined in the
    editor block formats configuration (c51b7e2c).

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

commit f8e468c41aff34dd152dd83001b90a284ff062fa
Merge: b07df211ce4 31a3c8cda47
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 14:28:44 2023 +0800

    Merge branch 'MDL-77916-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b07df211ce430732e3c227f16522702dc71f1730
Merge: 4c289966d38 b796cbd03cc
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 12:31:46 2023 +0800

    Merge branch 'MDL-77829-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE

commit 4c289966d38ecf7cd29627d889aa7ee2b5eba152
Merge: 0d0fbec6166 38f5c818cbd
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 12:10:56 2023 +0800

    Merge branch 'MDL-77735-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE

commit 0d0fbec6166ea89122b50d00f49e5f8c1b41f59c
Merge: ca751bdc1f6 eb12428324d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 12:01:46 2023 +0800

    Merge branch 'MDL-77770-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit ca751bdc1f61b83b0b4e4dd7f2483268f919de5b
Merge: dd553c14066 faa121ad306
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 11:18:32 2023 +0800

    Merge branch 'MDL-76855-401' of https://github.com/Chocolate-lightning/moodle into MOODLE_401_STABLE

commit bc85007834ca1b898eba2b02f92a62156202e71d
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 09:02:16 2023 +0800

    MDL-77944 behat: Rename chrome options for w3c support

    From Selenium 4.8.0, support for non-w3c browser control has ended.

    We only use W3C browser control these days, and this was missed as part
    of the move to W3C. All browser options must be vendor-prefixed.

commit dd553c140660c192d7fc0e4086e18c55491e6ae3
Merge: 242ecbf7f31 2f601f1e51f
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 08:59:30 2023 +0800

    Merge branch 'MDL-77827-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

commit 76ab8a1c513795bf3213584130e2c32ad2177bf1
Author: AMOS bot <amos@moodle.org>
Date:   Tue Apr 18 00:07:38 2023 +0000

    Automatically generated installer lang files

commit 242ecbf7f31971a015909d54147d0f751f4c47d1
Merge: cbfde8c11a4 1265b0ad84e
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 19:12:36 2023 +0100

    Merge branch 'MDL-77878-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE

commit cbfde8c11a43f593eec516bb045ec72610014ede
Merge: df4f8dd322a 3502ad3da76
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon Apr 17 21:27:56 2023 +1000

    Merge branch 'MDL-76998-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit df4f8dd322a78f5c4ac5e14d98b44001033f5016
Merge: 60ab09ac87c 5b8ad6ae30e
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 11:50:54 2023 +0100

    Merge branch 'MDL-76212-401-nav' of https://github.com/kevpercy/moodle into MOODLE_401_STABLE

commit 60ab09ac87cb3b61df511f1a2eb1812b7de9158a
Merge: 797cbcc3dac 8dc9cd6cdce
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 11:06:14 2023 +0100

    Merge branch 'MDL-77324-401-2' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit 40fad4d6b7d1e7c742059f6bc482094376de0165
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 09:26:16 2023 +0100

    MDL-77935 contentbank: avoid phpunit crashes during isolated tests.

    Simplify the test for allowed contexts by removing problematic use of
    data provider annotation.

    See: https://github.com/sebastianbergmann/phpunit/issues/2739

commit 1265b0ad84e72a6e031057140b22f2b2cdce9c0e
Author: Víctor Déniz <victor@moodle.com>
Date:   Sun Apr 16 21:32:32 2023 +0100

    MDL-77878 lang: Use fixed strings in tests

commit faa121ad30628ca2eb84ac3bb724404d9922c2c6
Author: Mathew May <mathewm@hotmail.co.nz>
Date:   Mon Apr 17 11:24:51 2023 +0800

    MDL-76855 gradereport_user: Prevent parent access errors

commit 797cbcc3dacd8fde3c4021342c4648972dfd398a
Merge: 6bac9104343 c8f105800c3
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Mon Apr 17 11:17:04 2023 +0800

    Merge branch 'MDL-76995-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 6bac9104343db3e85893863a86cf9764b315da0c
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 17 10:58:38 2023 +0800

    MDL-76994 core_course: Fix version for weeks and topics course formats

commit a9b4b297ac7584ea651e5a95086a025268461cf7
Merge: 82a7b26648a 073deca0e1e
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Mon Apr 17 10:32:33 2023 +0800

    Merge branch 'MDL-77606' of https://github.com/skodak/moodle into MOODLE_401_STABLE

commit 073deca0e1ed66a846ad20df838e9806ab265e89
Author: Petr Skoda <commits@skodak.org>
Date:   Sun Mar 26 13:22:01 2023 +0200

    MDL-77606 grunt: fix Windows compatibility

    Backport of MDL-77748.

commit 2cc1182b1672baef1b62c458aeac5aa3810ecbc7
Author: Petr Skoda <commits@skodak.org>
Date:   Wed Jan 18 17:28:33 2023 +0100

    MDL-77606 core: switch to Dart sass

    Backport of MDL-73144.

commit 82a7b26648a359a8db96c3e23795be7005e774ed
Merge: 96f0478ec1d 15a5a938b60
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 17 09:47:04 2023 +0800

    Merge branch 'MDL-76994-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 2db1ddd290c8125a1c5080a88e13aa93c2b65bee
Author: Helen Foster <helen@moodle.org>
Date:   Sun Apr 16 20:49:02 2023 +0100

    MDL-77878 lang: Import fixed English strings (en_fix)

commit 96f0478ec1d1295935973a29b787a24afd82cff9
Merge: 38c35247e9e 39cf5561113
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 14:02:18 2023 +0200

    Merge branch 'MDL-77913-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 38f5c818cbd53ba44f47573712b42562b1451241
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 24 12:42:53 2023 +0100

    MDL-77735 core: Check $CFG->lang isset

    In some cases, $CFG->lang might not be set, and this is causing a
    Notice to be displayed when, for instance, database connection fails.
    This patch should fix this case.

commit 38c35247e9e8ccaecf13ce0e794699f5a47a84a5
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 10:50:08 2023 +0200

    weekly release 4.1.2+

commit 242dcfbc5525fb2385325774e56a0493c37cf4d9
Merge: 4c4be40c774 1066f5fe68a
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 10:50:03 2023 +0200

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 2f601f1e51f5a3e97b0ad05c5acaa425b79af7c2
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Fri Apr 14 09:24:32 2023 +0700

    MDL-77827 events: Changed JSON comparison to be less strict

commit 31a3c8cda47872e6c4cd73518d383a1f9b3b03e1
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Apr 13 23:12:13 2023 +0100

    MDL-77916 h5p: register autoloader in helper testcase.

commit 39cf5561113f41b6051a97082b10e8deb3afd025
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Apr 13 21:13:41 2023 +0100

    MDL-77913 qbank_previewquestion: deterministic ordering of versions.

    Ensure the ordering of loaded question versions is consistent, avoids
    random Oracle failures.

commit 4c4be40c774806523bb9238bd68724081fca16b3
Merge: bc34e3fef3f ab0038da849
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 17:32:03 2023 +0200

    Merge branch 'MDL-76986-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE

commit c8f105800c38925ac26987ade09d4a203ade2b86
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Feb 8 22:28:41 2023 +0100

    MDL-76995 core_courseindex: Apply indentation in the course index

commit 3502ad3da76e52e17c3341d3764aa330647fcc53
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Mon Mar 13 12:34:42 2023 +0100

    MDL-76998 admin: Option to reset course indentation

commit 15a5a938b60310a3252c6531d223456c71441f1c
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Mon Mar 13 11:47:05 2023 +0100

    MDL-76994 tool_mobile: Return course format indentation setting

commit ec4eacd1dab0d568f7681f7dae9d9607cad9c49e
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Mar 8 12:41:11 2023 +0100

    MDL-76994 core_course: New course format setting to enable indentation

commit bc34e3fef3f3dbee299baf51996da1e908b1f04c
Merge: 6aef92c24af f336875b1a7
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 16:24:28 2023 +0200

    Merge branch 'MDL-76859-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE

commit 6aef92c24af163ff10ab80c8982de2c426edbed9
Merge: 4b7c58febfd 6ae5ee18a0f
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 16:20:06 2023 +0200

    Merge branch 'MDL77833-course-content-chng-notificatn-multilang' of https://github.com/Amrita1991/moodle into MOODLE_401_STABLE

commit 4b7c58febfd9103460bf51151df76a81a738515c
Merge: 4ed6c8fbce2 d49ebb79c55
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 13:45:00 2023 +0200

    Merge branch 'MDL-77860-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 4ed6c8fbce23a8fbae6420657332c06e30d16037
Merge: af585fc7550 4e32a424152
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 13:16:55 2023 +0200

    Merge branch 'MDL-77788-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE

commit af585fc7550a318d203317906a5919a646ab4681
Merge: ead79582191 6e27e9e4814
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 12:19:16 2023 +0200

    Merge branch 'MDL-77618-admin-password-autocomplete-MOODLE_401_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_401_STABLE

commit 6ae5ee18a0f47ba55882284de64ba42b0833eeaa
Author: Amrita Deb Dutta <amritad1991@gmail.com>
Date:   Mon Apr 3 12:30:52 2023 +0200

    MDL-77833 course: content change notification multilang processing

    adding context to format string

    content change notificatn coursename multilang processing

    change context param

commit ead79582191ff0848cddb9925a0363e75880a22e
Merge: 69749509aba 9fbd5fb2192
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 11:20:32 2023 +0200

    Merge branch 'MDL-77256-401' of https://github.com/rbravod/moodle into MOODLE_401_STABLE

commit 8dc9cd6cdce05de9c37c0f066b4d3d888eaf5419
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 6 15:07:16 2023 +0800

    MDL-77324 gradereport_singleview: Make action menus consistent

commit 69749509abaca5e9896805fcbcf8114e1b6b5ac3
Merge: 59eac981ebb 85a7c17414e
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 09:43:05 2023 +0200

    Merge branch 'MDL-77856-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 59eac981ebb22f70eaeb23791a77301d5fefd010
Merge: a8eb4819804 2cde9578977
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 09:19:58 2023 +0200

    Merge branch 'MDL-77468-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE

commit ab0038da849906216516c751ff8534d68c979f66
Author: David Woloszyn <david.woloszyn@moodle.com>
Date:   Thu Apr 13 16:01:44 2023 +1000

    MDL-76986 editor_tiny: Convert language code format for getting strings

commit 2cde957897726a657275ad6c0f796c88028c0449
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue Mar 21 16:01:33 2023 +0100

    MDL-77468 user: Fix invalid check for group belonging

commit a8eb481980479472df9e127bc0c39e41dd9e72f9
Merge: 26aaa7486a8 127174088aa
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 18:19:40 2023 +0200

    Merge branch 'MDL-73610_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

commit 4c533b82045669c1c89efa93921094a7d0196bc5
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue Mar 21 09:47:08 2023 +0100

    MDL-77468 user: Make user profile visibility consistent web and ws

commit 26aaa7486a8fed39ca7b9042ff46621abe22e5ce
Merge: 6381daf52a6 360f9e37f85
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 14:09:33 2023 +0200

    Merge branch 'MDL-77012-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit f336875b1a777ce1e51c658848bd585e86ac72fa
Author: Petr Skoda <commits@skodak.org>
Date:   Sun Feb 19 18:32:03 2023 +0100

    MDL-76859 h5p: Fix behat failures

    - Only resize if the H5P EmbedCommunicator is defined (otherwise, it was causing a
    JS error)
    - An unnecessary image has been removed from the greeting-card.h5p fixture package.
    That way, the text will always be displayed (even if the iframe is still not
    resized). Instead of replacing the original greeting-card-887.h5p file, I've
    renamed it to greeting-card.h5p, to remove these ugly and unnecessary numbers
    at the end of the file name).

commit 6381daf52a6d64fb926ccb9af795a3c750feab52
Merge: 5563e99f2c2 3a38791d620
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 09:54:22 2023 +0200

    Merge branch 'MDL-76993-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 5b8ad6ae30e8325d6aa434ec5c51ed01f54c2459
Author: Kevin Percy <kevin.percy@moodle.com>
Date:   Wed Feb 8 20:33:50 2023 +0800

    MDL-76212 gradebook_nav: Fixed tertiary nav for smaller screens

commit 3a38791d620bf90b88a21017e7287ecf47452aae
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Feb 8 17:04:04 2023 +0100

    MDL-76993 core_course: Recover move right/left functionality

    This is a backport of MDL-76990

commit 5563e99f2c2d84f5325951d403c08b54f5381af3
Merge: 8bc1c231d6e 202718f9682
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 12:12:49 2023 +0200

    Merge branch 'MDL-77837-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 8bc1c231d6e2ef89709f5916c3d7ebb86595e4b4
Merge: 1226208a64c 8656271a635
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 11:13:41 2023 +0200

    Merge branch 'MDL-77552-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE

commit 1226208a64c167e26f5ded97e50f0e460e1f6eb9
Merge: 725277eb8b8 8b31922739f
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 10:17:08 2023 +0200

    Merge branch 'MDL-77148_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE

commit 725277eb8b84a2b8da38f98e444b4303fc997039
Merge: f8e24455138 b631966a70d
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 10:04:41 2023 +0200

    Merge branch 'MDL-77612-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE

commit b631966a70d8a0297d501c7e0bfcb48913cc960b
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 16 09:14:03 2023 +0100

    MDL-77612 mod_label: Label name fix

    * The @@PLUGINFILE@@ placeholder or URLs should not be displayed in the
    course index for labels

commit b796cbd03cc35f9dae70d61899b5565f095ff6cd
Author: Stevani Andolo <stevani.andolo@moodle.com>
Date:   Wed Apr 5 11:45:24 2023 +0800

    MDL-77829 core: Added environment check for mod_assignment

    Decided to add an environment check before uninstalling the
    mod_assignment plugin to prevent data lost.

commit 1066f5fe68a4b633ff90a5a25bc4746c3a5aa8d7
Author: AMOS bot <amos@moodle.org>
Date:   Fri Apr 7 00:07:35 2023 +0000

    Automatically generated installer lang files

commit 202718f968247943fcd38d4f3862e9c428251b89
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Apr 6 16:27:38 2023 +0800

    MDL-77837 core: Improve usage docs for cron_setup_user

commit 44d734147aadb67b598c84858c157921e12d5306
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 09:26:34 2023 +0800

    MDL-77837 phpunit: Ensure that the cron user setter is used

    When running an adhoc task in a unit test we should use the cron variant
    of the set user method to mimic the behaviour of a real cron run.

commit 346cb39cff2e6ac2da427299671e7bfcf1931379
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 09:25:04 2023 +0800

    MDL-77837 cron: Ensure user is set when running tasks

    We should be proactive in ensuring that the environment is clean when
    running a task. We already ensure that we have a clean renderer and
    other parts of the output chain, but we were not setting a clean user.

    This change adds a call to setup the cron user before each task is
    actually executed.

commit eb12428324d6b2b6af00ae4c9d4dbf7e5c12ec52
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Mar 29 17:59:32 2023 +0100

    MDL-77770 gradereport_user: fix errors when no users to navigate.

commit 8b31922739f0593247fa75b21dde4daf86b225d7
Author: Anupama Sarjoshi <anupama.sarjoshi@open.ac.uk>
Date:   Mon Feb 13 13:53:49 2023 +0000

    MDL-77148 core: Fix to export params for templates in correct format

    When questions are filtered by tags in the question bank, the qtagids
    params are passed in the array format. Though moodle_url handles this,
    single_button::export_for_template cannot. Hence changes done in
    weblib.php to provide params for export_for_template in the
    suitable format.
    Thanks Huong. I have added the Behat test you provided in the patch.

commit 127174088aaf6cc2e5ab5dfa54a5cadbb38491d2
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue Apr 4 18:09:20 2023 +0200

    MDL-73610 nodejs: Small updates to required packages

    The main goal of this issue is to avoid scanners (Dependabot
    and friends), reporting about security issues with the current
    xmldom 0.6.0 package.

    Note that this doesn't affect prod at all, because it's a dev
    dependency, hardly exploitable. So it's not a security fix, just
    a security_benefit, if something.

    So here, we are updating from xmldom 0.6.0 to @xmldom/xmldom 0.8.7
    (note that the package was renamed in 0.7.0, so it's the very same)

    Also, when proceeding with the changes, it was detected that we
    are incorrectly declaring @babel/eslint-parser as a normal dependency
    instead of a development one, so we are also fixing that little detail.

    The commands executed to get the changes above applied have been:

    - nvm use
    - npm install @xmldom/xmldom@^0.8.7 --save-dev
    - npm uninstall xmldom
    - npm install @babel/eslint-parser@^7.17.0 --save-dev

    (we haven't run a complete re-install because we only want to modify
    the minimum possible at this stage).

commit f8e244551383ba337158cbf06ce8108a0f5637d8
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 14:02:16 2023 +0200

    weekly release 4.1.2+

commit cb8bf1e001a7f8c3e65acc71ad21b3606c97d8af
Merge: 1f7063cc092 8a588f963ca
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 14:02:12 2023 +0200

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 1f7063cc092df0947dd0244a9538e96ecd3f4cea
Merge: c9b7b94ed43 60954253d49
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 08:12:03 2023 +0200

    Merge branch 'MDL-75301-fix' of https://github.com/sarjona/moodle into MOODLE_401_STABLE

commit 60954253d4921d4b5f046bbc3232add3366a2716
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 07:14:58 2023 +0200

    MDL-75301 quiz: Fix failing behat test

    I cherry-picked this branch from master (because the current 401
    had some conflicts). In master, quiz has been moved to quiz_settings,
    so that's why the behat test start failing. Using the proper name
    fixes it.

commit d49ebb79c55c3aa966b2a95986e40a95e7724580
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 5 23:01:15 2023 +0100

    MDL-77860 tool_moodlenet: use localised language strings for import.

commit 85a7c17414e607ad9434ddd13b8a755a7ef05569
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Apr 4 00:03:00 2023 +0800

    MDL-77856 qtype_multianswer: Use Bootstrap Popover for subq feedback

    The YUI Overlay widget encloses the subquestion feedback in a div
    which causes a div element to be enclosed in the subquestion span. This
    leads to an accessibility issue in terms of HTML parsing as inline
    elements (span) should not contain block elements (div)
    The YUI Overlay widget is also not accessible as it does not really hide
    the overlay contents via aria-hidden when the overlay is not being
    shown. It's better if we stop using this and use Bootstrap's
    popover component which is more accessible by default.

    This patch also removes module.js for the qtype_multianswer plugin as
    it only contains codes related to rendering the feedback contents in the
    YUI overlay widget which is no longer necessary.

commit c9b7b94ed43bdbfd9f03f4f298428a8ae8466bc2
Merge: 0bc265e900a f23463f8d60
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 5 17:17:35 2023 +0200

    Merge branch 'MDL-73642_MOODLE_401_STABLE' of https://github.com/tasosb/moodle into MOODLE_401_STABLE

commit 0bc265e900a8ce3de284aff0c5f1cc71e3e45990
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:34:56 2023 +0000

    MDL-75301 quiz: Use "always latest" option for question previews

    This will set the "alwayslatest" option when previewing a question from
    the quiz according to the version setting used in the quiz slot.

commit 6417d795b95a14bb3e1b0c66b21184c62a0c06c0
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:33:44 2023 +0000

    MDL-75301 question: Add "always latest" option to previews

commit c55473ad2e2695a868a9d9e9ca4652ceabd95c01
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Thu Mar 16 08:37:47 2023 +0000

    MDL-75301 question: Add behat generator for updating questions

    This adds "core_question > updated question" as an entity for `the
    following "X" exist` and calls the existing update_question() generator
    which will create a new question version with the supplied data.

commit ddaf4b7a58506b3b82990b7ecd9bfb6ab48aeb1b
Merge: 131d80441a8 be58d68f20c
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed Apr 5 20:15:39 2023 +1000

    Merge branch 'MDL-77555-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit be58d68f20c50524577162197e64d3ff901c6b72
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 7 22:09:32 2023 +0000

    MDL-77555 reportbuilder: improve SQL generation within filters.

    Use native ANSI SQL syntax for numeric comparisons where possible,
    define filter API for the case where filters must re-use the given
    field SQL while ensuring uniqueness of any field parameters.

    Currently only necessary in the category filter type.

commit 131d80441a88d0d5f3fbf64308fa5b1103b25913
Merge: 571c59b60ee aa9a462a4b7
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 5 08:56:45 2023 +0100

    Merge branch 'MDL-69551_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit 8a588f963ca91ac06fc3186ca137116c2b236b51
Author: AMOS bot <amos@moodle.org>
Date:   Wed Apr 5 00:07:43 2023 +0000

    Automatically generated installer lang files

commit 4e32a42415235f46d672292676cf0e6decb67e1e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed Mar 29 16:01:39 2023 +0200

    MDL-77788 mod_assign: Apply format_string to group names in WS

commit aa9a462a4b702781a5686f19ec5e4cadf7554cd4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue Mar 28 17:35:21 2023 +0100

    MDL-69551 quiz: start quiz password field should be a passwordunmask

    This help accessibility and usability

commit 571c59b60eedd78dc0cdfe106b1d0658723f7763
Merge: 65ba7df04b3 fbbdfefdb6c
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 4 12:06:42 2023 +0100

    Merge branch 'MDL-77712-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE

commit 360f9e37f85cb0c640016c1991e8f689f51d2fe7
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 6 08:35:32 2023 +0000

    MDL-77012 editor_tiny: correct block formats property syntax.

    Co-authored-by: Hiroto Kagotani <hiroto.kagotani@gmail.com>

commit 65ba7df04b33c9e624d7c42263e8f264e791becc
Merge: 2a4f86051b9 b3adaaf47f9
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 12:07:23 2023 +0800

    Merge branch 'MDL-77584-401' of https://github.com/ewallah/moodle into MOODLE_401_STABLE

commit 02aed7f6fcb09f02cdc455f0875eebdedfda2b5a
Author: AMOS bot <amos@moodle.org>
Date:   Tue Apr 4 00:07:43 2023 +0000

    Automatically generated installer lang files

commit 2a4f86051b91e3c32211264d944d3195ca7500e6
Merge: 701541f35b0 b33e5466df2
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 3 14:54:05 2023 +0100

    Merge branch 'MDL-75906-401' of https://github.com/mickhawkins/moodle into MOODLE_401_STABLE

commit 701541f35b03b5d9c7abb8d93ec36599a423eaac
Merge: 839681dc772 bc4b6cf8f79
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 3 10:56:19 2023 +0100

    Merge branch 'MDL-77227-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 839681dc7720181064fc2cd5d59f242ca55213b4
Merge: e1f3e7f2320 fbb6dc4ca3d
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Apr 3 11:53:19 2023 +0200

    Merge branch 'MDL-77807-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b33e5466df2e62b44c9dfff5267a381e32331383
Author: Michael Hawkins <michaelh@moodle.com>
Date:   Mon Apr 3 17:11:02 2023 +0800

    MDL-75906 core: Updated security.txt expiry

commit fbbdfefdb6c730b9dfe58a897090da51f89602f4
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 30 11:09:59 2023 +0200

    MDL-77712 core_course: Fix exception with inplace editor

    * On fresh install, an exception is raised when we try to modify
    the name of a newly inserted activity in the front page

commit 8656271a6355bba746d32e506bacecd435184913
Author: Ferran Recio <ferran@moodle.com>
Date:   Wed Mar 8 10:03:40 2023 +0100

    MDL-77552 core_courseformat: add plugin and module to cm state

    Backport of MDL-77386

commit e1f3e7f23205b70e03c007465bf83f675809dc7e
Merge: a78f3a02c69 f6c4303c582
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 3 10:03:53 2023 +0800

    Merge branch 'MDL-77603' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit f6c4303c582e7d10fe32daf03372a1e2b390a7af
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Mar 2 09:13:09 2023 +0800

    MDL-77603 theme_boost: Add reference to CL update

commit 134dc470c7ee8fc5d26372ef036b371d7aaf7976
Author: Petr Skoda <commits@skodak.org>
Date:   Wed Mar 1 13:01:18 2023 +0100

    MDL-77603 theme_boost: remove Bootstrap version reference

commit 45cd887f3b92c66b2ccac7d61f41a5049a4d265e
Author: Petr Skoda <commits@skodak.org>
Date:   Fri Feb 17 13:05:17 2023 +0100

    MDL-77603 tool_componentlibrary: import Bootstrap v4.6.2

commit b65ec774c5288bcce724674eb57be07c61da3b80
Author: Petr Skoda <commits@skodak.org>
Date:   Wed Jan 18 16:21:30 2023 +0100

    MDL-77603 theme_boost: import Bootstrap v4.6.2

commit 215e9f06885ad2e3dfd1b4c6608fb675064b3a07
Author: AMOS bot <amos@moodle.org>
Date:   Sun Apr 2 00:07:37 2023 +0000

    Automatically generated installer lang files

commit 035ebed95bdceb9c4fc4c117573264a65865d84d
Author: AMOS bot <amos@moodle.org>
Date:   Sat Apr 1 00:07:46 2023 +0000

    Automatically generated installer lang files

commit a78f3a02c692a094108a6620ef45b4fdd89ed5c4
Author: Paul Holden <paulh@moodle.com>
Date:   Fri Mar 31 18:11:53 2023 +0100

    weekly release 4.1.2+

commit 2890546f441e692d21d7e2a2426d66f20d87a7cd
Merge: a1df38dfc6d 1f337e76658
Author: Paul Holden <paulh@moodle.com>
Date:   Fri Mar 31 18:11:51 2023 +0100

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit a1df38dfc6da2226516f3cdd02bef8b37e0ef402
Merge: 82f9585f55f 4ee053a2782
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 31 11:57:27 2023 +0800

    Merge branch 'MDL-59175-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 82f9585f55f53a573b858963b9dc60057ab4678a
Merge: 0f092b86b57 87557383601
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 31 11:48:42 2023 +0800

    Merge branch 'MDL-77794-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 0f092b86b5739ec607f81b0db40a013f9fd04eb6
Merge: 74f3c34cbfb c99abd65ca4
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 31 11:31:05 2023 +0800

    Merge branch 'MDL-77783-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 74f3c34cbfb479b0425d1fa264931d3e30bdac51
Merge: ab3a2445681 8ee689f6124
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Mar 31 09:41:45 2023 +0800

    Merge branch 'MDL-70976-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE

commit 1f337e76658e5c31aa3330bff2b71e281c9b1c8d
Author: AMOS bot <amos@moodle.org>
Date:   Fri Mar 31 00:07:40 2023 +0000

    Automatically generated installer lang files

commit fbb6dc4ca3dc81d07fb62344228eb56c73593060
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 20:40:24 2023 +0100

    MDL-77807 files: normalise file entity size/type column fields.

    The `filename` field was only used by each to determine whether the
    file was itself a directory, and it's presence meant that aggregation
    of each column wasn't working properly.

commit ab3a2445681067104085341582b314eeff4eadf8
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 23 10:31:51 2023 +0100

    MDL-77456 core_courseformat: Fix highlight in course index

    * When navigating to a restricted activity as a student from the course index
    the item is not highlighted when refreshing the page.

commit 7b13a543ad5b9973184dff51b18590e6c083a912
Merge: dd10dead0f8 436ed2c4cb1
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 17:53:20 2023 +0200

    Merge branch 'MDL-77761-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit dd10dead0f8efb734e2792afa99a0351ac4e274c
Merge: b84a48d1eef 7b614d6f51b
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 16:31:21 2023 +0200

    Merge branch 'MDL-77764-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b84a48d1eefa55001ddd2fcf6cebf5a32e0ab82f
Merge: 3794210019d 4f8c5ef086d
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 12:50:09 2023 +0100

    Merge branch 'MDL-76481_401_Brickfield_TCPDF_error' of https://github.com/brickfield/moodle into MOODLE_401_STABLE

commit 3794210019dbf742c413364bfe80b3968cff4664
Merge: cca75ca9568 2b0a0cecdfc
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 13:45:18 2023 +0200

    Merge branch 'MDL-77762-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit cca75ca95686fc1cd6f68982bb8026cdbe1c554b
Merge: 93c91af6a94 d0ddc7692b4
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Mar 30 19:03:40 2023 +0800

    Merge branch 'MDL-77333_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

commit 93c91af6a94492c00418258737043cef360feec4
Merge: 5d10e53ba1e 5df8e8fa5f1
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 10:41:20 2023 +0100

    Merge branch 'MDL-77773-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 87557383601e07275db45e5e27b3e99f06b95f79
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 09:50:51 2023 +0100

    MDL-77794 contentbank: fix plugin type language strings.

    AMOS BEGIN
     CPY [type_contentbank,core_plugin],[type_contenttype,core_plugin]
     CPY [type_contentbank_plural,core_plugin],[type_contenttype_plural,core_plugin]
    AMOS END

commit 4f8c5ef086d17286293c276f11ad860f1de6ce23
Author: Max Larkin <maxlarkin@protonmail.com>
Date:   Thu Mar 30 09:02:35 2023 +0100

    MDL-76481 tool_brickfield: Fix PHP 8 report download

commit 5d10e53ba1efe57c2cc761291296f69c0ced0287
Merge: cc0c62d5644 fd9b8bf4d0e
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 08:47:54 2023 +0100

    Merge branch 'MDL-75017_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit cc0c62d5644356fa87ecbc8b51086c9cf031f012
Merge: d50bb07b2b0 f17b006dcba
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Mar 30 14:22:53 2023 +0800

    Merge branch 'MDL-73771_401' of https://github.com/lostrogit/moodle into MOODLE_401_STABLE

commit 48fb5b6e88f9f59024aa24fda9da6e4a73232a43
Author: AMOS bot <amos@moodle.org>
Date:   Thu Mar 30 00:07:44 2023 +0000

    Automatically generated installer lang files

commit bc4b6cf8f79915dcc05f77e9ad3e2cc6b869d744
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Mar 29 18:15:21 2023 +0200

    MDL-77227 roles: Remove extra information for override page

commit f17b006dcba898d8f029b4b875849f9cebe20456
Author: Carlos Castillo <carlos.castillo@moodle.com>
Date:   Wed Mar 8 09:15:41 2023 -0500

    MDL-73771 theme: Fix scrollbar position

commit d50bb07b2b020237a16e880acb8fe023dd2d880e
Merge: b85f6a660b1 0d4d201a8cf
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed Mar 29 15:27:15 2023 +1100

    Merge branch 'MDL-74452_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE

commit b85f6a660b1370e66efeb1679bc7e7359b92e520
Merge: dd584ab981d 50d1671a54b
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 29 10:58:47 2023 +0800

    Merge branch 'MDL-77740-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit dd584ab981d9187a2a83a1db83615a09365bc60c
Merge: ab9b09908a6 4ce5755a63d
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 09:48:17 2023 +0800

    Merge branch 'MDL-77382-401' of https://github.com/snake/moodle into MOODLE_401_STABLE

commit ab9b09908a6768303c33bd680e6c961046849f45
Merge: 449a8b0b31c 9a05e393dde
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 09:31:51 2023 +0800

    Merge branch 'MDL-76941-401-2' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

commit c99abd65ca4de9e2aac15434490fe15393486f12
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 08:35:30 2023 +0800

    MDL-77783 core: Validate sublugins.json

    * Validate the decoded subplugins.json before processing it.
    * Log errors if subplugins.json is invalid or if plugintypes is not
    defined.

commit 436ed2c4cb14665119c7fb1c6e0ae7a06018d2c4
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Mar 27 22:20:17 2023 +0800

    MDL-77761 core_form: Add label for editor format selector

commit d0ddc7692b40c6e72a0fdffb87a4d86530f7adda
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Sat Mar 25 13:43:55 2023 +0100

    MDL-77333 mod_resource: fixes generator uploading files + tests

    MDL-76499 revealed a few problems with resource generators:

    1. We were not covering with unit tests the upload of files from disk
       (and here it's where the problem was).
    2. There was a little of confusion between disk paths (only needed
       to upload files) and file_area paths (the generator only creates
       or uploads files to the root directory of the file area.
    3. It was possible to request the upload of a file to the generator
       without that file effectively existing.

    This commit fixes those points  and covers 99% of the generator code.

commit 449a8b0b31c2a71081b425dd86c67bd717eb875f
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 15:55:18 2023 +0100

    weekly release 4.1.2+

commit 0f251ce165902ffea9d57c62c14b76d11ea3a197
Merge: 7f6888bd536 1f4daa74026
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 15:55:16 2023 +0100

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 5df8e8fa5f160d34adc45c570f10de393f7e419f
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Mar 28 20:47:49 2023 +0800

    MDL-77773 editor_tiny: Improve initial editor size

commit 7f6888bd536373d428ed2f1717e64072237a0443
Merge: ae63139985e 95d5b0aab09
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 12:38:52 2023 +0100

    Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 95d5b0aab0972bd749c5ac7030ee33985520c6db
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 18:48:31 2023 +0800

    MDL-77105 core: Cast custom data to an array when evaluating filtericon

    Since other modules may treat custom data as an object, we need to make
    cast it to an array before evaluating for the `filtericon` custom data.

commit 9a05e393dded53c474cc169876361708dd5f7e1c
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Mon Mar 20 16:28:37 2023 +0700

    MDL-76941 tool_usertours: Fix accessibility issue when resizing

commit 110ec6a703d1014dfb3f595205c5eea86259b45e
Author: Meirza <meirza.arson@moodle.com>
Date:   Fri Nov 25 22:22:44 2022 +0700

    MDL-77436 auth_oauth2: Update profile fields based on data mapping.

    After the user creation, the system must call an update function to update profile_fields_*.
    We also provided two functions into user/profile/lib.php to get available from other areas.
    We added PHP unit testing for new public functions and
    the Behat tests for custom profile fields with locked and unlocked statuses.

    Co-authored-by: Matt Porritt <matt.porritt@moodle.com>

commit 714764d96611a343a95f1ef62e6ff3de1dd59b87
Author: Matt Porritt <mattp@catalyst-au.net>
Date:   Tue Nov 23 04:31:07 2021 +0000

    MDL-77436 auth_oauth2: Allow admin to choose profile fields for mapping

    Update oauth2 to allow mapping of provider attributes against
    user profile fields. Fields can also be locked to prevent
    user changes.

    Co-Authored-By: Michael Milette <michael.milette@tngconsulting.ca>

commit ae63139985e08535d20216c7832bc5fe521a9f23
Merge: e144ff8a43e cd528df0931
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 12:06:17 2023 +0800

    Merge branch 'MDL-77630-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE

commit e144ff8a43e9db8d6250ca35e7b7564ee865a224
Merge: 6b96cf8676b bc1d7e854be
Author: Jake Dallimore <jake@moodle.com>
Date:   Tue Mar 28 11:42:42 2023 +0800

    Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit cd528df09310c04d3e02b27d78b2e179d4675883
Author: Meirza <meirza.arson@moodle.com>
Date:   Tue Mar 28 09:39:01 2023 +0700

    MDL-77630 mod_forum: correct typo in variable names

commit 6b96cf8676bcba04c1232963f457308fe036ba0e
Merge: e7cda153a23 b296667ebf9
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 07:04:42 2023 +0800

    Merge branch 'MDL-77670-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE

commit 2b0a0cecdfcb227381edb13dae8225add852406c
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 17:54:34 2023 +0100

    MDL-77762 contentbank: always provide exit button when appropriate.

    If the current user can access the content bank in the context of the
    current item, then provide link back to it.

commit 7b614d6f51b2dd47c5430067ac43bb072a968b2c
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 16:51:52 2023 +0100

    MDL-77764 contentbank: add field label to context selection element.

commit e7cda153a23c98465e19682a919a5d7d6204ad6a
Merge: 0d6eaef2002 c55f219d77b
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:56:30 2023 +0200

    Merge branch 'MDL-76376_m41' of https://github.com/jrchamp/moodle into MOODLE_401_STABLE

commit 0d6eaef200264cece962c3ca632342560747bd4f
Merge: f32c46bf0ca 3fee9d949f6
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:50:31 2023 +0200

    Merge branch 'MDL-77659_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE

commit f32c46bf0cad66c6904c61ceaeddb624e547837f
Merge: 8c9b54cc5d7 eeae99afc7d
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:08:26 2023 +0200

    Merge branch 'MDL-73226-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE

commit eeae99afc7d60fefda989418bb04aa26229b5dfd
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu Mar 16 16:56:07 2023 +0100

    MDL-73226 files: Add quota checks to core_user_add_user_private_files

commit 8c9b54cc5d72fbb04e74a8ebd0b7be2550959f95
Merge: da42c763000 b924f6a3558
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 12:41:18 2023 +0200

    Merge branch 'MDL-76303-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE

commit da42c76300056179a1af1cacb8e6c2c8fefcbf24
Merge: c2714ff1af8 c1c1ca6e4d4
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 11:09:26 2023 +0100

    Merge branch 'MDL-77729_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit c2714ff1af82324fd592ceaadbfae5a50a26ae55
Merge: 5898c3e5dd8 7c1c1071e76
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 11:43:26 2023 +0200

    Merge branch 'MDL-77561-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit f2cbacbd2403967672850af0da45f4544e6d2868
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 7 16:48:51 2023 +0000

    MDL-77555 reportbuilder: method to ensure unique parameters in SQL.

commit bc1d7e854be0b9c8baad4120a5912585db47c328
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Feb 13 13:17:18 2023 +0800

    MDL-77105 core: Add upgrade.txt notes

commit 99bc8f2b309b3dca1c339b22fd98fde68c99ba6b
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 22:34:45 2023 +0800

    MDL-77105 mod_url: Declare filtericon custom data

    * Set a custom data `filtericon` when the icon being rendered for the
    URL resource is not equal to the default plugin icon.

commit 67f739499b3840ffc4cfae5a5a04c8dcd33bf3ab
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 19:06:59 2023 +0800

    MDL-77105 mod_lti: Add 'nofilter' class for custom tool icons

    Add a '.nofilter' class when rendering custom tool icons in order
    to render them as is and without CSS filter on the activity chooser.

commit 538e17e199ce7c96ae421f2e29100f7667ebebe3
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 22:33:37 2023 +0800

    MDL-77105 core_course: Add 'nofilter' class for non-monologo icons

    When rendering content items, check whether the plugin has monologo
    icons. If so, add a 'nofilter' class so the plugin icon can be
    rendered as is and without the CSS filter.

commit 28d8c9c1e73d28d8ccc33738e7cd2743054f759c
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 18:43:25 2023 +0800

    MDL-77105 block_timeline: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the timeline block.

commit 18703b71acaa4409305f584b91acfbafeb1149b9
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 18:42:47 2023 +0800

    MDL-77105 block_recentlyaccesseditems: Add 'nofilter' class

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the recently accessed items block.

commit f59220a76d0259f9b8547b575f89e14ae7ccf722
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:59:31 2023 +0800

    MDL-77105 theme_boost: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the context header on the activity page.

commit 84198e03c76ca3e46f58c3b447f4a3d9cd4c2b2d
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:21:43 2023 +0800

    MDL-77105 course_format: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the course homepage.

commit f5d445a68fd9235acb18057733ef1ede8df72867
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:19:54 2023 +0800

    MDL-77105 core: Conditionally apply icon filter

    * Apply the filter CSS property only to activity icons
    that don't have the ".nofilter" class. This will allow
    activities with non-SVG icons to be rendered as they are.

commit 30b0b0cf40b5f8c764e86c8c58f2986cfe0f4d79
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:17:34 2023 +0800

    MDL-77105 core: Add a filtericon parameter to course mod icon URLs

    * If a plugin defines a `filtericon` custom data or uses its monologo
    version of the icon, a `filtericon` parameter is being added to the
    icon's URL. This information can help plugins determine whether to
    render the activity icon as is or with CSS filtering.

commit 69948eda103573ceb38fc54f0d34f500460e6e2b
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Mar 27 10:30:26 2023 +0800

    MDL-77105 core: Method to determine whether a plugin has monolog icons

commit 1f4daa74026ea8a4a7f391444541ed7050fe6f93
Author: AMOS bot <amos@moodle.org>
Date:   Sun Mar 26 00:07:41 2023 +0000

    Automatically generated installer lang files

commit c1c1ca6e4d4c72024a76d769e3eadce293a1e2d9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat Mar 25 15:38:04 2023 +0000

    MDL-77729 qformat_missingword: fix form of help link

commit 50d1671a54b81d8ed0437927ce5ab8a55f6ea891
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 24 21:27:36 2023 +0800

    MDL-77740 editor_tiny: Set the Editor window from the iFrame element

    This is a workaround for an upstream bug which I have not been able to
    reproduce outside of Moodle whereby the editor.contentWindow does not
    math the editor.iframeElement.contentWindow when it should.

    This issue only seems to affect Firefox, and it may even be a bug in
    Firefox. It can only be reproduced when using a fresh browser which has
    never had a TinyMCE window open.

commit fd9b8bf4d0e2fab32e215c0c411946398b7a1819
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Mar 24 10:41:38 2023 +0000

    MDL-75017 questions: give a clear error if the context type is invalid

commit e405e6fd6ac3645e60e64866046dca50409853c1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Mar 24 12:55:57 2023 +0000

    MDL-75017 questions: fix weird setup in qformat_xml_import_export_test

commit 5898c3e5dd834d50cd7f6cda30818f5614b09b2e
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 24 13:59:31 2023 +0100

    weekly release 4.1.2+

commit d2bc54fba9ec198ab1a7170d3a9faf66f19b6cc2
Merge: 9b07f56addc 29a1cf86a38
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 24 11:51:36 2023 +0800

    Merge branch 'MDL-77669-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 9b07f56addcca5915787503b82da399150a04919
Merge: d2d49e150b1 4bc3782c4cc
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 24 10:40:36 2023 +0800

    Merge branch 'MDL-77626_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit 7c1c1071e769430362e7a3d5c94cd22d110d682a
Author: Simey Lameze <simey@moodle.com>
Date:   Thu Mar 23 09:44:46 2023 +0800

    MDL-77561 behat: add step to accept dpa and enable bigbluebutton

    The step i_enable_plugin cannot be used as bigbluebuttonbn_default_dpa_accepted
    setting needs to be enable in order for the BigBlueButton plugin to be enabled.

commit d2d49e150b1a266e539e0e1623a1f0701e032c5e
Merge: a7d71e0e2d1 ee3924702fe
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 23 18:30:27 2023 +0100

    Merge branch 'MDL-77705-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit a7d71e0e2d10449ab04e0ac29d61dc0cfd68f5dd
Merge: 3fa384384e4 71e751565cd
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 23 17:53:45 2023 +0100

    Merge branch 'MDL-77666-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b924f6a3558fd0efebe68b87a8475061e113e9ec
Author: Shamiso.Jaravaza <33659194+ssj365@users.noreply.github.com>
Date:   Fri Mar 10 11:21:34 2023 -0700

    MDL-76303 mod_bigbluebuttonbn: Fix userlimit

commit 3fa384384e47ceb25b577eceb69c68da26b722f3
Merge: fe07140e275 66e88ace0fb
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 23 12:25:29 2023 +0000

    Merge branch 'MDL-77392-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE

commit 66e88ace0fbfc20c76718a7f0379ae8f2bff2174
Author: Stephan Robotta <stephan.robotta@bfh.ch>
Date:   Tue Mar 14 16:18:00 2023 +0100

    MDL-77392 calendar: calendar items are hidden because of settings

commit fe07140e275d3d448a30636417c3e22abfdc2306
Merge: fad4e118a48 0b2085648e0
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 23 11:43:41 2023 +0000

    Merge branch 'MDL-77691-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE

commit fad4e118a48eead60be0cf27fb765fb798861ae8
Merge: 0d80eea9afb 939a4163082
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Mar 22 14:06:07 2023 +0100

    Merge branch 'MDL-77380-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit 0d80eea9afbdc536b2f7e5525c45ae0fb879cc12
Merge: 0b973b52e9b fac18282224
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Mar 22 13:50:11 2023 +0100

    Merge branch 'MDL-77692-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 0b973b52e9b23c85b58926671cee38a6a72742ab
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 22 09:37:08 2023 +0800

    weekly release 4.1.2+

commit b158354710e5b6cdad63eba0d3bf9dd9a5c139d8
Merge: 28d1db2f1dd 9e97a353ada
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 22 09:37:06 2023 +0800

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit ee3924702fea42d178ec682f95bbc972e10b8a23
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 21 16:02:54 2023 +0000

    MDL-77705 reportbuilder: avoid re-using field alias between entities.

    Ensure that when the user entity is added multiple times to a report,
    when there are custom profile fields, each of those gets a unique table
    alias per-entity.

commit 0d4d201a8cf35b7e7f6565e3d3def74da75f7f89
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:17:13 2023 +0000

    MDL-74452 quiz: Display an error if all versions are in draft status

commit 0b2085648e0b55a33772fea66dc0776de1ca93dc
Author: Mikel Martín <mikel@moodle.com>
Date:   Mon Mar 20 13:54:47 2023 +0100

    MDL-77691 behat: Add step to navigate to profile page directly

commit 939a4163082586e7327521349558ba11b1bb3447
Author: Simey Lameze <simey@moodle.com>
Date:   Wed Mar 8 10:34:35 2023 +0800

    MDL-77380 block_myoverview: improve show toggle functionality test

commit 28d1db2f1dd0d72cec46563398c2f7299dd01da2
Merge: ea915c29e5d 5a7ad7b2847
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 21 12:01:01 2023 +0800

    Merge branch 'MDL-75746_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE

commit 084c120c79db05a154b90f52255bb195d668dabf
Author: Angelia Dela Cruz <andelacruz@ubiquitous-tech.com>
Date:   Thu Mar 16 13:14:28 2023 +0800

    MDL-77577 Behat: Replaced the use of "Install selected language pack(s)

    Evaluated usage of "Install selected language pack(s)" in Behat and
    replaced the steps to use generator to install language packs as part
    of test setup.

commit 29a1cf86a383d2b2f7769935c4f923e2c3c6645c
Author: Meirza <meirza.arson@moodle.com>
Date:   Fri Dec 16 20:52:11 2022 +0700

    MDL-77669 dml: Added extrainfo in the DB options config.

    extrainfo is an extra information for the DB driver, e.g. SQL Server,
    has additional configuration according to its environment,
    which the administrator can specify to alter and override any connection options.

    Co-authored-by: LukeCarrier <luke@carrier.im>

    This is a backport of MDL-64153.

commit ea915c29e5d034b3d897a22cc8374222e07e6074
Merge: deced83b06b f8301fb4bc3
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Mar 21 08:24:59 2023 +0800

    Merge branch 'mdl-72533-event-table-performance-MOODLE_401_STABLE' of https://github.com/petersistrom/moodle into MOODLE_401_STABLE

commit deced83b06b7bb0eb4942b6d2ed5255d26bc7b56
Merge: 502536c16e4 34c452afb42
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 20 17:04:54 2023 +0000

    Merge branch 'MDL-72124_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE

commit fac18282224d779fb018ff0a45f6b328f17cf9eb
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 20 16:09:25 2023 +0000

    MDL-77692 reportbuilder: format custom field condition/filter names.

commit 502536c16e485cc151918fadaa…
danchamp added a commit to Rosedean-Group/moodle that referenced this issue May 2, 2023
commit 4901ffe1ba570e14a46501050d7e4f36cdb9b78d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 27 19:28:38 2023 +0800

    weekly release 4.1.3+

commit 013735af51835aadaf18d97fb20b14238a6956ad
Merge: 6c890a63306 b04fab1a2af
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 27 11:08:54 2023 +0800

    Merge branch 'MDL-77883-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE

commit 6c890a63306823d53894ba05b6803031fda84dad
Merge: 9a3430f3fef a9f629fbf91
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 27 10:40:43 2023 +0800

    Merge branch 'MDL-77997_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit 9a3430f3fefadfa5b5fe8da239092b910a38e1e2
Merge: 79982a82a43 f3ae5116d03
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 25 15:18:42 2023 +0200

    Merge branch 'MDL-77313-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 79982a82a43159cbba2ea8decb686a35efba2f14
Merge: 4ee0bdfda60 4ec5aac7347
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 12:36:09 2023 +0100

    Merge branch 'MDL-78007-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

commit 4ee0bdfda60ec925e54bc26936308a2497c6063f
Merge: d10d553890d 60a2798da74
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 11:54:17 2023 +0100

    Merge branch 'MDL-73331_401_toolbrickfieldadvancedtab' of https://github.com/brickfield/moodle into MOODLE_401_STABLE

commit d10d553890da891e32d4c44926e3ebd388b0ba70
Merge: b2d07127484 952c8770b60
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 25 09:38:37 2023 +0100

    Merge branch 'MDL-77766-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 952c8770b60288df1596020329246800555f3e37
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Apr 24 20:07:57 2023 +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.

commit 132ac7486dc86c7cce507da92374251e1f5b8e42
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Apr 24 20:07:38 2023 +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.

commit a9f629fbf9150d6bf21da023e6c614e17001545a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Apr 21 18:39:44 2023 +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.

commit f3ae5116d033e1a5d40a06bae5667836bf38d728
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Feb 21 12:12:16 2023 +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.

commit 4ec5aac73470b418defac7d465428420cd0db7c7
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Mon Apr 24 15:53:37 2023 +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

commit b04fab1a2afeedacbe179c45ea97da25b4b6d5b3
Author: danghieu1407 <danghieu140701@gmail.com>
Date:   Mon Apr 24 13:54:37 2023 +0700

    MDL-77883 forms: fix display of client-side validation for textareas

commit b2d07127484b34fa1489ccf554087dd7335ea396
Author: Jun Pataleta <jun@moodle.com>
Date:   Sat Apr 22 16:22:40 2023 +0800

    Moodle release 4.1.3

commit f70a6d32cd7f53afc4e87bdc075c1a847dfbe04e
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Fri Apr 21 19:19:12 2023 +0200

    weekly release 4.1.2+

commit f691ccf8c61d207d744837f7dc3283f6cd9b6d0a
Merge: ceb2f856b03 a6a0e98e53d
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Fri Apr 21 19:19:07 2023 +0200

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit ceb2f856b03764cd0fc8561956c7f9758d5c188d
Merge: 955d89710ef 526e1af88be
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 16:52:21 2023 +0800

    Merge branch 'MDL-77927-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE

commit 955d89710ef9d33c9c142e83385fa63a8c290751
Merge: 8fb9177b749 b142840de18
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 16:44:38 2023 +0800

    Merge branch 'MDL-77229-patch-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit 526e1af88be53dda8a1d138bb794d02b5f920dfb
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 23:30:45 2023 +0800

    MDL-77927 core: mod_assignment subplugins environment check

commit b142840de184d7ae2da9832f34c1e66d714164af
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 15:03:02 2023 +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

commit 8fb9177b749cd392aa03ad035a89bda2cb4da150
Merge: b5a65e56fdf 6e15a26dcee
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 12:11:40 2023 +0800

    Merge branch 'MDL-77229-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit 6e15a26dcee98d935c960766915739daa70de667
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Apr 21 11:59:27 2023 +0800

    MDL-77229 lesson: Add Behat test

commit b5a65e56fdf9d3eb62c93777a3fec42771d542c9
Merge: 9290627da9e c28cd3215b8
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Apr 21 11:10:39 2023 +0800

    Merge branch 'MDL-77896-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit a6a0e98e53d83a64fab822135e5540304f3ebf14
Author: AMOS bot <amos@moodle.org>
Date:   Fri Apr 21 00:07:41 2023 +0000

    Automatically generated installer lang files

commit c28cd3215b8b7aca10905e7e16769975cd6ba058
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 16:34:00 2023 +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>

commit 39084a098b210ffff2d49847bc988b969a5001e6
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu Apr 20 11:13:23 2023 +0200

    MDL-77229 lesson: Fix error for empty responses (numerical pagetype)

commit 9290627da9e4555e19aaac13b125b9bb86e44262
Merge: bb5bd2eed89 f01ad401452
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 16:29:14 2023 +0800

    Merge branch 'MDL-73012-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE

commit bb5bd2eed893479fb904260248bd18d0fd2ea30a
Merge: 12195684b47 110ec6a703d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 20 16:23:19 2023 +0800

    Merge branch 'MDL-77436-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE

commit 12195684b476ce8cc01e170703ccc51fb12396dd
Merge: 339dfec4201 1d64897a3ca
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Apr 20 16:10:10 2023 +0800

    Merge branch 'MDL-77922-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit f01ad4014527c6caf791032f34f410e722f2290f
Author: Ferran Recio <ferran@moodle.com>
Date:   Thu Apr 20 09:56:10 2023 +0200

    MDL-73012 core_courseformat: add pending to move section modal

commit 1d64897a3ca984143e36f3b42fd0875b8a08c20e
Author: Ferran Recio <ferran@moodle.com>
Date:   Tue Apr 18 13:22:08 2023 +0200

    MDL-77922 core_courseformat: add pending to move activity modal

commit 339dfec4201517dfb120cce810616a2ca10724c9
Merge: 1d16c049f37 084c120c79d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 20 12:33:38 2023 +0800

    Merge branch 'MDL-77577-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE

commit 1d16c049f3704781385d76f7cea783716a3f9e85
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Mar 23 10:17:48 2023 +0800

    MDL-77718 editor_tiny: Restrict the revision to int for loaders

    The revision should always be an int. I suspect this was missed during
    debugging and not corrected.

commit 4d4635228d7facf566af2f10ddb6963143ac55be
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Feb 8 16:49:38 2023 +0000

    MDL-77187 mod_wiki: validate external method sort parameters.

commit ce9cb1156c52ee16a9032c798c90804206a59c9e
Merge: c0429c1c902 ee519b690cc
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 14:13:04 2023 +0100

    Merge branch 'MDL-77897-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit c0429c1c902ff01cbfd797f10a9cc02652689c85
Merge: be8c02fc2c6 c0bea2a82db
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 13:41:32 2023 +0100

    Merge branch 'MDL-77960-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit be8c02fc2c68229dce8b4375c1e08e967a30ea72
Merge: 99b5e1059d6 bc85007834c
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 13:06:41 2023 +0100

    Merge branch 'MDL-77944-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 60a2798da74985b7767109998b30899ec833e2d2
Author: Max Larkin <maxlarkin@protonmail.com>
Date:   Wed Dec 8 11:42:23 2021 +0000

    MDL-73331 tool_brickfield: Update advanced tab display

commit 99b5e1059d61e4b3553ebe266a3d2059fc681248
Merge: 814c63fcc3d 24335d67bb8
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 19 09:03:22 2023 +0100

    Merge branch 'MDL-77898-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit ee519b690ccb2b5eca62bf144de963a1bfe52e83
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Wed Apr 19 14:57:10 2023 +0800

    MDL-77897 editor_tiny: Save editor content on editor blur

commit 814c63fcc3d5f9db33fe8caf3bed88056c9a4432
Merge: 799e962f1fd 40fad4d6b7d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Apr 19 13:32:36 2023 +0800

    git fetch https://github.com/paulholden/moodle.git MDL-77935 && git merge --no-ff FETCH_HEADMerge branch 'MDL-77935-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 799e962f1fd7451cc16909347520ecc6f666abcb
Merge: fc6764324a1 e9fcdec98b0
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Apr 19 12:37:45 2023 +0800

    Merge branch 'MDL-77953_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

commit c0bea2a82db6792826067647253d29b2e2196a8e
Author: Simey Lameze <simey@moodle.com>
Date:   Wed Apr 19 11:49:30 2023 +0800

    MDL-77960 behat: make verification steps more specific

commit e9fcdec98b086c8a55dbbb8b09d98fe9e55b36e5
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue Apr 18 16:03:19 2023 +0200

    MDL-77953 pagelib: Ensure that null $SCRIPT continues behaving the same

    It's possible to have some Moodle components soft linked instead
    of being real directories within codebase (within dirroot).

    For example, Composer's "vendor" directory can be soft linked
    (from elsewhere), or also plugins can be installed using soft
    links.

    In those cases, Moodle calculates the $SCRIPT global as null. And,
    then, string operations on it are emitting a PHP deprecation message
    with PHP 8.1 and up.

    This fix just ensures that the behaviour is the same than before
    PHP 8.1, aka: ltrim(null) = '' (empty string), without any PHP warning.

commit fc6764324a1e8f0305e76f00d81ce44f7f2ab69b
Merge: b71f01981a5 1b828701a6a
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 23:35:19 2023 +0800

    Merge branch 'MDL-77895-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b71f01981a5940f9aabc297bc6f97a31d2bda370
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 22:28:09 2023 +0800

    weekly release 4.1.2+

commit 5d1fcb942a1304111220e96b225b865df89dd2e5
Merge: f8e468c41af 76ab8a1c513
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 22:28:06 2023 +0800

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 24335d67bb8e08bd0b4a09a9e5cf1c65114daed7
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Apr 12 23:41:53 2023 +0800

    MDL-77898 calendar: Add iconclass for upcoming_mini template

    The icon's iconclass context data adds additional CSS class(es) to
    calendar event icons to better control how the event icon is displayed.
    e.g. without filtering for activity events that don't hae monologo
    versions of their icons.

commit 1b828701a6ae367d449578482529ebb90f6b88e3
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 12 14:50:59 2023 +0100

    MDL-77895 editor_tiny: standardize quickbar selection toolbar.

    Ensure the same heading tags are available as those defined in the
    editor block formats configuration (c51b7e2c).

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

commit f8e468c41aff34dd152dd83001b90a284ff062fa
Merge: b07df211ce4 31a3c8cda47
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 14:28:44 2023 +0800

    Merge branch 'MDL-77916-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b07df211ce430732e3c227f16522702dc71f1730
Merge: 4c289966d38 b796cbd03cc
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 12:31:46 2023 +0800

    Merge branch 'MDL-77829-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE

commit 4c289966d38ecf7cd29627d889aa7ee2b5eba152
Merge: 0d0fbec6166 38f5c818cbd
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 12:10:56 2023 +0800

    Merge branch 'MDL-77735-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE

commit 0d0fbec6166ea89122b50d00f49e5f8c1b41f59c
Merge: ca751bdc1f6 eb12428324d
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 12:01:46 2023 +0800

    Merge branch 'MDL-77770-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit ca751bdc1f61b83b0b4e4dd7f2483268f919de5b
Merge: dd553c14066 faa121ad306
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 11:18:32 2023 +0800

    Merge branch 'MDL-76855-401' of https://github.com/Chocolate-lightning/moodle into MOODLE_401_STABLE

commit bc85007834ca1b898eba2b02f92a62156202e71d
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 18 09:02:16 2023 +0800

    MDL-77944 behat: Rename chrome options for w3c support

    From Selenium 4.8.0, support for non-w3c browser control has ended.

    We only use W3C browser control these days, and this was missed as part
    of the move to W3C. All browser options must be vendor-prefixed.

commit dd553c140660c192d7fc0e4086e18c55491e6ae3
Merge: 242ecbf7f31 2f601f1e51f
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Apr 18 08:59:30 2023 +0800

    Merge branch 'MDL-77827-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

commit 76ab8a1c513795bf3213584130e2c32ad2177bf1
Author: AMOS bot <amos@moodle.org>
Date:   Tue Apr 18 00:07:38 2023 +0000

    Automatically generated installer lang files

commit 242ecbf7f31971a015909d54147d0f751f4c47d1
Merge: cbfde8c11a4 1265b0ad84e
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 19:12:36 2023 +0100

    Merge branch 'MDL-77878-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE

commit cbfde8c11a43f593eec516bb045ec72610014ede
Merge: df4f8dd322a 3502ad3da76
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon Apr 17 21:27:56 2023 +1000

    Merge branch 'MDL-76998-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit df4f8dd322a78f5c4ac5e14d98b44001033f5016
Merge: 60ab09ac87c 5b8ad6ae30e
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 11:50:54 2023 +0100

    Merge branch 'MDL-76212-401-nav' of https://github.com/kevpercy/moodle into MOODLE_401_STABLE

commit 60ab09ac87cb3b61df511f1a2eb1812b7de9158a
Merge: 797cbcc3dac 8dc9cd6cdce
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 11:06:14 2023 +0100

    Merge branch 'MDL-77324-401-2' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit 40fad4d6b7d1e7c742059f6bc482094376de0165
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 17 09:26:16 2023 +0100

    MDL-77935 contentbank: avoid phpunit crashes during isolated tests.

    Simplify the test for allowed contexts by removing problematic use of
    data provider annotation.

    See: https://github.com/sebastianbergmann/phpunit/issues/2739

commit 1265b0ad84e72a6e031057140b22f2b2cdce9c0e
Author: Víctor Déniz <victor@moodle.com>
Date:   Sun Apr 16 21:32:32 2023 +0100

    MDL-77878 lang: Use fixed strings in tests

commit faa121ad30628ca2eb84ac3bb724404d9922c2c6
Author: Mathew May <mathewm@hotmail.co.nz>
Date:   Mon Apr 17 11:24:51 2023 +0800

    MDL-76855 gradereport_user: Prevent parent access errors

commit 797cbcc3dacd8fde3c4021342c4648972dfd398a
Merge: 6bac9104343 c8f105800c3
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Mon Apr 17 11:17:04 2023 +0800

    Merge branch 'MDL-76995-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 6bac9104343db3e85893863a86cf9764b315da0c
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 17 10:58:38 2023 +0800

    MDL-76994 core_course: Fix version for weeks and topics course formats

commit a9b4b297ac7584ea651e5a95086a025268461cf7
Merge: 82a7b26648a 073deca0e1e
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Mon Apr 17 10:32:33 2023 +0800

    Merge branch 'MDL-77606' of https://github.com/skodak/moodle into MOODLE_401_STABLE

commit 073deca0e1ed66a846ad20df838e9806ab265e89
Author: Petr Skoda <commits@skodak.org>
Date:   Sun Mar 26 13:22:01 2023 +0200

    MDL-77606 grunt: fix Windows compatibility

    Backport of MDL-77748.

commit 2cc1182b1672baef1b62c458aeac5aa3810ecbc7
Author: Petr Skoda <commits@skodak.org>
Date:   Wed Jan 18 17:28:33 2023 +0100

    MDL-77606 core: switch to Dart sass

    Backport of MDL-73144.

commit 82a7b26648a359a8db96c3e23795be7005e774ed
Merge: 96f0478ec1d 15a5a938b60
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 17 09:47:04 2023 +0800

    Merge branch 'MDL-76994-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 2db1ddd290c8125a1c5080a88e13aa93c2b65bee
Author: Helen Foster <helen@moodle.org>
Date:   Sun Apr 16 20:49:02 2023 +0100

    MDL-77878 lang: Import fixed English strings (en_fix)

commit 96f0478ec1d1295935973a29b787a24afd82cff9
Merge: 38c35247e9e 39cf5561113
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 14:02:18 2023 +0200

    Merge branch 'MDL-77913-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 38f5c818cbd53ba44f47573712b42562b1451241
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 24 12:42:53 2023 +0100

    MDL-77735 core: Check $CFG->lang isset

    In some cases, $CFG->lang might not be set, and this is causing a
    Notice to be displayed when, for instance, database connection fails.
    This patch should fix this case.

commit 38c35247e9e8ccaecf13ce0e794699f5a47a84a5
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 10:50:08 2023 +0200

    weekly release 4.1.2+

commit 242dcfbc5525fb2385325774e56a0493c37cf4d9
Merge: 4c4be40c774 1066f5fe68a
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Apr 14 10:50:03 2023 +0200

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 2f601f1e51f5a3e97b0ad05c5acaa425b79af7c2
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Fri Apr 14 09:24:32 2023 +0700

    MDL-77827 events: Changed JSON comparison to be less strict

commit 31a3c8cda47872e6c4cd73518d383a1f9b3b03e1
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Apr 13 23:12:13 2023 +0100

    MDL-77916 h5p: register autoloader in helper testcase.

commit 39cf5561113f41b6051a97082b10e8deb3afd025
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Apr 13 21:13:41 2023 +0100

    MDL-77913 qbank_previewquestion: deterministic ordering of versions.

    Ensure the ordering of loaded question versions is consistent, avoids
    random Oracle failures.

commit 4c4be40c774806523bb9238bd68724081fca16b3
Merge: bc34e3fef3f ab0038da849
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 17:32:03 2023 +0200

    Merge branch 'MDL-76986-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE

commit c8f105800c38925ac26987ade09d4a203ade2b86
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Feb 8 22:28:41 2023 +0100

    MDL-76995 core_courseindex: Apply indentation in the course index

commit 3502ad3da76e52e17c3341d3764aa330647fcc53
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Mon Mar 13 12:34:42 2023 +0100

    MDL-76998 admin: Option to reset course indentation

commit 15a5a938b60310a3252c6531d223456c71441f1c
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Mon Mar 13 11:47:05 2023 +0100

    MDL-76994 tool_mobile: Return course format indentation setting

commit ec4eacd1dab0d568f7681f7dae9d9607cad9c49e
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Mar 8 12:41:11 2023 +0100

    MDL-76994 core_course: New course format setting to enable indentation

commit bc34e3fef3f3dbee299baf51996da1e908b1f04c
Merge: 6aef92c24af f336875b1a7
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 16:24:28 2023 +0200

    Merge branch 'MDL-76859-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE

commit 6aef92c24af163ff10ab80c8982de2c426edbed9
Merge: 4b7c58febfd 6ae5ee18a0f
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 16:20:06 2023 +0200

    Merge branch 'MDL77833-course-content-chng-notificatn-multilang' of https://github.com/Amrita1991/moodle into MOODLE_401_STABLE

commit 4b7c58febfd9103460bf51151df76a81a738515c
Merge: 4ed6c8fbce2 d49ebb79c55
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 13:45:00 2023 +0200

    Merge branch 'MDL-77860-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 4ed6c8fbce23a8fbae6420657332c06e30d16037
Merge: af585fc7550 4e32a424152
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 13:16:55 2023 +0200

    Merge branch 'MDL-77788-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE

commit af585fc7550a318d203317906a5919a646ab4681
Merge: ead79582191 6e27e9e4814
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 12:19:16 2023 +0200

    Merge branch 'MDL-77618-admin-password-autocomplete-MOODLE_401_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_401_STABLE

commit 6ae5ee18a0f47ba55882284de64ba42b0833eeaa
Author: Amrita Deb Dutta <amritad1991@gmail.com>
Date:   Mon Apr 3 12:30:52 2023 +0200

    MDL-77833 course: content change notification multilang processing

    adding context to format string

    content change notificatn coursename multilang processing

    change context param

commit ead79582191ff0848cddb9925a0363e75880a22e
Merge: 69749509aba 9fbd5fb2192
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 11:20:32 2023 +0200

    Merge branch 'MDL-77256-401' of https://github.com/rbravod/moodle into MOODLE_401_STABLE

commit 8dc9cd6cdce05de9c37c0f066b4d3d888eaf5419
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Apr 6 15:07:16 2023 +0800

    MDL-77324 gradereport_singleview: Make action menus consistent

commit 69749509abaca5e9896805fcbcf8114e1b6b5ac3
Merge: 59eac981ebb 85a7c17414e
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 09:43:05 2023 +0200

    Merge branch 'MDL-77856-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 59eac981ebb22f70eaeb23791a77301d5fefd010
Merge: a8eb4819804 2cde9578977
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 13 09:19:58 2023 +0200

    Merge branch 'MDL-77468-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE

commit ab0038da849906216516c751ff8534d68c979f66
Author: David Woloszyn <david.woloszyn@moodle.com>
Date:   Thu Apr 13 16:01:44 2023 +1000

    MDL-76986 editor_tiny: Convert language code format for getting strings

commit 2cde957897726a657275ad6c0f796c88028c0449
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue Mar 21 16:01:33 2023 +0100

    MDL-77468 user: Fix invalid check for group belonging

commit a8eb481980479472df9e127bc0c39e41dd9e72f9
Merge: 26aaa7486a8 127174088aa
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 18:19:40 2023 +0200

    Merge branch 'MDL-73610_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

commit 4c533b82045669c1c89efa93921094a7d0196bc5
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue Mar 21 09:47:08 2023 +0100

    MDL-77468 user: Make user profile visibility consistent web and ws

commit 26aaa7486a8fed39ca7b9042ff46621abe22e5ce
Merge: 6381daf52a6 360f9e37f85
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 14:09:33 2023 +0200

    Merge branch 'MDL-77012-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit f336875b1a777ce1e51c658848bd585e86ac72fa
Author: Petr Skoda <commits@skodak.org>
Date:   Sun Feb 19 18:32:03 2023 +0100

    MDL-76859 h5p: Fix behat failures

    - Only resize if the H5P EmbedCommunicator is defined (otherwise, it was causing a
    JS error)
    - An unnecessary image has been removed from the greeting-card.h5p fixture package.
    That way, the text will always be displayed (even if the iframe is still not
    resized). Instead of replacing the original greeting-card-887.h5p file, I've
    renamed it to greeting-card.h5p, to remove these ugly and unnecessary numbers
    at the end of the file name).

commit 6381daf52a6d64fb926ccb9af795a3c750feab52
Merge: 5563e99f2c2 3a38791d620
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 12 09:54:22 2023 +0200

    Merge branch 'MDL-76993-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 5b8ad6ae30e8325d6aa434ec5c51ed01f54c2459
Author: Kevin Percy <kevin.percy@moodle.com>
Date:   Wed Feb 8 20:33:50 2023 +0800

    MDL-76212 gradebook_nav: Fixed tertiary nav for smaller screens

commit 3a38791d620bf90b88a21017e7287ecf47452aae
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Feb 8 17:04:04 2023 +0100

    MDL-76993 core_course: Recover move right/left functionality

    This is a backport of MDL-76990

commit 5563e99f2c2d84f5325951d403c08b54f5381af3
Merge: 8bc1c231d6e 202718f9682
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 12:12:49 2023 +0200

    Merge branch 'MDL-77837-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 8bc1c231d6e2ef89709f5916c3d7ebb86595e4b4
Merge: 1226208a64c 8656271a635
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 11:13:41 2023 +0200

    Merge branch 'MDL-77552-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE

commit 1226208a64c167e26f5ded97e50f0e460e1f6eb9
Merge: 725277eb8b8 8b31922739f
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 10:17:08 2023 +0200

    Merge branch 'MDL-77148_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE

commit 725277eb8b84a2b8da38f98e444b4303fc997039
Merge: f8e24455138 b631966a70d
Author: Sara Arjona <sara@moodle.com>
Date:   Tue Apr 11 10:04:41 2023 +0200

    Merge branch 'MDL-77612-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE

commit b631966a70d8a0297d501c7e0bfcb48913cc960b
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 16 09:14:03 2023 +0100

    MDL-77612 mod_label: Label name fix

    * The @@PLUGINFILE@@ placeholder or URLs should not be displayed in the
    course index for labels

commit b796cbd03cc35f9dae70d61899b5565f095ff6cd
Author: Stevani Andolo <stevani.andolo@moodle.com>
Date:   Wed Apr 5 11:45:24 2023 +0800

    MDL-77829 core: Added environment check for mod_assignment

    Decided to add an environment check before uninstalling the
    mod_assignment plugin to prevent data lost.

commit 1066f5fe68a4b633ff90a5a25bc4746c3a5aa8d7
Author: AMOS bot <amos@moodle.org>
Date:   Fri Apr 7 00:07:35 2023 +0000

    Automatically generated installer lang files

commit 202718f968247943fcd38d4f3862e9c428251b89
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Apr 6 16:27:38 2023 +0800

    MDL-77837 core: Improve usage docs for cron_setup_user

commit 44d734147aadb67b598c84858c157921e12d5306
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 09:26:34 2023 +0800

    MDL-77837 phpunit: Ensure that the cron user setter is used

    When running an adhoc task in a unit test we should use the cron variant
    of the set user method to mimic the behaviour of a real cron run.

commit 346cb39cff2e6ac2da427299671e7bfcf1931379
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 09:25:04 2023 +0800

    MDL-77837 cron: Ensure user is set when running tasks

    We should be proactive in ensuring that the environment is clean when
    running a task. We already ensure that we have a clean renderer and
    other parts of the output chain, but we were not setting a clean user.

    This change adds a call to setup the cron user before each task is
    actually executed.

commit eb12428324d6b2b6af00ae4c9d4dbf7e5c12ec52
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Mar 29 17:59:32 2023 +0100

    MDL-77770 gradereport_user: fix errors when no users to navigate.

commit 8b31922739f0593247fa75b21dde4daf86b225d7
Author: Anupama Sarjoshi <anupama.sarjoshi@open.ac.uk>
Date:   Mon Feb 13 13:53:49 2023 +0000

    MDL-77148 core: Fix to export params for templates in correct format

    When questions are filtered by tags in the question bank, the qtagids
    params are passed in the array format. Though moodle_url handles this,
    single_button::export_for_template cannot. Hence changes done in
    weblib.php to provide params for export_for_template in the
    suitable format.
    Thanks Huong. I have added the Behat test you provided in the patch.

commit 127174088aaf6cc2e5ab5dfa54a5cadbb38491d2
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue Apr 4 18:09:20 2023 +0200

    MDL-73610 nodejs: Small updates to required packages

    The main goal of this issue is to avoid scanners (Dependabot
    and friends), reporting about security issues with the current
    xmldom 0.6.0 package.

    Note that this doesn't affect prod at all, because it's a dev
    dependency, hardly exploitable. So it's not a security fix, just
    a security_benefit, if something.

    So here, we are updating from xmldom 0.6.0 to @xmldom/xmldom 0.8.7
    (note that the package was renamed in 0.7.0, so it's the very same)

    Also, when proceeding with the changes, it was detected that we
    are incorrectly declaring @babel/eslint-parser as a normal dependency
    instead of a development one, so we are also fixing that little detail.

    The commands executed to get the changes above applied have been:

    - nvm use
    - npm install @xmldom/xmldom@^0.8.7 --save-dev
    - npm uninstall xmldom
    - npm install @babel/eslint-parser@^7.17.0 --save-dev

    (we haven't run a complete re-install because we only want to modify
    the minimum possible at this stage).

commit f8e244551383ba337158cbf06ce8108a0f5637d8
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 14:02:16 2023 +0200

    weekly release 4.1.2+

commit cb8bf1e001a7f8c3e65acc71ad21b3606c97d8af
Merge: 1f7063cc092 8a588f963ca
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 14:02:12 2023 +0200

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 1f7063cc092df0947dd0244a9538e96ecd3f4cea
Merge: c9b7b94ed43 60954253d49
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 08:12:03 2023 +0200

    Merge branch 'MDL-75301-fix' of https://github.com/sarjona/moodle into MOODLE_401_STABLE

commit 60954253d4921d4b5f046bbc3232add3366a2716
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Apr 6 07:14:58 2023 +0200

    MDL-75301 quiz: Fix failing behat test

    I cherry-picked this branch from master (because the current 401
    had some conflicts). In master, quiz has been moved to quiz_settings,
    so that's why the behat test start failing. Using the proper name
    fixes it.

commit d49ebb79c55c3aa966b2a95986e40a95e7724580
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 5 23:01:15 2023 +0100

    MDL-77860 tool_moodlenet: use localised language strings for import.

commit 85a7c17414e607ad9434ddd13b8a755a7ef05569
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Apr 4 00:03:00 2023 +0800

    MDL-77856 qtype_multianswer: Use Bootstrap Popover for subq feedback

    The YUI Overlay widget encloses the subquestion feedback in a div
    which causes a div element to be enclosed in the subquestion span. This
    leads to an accessibility issue in terms of HTML parsing as inline
    elements (span) should not contain block elements (div)
    The YUI Overlay widget is also not accessible as it does not really hide
    the overlay contents via aria-hidden when the overlay is not being
    shown. It's better if we stop using this and use Bootstrap's
    popover component which is more accessible by default.

    This patch also removes module.js for the qtype_multianswer plugin as
    it only contains codes related to rendering the feedback contents in the
    YUI overlay widget which is no longer necessary.

commit c9b7b94ed43bdbfd9f03f4f298428a8ae8466bc2
Merge: 0bc265e900a f23463f8d60
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Apr 5 17:17:35 2023 +0200

    Merge branch 'MDL-73642_MOODLE_401_STABLE' of https://github.com/tasosb/moodle into MOODLE_401_STABLE

commit 0bc265e900a8ce3de284aff0c5f1cc71e3e45990
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:34:56 2023 +0000

    MDL-75301 quiz: Use "always latest" option for question previews

    This will set the "alwayslatest" option when previewing a question from
    the quiz according to the version setting used in the quiz slot.

commit 6417d795b95a14bb3e1b0c66b21184c62a0c06c0
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:33:44 2023 +0000

    MDL-75301 question: Add "always latest" option to previews

commit c55473ad2e2695a868a9d9e9ca4652ceabd95c01
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Thu Mar 16 08:37:47 2023 +0000

    MDL-75301 question: Add behat generator for updating questions

    This adds "core_question > updated question" as an entity for `the
    following "X" exist` and calls the existing update_question() generator
    which will create a new question version with the supplied data.

commit ddaf4b7a58506b3b82990b7ecd9bfb6ab48aeb1b
Merge: 131d80441a8 be58d68f20c
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed Apr 5 20:15:39 2023 +1000

    Merge branch 'MDL-77555-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit be58d68f20c50524577162197e64d3ff901c6b72
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 7 22:09:32 2023 +0000

    MDL-77555 reportbuilder: improve SQL generation within filters.

    Use native ANSI SQL syntax for numeric comparisons where possible,
    define filter API for the case where filters must re-use the given
    field SQL while ensuring uniqueness of any field parameters.

    Currently only necessary in the category filter type.

commit 131d80441a88d0d5f3fbf64308fa5b1103b25913
Merge: 571c59b60ee aa9a462a4b7
Author: Paul Holden <paulh@moodle.com>
Date:   Wed Apr 5 08:56:45 2023 +0100

    Merge branch 'MDL-69551_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit 8a588f963ca91ac06fc3186ca137116c2b236b51
Author: AMOS bot <amos@moodle.org>
Date:   Wed Apr 5 00:07:43 2023 +0000

    Automatically generated installer lang files

commit 4e32a42415235f46d672292676cf0e6decb67e1e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed Mar 29 16:01:39 2023 +0200

    MDL-77788 mod_assign: Apply format_string to group names in WS

commit aa9a462a4b702781a5686f19ec5e4cadf7554cd4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue Mar 28 17:35:21 2023 +0100

    MDL-69551 quiz: start quiz password field should be a passwordunmask

    This help accessibility and usability

commit 571c59b60eedd78dc0cdfe106b1d0658723f7763
Merge: 65ba7df04b3 fbbdfefdb6c
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Apr 4 12:06:42 2023 +0100

    Merge branch 'MDL-77712-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE

commit 360f9e37f85cb0c640016c1991e8f689f51d2fe7
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 6 08:35:32 2023 +0000

    MDL-77012 editor_tiny: correct block formats property syntax.

    Co-authored-by: Hiroto Kagotani <hiroto.kagotani@gmail.com>

commit 65ba7df04b33c9e624d7c42263e8f264e791becc
Merge: 2a4f86051b9 b3adaaf47f9
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Apr 4 12:07:23 2023 +0800

    Merge branch 'MDL-77584-401' of https://github.com/ewallah/moodle into MOODLE_401_STABLE

commit 02aed7f6fcb09f02cdc455f0875eebdedfda2b5a
Author: AMOS bot <amos@moodle.org>
Date:   Tue Apr 4 00:07:43 2023 +0000

    Automatically generated installer lang files

commit 2a4f86051b91e3c32211264d944d3195ca7500e6
Merge: 701541f35b0 b33e5466df2
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 3 14:54:05 2023 +0100

    Merge branch 'MDL-75906-401' of https://github.com/mickhawkins/moodle into MOODLE_401_STABLE

commit 701541f35b03b5d9c7abb8d93ec36599a423eaac
Merge: 839681dc772 bc4b6cf8f79
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Apr 3 10:56:19 2023 +0100

    Merge branch 'MDL-77227-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE

commit 839681dc7720181064fc2cd5d59f242ca55213b4
Merge: e1f3e7f2320 fbb6dc4ca3d
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Apr 3 11:53:19 2023 +0200

    Merge branch 'MDL-77807-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b33e5466df2e62b44c9dfff5267a381e32331383
Author: Michael Hawkins <michaelh@moodle.com>
Date:   Mon Apr 3 17:11:02 2023 +0800

    MDL-75906 core: Updated security.txt expiry

commit fbbdfefdb6c730b9dfe58a897090da51f89602f4
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 30 11:09:59 2023 +0200

    MDL-77712 core_course: Fix exception with inplace editor

    * On fresh install, an exception is raised when we try to modify
    the name of a newly inserted activity in the front page

commit 8656271a6355bba746d32e506bacecd435184913
Author: Ferran Recio <ferran@moodle.com>
Date:   Wed Mar 8 10:03:40 2023 +0100

    MDL-77552 core_courseformat: add plugin and module to cm state

    Backport of MDL-77386

commit e1f3e7f23205b70e03c007465bf83f675809dc7e
Merge: a78f3a02c69 f6c4303c582
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Mon Apr 3 10:03:53 2023 +0800

    Merge branch 'MDL-77603' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE

commit f6c4303c582e7d10fe32daf03372a1e2b390a7af
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Thu Mar 2 09:13:09 2023 +0800

    MDL-77603 theme_boost: Add reference to CL update

commit 134dc470c7ee8fc5d26372ef036b371d7aaf7976
Author: Petr Skoda <commits@skodak.org>
Date:   Wed Mar 1 13:01:18 2023 +0100

    MDL-77603 theme_boost: remove Bootstrap version reference

commit 45cd887f3b92c66b2ccac7d61f41a5049a4d265e
Author: Petr Skoda <commits@skodak.org>
Date:   Fri Feb 17 13:05:17 2023 +0100

    MDL-77603 tool_componentlibrary: import Bootstrap v4.6.2

commit b65ec774c5288bcce724674eb57be07c61da3b80
Author: Petr Skoda <commits@skodak.org>
Date:   Wed Jan 18 16:21:30 2023 +0100

    MDL-77603 theme_boost: import Bootstrap v4.6.2

commit 215e9f06885ad2e3dfd1b4c6608fb675064b3a07
Author: AMOS bot <amos@moodle.org>
Date:   Sun Apr 2 00:07:37 2023 +0000

    Automatically generated installer lang files

commit 035ebed95bdceb9c4fc4c117573264a65865d84d
Author: AMOS bot <amos@moodle.org>
Date:   Sat Apr 1 00:07:46 2023 +0000

    Automatically generated installer lang files

commit a78f3a02c692a094108a6620ef45b4fdd89ed5c4
Author: Paul Holden <paulh@moodle.com>
Date:   Fri Mar 31 18:11:53 2023 +0100

    weekly release 4.1.2+

commit 2890546f441e692d21d7e2a2426d66f20d87a7cd
Merge: a1df38dfc6d 1f337e76658
Author: Paul Holden <paulh@moodle.com>
Date:   Fri Mar 31 18:11:51 2023 +0100

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit a1df38dfc6da2226516f3cdd02bef8b37e0ef402
Merge: 82f9585f55f 4ee053a2782
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 31 11:57:27 2023 +0800

    Merge branch 'MDL-59175-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 82f9585f55f53a573b858963b9dc60057ab4678a
Merge: 0f092b86b57 87557383601
Author: Jake Dallimore <jake@moodle.com>
Date:   Fri Mar 31 11:48:42 2023 +0800

    Merge branch 'MDL-77794-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 0f092b86b5739ec607f81b0db40a013f9fd04eb6
Merge: 74f3c34cbfb c99abd65ca4
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 31 11:31:05 2023 +0800

    Merge branch 'MDL-77783-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 74f3c34cbfb479b0425d1fa264931d3e30bdac51
Merge: ab3a2445681 8ee689f6124
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Fri Mar 31 09:41:45 2023 +0800

    Merge branch 'MDL-70976-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE

commit 1f337e76658e5c31aa3330bff2b71e281c9b1c8d
Author: AMOS bot <amos@moodle.org>
Date:   Fri Mar 31 00:07:40 2023 +0000

    Automatically generated installer lang files

commit fbb6dc4ca3dc81d07fb62344228eb56c73593060
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 20:40:24 2023 +0100

    MDL-77807 files: normalise file entity size/type column fields.

    The `filename` field was only used by each to determine whether the
    file was itself a directory, and it's presence meant that aggregation
    of each column wasn't working properly.

commit ab3a2445681067104085341582b314eeff4eadf8
Author: Laurent David <laurent.david@moodle.com>
Date:   Thu Mar 23 10:31:51 2023 +0100

    MDL-77456 core_courseformat: Fix highlight in course index

    * When navigating to a restricted activity as a student from the course index
    the item is not highlighted when refreshing the page.

commit 7b13a543ad5b9973184dff51b18590e6c083a912
Merge: dd10dead0f8 436ed2c4cb1
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 17:53:20 2023 +0200

    Merge branch 'MDL-77761-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit dd10dead0f8efb734e2792afa99a0351ac4e274c
Merge: b84a48d1eef 7b614d6f51b
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 16:31:21 2023 +0200

    Merge branch 'MDL-77764-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b84a48d1eefa55001ddd2fcf6cebf5a32e0ab82f
Merge: 3794210019d 4f8c5ef086d
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 12:50:09 2023 +0100

    Merge branch 'MDL-76481_401_Brickfield_TCPDF_error' of https://github.com/brickfield/moodle into MOODLE_401_STABLE

commit 3794210019dbf742c413364bfe80b3968cff4664
Merge: cca75ca9568 2b0a0cecdfc
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 30 13:45:18 2023 +0200

    Merge branch 'MDL-77762-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit cca75ca95686fc1cd6f68982bb8026cdbe1c554b
Merge: 93c91af6a94 d0ddc7692b4
Author: Jun Pataleta <jun@moodle.com>
Date:   Thu Mar 30 19:03:40 2023 +0800

    Merge branch 'MDL-77333_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

commit 93c91af6a94492c00418258737043cef360feec4
Merge: 5d10e53ba1e 5df8e8fa5f1
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 10:41:20 2023 +0100

    Merge branch 'MDL-77773-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 87557383601e07275db45e5e27b3e99f06b95f79
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 09:50:51 2023 +0100

    MDL-77794 contentbank: fix plugin type language strings.

    AMOS BEGIN
     CPY [type_contentbank,core_plugin],[type_contenttype,core_plugin]
     CPY [type_contentbank_plural,core_plugin],[type_contenttype_plural,core_plugin]
    AMOS END

commit 4f8c5ef086d17286293c276f11ad860f1de6ce23
Author: Max Larkin <maxlarkin@protonmail.com>
Date:   Thu Mar 30 09:02:35 2023 +0100

    MDL-76481 tool_brickfield: Fix PHP 8 report download

commit 5d10e53ba1efe57c2cc761291296f69c0ced0287
Merge: cc0c62d5644 fd9b8bf4d0e
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 30 08:47:54 2023 +0100

    Merge branch 'MDL-75017_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit cc0c62d5644356fa87ecbc8b51086c9cf031f012
Merge: d50bb07b2b0 f17b006dcba
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Thu Mar 30 14:22:53 2023 +0800

    Merge branch 'MDL-73771_401' of https://github.com/lostrogit/moodle into MOODLE_401_STABLE

commit 48fb5b6e88f9f59024aa24fda9da6e4a73232a43
Author: AMOS bot <amos@moodle.org>
Date:   Thu Mar 30 00:07:44 2023 +0000

    Automatically generated installer lang files

commit bc4b6cf8f79915dcc05f77e9ad3e2cc6b869d744
Author: Amaia Anabitarte <amaia@moodle.com>
Date:   Wed Mar 29 18:15:21 2023 +0200

    MDL-77227 roles: Remove extra information for override page

commit f17b006dcba898d8f029b4b875849f9cebe20456
Author: Carlos Castillo <carlos.castillo@moodle.com>
Date:   Wed Mar 8 09:15:41 2023 -0500

    MDL-73771 theme: Fix scrollbar position

commit d50bb07b2b020237a16e880acb8fe023dd2d880e
Merge: b85f6a660b1 0d4d201a8cf
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed Mar 29 15:27:15 2023 +1100

    Merge branch 'MDL-74452_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE

commit b85f6a660b1370e66efeb1679bc7e7359b92e520
Merge: dd584ab981d 50d1671a54b
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 29 10:58:47 2023 +0800

    Merge branch 'MDL-77740-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit dd584ab981d9187a2a83a1db83615a09365bc60c
Merge: ab9b09908a6 4ce5755a63d
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 09:48:17 2023 +0800

    Merge branch 'MDL-77382-401' of https://github.com/snake/moodle into MOODLE_401_STABLE

commit ab9b09908a6768303c33bd680e6c961046849f45
Merge: 449a8b0b31c 9a05e393dde
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 09:31:51 2023 +0800

    Merge branch 'MDL-76941-401-2' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

commit c99abd65ca4de9e2aac15434490fe15393486f12
Author: Jun Pataleta <jun@moodle.com>
Date:   Wed Mar 29 08:35:30 2023 +0800

    MDL-77783 core: Validate sublugins.json

    * Validate the decoded subplugins.json before processing it.
    * Log errors if subplugins.json is invalid or if plugintypes is not
    defined.

commit 436ed2c4cb14665119c7fb1c6e0ae7a06018d2c4
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Mar 27 22:20:17 2023 +0800

    MDL-77761 core_form: Add label for editor format selector

commit d0ddc7692b40c6e72a0fdffb87a4d86530f7adda
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Sat Mar 25 13:43:55 2023 +0100

    MDL-77333 mod_resource: fixes generator uploading files + tests

    MDL-76499 revealed a few problems with resource generators:

    1. We were not covering with unit tests the upload of files from disk
       (and here it's where the problem was).
    2. There was a little of confusion between disk paths (only needed
       to upload files) and file_area paths (the generator only creates
       or uploads files to the root directory of the file area.
    3. It was possible to request the upload of a file to the generator
       without that file effectively existing.

    This commit fixes those points  and covers 99% of the generator code.

commit 449a8b0b31c2a71081b425dd86c67bd717eb875f
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 15:55:18 2023 +0100

    weekly release 4.1.2+

commit 0f251ce165902ffea9d57c62c14b76d11ea3a197
Merge: 7f6888bd536 1f4daa74026
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 15:55:16 2023 +0100

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit 5df8e8fa5f160d34adc45c570f10de393f7e419f
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Tue Mar 28 20:47:49 2023 +0800

    MDL-77773 editor_tiny: Improve initial editor size

commit 7f6888bd536373d428ed2f1717e64072237a0443
Merge: ae63139985e 95d5b0aab09
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 28 12:38:52 2023 +0100

    Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit 95d5b0aab0972bd749c5ac7030ee33985520c6db
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 18:48:31 2023 +0800

    MDL-77105 core: Cast custom data to an array when evaluating filtericon

    Since other modules may treat custom data as an object, we need to make
    cast it to an array before evaluating for the `filtericon` custom data.

commit 9a05e393dded53c474cc169876361708dd5f7e1c
Author: Huong Nguyen <huongnv13@gmail.com>
Date:   Mon Mar 20 16:28:37 2023 +0700

    MDL-76941 tool_usertours: Fix accessibility issue when resizing

commit 110ec6a703d1014dfb3f595205c5eea86259b45e
Author: Meirza <meirza.arson@moodle.com>
Date:   Fri Nov 25 22:22:44 2022 +0700

    MDL-77436 auth_oauth2: Update profile fields based on data mapping.

    After the user creation, the system must call an update function to update profile_fields_*.
    We also provided two functions into user/profile/lib.php to get available from other areas.
    We added PHP unit testing for new public functions and
    the Behat tests for custom profile fields with locked and unlocked statuses.

    Co-authored-by: Matt Porritt <matt.porritt@moodle.com>

commit 714764d96611a343a95f1ef62e6ff3de1dd59b87
Author: Matt Porritt <mattp@catalyst-au.net>
Date:   Tue Nov 23 04:31:07 2021 +0000

    MDL-77436 auth_oauth2: Allow admin to choose profile fields for mapping

    Update oauth2 to allow mapping of provider attributes against
    user profile fields. Fields can also be locked to prevent
    user changes.

    Co-Authored-By: Michael Milette <michael.milette@tngconsulting.ca>

commit ae63139985e08535d20216c7832bc5fe521a9f23
Merge: e144ff8a43e cd528df0931
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 12:06:17 2023 +0800

    Merge branch 'MDL-77630-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE

commit e144ff8a43e9db8d6250ca35e7b7564ee865a224
Merge: 6b96cf8676b bc1d7e854be
Author: Jake Dallimore <jake@moodle.com>
Date:   Tue Mar 28 11:42:42 2023 +0800

    Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

commit cd528df09310c04d3e02b27d78b2e179d4675883
Author: Meirza <meirza.arson@moodle.com>
Date:   Tue Mar 28 09:39:01 2023 +0700

    MDL-77630 mod_forum: correct typo in variable names

commit 6b96cf8676bcba04c1232963f457308fe036ba0e
Merge: e7cda153a23 b296667ebf9
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 28 07:04:42 2023 +0800

    Merge branch 'MDL-77670-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE

commit 2b0a0cecdfcb227381edb13dae8225add852406c
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 17:54:34 2023 +0100

    MDL-77762 contentbank: always provide exit button when appropriate.

    If the current user can access the content bank in the context of the
    current item, then provide link back to it.

commit 7b614d6f51b2dd47c5430067ac43bb072a968b2c
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 16:51:52 2023 +0100

    MDL-77764 contentbank: add field label to context selection element.

commit e7cda153a23c98465e19682a919a5d7d6204ad6a
Merge: 0d6eaef2002 c55f219d77b
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:56:30 2023 +0200

    Merge branch 'MDL-76376_m41' of https://github.com/jrchamp/moodle into MOODLE_401_STABLE

commit 0d6eaef200264cece962c3ca632342560747bd4f
Merge: f32c46bf0ca 3fee9d949f6
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:50:31 2023 +0200

    Merge branch 'MDL-77659_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE

commit f32c46bf0cad66c6904c61ceaeddb624e547837f
Merge: 8c9b54cc5d7 eeae99afc7d
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 16:08:26 2023 +0200

    Merge branch 'MDL-73226-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE

commit eeae99afc7d60fefda989418bb04aa26229b5dfd
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu Mar 16 16:56:07 2023 +0100

    MDL-73226 files: Add quota checks to core_user_add_user_private_files

commit 8c9b54cc5d72fbb04e74a8ebd0b7be2550959f95
Merge: da42c763000 b924f6a3558
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 12:41:18 2023 +0200

    Merge branch 'MDL-76303-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE

commit da42c76300056179a1af1cacb8e6c2c8fefcbf24
Merge: c2714ff1af8 c1c1ca6e4d4
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 27 11:09:26 2023 +0100

    Merge branch 'MDL-77729_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit c2714ff1af82324fd592ceaadbfae5a50a26ae55
Merge: 5898c3e5dd8 7c1c1071e76
Author: Sara Arjona <sara@moodle.com>
Date:   Mon Mar 27 11:43:26 2023 +0200

    Merge branch 'MDL-77561-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit f2cbacbd2403967672850af0da45f4544e6d2868
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 7 16:48:51 2023 +0000

    MDL-77555 reportbuilder: method to ensure unique parameters in SQL.

commit bc1d7e854be0b9c8baad4120a5912585db47c328
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Feb 13 13:17:18 2023 +0800

    MDL-77105 core: Add upgrade.txt notes

commit 99bc8f2b309b3dca1c339b22fd98fde68c99ba6b
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 22:34:45 2023 +0800

    MDL-77105 mod_url: Declare filtericon custom data

    * Set a custom data `filtericon` when the icon being rendered for the
    URL resource is not equal to the default plugin icon.

commit 67f739499b3840ffc4cfae5a5a04c8dcd33bf3ab
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 19:06:59 2023 +0800

    MDL-77105 mod_lti: Add 'nofilter' class for custom tool icons

    Add a '.nofilter' class when rendering custom tool icons in order
    to render them as is and without CSS filter on the activity chooser.

commit 538e17e199ce7c96ae421f2e29100f7667ebebe3
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 22:33:37 2023 +0800

    MDL-77105 core_course: Add 'nofilter' class for non-monologo icons

    When rendering content items, check whether the plugin has monologo
    icons. If so, add a 'nofilter' class so the plugin icon can be
    rendered as is and without the CSS filter.

commit 28d8c9c1e73d28d8ccc33738e7cd2743054f759c
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 18:43:25 2023 +0800

    MDL-77105 block_timeline: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the timeline block.

commit 18703b71acaa4409305f584b91acfbafeb1149b9
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 18:42:47 2023 +0800

    MDL-77105 block_recentlyaccesseditems: Add 'nofilter' class

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the recently accessed items block.

commit f59220a76d0259f9b8547b575f89e14ae7ccf722
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:59:31 2023 +0800

    MDL-77105 theme_boost: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the context header on the activity page.

commit 84198e03c76ca3e46f58c3b447f4a3d9cd4c2b2d
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:21:43 2023 +0800

    MDL-77105 course_format: Add 'nofilter' class when necessary

    Add the `.nofilter` class for activity icons when the icon URL's
    `filtericon` parameter is not set, so they get rendered as they are on
    the course homepage.

commit f5d445a68fd9235acb18057733ef1ede8df72867
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:19:54 2023 +0800

    MDL-77105 core: Conditionally apply icon filter

    * Apply the filter CSS property only to activity icons
    that don't have the ".nofilter" class. This will allow
    activities with non-SVG icons to be rendered as they are.

commit 30b0b0cf40b5f8c764e86c8c58f2986cfe0f4d79
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Feb 10 16:17:34 2023 +0800

    MDL-77105 core: Add a filtericon parameter to course mod icon URLs

    * If a plugin defines a `filtericon` custom data or uses its monologo
    version of the icon, a `filtericon` parameter is being added to the
    icon's URL. This information can help plugins determine whether to
    render the activity icon as is or with CSS filtering.

commit 69948eda103573ceb38fc54f0d34f500460e6e2b
Author: Jun Pataleta <jun@moodle.com>
Date:   Mon Mar 27 10:30:26 2023 +0800

    MDL-77105 core: Method to determine whether a plugin has monolog icons

commit 1f4daa74026ea8a4a7f391444541ed7050fe6f93
Author: AMOS bot <amos@moodle.org>
Date:   Sun Mar 26 00:07:41 2023 +0000

    Automatically generated installer lang files

commit c1c1ca6e4d4c72024a76d769e3eadce293a1e2d9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat Mar 25 15:38:04 2023 +0000

    MDL-77729 qformat_missingword: fix form of help link

commit 50d1671a54b81d8ed0437927ce5ab8a55f6ea891
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri Mar 24 21:27:36 2023 +0800

    MDL-77740 editor_tiny: Set the Editor window from the iFrame element

    This is a workaround for an upstream bug which I have not been able to
    reproduce outside of Moodle whereby the editor.contentWindow does not
    math the editor.iframeElement.contentWindow when it should.

    This issue only seems to affect Firefox, and it may even be a bug in
    Firefox. It can only be reproduced when using a fresh browser which has
    never had a TinyMCE window open.

commit fd9b8bf4d0e2fab32e215c0c411946398b7a1819
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Mar 24 10:41:38 2023 +0000

    MDL-75017 questions: give a clear error if the context type is invalid

commit e405e6fd6ac3645e60e64866046dca50409853c1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri Mar 24 12:55:57 2023 +0000

    MDL-75017 questions: fix weird setup in qformat_xml_import_export_test

commit 5898c3e5dd834d50cd7f6cda30818f5614b09b2e
Author: Sara Arjona <sara@moodle.com>
Date:   Fri Mar 24 13:59:31 2023 +0100

    weekly release 4.1.2+

commit d2bc54fba9ec198ab1a7170d3a9faf66f19b6cc2
Merge: 9b07f56addc 29a1cf86a38
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 24 11:51:36 2023 +0800

    Merge branch 'MDL-77669-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE

commit 9b07f56addcca5915787503b82da399150a04919
Merge: d2d49e150b1 4bc3782c4cc
Author: Jun Pataleta <jun@moodle.com>
Date:   Fri Mar 24 10:40:36 2023 +0800

    Merge branch 'MDL-77626_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

commit 7c1c1071e769430362e7a3d5c94cd22d110d682a
Author: Simey Lameze <simey@moodle.com>
Date:   Thu Mar 23 09:44:46 2023 +0800

    MDL-77561 behat: add step to accept dpa and enable bigbluebutton

    The step i_enable_plugin cannot be used as bigbluebuttonbn_default_dpa_accepted
    setting needs to be enable in order for the BigBlueButton plugin to be enabled.

commit d2d49e150b1a266e539e0e1623a1f0701e032c5e
Merge: a7d71e0e2d1 ee3924702fe
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 23 18:30:27 2023 +0100

    Merge branch 'MDL-77705-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit a7d71e0e2d10449ab04e0ac29d61dc0cfd68f5dd
Merge: 3fa384384e4 71e751565cd
Author: Sara Arjona <sara@moodle.com>
Date:   Thu Mar 23 17:53:45 2023 +0100

    Merge branch 'MDL-77666-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit b924f6a3558fd0efebe68b87a8475061e113e9ec
Author: Shamiso.Jaravaza <33659194+ssj365@users.noreply.github.com>
Date:   Fri Mar 10 11:21:34 2023 -0700

    MDL-76303 mod_bigbluebuttonbn: Fix userlimit

commit 3fa384384e47ceb25b577eceb69c68da26b722f3
Merge: fe07140e275 66e88ace0fb
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 23 12:25:29 2023 +0000

    Merge branch 'MDL-77392-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE

commit 66e88ace0fbfc20c76718a7f0379ae8f2bff2174
Author: Stephan Robotta <stephan.robotta@bfh.ch>
Date:   Tue Mar 14 16:18:00 2023 +0100

    MDL-77392 calendar: calendar items are hidden because of settings

commit fe07140e275d3d448a30636417c3e22abfdc2306
Merge: fad4e118a48 0b2085648e0
Author: Paul Holden <paulh@moodle.com>
Date:   Thu Mar 23 11:43:41 2023 +0000

    Merge branch 'MDL-77691-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE

commit fad4e118a48eead60be0cf27fb765fb798861ae8
Merge: 0d80eea9afb 939a4163082
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Mar 22 14:06:07 2023 +0100

    Merge branch 'MDL-77380-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

commit 0d80eea9afbdc536b2f7e5525c45ae0fb879cc12
Merge: 0b973b52e9b fac18282224
Author: Sara Arjona <sara@moodle.com>
Date:   Wed Mar 22 13:50:11 2023 +0100

    Merge branch 'MDL-77692-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

commit 0b973b52e9b23c85b58926671cee38a6a72742ab
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 22 09:37:08 2023 +0800

    weekly release 4.1.2+

commit b158354710e5b6cdad63eba0d3bf9dd9a5c139d8
Merge: 28d1db2f1dd 9e97a353ada
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Wed Mar 22 09:37:06 2023 +0800

    Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE

commit ee3924702fea42d178ec682f95bbc972e10b8a23
Author: Paul Holden <paulh@moodle.com>
Date:   Tue Mar 21 16:02:54 2023 +0000

    MDL-77705 reportbuilder: avoid re-using field alias between entities.

    Ensure that when the user entity is added multiple times to a report,
    when there are custom profile fields, each of those gets a unique table
    alias per-entity.

commit 0d4d201a8cf35b7e7f6565e3d3def74da75f7f89
Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Date:   Fri Mar 17 12:17:13 2023 +0000

    MDL-74452 quiz: Display an error if all versions are in draft status

commit 0b2085648e0b55a33772fea66dc0776de1ca93dc
Author: Mikel Martín <mikel@moodle.com>
Date:   Mon Mar 20 13:54:47 2023 +0100

    MDL-77691 behat: Add step to navigate to profile page directly

commit 939a4163082586e7327521349558ba11b1bb3447
Author: Simey Lameze <simey@moodle.com>
Date:   Wed Mar 8 10:34:35 2023 +0800

    MDL-77380 block_myoverview: improve show toggle functionality test

commit 28d1db2f1dd0d72cec46563398c2f7299dd01da2
Merge: ea915c29e5d 5a7ad7b2847
Author: Jun Pataleta <jun@moodle.com>
Date:   Tue Mar 21 12:01:01 2023 +0800

    Merge branch 'MDL-75746_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE

commit 084c120c79db05a154b90f52255bb195d668dabf
Author: Angelia Dela Cruz <andelacruz@ubiquitous-tech.com>
Date:   Thu Mar 16 13:14:28 2023 +0800

    MDL-77577 Behat: Replaced the use of "Install selected language pack(s)

    Evaluated usage of "Install selected language pack(s)" in Behat and
    replaced the steps to use generator to install language packs as part
    of test setup.

commit 29a1cf86a383d2b2f7769935c4f923e2c3c6645c
Author: Meirza <meirza.arson@moodle.com>
Date:   Fri Dec 16 20:52:11 2022 +0700

    MDL-77669 dml: Added extrainfo in the DB options config.

    extrainfo is an extra information for the DB driver, e.g. SQL Server,
    has additional configuration according to its environment,
    which the administrator can specify to alter and override any connection options.

    Co-authored-by: LukeCarrier <luke@carrier.im>

    This is a backport of MDL-64153.

commit ea915c29e5d034b3d897a22cc8374222e07e6074
Merge: deced83b06b f8301fb4bc3
Author: Ilya Tregubov <ilya@moodle.com>
Date:   Tue Mar 21 08:24:59 2023 +0800

    Merge branch 'mdl-72533-event-table-performance-MOODLE_401_STABLE' of https://github.com/petersistrom/moodle into MOODLE_401_STABLE

commit deced83b06b7bb0eb4942b6d2ed5255d26bc7b56
Merge: 502536c16e4 34c452afb42
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 20 17:04:54 2023 +0000

    Merge branch 'MDL-72124_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE

commit fac18282224d779fb018ff0a45f6b328f17cf9eb
Author: Paul Holden <paulh@moodle.com>
Date:   Mon Mar 20 16:09:25 2023 +0000

    MDL-77692 reportbuilder: format custom field condition/filter names.

commit 502536c16e485cc151918fadaa…
laurentdavid pushed a commit to call-learning/moodle that referenced this issue Jun 16, 2023
Simplify the test for allowed contexts by removing problematic use of
data provider annotation.

See: sebastianbergmann/phpunit#2739
@AlexSkrypnyk
Copy link

Here is a practical use of Opis\Closure\SerializableClosure; as a trait that can be added to your test so that you could call closures from your data providers.

In my case, I needed to "prepare" the SUT before test, so running some operations in the closure.

The names fnw and fnu were chosen as they are close to fn reserved word and are not taking too much space in code.

<?php

use Opis\Closure\SerializableClosure;

trait ClosureWrapperTrait {

  /**
   * Wrap closure into serializable object.
   */
  public static function fnw(callable $closure): SerializableClosure {
    return new SerializableClosure($closure);
  }

  /**
   * Unwrap closure into serializable object.
   */
  public static function fnu(callable|null $callback): mixed {
    return $callback && $callback instanceof SerializableClosure ? $callback->getClosure() : $callback;
  }

}

Test

// Test
public function testDiscoveredValue(null|callable $prepare_callback, mixed $expected) {
  $prepare_callback = static::fnu($prepare_callback);
  if (is_callable($prepare_callback)) {
    $prepare_callback($config_values, $answers_values);
  }

  $actual = YOUR_CODE_SUT();
  $this->assertEquals($expected, $actual);
}

// Data provider
public static function dataProviderDiscoveredValue(): array {
  return [
    [
      NULL, // No closure
      'someval',
    ],

    [
      static::fnw(fn() => MY_PREPARE_CALLBACK1),  // Closure
      'otherval',
    ],
    
    [
      static::fnw(fn() => MY_PREPARE_CALLBACK2),  // Closure
      'anotherval',
    ],    
  ]      
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants