106148 Commits

Author SHA1 Message Date
David Woloszyn
efc63be039 MDL-75484 lib: PHPSpreadSheet upgraded to 1.25.2 2022-10-14 17:22:25 +11:00
Jun Pataleta
e4c5a12a1c on-demand release 4.1dev+ 2022-10-11 23:17:05 +08:00
Jun Pataleta
b2f9c22692 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-10-11 23:17:03 +08:00
Andrew Nicols
60a343fcfd Merge branch 'MDL-75156-master-fix' of https://github.com/junpataleta/moodle 2022-10-11 22:02:14 +08:00
Jun Pataleta
f96a0feb6b MDL-75156 gradereport: Use large window size for aggregation tests 2022-10-11 21:08:25 +08:00
Jun Pataleta
4563dc24d5 Merge branch 'MDL-75156-fix' of https://github.com/ilyatregubov/moodle 2022-10-11 13:49:09 +08:00
Ilya Tregubov
10570acfde MDL-75156 gradebook: Fix grade handling. 2022-10-11 09:32:58 +04:00
Jun Pataleta
5ed4ea149a Merge branch 'MDL-74913' of https://github.com/lostrogit/moodle 2022-10-11 12:18:46 +08:00
AMOS bot
db0b31a40a Automatically generated installer lang files 2022-10-11 00:07:36 +00:00
Sara Arjona
fd14173a88 Merge branch 'MDL-75656' of https://github.com/paulholden/moodle 2022-10-10 16:16:20 +02:00
Jun Pataleta
00e28f5495 Merge branch 'MDL-75923-master' of https://github.com/andrewnicols/moodle 2022-10-10 18:24:06 +08:00
Jun Pataleta
99bb6d0bfe Merge branch 'MDL-75909-master' of https://github.com/andrewnicols/moodle 2022-10-10 18:08:31 +08:00
Jun Pataleta
4576db179b Merge branch 'MDL-75922-master' of https://github.com/andrewnicols/moodle 2022-10-10 14:55:32 +08:00
Jun Pataleta
6efeecd126 Merge branch 'MDL-75910-master' of https://github.com/andrewnicols/moodle 2022-10-10 11:07:27 +08:00
Simey Lameze
6c7f570e14 MDL-75923 tool_usertours: Update tour content to match formatted content
When an HTML content area contains invalid HTML, some editors will clean
and validate the content upon submission.

In this case the content was:

    <b>Test content</b>

But this should be wrapped in some form of container which accepts
phrasing content (such as a <p> tag).

Some editors, such as TinyMCE, will normalise the content and add the
wrapping paragraph tags to it.

Furthermore, the bold tag is purely stylistic and does not have semantic
meaning. As a result, the <strong> tag is favoured and some editors,
again such as TinyMCE, will replace bold tags with strong tags.

We should update the content here to be valid HTML (wrap the bold tag
in a para), and use a strong tag rather than bold. This allows this test
to pass both with Atto, and other stricter editors such as TinyMCE 6.
2022-10-10 09:09:54 +08:00
Shamim Rezaie
ba4fb93377 Merge branch 'MDL-75156-master' of https://github.com/ilyatregubov/moodle 2022-10-10 11:15:44 +11:00
Simey Lameze
a91499c9f1 MDL-75922 behat: Apply @editor_atto tag to tests requiring Atto
These steps are currently using Atto-specific UI features and must
therefore make use of the @editor_atto tag to ensure that they continue
to run using Atto.

A new issue will be raised to migrate each of these to be
editor-agnostic.
2022-10-09 20:26:01 +08:00
Andrew Nicols
222f9a4e15 Merge branch 'MDL-75480-master' of https://github.com/stevandoMoodle/moodle 2022-10-09 13:21:20 +08:00
Andrew Nicols
052c705b08 Merge branch 'MDL-75473-master' of https://github.com/davewoloszyn/moodle 2022-10-09 13:18:21 +08:00
Andrew Nicols
1e71671205 Merge branch 'MDL-61395' of https://github.com/paulholden/moodle 2022-10-09 13:13:03 +08:00
AMOS bot
9f0c678486 Automatically generated installer lang files 2022-10-08 00:07:37 +00:00
Andrew Nicols
fa41cb86a5 Merge branch 'MDL-75844-master' of https://github.com/NashTechOpenUniversity/moodle 2022-10-07 15:50:54 +08:00
Ilya Tregubov
b3e05d0e4e MDL-75156 gradebook: Grade summary plugin (grade averages).
Also included updates for existing unit tests and navigation.
2022-10-07 11:31:41 +04:00
Ilya Tregubov
c8d950bde7 MDL-75156 gradebook: Functions to calculate grade averages.
Also include unit tests.
2022-10-07 11:31:41 +04:00
Andrew Nicols
cc4fec275f weekly release 4.1dev 2022-10-07 13:03:49 +08:00
Andrew Nicols
f4abe5fa77 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-10-07 13:03:47 +08:00
Andrew Nicols
03b22319cf MDL-75909 mod_data: Make template editor use html editor
When the template editor is configured to use the HTML Editor, it should
indicate this to Behat by setting the `data-fieldtype` to "editor".

