108948 Commits

Author SHA1 Message Date
Andrew Nicols
a164c6b5f8
Merge branch 'MDL-68435-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-09-08 22:22:58 +08:00
Andrew Nicols
54271fa749
Merge branch 'MDL-78917-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-09-08 22:22:58 +08:00
Jun Pataleta
6e0210764a
MDL-79048 course: Add editing versions of course view page titles
* Create 'editing' versions of the coursetitle and coursesectiontitle
lang strings used for the page title of the course homepage and use
these when editing mode is turned on to provide immediate information
to users, especially screen reader users, the current state of the
course homepage.
2023-09-08 21:58:45 +08:00
AMOS bot
c72cd82baf Automatically generated installer lang files 2023-09-08 00:10:46 +00:00
Paul Holden
11867ee8eb
MDL-79291 h5p: handle content type creation errors in test generator.
If the endpoint is temporarily down and/or misbehaving, then at least
we'll a clearer failure message.
2023-09-07 15:39:05 +01:00
Jun Pataleta
35209a1d79
Merge branch 'MDL-78795-MOODLE_401_STABLE' of https://github.com/phmemmel/moodle into MOODLE_401_STABLE 2023-09-07 14:17:00 +08:00
Angelia Dela Cruz
fe07a2032c MDL-79220 mod_glossary: Behat for glossary entry with attachment 2023-09-07 10:13:08 +08:00
Francis Devine
57a1df54e1 MDL-79274 assignfeedback_editpdf: Fix permission error in conversion
This was causing the adhoc task to fail with a nopermission error, when
a user was unenrolled from a course before their assignment submission
could be converted into a pdf.

Comments from MDL-56810 indicate the correct approach is to not attempt
a conversion in those cases.
2023-09-07 09:27:22 +12:00
Paul Holden
0ef9be6004
MDL-78895 mod_url: fix double encoded ampersands in URL.
Also restore the `$attributes` property (previously `$extra` prior
to 8d8af19a) to define URL opening behaviour, e.g. in popup or new
window.
2023-09-06 13:24:46 +01:00
Jun Pataleta
51655f3485
MDL-79057 gradereport_singleview: Use proper hidden attribute value
HTML attribute hidden="1" is invalid. It either needs to be set to an
empty string or use the keyword "hidden" for its value.
2023-09-06 18:39:15 +08:00
Jun Pataleta
bf9a2f43ad
MDL-79057 gradereport_singleview: Remove tabindex > 0 for elements
A tab index with a non-zero value messes up with the logical tab order
of a page.
2023-09-06 18:39:15 +08:00
Noel De Martin
e3bf7ce603 MDL-79277 tool_mobile: Fix warning 2023-09-06 09:08:47 +02:00
Ilya Tregubov
633d64262d
Merge branch 'MDL-76865-401' of https://github.com/daledavies/moodle into MOODLE_401_STABLE 2023-09-06 14:49:02 +08:00
Andrew Nicols
ba4393023f
Merge branch 'MDL-79205-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-09-06 12:52:51 +08:00
Andrew Nicols
608c5044ae
Merge branch 'MDL-79244-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE 2023-09-06 12:51:23 +08:00
Ilya Tregubov
d46c7851ca
Merge branch 'MDL-76459_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE 2023-09-06 10:03:19 +08:00
Luca Bösch
b3b813c610 MDL-79244 backup: fix typo for questioncannotberestored.
AMOS BEGIN
 MOV [questionegorycannotberestored,backup],[questioncannotberestored,backup]
AMOS END
2023-09-05 22:30:45 +02:00
Paul Holden
a2628c3345
Merge branch 'MDL-76419-401' of https://github.com/rjnl/moodle into MOODLE_401_STABLE 2023-09-05 17:18:32 +01:00
Andrew Nicols
3fddb9017e
weekly release 4.1.5+ 2023-09-05 22:26:37 +08:00
Andrew Nicols
4d2d641d0c
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-09-05 22:26:33 +08:00
AMOS bot
a779a64656 Automatically generated installer lang files 2023-09-05 14:25:10 +00:00
Gregor Eichelberger
dadf19ad3f
MDL-79264 tiny: Replace hardcoded contextid
The `contextid` argument of the `tiny_equation_filter` AJAX call is
hardcoded to 1, which causes trouble if the context table does not start
with id 1.

