Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
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…
  • Loading branch information
danchamp committed May 2, 2023
1 parent ae0aa40 commit 2ed822e
Show file tree
Hide file tree
Showing 857 changed files with 14,297 additions and 5,510 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/push.yml
Expand Up @@ -66,14 +66,16 @@ jobs:
steps:
- name: Setting up DB mysql
if: ${{ matrix.db == 'mysqli' }}
uses: johanmeiring/mysql-action@tmpfs-patch
uses: moodlehq/mysql-action@v1
with:
collation server: utf8mb4_bin
mysql version: 5.7
mysql database: test
mysql user: test
mysql password: test
use tmpfs: true
tmpfs size: '1024M'
extra conf: --skip-log-bin

- name: Setting up DB pgsql
if: ${{ matrix.db == 'pgsql' }}
Expand Down
2 changes: 1 addition & 1 deletion .grunt/components.js
Expand Up @@ -156,7 +156,7 @@ const getThirdPartyLibsList = relativeTo => {
* @returns {array}
*/
const getThirdPartyPaths = () => {
const DOMParser = require('xmldom').DOMParser;
const DOMParser = require('@xmldom/xmldom').DOMParser;
const fs = require('fs');
const path = require('path');
const xpath = require('xpath');
Expand Down
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -81,7 +81,8 @@ install:
sudo service mysql stop
sudo mv /var/lib/mysql /mnt/ramdisk
sudo ln -s /mnt/ramdisk/mysql /var/lib/mysql
sudo service mysql restart
echo -e "[mysqld]\nskip-log-bin" | sudo tee -a /etc/mysql/my.cnf
sudo service mysql start
fi
- >
if [ "$DB" = 'pgsql' ];
Expand All @@ -92,6 +93,7 @@ install:
sudo mv /var/lib/postgresql /mnt/ramdisk
sudo ln -s /mnt/ramdisk/postgresql /var/lib/postgresql
sudo service postgresql start 9.6
sh -c 'until pg_isready -p 5432; do echo "Waiting for the DB to be up..."; sleep 2; done'
fi
- >
if [ "$TASK" = 'PHPUNIT' ];
Expand Down
98 changes: 58 additions & 40 deletions TRADEMARK.txt
@@ -1,48 +1,66 @@
MOODLE TRADEMARKS POLICY
========================

The word "Moodle" is trademarked in many countries around the world. The word
was originally coined as an acronym: Modular Object-Oriented Dynamic Learning
Environment. The trademark is owned by Martin Dougiamas, Founder and Director
of Moodle.

The law obligates trademark owners to police their marks and prevent the use of
confusingly similar names by third parties. Through this policy we’d like to
make it clear how Moodle-related projects, organisations, and people can use
the Moodle trademark. We’d also like to be clear about how use of the word is
restricted when used to promote commercial Moodle services. We do this to
protect the very business model that allows us to continue developing Moodle
for you.

Allowed uses
------------

The following uses don’t require any permission at all:

* Referring to the software or the Moodle project.
* Describing your own Moodle implementation (including within corporate
settings).
The Moodle Trademark
--------------------

The brand and word "Moodle" has trade mark protection in many countries around
the world. Various Moodle™ trade marks are owned by either Moodle Pty Ltd or
one of its associated entities. The law obligates trade mark owners to police
their trade marks and prevent the use of confusingly similar names by
third parties.

We have created a more concise and thorough set of Trademark Guidelines
(https://moodle.com/wp-content/uploads/2023/02/Moodle-Trademark-Guidelines-2023-4.pdf)
to help you understand how to comply with Moodle's trade mark requirements.
The Trademark Guidelines will also assist our Moodle Certified Partners and the
community to understand some of the principles that inform Moodle's stance
whenever potential infringement has been detected by us or our community.

We need to be clear about use of the word "Moodle" and how we restrict its use
when promoting commercial Moodle™ branded services. The proper use of
trade marks reliably assures consumers about the quality of the associated
products or services and where they have been derived from. Because the
Moodle LMS is made available under the open source ‘GNU General Public License'
that permits you to modify the copyrighted software, the distribution of such
modified software in combination with Moodle trade marks can potentially
mislead others in the community. To be clear, the GNU GPL does not include an
implied right or licence to use Moodle's trade marks.

We do all this to protect the very business model that allows us to continue
developing various Moodle software solutions for you.

Allowed uses of "Moodle"
------------------------

The following uses don't require any permission at all:

* Referring to the software or the Moodle project as the "Moodle™ software"
or the "Moodle™ project"
* Describing your own implementation of the Moodle™ software platform
(including within corporate settings).
* Describing a Moodle-based community hub.
* Describing some software youve made that integrates with Moodle
(eg a Moodle integration feature on another system).
* Describing certain software you've made that integrates with Moodle
branded software (e.g. a Moodle integration feature on another system).

Restricted uses
---------------
Restricted uses of "Moodle"
---------------------------

The following uses are generally prohibited without explicit and direct
permission being granted to you by Moodle Pty Ltd. We do this to protect the
Moodle project from software and sites which could confuse people. Please
contact us to ask for permission in writing.

* You can’t use "Moodle" in the name of your software (including Mobile apps)
* You can’t use "Moodle" in your company name
* You can’t use "Moodle" in your domain name
* You can’t use "Moodle" in advertising-related keywords (such as Adsense)
* You can’t use "Moodle" to describe services around Moodle (such as hosting,
training, support, consulting, course creation services, theme development,
customisation, installation, integration and certification). This applies
even if you do not charge for the services. Note that usually only Moodle
Partners have this permission.

For information about the Moodle Partner Certification Mark as well as for how
to contact us, please see <https://moodle.com/trademarks/>.
Moodle™ project from software and sites which could confuse people. If in
doubt, reach out for clarification at <trademarks@moodle.com>

* You can't use the word "Moodle" or any Moodle logos for commercial purposes
without prior written permission from Moodle HQ.
* You can't use "Moodle" in the name of your software (including Mobile apps).
* You can't use "Moodle" in your company name.
* You can't use "Moodle" in your domain name.
* You can't use "Moodle" in advertising-related keywords (such as Adsense).
* You can't use "Moodle" to describe services around Moodle
(such as hosting, training, support, consulting, course creation services,
theme development, customisation, installation, integration, analytics
and certification) that cause consumers to be confused that you are
associated with Moodle HQ if you are not.
This applies even if you do not charge for the services.
Note that usually only Moodle Partners have this permission.
78 changes: 78 additions & 0 deletions admin/course/resetindentation.php
@@ -0,0 +1,78 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Reset course indentation
*
* @copyright 2023 Amaia Anabitarte <amaia@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

require_once('../../config.php');

require_admin();

$format = required_param('format', PARAM_PLUGIN);
$confirm = optional_param('confirm', false, PARAM_BOOL);
$backurl = new moodle_url('/admin/settings.php', ['section' => 'formatsetting'.$format]);

$PAGE->set_url('/admin/course/resetindentation.php', ['format' => $format]);
$PAGE->set_context(context_system::instance());

if ($confirm) {
require_sesskey();
$courses = $DB->get_records('course', ['format' => $format], 'id', 'id');
if (!empty($courses)) {
$courseids = array_keys($courses);
list($courseinsql, $courseparams) = $DB->get_in_or_equal($courseids, SQL_PARAMS_NAMED, 'course');
$DB->set_field_select('course_modules', 'indent', '0', "course $courseinsql AND indent <> 0", $courseparams);
rebuild_course_cache(0, true);
}
redirect(
$backurl,
get_string('resetindentationsuccess', 'admin'),
null,
\core\output\notification::NOTIFY_SUCCESS
);
}

$strtitle = get_string('resetindentation', 'admin');

$PAGE->set_title($strtitle);
$PAGE->set_heading($strtitle);

navigation_node::override_active_url(new moodle_url(
'/admin/course/resetindentation.php',
['action' => 'confirm', 'format' => $format]
));

echo $OUTPUT->header();

$displayoptions = ['confirmtitle' => get_string('resetindentation_title', 'admin')];
$confirmbutton = new single_button(
new moodle_url('/admin/course/resetindentation.php', ['confirm' => 1, 'format' => $format, 'sesskey' => sesskey()]),
get_string('resetindentation', 'admin'),
'post'
);
$cancelbutton = new single_button($backurl, get_string('cancel'));
echo $OUTPUT->confirm(
get_string('resetindentation_help', 'admin', ['format' => get_string('pluginname', 'format_'.$format)]),
$confirmbutton,
$cancelbutton,
$displayoptions
);

echo $OUTPUT->footer();

0 comments on commit 2ed822e

Please sign in to comment.