This indicates to the behat field manager that the editor is in use,
which ensures that the correct value setting can take place.

This is important in the context of MDL-75887.
2022-10-07 09:19:52 +08:00
AMOS bot
7404f881a7 Automatically generated installer lang files 2022-10-07 00:07:42 +00:00
Simey Lameze
f1be9b6544 MDL-75910 core_form: Allow editor field to set a hidden label
When an editor is used in a form as part of a group, it is missing its
label element.

This happens because there is no inline template for the editor, and
therefore it reverts to using the old `toHtml` function. The legacy
function does not cater to the editor being in a group, and therefore
does not add the hidden label.

In addition, the hiddenLabel attribute was missing from the editor
element. This is a semi-standard element but must be added to each
supporting element.

Both the missing inline template for the editor, and the hidden label
attribute must be present:
- If the hidden label attribute is not present, then the standard inline
  template will add a visible label within the group.
- If the inline editor template is missing, then the label is not shown
  at all.
2022-10-06 22:53:47 +08:00
Andrew Nicols
39241f20e0 MDL-71686 core_form: Include missing build 2022-10-06 14:43:55 +08:00
Andrew Nicols
5bf222af33 Merge branch 'MDL-75485-master' of https://github.com/davewoloszyn/moodle 2022-10-06 10:49:14 +08:00
Andrew Nicols
11df52d2d7 Merge branch 'MDL-75488-master' of https://github.com/stevandoMoodle/moodle 2022-10-06 10:40:38 +08:00
Andrew Nicols
59ae667bee Merge branch 'MDL-75476-master' of https://github.com/davewoloszyn/moodle 2022-10-06 10:34:01 +08:00
Andrew Nicols
f075272e69 MDL-71686 core_form: Move form serializer to shared function 2022-10-06 10:21:01 +08:00
Andrew Nicols
2423c26749 Merge branch 'MDL-71686-master' of https://github.com/marinaglancy/moodle 2022-10-06 10:20:56 +08:00
Jun Pataleta
9b0f435569 Merge branch 'MDL-75818' of https://github.com/mkassaei/moodle 2022-10-06 10:14:07 +08:00
Andrew Nicols
3589299d82 Merge branch 'MDL-74955' of https://github.com/paulholden/moodle 2022-10-06 09:39:45 +08:00
Andrew Nicols
97fe092754 Merge branch 'MDL-75477' of https://github.com/paulholden/moodle 2022-10-06 09:28:57 +08:00
Shamim Rezaie
d01c1a4a07 Merge branch 'MDL-75886-master' of https://github.com/andrewnicols/moodle 2022-10-06 12:24:07 +11:00
Andrew Nicols
b90c862c25 MDL-75752 question: Bind contextid param in comment backup
In source_sql, unmapped values must be bound using the
backup_helper::is_sql_param() function.
2022-10-06 09:06:12 +08:00
Andrew Nicols
29e1f713b6 Merge branch 'MDL-75752' of https://github.com/timhunt/moodle 2022-10-06 09:02:07 +08:00
Víctor Déniz
3c10b0c2af Merge branch 'MDL-74569-master' of https://github.com/lucaboesch/moodle 2022-10-06 01:42:48 +01:00
Víctor Déniz
aa0be15591 Merge branch 'MDL-75192' of https://github.com/paulholden/moodle 2022-10-06 01:08:37 +01:00
Víctor Déniz
4fcea7ad56 Merge branch 'MDL-75713-master' of https://github.com/davewoloszyn/moodle 2022-10-05 22:30:15 +01:00
Víctor Déniz
42e53489d7 Merge branch 'MDL-75729' of https://github.com/paulholden/moodle 2022-10-05 21:31:59 +01:00
Mahmoud Kassaei
9ba4b5f306 MDL-75818 qtype_multichoice: site-wide default for showstandardinstruction 2022-10-05 17:04:22 +01:00
Jun Pataleta
ced9afd781 Merge branch 'MDL-75276-fix' of https://github.com/sarjona/moodle 2022-10-05 19:43:04 +08:00
Sara Arjona
9e7cc5103d MDL-75276 mod_data: Re-add ordering to get_field_records
In MDL-75146, the get_fields_record() method was added without any
ordering criteria.
In MDL-75276, this method is reused to get the fields. We need to
re-add the order to guarantee the field are always returned in the
same order (and avoid some Oracle ordering failures).
2022-10-05 12:45:51 +02:00
Andrew Nicols
13cc3607de MDL-75886 atto: Always use Atto for @atto tests
This change, which should be easy to mimic for other editors.

This will ensure that the correct editor is used for tests relating to
that editor, or its subplugins.
2022-10-05 09:54:21 +08:00
Stevani Andolo
3c5423d8c0 MDL-75480 media_videojs: Upgrade videojs from 7.17.0 to 7.20.3 2022-10-04 21:51:11 +08:00