Signed-off-by: Gregor Eichelberger <gregor.eichelberger@tuwien.ac.at>
2023-09-05 13:27:20 +02:00
Paul Holden
b1abcd1f42
MDL-79205 webservice: gracefully handle invalid functions in docs. 2023-09-05 08:51:56 +01:00
Jun Pataleta
192210f90e
Merge branch 'MDL-78874-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE 2023-09-05 12:05:42 +08:00
Andrew Nicols
48d0cf6dd9
Merge branch 'MDL-79060-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-09-05 11:23:34 +08:00
Jun Pataleta
68b1a94a2e
MDL-79060 course: Use course name for the course image link 2023-09-05 11:10:59 +08:00
Andrew Nicols
0e857d3710
Merge branch 'MDL-79230-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-09-05 10:56:55 +08:00
Andrew Nicols
a898eb1964
Merge branch 'MDL-79236-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-09-05 10:44:32 +08:00
Andrew Nicols
d3bb9121fd
Merge branch 'MDL-79191-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-09-05 10:33:40 +08:00
Jun Pataleta
b22a25f208
MDL-78549 qtype_multianswer: Configure feedback popover trigger via JS
* For some reason, the `data-trigger="hover focus"` does not work when
rendering the popover via HTML. It just defaults to click, so the
feedback popover for qtype_multianswer questions does not show on hover.
Configuring the feedback popover's trigger via JS seems to work.
2023-09-05 09:36:08 +08:00
AMOS bot
31d6d42cfc Automatically generated installer lang files 2023-09-05 00:11:50 +00:00
Rajneel Totaram
765ea5dbc3 MDL-76419 calendar: Respect $CFG->autologinguests on frontpage 2023-09-05 10:43:17 +12:00
Paul Holden
3b2690ef9c
MDL-78728 forms: correctly refer to outermost form element.
Read-only forms do not belong to a <form> element, so we can't refer
to that. Instead find the `.mform` element (which exists for regular
and read-only forms).
2023-09-04 16:43:59 +01:00
Paul Holden
d5dbe92232
Merge branch 'MDL-79232-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE 2023-09-04 11:38:13 +01:00
Paul Holden
25e159d1c5
MDL-68435 customfield: fix plugin file serving callbacks.
Incorrect parameter/method call was previously serving files with
wrong filenames.
2023-09-04 10:45:28 +01:00
Jun Pataleta
b7087ee353
MDL-79250 admin: Add title to external_content_banner template 2023-09-04 16:54:16 +08:00
Paul Holden
ed818157bb
MDL-78917 webservice: extra data in exception for missing classpath.
Include the external function classname & methodname properties in
the thrown exception, to aid diagnostic.
2023-09-04 09:03:32 +01:00
Andrew Nicols
62648c74d8
MDL-79246 gradingform_rubric: Use i_click_on for behat clicks 2023-09-04 09:13:02 +08:00
Philipp Memmel
7b105cb467 MDL-78795 core_form: Fix repeated elements JS problem
Co-authored-by: Stefan Hanauska <stefan.hanauska@csg-in.de>
2023-09-03 14:12:39 +02:00
Eloy Lafuente (stronk7)
1e3c3ec907
MDL-76459 xmldb: Add environmental check to verify $CFG->prefix
While, right now, sites using long (> 10 chars) $CFG->prefix
can continue working (because we still don't have any table
> 28 chars), as soon as some new table with long name is added,
it won't work with PostgreSQL anymore (if the 63 limit is raised).

Hence, this environmental check will verify on both install and
upgrade that the $CFG->prefix is always <= 10 chars.

Sites with longer prefixes will need to rename all their tables
(and maybe other objects, depending on the dbtype) to use a shorter
prefix.
2023-09-02 09:22:28 +02:00
Andrew Nicols
8ac8ea416a
weekly release 4.1.5+ 2023-09-02 08:18:32 +08:00
Paul Holden
2cfc22350b
MDL-79236 editor_tiny: define subplugin type language strings. 2023-09-01 19:25:03 +01:00
Paul Holden
5c93b9fa6d
MDL-79230 editor_tiny: fix plugin info manage URL.
Co-authored-by: Meirza <meirza.arson@moodle.com>
2023-09-01 15:19:52 +01:00
Marina Glancy
0ad9a91cf0 MDL-79232 navigation: fix undefined var warning 2023-09-01 14:28:00 +01:00
Huong Nguyen
6d381af4ab
Merge branch 'MDL-74828-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-09-01 10:54:43 +07:00
Huong Nguyen
6d966ab9be
Merge branch 'MDL-76092-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-09-01 10:42:24 +07:00
Andrew Nicols
4ba4250301
Merge branch 'MDL-78966-401' of https://github.com/rjnl/moodle into MOODLE_401_STABLE 2023-09-01 11:32:21 +08:00
Andrew Nicols
aafe17e92a
Merge branch 'MDL-78179-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-09-01 11:27:05 +08:00
Ilya Tregubov
d281a2bb43
Merge branch 'MDL-74429-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE 2023-09-01 11:15:51 +08:00
Andrew Nicols
e3b5759ca7
Merge branch 'MDL-79190-401' of https://github.com/jbs1/moodle into MOODLE_401_STABLE 2023-09-01 11:13:07 +08:00