Ilya Tregubov
fcf23db6be
Moodle release 4.3.6
2024-08-10 14:54:55 +08:00
Jun Pataleta
6e8dcf515a
Merge branch 'MDL-82599-403-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_403_STABLE
2024-08-09 11:18:54 +08:00
Ilya Tregubov
e1d320d4bb
weekly release 4.3.5+
2024-08-09 09:34:27 +08:00
Huong Nguyen
ce59fcf650
MDL-82745 filter_tex: Improve PHPUnit test
2024-08-08 21:06:01 +08:00
Michael Hawkins
a17934ee11
MDL-82745 filter_tex: Improve filter deny list
2024-08-08 11:40:35 +07:00
Michael Hawkins
07776fe1d5
MDL-82576 qtype_calculated: Improve formula regexes
2024-08-08 11:11:51 +07:00
Ilya Tregubov
8ecbb1bea3
Merge branch 'MDL-82608-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-08 11:09:39 +08:00
Ilya Tregubov
0194edd6c4
Merge branch 'MDL-82605-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-08 11:03:45 +08:00
Safat
27c875e461
MDL-82395 tool_xmldb: Table layout update
2024-08-08 10:01:12 +07:00
Jun Pataleta
ef4d45b20b
Merge branch 'MDL-82560-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-08-08 10:44:48 +08:00
Paul Holden
88f41107c6
MDL-79373 admin: ensure all current password configs are defined.
...
Ensure the admin preset export tool has an accurate record of each,
to be observed as sensitive settings when creating an export.
2024-08-08 09:22:39 +07:00
Andrew Nicols
4940dc9470
Merge branch 'MDL-80593-403-alt' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-08-08 10:20:00 +08:00
Angelia Dela Cruz
2f9e8dddd2
MDL-82560 mod_forum: Test that students can only start one discussion
2024-08-08 10:18:34 +08:00
Huong Nguyen
f9639f1404
Merge branch 'MDL-82177_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-08-08 09:11:17 +07:00
Huong Nguyen
c2158534c0
Merge branch 'MDL-82669-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-08 08:58:57 +07:00
Jun Pataleta
78813b3766
Merge branch 'MDL-77784-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-08 09:55:32 +08:00
Huong Nguyen
cfef0be6c5
Merge branch 'mdl-826620-43' of https://github.com/matthewhilton/moodle into MOODLE_403_STABLE
2024-08-08 08:41:41 +07:00
Ilya Tregubov
fa8af811d3
Merge branch 'MDL-82209-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-08 09:22:32 +08:00
Ilya Tregubov
9c02db4d4d
Merge branch 'MDL-82525-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-08 08:27:34 +08:00
Ilya Tregubov
a30b6e8547
Merge branch 'MDL-82208-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-08 08:18:22 +08:00
Jun Pataleta
d2a1df8890
Merge branch 'MOODLE_403_MDL-82518' of https://github.com/danielneis/moodle into MOODLE_403_STABLE
2024-08-07 17:12:01 +08:00
Ilya Tregubov
51e55e9fba
Merge branch 'MDL-81830-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-07 15:28:21 +08:00
Paul Holden
82243bf8c8
MDL-81394 restore: format backup file metadata details safely.
2024-08-07 14:04:48 +08:00
Ilya Tregubov
2b36e64a26
MDL-79541 gradereport_user: Fix indentation in Behat.
2024-08-07 04:13:54 +00:00
Huong Nguyen
2503e35684
MDL-81718 core_grades: Fix Behat failures
2024-08-07 04:13:54 +00:00
raortegar
f4aa615c74
MDL-81718 core: Improve localstorage validation
2024-08-07 04:13:54 +00:00
Paul Holden
6f8db95ccf
MDL-82558 h5p: escape template error/exception content.
2024-08-07 04:13:54 +00:00
Paul Holden
0b4100c13e
MDL-82392 blocks: consistent cleaning of block instance names.
2024-08-07 04:13:54 +00:00
Paul Holden
01375bdaa0
MDL-82261 mod_feedback: ensure only non-respondents can be messaged.
2024-08-07 04:13:54 +00:00
Paul Holden
e360a5dc2e
MDL-82390 badges: correct context check when deleting badges.
2024-08-07 04:13:54 +00:00
meirzamoodle
57de85a0a0
MDL-82136 curl: Send credentials to redirect URL if allowed
...
Curl has the option CURLOPT_UNRESTRICTED_AUTH. If true, curl will send
the credentials to a different host. If false, they will not be sent.
CURLOPT_UNRESTRICTED_AUTH can only work if the CURLOPT_FOLLOWLOCATION
option is true. The filelib forces the CURLOPT_FOLLOWLOCATION option
to be false, because all redirects are emulated at the PHP level. So,
in this case, the CURLOPT_UNRESTRICTED_AUTH option is only being used
in our logic and will not work as you might expect it to.
This patch works almost the same as CURLOPT_UNRESTRICTED_AUTH in ideal
conditions. It will check whether the host is different. If so, the
system will check what value CURLOPT_UNRESTRICTED_AUTH has. If it is
not specified, then by default, it will be false. If false, then
credentials will not be sent.
2024-08-07 04:13:54 +00:00
Paul Holden
ee7b35cd2f
MDL-82262 mod_feedback: fix broken bulk message sesskey checks.
2024-08-07 04:13:54 +00:00
Paul Holden
2c5f827dcc
MDL-64984 mod_glossary: capability check when restoring global type.
2024-08-07 04:13:54 +00:00
David Woloszyn
14feac6458
MDL-81951 communication_matrix: Fix suspended users ignored bug
...
The implementation of this bug fix is slightly different on 403 branch
compared to later branches due to major changes that were applied
to communication with the addition of hooks and helpers.
2024-08-07 04:13:54 +00:00
David Woloszyn
4e7ee4e0b9
MDL-81951 communication_matrix: New trait for power levels
...
A more reliable way of obtaining room power levels is now used in the
new trait get_room_power_levels_v3. This makes
get_room_powerlevels_from_sync_v3 less needed, but not necessarily
redundant. The names of the containing methods have been adjusted to
make better sense of which trait they belong to.
2024-08-07 04:13:54 +00:00
Ilya Tregubov
5760639c16
MDL-79541 core_grades: Add missing user info to search services.
...
Seems just fullname is not enough. So added all name fields.
2024-08-07 04:13:54 +00:00
Ilya Tregubov
299bb8180c
MDL-79541 core_grades: Hidden user fields check for search.
...
If some user profile fields are hidden on some grade reports
users without permission were able to see those.
2024-08-07 04:13:54 +00:00
Huong Nguyen
43ccc81b1b
Merge branch 'MDL-82611-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-07 10:25:34 +07:00
Huong Nguyen
a4d92e88cf
Merge branch 'MDL-82620-403' of https://github.com/ericmerrill/moodle into MOODLE_403_STABLE
2024-08-07 10:20:53 +07:00
Jun Pataleta
0c26411ad5
Merge branch 'MDL-82606_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-08-07 11:12:16 +08:00
Tim Hunt
7323860c03
MDL-82606 filterlib: pass a row limit to recordset for performance
...
On Postgres, at least, get_recordset_sql performs signficantly worse
if you don't pass a limit. So, we add a limit to the query, but one
that in enormously too large, so it should never have an effect.
(And, there is code to check we never hit the limit, to avoid subtle bugs.)
2024-08-06 10:47:50 +01:00
Jun Pataleta
dd9a9980ad
Merge branch 'MDL-82344-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-08-06 17:26:52 +08:00
Jun Pataleta
025cb77c93
Merge branch 'MDL-79568-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-08-06 17:20:02 +08:00
Paul Holden
41301da68e
MDL-79568 javascript: remove lang parameter from legacy string calls.
2024-08-05 08:33:26 +01:00
Ilya Tregubov
d98864859a
Merge branch 'MDL-82171-muc-sited-MOODLE_403_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_403_STABLE
2024-08-05 11:19:28 +08:00
Daniel Neis Araujo
6f77e20d2b
MDL-82518 core_user: Fix regression introduced by MDL-80271
2024-08-02 14:47:48 -03:00
Paul Holden
69048fc549
MDL-82669 mod_assign: remove Atto reliance workaround for Behat.
...
See 8fe80e743c for context, and 802ff3e2e3 for additonal comments.
2024-08-02 10:33:43 +01:00
Paul Holden
d9a462727b
MDL-82669 editor: remove reliance on Atto editor in Behat scenarios.
2024-08-02 10:33:43 +01:00
Paul Holden
8ec33d16c7
MDL-82608 mod_data: null content checks when editing fields.
2024-08-02 09:57:43 +01:00
Paul Holden
bc39fac69f
MDL-82605 contentbank: pre-load contexts for options list.
...
Prevents additional DB reads per category/course, which can be
potentially expensive on large sites.
2024-08-02 09:50:24 +01:00
Ilya Tregubov
431f27e7bf
weekly release 4.3.5+
2024-08-02 09:30:53 +08:00
Ilya Tregubov
c3097a8084
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-08-02 09:30:49 +08:00
Matthew Hilton
7a325a2824
MDL-82662 login: load library with require_once
2024-08-02 10:52:30 +10:00
David Mudrák
c065e8b259
MDL-82599 lang: Use the fixed strings in tests, too
2024-08-01 21:30:50 +02:00
Helen Foster
df998bfd47
MDL-82599 lang: Import fixed English strings (en_fix)
2024-08-01 21:16:05 +02:00
Paul Holden
0cd3880ef3
MDL-77784 quiz_grading: editor agnostic Behat scenario steps.
2024-08-01 14:17:23 +01:00
Huong Nguyen
794464cdca
Merge branch 'MDL-80064-403' of https://github.com/meirzamoodle/moodle into MOODLE_403_STABLE
2024-08-01 10:41:53 +07:00
Huong Nguyen
32c6297d21
Merge branch 'MDL-82598-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-08-01 10:27:08 +07:00
Huong Nguyen
ab84cbafd1
MDL-80593 core: Make Modal to work with Debug Template Info mode
2024-08-01 10:18:31 +07:00
Huong Nguyen
ec8f02fe93
MDL-80017 core_grades: Move upgrade note
2024-08-01 09:17:04 +07:00
Huong Nguyen
1098d89c96
Merge branch 'MDL-80017-403' of https://github.com/jleyva/moodle into MOODLE_403_STABLE
2024-08-01 09:15:51 +07:00
Ilya Tregubov
9316aeadc8
Merge branch 'MDL-81689_MOODLE_403_STABLE' of https://github.com/rzhtwberlin/moodle into MOODLE_403_STABLE
2024-08-01 09:58:57 +08:00
Jun Pataleta
9437d3f3e5
Merge branch 'MDL-82286-403' of https://github.com/daledavies/moodle into MOODLE_403_STABLE
2024-08-01 09:46:37 +08:00
AMOS bot
18b0d6e27b
Automatically generated installer lang files
2024-08-01 00:07:32 +00:00
Sara Arjona
3f163bb902
Merge branch 'MDL-72876-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-07-31 17:15:26 +02:00
Sara Arjona
bfa3494d6c
Merge branch 'MDL-82596-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-31 16:46:12 +02:00
Dale Davies
5302515c40
MDL-82286 quiz_accessrule: Add SEB config test for floating point number
...
This tests several variations of SEB config files, to ensure Moodle
is able to parse them and generate a config key hash that matches
what SEB expects.
Additional values have been added to the unencrypted_win_233.seb
config file to cover the existence of floating point values,
ensuring they are serialized correctly. The config hash value
has been updated in real_ck_hash_provider to reflect the change.
Also added coverage information to the test case class docblock.
2024-07-31 11:16:45 +01:00
Jun Pataleta
c48c1d29ab
Merge branch 'MDL-82187-single-button-403' of https://github.com/djarran/moodle into MOODLE_403_STABLE
2024-07-31 17:21:22 +08:00
Paul Holden
d78df6e8e4
MDL-82208 block_starredcourses: avoid double encoding course name.
2024-07-31 08:47:29 +01:00
Simey Lameze
105686c55b
MDL-82598 behat: improve example submission test
2024-07-31 09:05:20 +08:00
AMOS bot
9364de6276
Automatically generated installer lang files
2024-07-31 00:07:29 +00:00
Tim Hunt
041ed9043b
MDL-82177 file upload: default to path '/'when things go wrong
...
This 'fix' is basically a work-around, but one that is already used in
some places. Now it is used in all similar places.
Exactly what causes the current file path in a file manager to become
unset is still unclear to me, but it seems to be an obscure race
condition that is very hard to reproduce.
However, when it happens, currently we are effectively defaulting to
path '/undefined/'. Using '/' is never worse, and is infinitely better
in the case where the filepicker does not allow folders to be used
(which includes important cases like essay questions in a quiz, which
some people use for exams!). In that case, falling back to non-top-level
path leads to dataloss.
Also, this is all historic JavaScript which will get replaced in the
grand de-YUI-fication, so I think a pragmatic fix is justified here.
2024-07-30 15:07:25 +01:00
Jun Pataleta
17af3c7054
MDL-72876 theme_classic: Enclose welcome message in Bootstrap card
2024-07-30 19:40:32 +08:00
meirzamoodle
7878dda84b
MDL-80064 authentication: password can be null
...
The Open ID Connect plugin uses null for the password,
which makes the internal password update fail to proceed.
Allowing null resolved the problem.
As a note, there is a potential issue if the authentication method has
a false return for the prevent_local_password because it will trigger
the hash_internal_user_password() where the $password can not be null.
Since this only addresses the oauth2 issue, we should ignore it.
2024-07-29 15:53:08 +07:00
Paul Holden
eeb9847c61
MDL-82525 user: correct course parameter for course profile page.
2024-07-29 09:22:07 +01:00
Paul Holden
2e8b0d29ee
MDL-81830 calendar: handle clearing of group type course element.
2024-07-29 09:20:56 +01:00
Paul Holden
680fc50218
MDL-82209 calendar: consistent event action icon hovering.
...
* Apply hover on the icons, rather than the outer container;
* Make hover colour and text decoration appropriate for the icon
2024-07-29 09:19:46 +01:00
Jake Dallimore
5264d41125
MDL-82344 mod_lti: relax content selection validation in instance form
...
This was added in MDL-78916 in 4.3 but makes configuring a generic
launch to the default tool URL impossible, since a content item must be
selected. This fix:
- Makes this element optional again, which allows teachers to choose
whether a given instance launches into selected content, or launches
the default tool URL.
- Changes the style to btn-secondary, given it's now optional again
2024-07-29 13:07:45 +08:00
Andrew Nicols
e79703fa30
Merge branch 'MDL-82250-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-07-29 11:48:32 +08:00
Ilya Tregubov
9247c786e9
Merge branch 'MDL-80345-403' of https://github.com/MartinGauk/moodle into MOODLE_403_STABLE
2024-07-29 11:33:46 +08:00
Paul Holden
b3363ff7b7
MDL-82596 behat: switch manual private files upload to generator.
2024-07-28 19:26:49 +01:00
Paul Holden
4870d18dad
MDL-82596 behat: tidy up existing usage of private files generator.
...
Filename is no longer required (since 83db25c330 ), given it never
did anything so can be removed. Requiring the "Private files" block
also isn't necessary since original switch to generator methods.
2024-07-28 19:13:47 +01:00
Paul Holden
16931c9db2
MDL-82611 mod_assign: capability check before exporting grade link.
2024-07-26 21:20:48 +01:00
Eric Merrill
ad0188abae
MDL-82620 completion: Make enrol duration comp happen at the right time
2024-07-26 14:11:48 -04:00
Johannes Burk
8f86be0184
MDL-81689 tests: Check task DB record for nextruntime
2024-07-26 10:33:12 +02:00
Johannes Burk
c05ead813e
MDL-81689 tasks: add unit test to check for the bug
2024-07-26 10:33:12 +02:00
Jun Pataleta
e119a01a4f
weekly release 4.3.5+
2024-07-26 13:35:44 +08:00
Jun Pataleta
3548666713
NOBUG: Fixed SVG browser compatibility
2024-07-26 13:35:42 +08:00
Jun Pataleta
4e9d0e5632
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-07-26 13:35:41 +08:00
Jun Pataleta
9624bc226c
Merge branch 'MDL-82373-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-07-26 13:19:57 +08:00
Andrew Nicols
35e3be3c33
MDL-82373 core_message: Make message drawer router behat-aware
...
The drawer router was modifying the DOM in a variety of ways and hiding
content, without any pendingJS checks. As a result, there were cases
where a part of the UI was not visible, but had been rendered and was in
the DOM.
This change wraps the router Go method in a pendingJS call that only
resolves when the router transition completes.
Additionally the lazy load manager had a similar issue.
2024-07-26 12:45:30 +08:00
Juan Leyva
5e4e5bf13e
MDL-80017 core_grades: Fix return type for itemname
2024-07-25 11:16:45 +02:00
Huong Nguyen
9cb172a65d
Merge branch 'MDL-82527-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-25 10:49:18 +07:00
Huong Nguyen
0e14c24d9a
Merge branch 'MDL-82328-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-25 10:36:20 +07:00
Jun Pataleta
cb247b8c0f
Merge branch 'MDL-82373-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-07-25 11:31:20 +08:00
Huong Nguyen
2548f1ddf5
Merge branch 'MDL-58287-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-25 10:29:59 +07:00
Jun Pataleta
1aa1ffba4e
Merge branch 'MDL-77706-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-07-25 11:02:38 +08:00
Huong Nguyen
9439acba52
Merge branch 'MDL-82553-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-07-25 09:17:47 +07:00
Shamim Rezaie
6ee8b49e95
Merge branch 'MDL-82551-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-07-25 11:53:30 +10:00
Huong Nguyen
ad9485bf80
Merge branch 'MDL-82554-MOODLE_403_STABLE' of https://github.com/micaherne/moodle into MOODLE_403_STABLE
2024-07-25 08:51:00 +07:00
Huong Nguyen
977656caaf
Merge branch 'MDL-82451-403' of https://github.com/aanabit/moodle into MOODLE_403_STABLE
2024-07-25 08:44:03 +07:00
Huong Nguyen
537b00e8b0
Merge branch 'MDL-82422-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-07-25 08:37:01 +07:00
AMOS bot
9ccfc52146
Automatically generated installer lang files
2024-07-25 00:08:05 +00:00
Amaia Anabitarte
184977d3dc
MDL-82451 course: Switch hide/show icons for section action menu
2024-07-24 12:18:35 +02:00
Jun Pataleta
c51ea2b1fb
Merge branch 'MDL-81803-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-24 16:57:43 +08:00
Jun Pataleta
c07afde99f
Merge branch 'MDL-82289-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-24 15:05:24 +08:00
Angelia Dela Cruz
fab4e5c529
MDL-82422 mod_workshop: Behat for how strict assessment comparison is
2024-07-24 14:01:07 +08:00
Huong Nguyen
b906e01ec6
Merge branch 'MDL-82528-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-24 12:01:14 +07:00
Michael Aherne
66ebd9db13
MDL-82554 question: Allow null createdby in question_has_capability_on.
2024-07-23 10:45:09 +01:00
Simey Lameze
117165c346
MDL-82250 core: add web installer test workflow
2024-07-23 13:33:12 +08:00
Jun Pataleta
e94157a6dd
MDL-82553 behat: Run accessibility tests using WCAG 2.2 success criteria
2024-07-22 14:38:00 +08:00
Jun Pataleta
09ea3a579b
MDL-82551 core: Set welcome message heading to level 1
2024-07-22 14:21:14 +08:00
Huong Nguyen
140094cad8
Merge branch 'MDL-82481-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-22 10:40:58 +07:00
Huong Nguyen
3f9b5fa648
Merge branch 'MDL-82193-403' of https://github.com/ericmerrill/moodle into MOODLE_403_STABLE
2024-07-22 09:40:00 +07:00
Ilya Tregubov
587685d0c5
Merge branch 'MDL-82499-MOODLE_403_STABLE' of https://github.com/micaherne/moodle into MOODLE_403_STABLE
2024-07-22 09:43:18 +08:00
djarrancotleanu
b2c3857364
MDL-82187 core: Add default type for single button in template
2024-07-22 09:27:36 +10:00
AMOS bot
659af23164
Automatically generated installer lang files
2024-07-21 00:07:39 +00:00
Paul Holden
c5451fb629
MDL-58287 courseformat: ensure all format plugins are returned.
2024-07-19 15:23:45 +01:00
Paul Holden
2e4f29999f
MDL-82528 courseformat: switch to existing group action icon.
...
Use a version that already exists in our fontawesome mapping so it
can be consistently styled/overridden.
2024-07-19 12:54:40 +01:00
Sara Arjona
ab0045f9a4
Merge branch 'MDL-81119-forced-config-MOODLE_403_STABLE' of https://github.com/bwalkerl/moodle into MOODLE_403_STABLE
2024-07-19 12:37:23 +02:00
Benjamin Walker
36bc92acf0
MDL-81119 tool_recyclebin: Stop overriding unrelated forced config
2024-07-19 14:37:21 +10:00
Ilya Tregubov
8efeae492e
weekly release 4.3.5+
2024-07-19 09:30:31 +08:00
Paul Holden
93f67ab063
MDL-82481 customfield_select: return field options pre-formatted.
2024-07-18 14:03:21 +01:00
Paul Holden
a557f745bc
MDL-82481 reportbuilder: re-use existing method for field options.
2024-07-18 14:03:21 +01:00
Paul Holden
17f0e4e776
MDL-82527 h5p: improve editor Behat scenarios for embedding content.
...
* Move the shared drag fixture out of the Atto plugin;
* Switch to using faster generators for populating private files;
* Clarify required fields for private files generator
2024-07-18 09:38:10 +01:00
Jun Pataleta
d99a6bbfe4
Merge branch 'MDL-82505-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-07-18 12:50:36 +08:00
Jun Pataleta
45ec12f24f
Merge branch 'MDL-75864-403' of https://github.com/meirzamoodle/moodle into MOODLE_403_STABLE
2024-07-18 12:47:43 +08:00
Huong Nguyen
5f104acde5
MDL-82505 calendar: more precise matching of calendar day partial
...
The partial name selector points to the parent element,
but the Javascript code monitors the child element.
We need to make it consistent
2024-07-18 11:37:44 +07:00
Andrew Nicols
661a9ce962
Merge branch 'MDL-82309-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-18 11:59:02 +08:00
Ilya Tregubov
11f0f20e34
Merge branch 'MDL-82445-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-07-18 11:36:47 +08:00
Andrew Nicols
afaf5187e1
Merge branch 'MDL-81932-403' of https://github.com/safatshahin/moodle into MOODLE_403_STABLE
2024-07-18 11:28:31 +08:00
Huong Nguyen
ddc90af2da
Merge branch 'MDL-82192-403' of https://github.com/ericmerrill/moodle into MOODLE_403_STABLE
2024-07-18 10:27:33 +07:00
Andrew Nicols
8af45284aa
Merge branch 'MDL-81272-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-07-18 11:22:25 +08:00
Andrew Nicols
77104c61cb
MDL-82445 filter_tidy: Ensure locale does not change when using Tidy
2024-07-18 11:00:42 +08:00
Andrew Nicols
116e5abbc5
MDL-82445 core: Create locale helper utility
2024-07-18 11:00:42 +08:00
Ilya Tregubov
64796d367e
Merge branch 'MDL-82090-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-18 10:40:10 +08:00
Ilya Tregubov
23b8b0fdc6
Merge branch 'MDL-82444-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-18 10:34:04 +08:00
Huong Nguyen
ec40091d0a
Merge branch 'MDL-82467-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-18 09:20:14 +07:00
Sara Arjona
a6a970124a
Merge branch 'MDL-82353-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-07-17 17:08:17 +02:00
Andrew Nicols
42fb4adf3e
MDL-82373 behat: Disable axe target-size rule
...
Disable the target-size rule.
This rule was added in Axe 4.7, but changed in 4.8 to allow for spacing
around the element. See https://github.com/dequelabs/axe-core/pull/4117
for more information on this change.
Moodle 4.2 has an earlier version of Axe which does not have this rule.
Moodle 4.4 has a later, unaffected, version of Axe.
The simplest solution here is to simply disable the buggy rule.
2024-07-17 22:51:35 +08:00
Paul Holden
25e9ddf536
MDL-82499 question: test for invalid question in capability check.
2024-07-17 09:58:12 +01:00
Andrew Nicols
f08c8b7db7
MDL-82373 contentbank: Pause in Behat before interacting with h5p
...
It seems that the loading of the h5p content upsets other interactions
with the page in Firefox as it loads. Unfortunately I haven't found a
reliable way to handle this with pendingJS yet.
This is the poor man's fix and we should find a better solution.
2024-07-17 13:29:46 +08:00
Andrew Nicols
66f526f878
MDL-82373 question: Make window larger in behat tests
...
I would suggest that this is a stop gap to solve some failing tests. We
really need to look at whether we can improve the usability of this
interface on smaller displays as a longer-term fix.
2024-07-17 13:29:46 +08:00
Andrew Nicols
783477d51b
MDL-82373 core_grades: Address random failures when editing gradebook
2024-07-17 13:29:45 +08:00
Andrew Nicols
5b665180f1
MDL-82373 behat: Wait for alerts before accepting/dismissing them
2024-07-17 13:29:45 +08:00
Andrew Nicols
e3d9453e61
MDL-82373 core: Make CollapsibleRegion more tolerant to behat
2024-07-17 13:29:45 +08:00
Andrew Nicols
c8cb3660ac
MDL-82373 tool_usertours: Ensure that behat waits for tours to show/hide
2024-07-17 13:29:45 +08:00
Andrew Nicols
3d43a712bc
MDL-82373 behat: Stop killing the entire Behat run on driver error
...
If there's a driver error, for example from a step taking too long, then
this kills the entire Behat run and we have to start from scratch.
This change instead throws away the original connection and starts a new
one to try and continue the test.
2024-07-17 13:29:44 +08:00
Andrew Nicols
beb6ab9e4e
MDL-82373 behat: Stop calling ensure_node_is_visible before click
...
W3C WebDriver Element::Click, Element::Clear, and Element::SendKeys all
state that the WebDriver implementation (chromedriver, geckodriver,
edgedriver) should scroll the element into view if it is not already
visible.
It is wrong for us to check if the element is visible or not before
calling these as it may not be but will during the click/clear/type
event.
2024-07-17 13:29:44 +08:00
Andrew Nicols
fd6e1984dd
MDL-82373 mod_lesson: Fix failing behat tests for Selenium 4
...
Recent versions of Chrome do not re-render the page but return previous
page state from cache. The page state had the Submit button disabled
before navigating away.
Refreshing the page addresses this.
2024-07-17 13:29:44 +08:00
Ilya Tregubov
034588c559
Merge branch 'MDL-82002-403' of https://github.com/durenadev/moodle into MOODLE_403_STABLE
2024-07-17 11:05:15 +08:00
Michael Aherne
66712ce0d8
MDL-82499 question: Fail if questionid does not exist.
2024-07-16 14:58:53 +01:00
Dale Davies
02d483b628
MDL-82286 core: Set serialize_precision to current PHP default
2024-07-16 10:00:57 +01:00
Angelia Dela Cruz
6c5ba9b786
MDL-82353 gradingform: Behat to verify marking guide can be set to draft
2024-07-16 16:59:57 +08:00
Andrew Nicols
927cfa7e7d
MDL-77706 atto_link: Work around Mozilla bug 1906559
...
This upstream bug prevents creation of an anchor with a hyperlink where
the content has a block-like display.
The workaround is to wrap the content in a span, set the display to
inline, call the `createLink` command on the span, move the content out
of the span, and then remove it.
This is only done for Firefox-based browsers.
2024-07-16 15:37:57 +08:00
Ilya Tregubov
c5bca30726
Merge branch 'MDL-82282-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-16 09:26:43 +08:00
Ilya Tregubov
1f9f1afb90
Merge branch 'MDL-73662-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-16 09:16:22 +08:00
Paul Holden
5ec0023392
MDL-82467 completion: simplify field SQL for completion columns.
...
For columns whose values can be represented purely in SQL, we don't
need to/shouldn't select extra data because it confuses the column
output during aggregation for numeric/boolean columns.
2024-07-15 13:34:50 +01:00
Huong Nguyen
e478edc496
MDL-81272 calendar: Improve permission check for separate group mode
2024-07-15 15:47:13 +07:00
Andrew Nicols
fc5a993443
MDL-66903 core: Check PHPUNIT_TEST defined before using
2024-07-15 13:43:21 +07:00
Huong Nguyen
5a890734c3
Merge branch 'MDL-66903-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-07-15 13:22:20 +07:00
Andrew Nicols
d4f3368d28
MDL-66903 core: Introduce \core_component::reset to replace hacks
...
Traditionally we have done this using reflection and it would be better
to do this in a 'proper' fashion in case we ever need to change how it
works.
2024-07-15 12:22:20 +08:00
Andrew Nicols
a7f98a4509
MDL-66903 core: Add option to get core in list of components
...
Note: This change is backported from MDL-81063.
2024-07-15 12:22:20 +08:00
Andrew Nicols
15d78691a8
MDL-66903 core: Add helper to get component name from classname
...
Note: This change is backported from MDL-81063.
2024-07-15 12:22:19 +08:00
Andrew Nicols
dd72df20f2
MDL-66903 testing: Helper to load fixture files
2024-07-15 12:22:17 +08:00
Andrew Nicols
b8a075bed6
MDL-66903 testing: Add support for a \tests\ namespace during tests
...
This commit:
- introduces a \tests\ sub-namespace for use in unit tests only
- the path to this the tests/classes directory of the owning parent
- files here are excluded from unit test runs
This is agreed per policy in MDL-80855.
2024-07-15 12:21:54 +08:00
Andrew Nicols
71e0b0f26b
MDL-66903 testing: Fix whitespace
2024-07-15 12:21:06 +08:00
Andrew Nicols
4cee58fa33
MDL-66903 testing: Reset CFG and component after test
...
This change moves the reset of global test state to the finally section
rather than doing it only if the test passes.
Previously if a test which modifies the `core_component` internals
failed, it would not reset the internal state and impact subsequent
tests.
2024-07-15 12:21:06 +08:00
Eric Merrill
024a1f04d5
MDL-82193 scorm: Don't store header with multiline AICC content
2024-07-12 15:35:42 -04:00
Paul Holden
3abaca02cc
MDL-82444 core: skip environment test on optional plugin extensions.
2024-07-12 13:50:01 +01:00
Paul Holden
90fa52089e
MDL-82444 filter_tidy: advertise required PHP extension.
2024-07-12 13:34:12 +01:00
Paul Holden
7b03f08342
MDL-73662 mod_quiz: fix initialization arguments to close button.
...
Co-authored-by: Sergio Rabellino <rabellino@di.unito.it >
2024-07-12 13:18:12 +01:00
Paul Holden
e8ecb6156e
MDL-81803 tool_dataprivacy: observe disabled expiration time.
...
A non-positive integer value should indicate "No time limit".
2024-07-12 11:05:05 +01:00
Daniel Ureña
6c0ce5f8a2
MDL-82002 Media: Video embedding from the app is styled properly.
2024-07-12 11:23:31 +02:00
Huong Nguyen
5fe898496b
weekly release 4.3.5+
2024-07-12 08:42:12 +07:00
Andrew Nicols
4a27a1707b
Merge branch 'MDL-78936-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-07-11 12:34:31 +08:00
Jun Pataleta
4bfd122d5c
Merge branch 'MDL-81265-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-07-11 12:08:39 +08:00
Jun Pataleta
49abebf564
MDL-81265 mod_workshop: Verify "Setup phase" heading with "should exist"
2024-07-11 11:58:53 +08:00
Laurent David
7c323f7b61
MDL-81265 mod_workshop: Fix accessibility issues
...
* Page title should be h2
* Contrasts in the table headers (for submission, assessment and grading)
should be 4:1 at least
2024-07-11 11:58:53 +08:00
Andrew Nicols
554ea6e8bd
Merge branch 'MDL-82431-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-11 11:46:42 +08:00
Huong Nguyen
f771d66f5e
Merge branch 'MDL-79717-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-11 09:35:34 +07:00
Huong Nguyen
18fc1b5f5e
Merge branch 'MDL-76654-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-07-11 09:19:55 +07:00
Paul Holden
0f0ed01461
MDL-82431 phpunit: correct unit test filename and classname.
...
Standardise the same test cases, e.g. make final, covers notation,
static data providers, namespaces, etc.
Once the tests run, a couple of them failed. They required changes
to assertions to make them pass.
2024-07-10 19:06:19 +01:00
Jun Pataleta
b89e5414b5
Merge branch 'MDL-82417-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-07-10 22:16:03 +08:00
Paul Holden
aaa03767c8
MDL-79717 phpunit: ensure unique data provider keys in tests.
...
Duplicate data provider keys were overwriting and/or duplicating
one another, leading to some cases being skipped.
Other "duplicate array key" errors were picked up by `phpcs` in
this dragnet across all tests, which have also been fixed.
2024-07-10 14:08:54 +01:00
Huong Nguyen
9bc5163ef8
Merge branch 'MDL-82308_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-07-10 14:57:43 +07:00
Huong Nguyen
c8a0ac0b9d
Merge branch 'MDL-68211-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-07-10 09:08:03 +07:00
Huong Nguyen
d4438e6011
Merge branch 'MDL-82236-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-07-10 09:04:31 +07:00
Tim Hunt
9e1bb0d779
MDL-82401 quiz: editing modals must be removed on close
2024-07-10 08:58:37 +07:00
Sara Arjona
49b603a177
Merge branch 'MDL-81349-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-09 18:14:50 +02:00
Sara Arjona
0926c469aa
Merge branch 'MDL-82360-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-09 15:30:21 +02:00
Sara Arjona
c1bcf5867a
Merge branch 'MDL-77834-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-09 15:22:18 +02:00
Sara Arjona
978f3d670a
Merge branch 'MDL-81991-403-alt' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-07-09 13:07:52 +02:00
Sara Arjona
1f88a03ab9
Merge branch 'MDL-78388-403' of https://github.com/djarran/moodle into MOODLE_403_STABLE
2024-07-09 11:47:39 +02:00
Sara Arjona
bf5569ace8
Merge branch 'MDL-66251-403' of https://github.com/meirzamoodle/moodle into MOODLE_403_STABLE
2024-07-09 10:36:42 +02:00
Paul Holden
90734c4b83
MDL-82309 comment: preserve link text property during AJAX requests.
...
We really only need to update the count value that follows the link
text content, so do that rather than overwriting the entire thing.
2024-07-09 09:17:23 +01:00
Sara Arjona
c71635f492
Merge branch 'MDL-80947-403' of https://github.com/stevandoMoodle/moodle into MOODLE_403_STABLE
2024-07-09 10:03:15 +02:00
Angelia Dela Cruz
71cc856e51
MDL-82236 mod_data: Behat to display DB activity entry rating
2024-07-09 14:59:59 +08:00
Sara Arjona
603c6e3717
Merge branch 'MDL-81296-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-07-09 08:50:42 +02:00
Angelia Dela Cruz
08a8a41f10
MDL-81296 mod_data: Behat test for data activity readonly availability
2024-07-09 12:18:21 +08:00
David Woloszyn
4fa51ddcff
MDL-82417 admin: Clarify signoutofotherservices strings
2024-07-09 13:59:14 +10:00
Paul Holden
b14cfb6d1b
MDL-82328 auth_oauth2: don't load custom profile field data too early.
...
By prematurely loading custom profile data in the constructor, under
specific circumstances it would happen before the page was fully
initialised which meant that any attempt at applying filters when
formatting profile field data would result in thrown exception.
2024-07-08 08:56:01 +01:00
Simey Lameze
894ab9cf82
MDL-76654 behat: fixes and improvements to self assessment test
2024-07-08 11:22:19 +08:00
Angelia Dela Cruz
e82d9489b6
MDL-76654 behat: Coverage for workshop self-assessment
2024-07-08 11:22:19 +08:00
Brendan Heywood
6bdf1b78b2
MDL-82171 core: Rewarm bootstrap.php after a cache purge
2024-07-08 12:53:38 +10:00
meirzamoodle
eaf9f48ce8
MDL-66251 form: Hiding and disabling static elements.
...
Added functionality to locate static text elements within the form,
improving the ability to target and manipulate the static elements for
hiding and disabling purposes.
2024-07-08 09:17:32 +07:00
Stevani Andolo
0548230e7e
MDL-80947 communication_customlink: Check before customlink update
2024-07-08 07:26:23 +08:00
Sara Arjona
3b73f08330
MDL-68211 feedback: Export percentage format
...
The feedback was exporting the percentage in the Analysis file using
a wrong value for the format, so instead of having only 2 decimals,
the number was not formatted.
2024-07-05 10:13:55 +02:00
Ilya Tregubov
fd32ceac7c
weekly release 4.3.5+
2024-07-05 09:02:06 +08:00
Paul Holden
4e98ef312b
MDL-82289 mod_feedback: correct comparison of current $course.
2024-07-04 10:28:54 +01:00
Sara Arjona
7dec802efd
Merge branch 'MDL-80907-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-07-04 11:19:38 +02:00
Paul Holden
e2a7ef37db
MDL-82282 question: consider only editable flags in JS module.
2024-07-04 10:19:36 +01:00
Paul Holden
f363d21a13
MDL-82090 completion: account for alternate gradepass form fields.
...
Some modules (e.g. Workshop) have "*gradepass" fields for each grade
item, which should be accounted for when trying to freeze them.
2024-07-04 10:17:41 +01:00
Huong Nguyen
c9a86c636d
MDL-80907 behat: Fix incorrect column selectors
2024-07-04 15:16:58 +07:00
Safat
923ebdfdef
MDL-81932 communication_customlink: Fix behat tests
2024-07-04 16:39:26 +10:00
Safat
4e318cb269
MDL-81932 communication_matrix: Fix behat tests
2024-07-04 16:39:26 +10:00
Safat
ca607d2ce0
MDL-81932 core_course: Fix communication provider change issue
2024-07-04 16:39:26 +10:00
Safat
8d000f1883
MDL-81932 core_communication: Fix communication provider change issue
2024-07-04 16:39:26 +10:00
Huong Nguyen
22749997d8
Merge branch 'MDL-80907-403' of https://github.com/marinaglancy/moodle into MOODLE_403_STABLE
2024-07-04 11:14:21 +07:00
Ilya Tregubov
e19f7c0357
Merge branch 'MDL-63670-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-07-04 10:58:00 +08:00
Ilya Tregubov
16bad766e7
Merge branch 'MDL-82315-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-04 10:37:51 +08:00
Ilya Tregubov
5bb5629bb3
Merge branch 'MDL-82024-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-07-04 09:51:20 +08:00
Sara Arjona
e7dc124935
Merge branch 'MDL-82100-403' of https://github.com/danghieu1407/moodle into MOODLE_403_STABLE
2024-07-03 17:14:22 +02:00
Jun Pataleta
c5a33da692
Merge branch 'MDL-31192-M403_colored-box-with-pre-tag-function-generates-a-warning' of https://github.com/ziegenberg/moodle into MOODLE_403_STABLE
2024-07-03 15:13:12 +08:00
Hieu Nguyen Dang
9c41c1e66f
MDL-82100 Quiz\report: Show customised question numbers
2024-07-03 13:58:31 +07:00
Sara Arjona
36cd78e14b
Merge branch 'MDL-82363-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-07-03 08:23:48 +02:00
lameze
bf18f9f12e
NOBUG: Increase file size to avoid random failures
2024-07-03 13:40:02 +08:00
Huong Nguyen
c16225e5fb
MDL-82363 Calendar: Responsiveness improvement for calendar block
...
Hide the month name if the screen is too small
2024-07-03 11:02:45 +07:00
djarrancotleanu
92564aca0a
MDL-78388 course: Copy permissions when duplicating module
2024-07-03 13:50:22 +10:00
Paul Holden
1899587ff8
MDL-82360 courseformat: remove console upload error string debugging.
2024-07-02 15:55:39 +01:00
Paul Holden
6a1277cc52
MDL-77834 mod_feedback: consistent HTML decoding of answer data.
...
Restores functionality from 72629ee8c0 that went missing along the way.
2024-07-01 16:22:03 +01:00
Sara Arjona
3615bec113
Merge branch 'MDL-81959-403' of https://github.com/lucaboesch/moodle into MOODLE_403_STABLE
2024-07-01 16:15:55 +02:00
Paul Holden
c8c9171455
MDL-81349 group: case-sensitive name validation when editing.
2024-07-01 09:41:51 +01:00
Huong Nguyen
0e30f51806
Merge branch 'MDL-79758_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-07-01 14:25:32 +07:00
Huong Nguyen
1dad92a893
Merge branch 'MDL-79971-403' of https://github.com/aanabit/moodle into MOODLE_403_STABLE
2024-07-01 14:16:59 +07:00
Huong Nguyen
be28d88b29
Merge branch 'MDL-79796_403' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_403_STABLE
2024-07-01 14:10:23 +07:00
Huong Nguyen
67719360a9
Merge branch 'MDL-73091-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-07-01 14:06:05 +07:00
Amaia Anabitarte
8c5cc0d32f
MDL-79971 completion: Don't assume a completed activity is viewed
2024-06-28 10:16:59 +02:00
Luca Bösch
3e6584c714
MDL-81959 qtype_multianswer: Margin between checkboxes and text
2024-06-28 07:58:46 +02:00
Paul Holden
93643512c3
MDL-82315 backup: account for null course section sequence value.
2024-06-27 23:34:55 +01:00
Sara Arjona
dc6dda1726
weekly release 4.3.5+
2024-06-27 16:36:54 +02:00
Sara Arjona
293ad7857a
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-06-27 16:36:51 +02:00
Stephan Robotta
c741492c38
MDL-79758 qbank: add filter in pagination links
...
Contains some minor tweaks by Tim Hunt <T.J.Hunt@open.ac.uk >.
2024-06-27 09:23:06 +01:00
Huong Nguyen
b47c6c290d
Merge branch 'MDL-62958-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-27 11:05:23 +07:00
Huong Nguyen
05711947e6
Merge branch 'MDL-82008-403' of https://github.com/lucaboesch/moodle into MOODLE_403_STABLE
2024-06-27 10:27:15 +07:00
Jun Pataleta
f4a5b5e82d
Merge branch 'MDL-79809-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-06-27 11:01:22 +08:00
Andrew Nicols
e3743ea066
MDL-63670 core_message: Tests should not use another testcase as base
2024-06-27 09:01:43 +08:00
Tim Hunt
5f01161095
MDL-82308 forms: set a nice default size for multi-selects
...
This is a backport of MDL-81515.
2024-06-26 13:26:33 +01:00
Sara Arjona
1cdcee4020
Merge branch 'MDL-80625-403' of https://github.com/ssj365/moodle into MOODLE_403_STABLE
2024-06-26 12:15:02 +02:00
Sara Arjona
6ed88f797b
Merge branch 'MDL-80344-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-26 12:11:22 +02:00
Huong Nguyen
399e4ead35
MDL-81991 core: Reload accessdata for dirty users in CLI mode
2024-06-26 16:27:59 +07:00
Huong Nguyen
be48e8d19b
MDL-78936 editor_tiny: Disable quickbars for small target
...
The quickbars selection toolbar is not displayed correctly
if the target element is too small. We will wait for it
to be fixed in the future before we re-enable it in Moodle
2024-06-26 10:18:19 +07:00
Ilya Tregubov
05081cc0b6
Merge branch 'MDL-82233-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-06-26 10:24:21 +08:00
Ilya Tregubov
acfb658796
Merge branch 'MDL-82167-403' of https://github.com/ferranrecio/moodle into MOODLE_403_STABLE
2024-06-26 10:20:19 +08:00
Sara Arjona
e099ffcf76
Merge branch 'MDL-79231-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-06-25 16:13:08 +02:00
ferranrecio
0f405fd48e
MDL-82167 core: fix reactive debug panel
2024-06-25 16:00:59 +02:00
Huong Nguyen
71046dbd93
Merge branch 'MDL-82277-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-25 13:54:12 +07:00
Wolfgang Reichert
f860bf0a87
MDL-73091 core_badges: Avoid undefined variable notice in review
...
* Fix review method for award_criteria_courseset when courseset is empty
* Add unit tests for coverage of the award_criteria_courseset class
@co-authored jz-reichert@web.de
2024-06-25 08:47:28 +02:00
Huong Nguyen
41874ea307
Merge branch 'MDL-82200_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-06-25 09:14:01 +07:00
Huong Nguyen
fcd49e4377
Merge branch 'MDL-80061-403' of https://github.com/ssj365/moodle into MOODLE_403_STABLE
2024-06-25 09:07:46 +07:00
Paul Holden
f70abdc6f3
MDL-82024 format_topics: toggle un/highlight section icon correctly.
2024-06-24 19:48:05 +01:00
Paul Holden
df5a0e6447
MDL-82277 mod_h5pactivity: less fragile error Behat step assertion.
...
Avoids frequent failures related to iframe resizing/timing.
2024-06-24 15:56:07 +01:00
Paul Holden
c61ed0b47c
MDL-62958 admin: ensure uploaded plugin directory structure present.
...
Including any empty directories, which would cause validation to
subsequently fail when they were skipped.
Co-authored-by: Leon Stringer <leon.stringer@ntlworld.com >
2024-06-24 12:47:40 +01:00
Huong Nguyen
524779dc8c
MDL-79809 environment: Moodle 4.5 requirements
2024-06-24 09:37:24 +07:00
Huong Nguyen
10fbeaa3ed
MDL-79809 environment: Add missing Moodle 4.4 requirements
2024-06-24 09:37:24 +07:00
Huong Nguyen
bbcc3531e1
MDL-79809 environment: Add recommended custom check
...
Add support for custom environment checks to have a recommended
option in addition to required an optional.
2024-06-24 09:37:23 +07:00
AMOS bot
4cf33f06ba
Automatically generated installer lang files
2024-06-22 00:14:06 +00:00
Daniel Ziegenberg
93ca582a25
MDL-31192 core_webservice: do not render div inside span
...
`<span>` tags only permit "phrasing content" but `<div>` (and also the
`<ins>` tag) are flow content. So, switching to div all along.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2024-06-21 16:33:58 +02:00
Luca Bösch
9eaecc9336
MDL-82008 backup: Format 'Continue' and 'Cancel' button to have a margin
2024-06-21 09:37:06 +02:00
Martin Gauk
ebac092c6e
MDL-80345 core_lock: deal with hash collisions in postgres_lock_factory
2024-06-20 17:34:00 +02:00
Sara Arjona
91811a4bbc
weekly release 4.3.5+
2024-06-20 16:31:03 +02:00
Sara Arjona
aea1811fdb
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-06-20 16:31:00 +02:00
David Woloszyn
7962b734aa
MDL-79231 core_theme: Fix Tiny menu in fullscreen mode modals
2024-06-20 14:32:44 +10:00
David Woloszyn
d4376c28f1
MDL-79231 mod_assign: Fix Tiny menu in fullscreen mode
2024-06-20 14:32:44 +10:00
Huong Nguyen
e752a63a54
Merge branch 'MDL-78773-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-20 11:06:43 +07:00
Jun Pataleta
5a2d39ccb3
Merge branch 'MDL-82246-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-06-20 11:41:41 +08:00
Huong Nguyen
eded187633
Merge branch 'MDL-82202-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-20 10:21:42 +07:00
Andrew Nicols
1407ac2079
MDL-82246 tiny_recordrtc: Correct string name for insecure alert title
2024-06-20 10:58:34 +08:00
Huong Nguyen
e0836aa36d
Merge branch 'MDL-81761-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-20 09:55:06 +07:00
Huong Nguyen
495620cd22
Merge branch 'MDL-82169-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-20 09:20:06 +07:00
Huong Nguyen
73ba9560ea
Merge branch 'MDL-77665-403-behat-fix' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-06-20 08:54:52 +07:00
lameze
cce376b29b
MDL-77665 behat: use different steps to delete user
2024-06-20 09:11:22 +08:00
AMOS bot
5db3e2bae6
Automatically generated installer lang files
2024-06-20 00:16:21 +00:00
Sara Arjona
490dfa0b21
Merge branch 'MDL-81857-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-19 15:53:08 +02:00
Sara Arjona
b905dc4e0a
Merge branch 'MDL-81730-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-19 13:31:44 +02:00
meirzamoodle
b25713d6fe
MDL-75864 cache: Change key prefix in cache_cron_task
...
Currently, the cache_cron_task is set to look for 'sess_' as a key prefix,
which is not used in any code. As a result, sessions that have exceeded the timeout are never deleted.
The proposed patch involves changing the prefix to the LASTACCESS key prefix and
fixing the return value of get_many in the Redis cache so that it can return the required keys.
Co-authored-by: Renaud Lemaire <rlemaire@cblue.be >
2024-06-19 13:43:27 +07:00
Sara Arjona
15de651960
Merge branch 'MDL-77665-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-06-19 07:35:30 +02:00
Huong Nguyen
b167c9cc11
Merge branch 'MDL-81249-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-06-19 09:18:50 +07:00
Andrew Nicols
b263eac8ca
Merge branch 'MDL-81644-403-new' of https://github.com/meirzamoodle/moodle into MOODLE_403_STABLE
2024-06-18 23:26:10 +08:00
Andrew Nicols
f7836e1c04
Merge branch 'MDL-81431-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-06-18 22:51:06 +08:00
Andrew Nicols
b3716d7a25
Merge branch 'MDL-81739-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-06-18 22:39:31 +08:00
Sara Arjona
2056d3d629
MDL-82233 badges: Display awarded users only when it applies
...
The message with the number of uses who have awarded a badge
were displayed always (even when the badge was disabled).
2024-06-18 16:06:41 +02:00
Angelia Dela Cruz
2bae7d4dc2
MDL-81249 gradingform: Behat test that grades are retained
2024-06-18 18:32:29 +08:00
Angelia Dela Cruz
166de7ade5
MDL-81249 gradingform: Enhance Behat test for deleting marking guide
2024-06-18 17:46:38 +08:00
Huong Nguyen
d55c386e8e
Merge branch 'MDL-82148_403' of https://github.com/stronk7/moodle into MOODLE_403_STABLE
2024-06-18 16:27:58 +07:00
Shamim Rezaie
59022b4e06
Merge branch 'mdl-78080-403-split' of https://github.com/james-cnz/moodle into MOODLE_403_STABLE
2024-06-18 16:06:34 +10:00
lameze
3aa5d3040b
MDL-81431 behat: set grade item checkboxes one at the time
2024-06-18 13:58:29 +08:00
Paul Holden
da4e0701ee
MDL-82202 course: correct last access report entity column callback.
...
Ensure it works when being aggregated.
2024-06-17 14:27:15 +01:00
Laurent David
dd27138387
MDL-77665 mod_h5pactivity: Improve generator package upload
...
* Allow the specification of the username in order to set the owner
of the H5P file package when creating a new H5P instance.
2024-06-17 06:31:59 +02:00
Laurent David
a843986e1d
MDL-77665 core_h5p: Allow deployment if user has been deleted
...
* If user has been deleted we consider that the content can be deployed
by a user who can deploy other packages
* Add behat test to cover for this use case
* Fix the content bank generator as it was failing to upload the content
as the given user
2024-06-17 06:31:59 +02:00
James C
21c542e3a8
MDL-78080 course: Duplicate section: Duplicate by section id, not num
2024-06-17 12:25:16 +12:00
James C
20e3829749
MDL-78080 course: Duplicate section: No duplicate option for section 0
2024-06-17 12:25:16 +12:00
James C
c11eab4121
MDL-78080 course: Duplicate section: Don't copy deleted activities
2024-06-17 12:25:16 +12:00
James C
181f8e7813
MDL-78080 course: Duplicate section: Copy section summary files
2024-06-17 12:24:42 +12:00
James C
1deaaf1964
MDL-78080 course: Duplicate section: Copy custom section options
2024-06-17 12:19:31 +12:00
James C
2e869d5e8b
MDL-78080 course: Duplicate section: Fix course_update_section params
2024-06-17 12:19:01 +12:00
Eloy Lafuente (stronk7)
e812185a8e
MDL-82148 phpunit: Remove all cases of multiple @coversDefaultClass
...
Only one by class is allowed (to be used as shortcut exclusively).
2024-06-14 16:05:26 +02:00
Tim Hunt
eb090d8f10
MDL-82200 inplace editable: fix background of the help text
2024-06-14 13:23:21 +01:00
Anupama Sarjoshi
35f015b33d
MDL-79796 quiz: Preview icon should be visible in question bank pop-up
2024-06-14 11:46:56 +01:00
Ilya Tregubov
a585bda18f
weekly release 4.3.5+
2024-06-14 08:57:07 +08:00
Eric Merrill
0d0a3381c3
MDL-82192 scorm: Correct field names for AICC ExitAu
2024-06-13 18:38:57 -04:00
Jun Pataleta
3b97ae1814
Merge branch 'MDL-81287-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-13 12:03:13 +08:00
Jun Pataleta
9c6571471f
Merge branch 'MDL-82178_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-06-13 12:00:43 +08:00
Huong Nguyen
cd7f4b6126
Merge branch 'MDL-81577-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-13 10:56:15 +07:00
Huong Nguyen
1da88d59c8
Merge branch 'MDL-82184-dbcollation-comment-403' of https://github.com/leonstr/moodle into MOODLE_403_STABLE
2024-06-13 10:20:05 +07:00
Huong Nguyen
18b872dea6
Merge branch 'MDL-81781-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-13 10:13:19 +07:00
Huong Nguyen
cf54f312c7
Merge branch 'MDL-69514-403' of https://github.com/pedrojordao/moodle into MOODLE_403_STABLE
2024-06-13 09:54:32 +07:00
Huong Nguyen
57d3bddedf
Merge branch 'MDL-82155-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-13 09:03:36 +07:00
Shamiso.Jaravaza
55b56767d6
MDL-80061 mod_bigbluebuttonbn: Change filter field
...
* Change dismissed recording time filter from timecreated to timemodified
2024-06-12 13:51:26 -06:00
Leon Stringer
5f9d59a527
MDL-82184 database: Revise dbcollation comment
2024-06-12 18:16:37 +01:00
Tim Hunt
fbd10311b3
MDL-82178 quiz graded notification: fix capability check
...
Also improve the scheduled task logging
2024-06-12 12:41:24 +01:00
Huong Nguyen
1780506eb3
Merge branch 'MDL-81332-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-06-12 13:16:04 +07:00
Jun Pataleta
f8f8dee642
Merge branch 'MDL-81355-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-06-12 10:38:01 +08:00
Michael Aherne
332a467776
MDL-81355 phpdoc: Fix incorrect phpdocs on block_base.
2024-06-12 10:32:51 +08:00
Paul Holden
ecb70f2924
MDL-82169 user: remove access to non-existent $options array.
2024-06-11 21:26:07 +01:00
Ilya Tregubov
a70030127e
Merge branch 'MDL-81510-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-06-11 19:00:02 +08:00
Laurent David
937c1200a3
MDL-81510 core_courseformat: Fix activity highlight in index
...
* When directly accessing the module with the #module-xxx anchor
we should highlight the module as the current page item.
2024-06-11 12:48:58 +02:00
Huong Nguyen
1ce27d703f
MDL-68540 tool_usertours: Remove hideif workaround
...
We don't need to use the group element to use hideif
for text editor element anymore
2024-06-11 15:33:43 +07:00
Huong Nguyen
b21b6214e1
Merge branch 'MDL-68540-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-06-11 15:33:17 +07:00
Angelia Dela Cruz
7d94489bcb
MDL-81332 core_course: Behat test for grade and activity reports display
2024-06-11 16:30:25 +08:00
Jun Pataleta
eb851bbb53
Merge branch 'MDL-81428-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-06-11 13:41:41 +08:00
David Woloszyn
945ae4127d
MDL-68540 form: Correctly target editors in node tree
...
This fix solves the hideIf and disabledIf form conditions that were not
correctly targetting the editor due to a name attribute mismatch.
2024-06-11 13:06:24 +10:00
Paul Holden
8ff873452f
MDL-82155 core: define/correct third party library names.
2024-06-10 19:53:14 +01:00
Shamiso.Jaravaza
83fefe7f72
MDL-80625 mod_bigbluebuttonbn: Fix param name
2024-06-10 10:12:12 -06:00
Sara Arjona
9a47d8f32c
Merge branch 'MDL-81949-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-10 16:46:43 +02:00
Sara Arjona
5a52d16d53
Merge branch 'MDL-81678-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-10 16:39:22 +02:00
Pedro Jordao
1ecaf21c7c
MDL-69514 Core: Close popover when modal is closed
...
Currently in Firefox, if we opened a popover that was inside a modal
and closed the modal by pressing the ESC key, the popover remained on
the screen. With this change, we will ensure that popovers are closed
when the modal is closed.
2024-06-10 10:49:06 -03:00
Sara Arjona
ebfcdc6563
Merge branch 'MDL-70972-MOODLE_403_STABLE' of https://github.com/PhMemmel/moodle into MOODLE_403_STABLE
2024-06-10 12:33:32 +02:00
Huong Nguyen
442a0b4edd
MDL-81428 theme_boost: Match .disabled opacity with .text-muted
2024-06-10 17:10:18 +07:00
Huong Nguyen
49bab9140b
MDL-81428 core: Display the correct status for the contact request
2024-06-10 17:10:18 +07:00
Ilya Tregubov
cb6096faca
Merge branch 'MDL-81510-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-06-10 13:32:17 +08:00
Paul Holden
e7381b48f2
MDL-81949 tool_replace: prompt user for unrecognised CLI parameters.
2024-06-07 11:41:08 +01:00
Paul Holden
ea52af0c77
MDL-81678 enrol: don't escape course name in welcome message.
2024-06-07 11:39:48 +01:00
Paul Holden
612ac0766a
MDL-78773 report_stats: improve display of mode selection element.
...
Make use of existing theme selectors for navigation elements to style.
2024-06-07 11:34:31 +01:00
Paul Holden
2a72cf032d
MDL-81781 report_log: escape description selectively on display/export.
...
Per cd85e090f3 all content was escaped, however we should only do that
when displaying the value in browser or exporting to file format which
supports HTML.
2024-06-07 11:31:02 +01:00
Paul Holden
daebafdb2d
MDL-81781 dataformat: public helper method to get writer instance.
2024-06-07 11:31:02 +01:00
Laurent David
4ab6a8552f
MDL-81510 core_courseformat: Do not reset the scroll position
...
* Revert the change made in MDL-75762 which would wait and change
course index selection depending on the actual scroll position
2024-06-07 09:40:21 +02:00
Laurent David
c6f9ae9b4f
MDL-81510 core_courseformat: Expand course section to show activity
...
* When a course activity is specified via an anchor in the URL we
should expand the course content containing the activity
* When we point to a specific activity via an anchor in the URL we should
expand the course index (section) surrounding the actitity.
2024-06-07 09:40:21 +02:00
Meirza
27dbdbe702
MDL-81644 calendar: The behaviour of event dates in the block calendar
...
There is a difference in the behaviour of the calendar block when it is on the calendar page and when it is not.
On the calendar page, when the user clicks on the date or link next/previous month or day name in the calendar block,
it will have the effect of changing the URL, which should not happen.
The patch also includes hiding popover after the user clicks the day number. When the user clicks on the date or
is focused on the date and then presses enter on the keyboard, the popover does not automatically close.
To fix this, I added an event type, "click", to be attached to the hidePopover function and added conditioning to
the target element when there was a "click" event.
An additional step was added to the Behat calendar for the click event to ease the testing process.
For the popover, I set the "animation" to false to avoid the random Behat failure caused by the slow animation.
2024-06-07 14:31:10 +07:00
Andrew Nicols
7dcfaa79f7
Moodle release 4.3.5
2024-06-07 14:55:47 +08:00
Jun Pataleta
39b9f6561c
weekly release 4.3.4+
2024-06-06 22:30:38 +08:00
Jun Pataleta
32509a3496
NOBUG: Fixed file access permissions
2024-06-06 22:30:38 +08:00
Jun Pataleta
fb51dda956
Merge branch 'MDL-81750-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-06-06 22:20:02 +08:00
Jun Pataleta
cd50ce807f
Merge branch 'MDL-82045-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-06-06 22:20:02 +08:00
Huong Nguyen
e2a453e618
Merge branch 'MDL-81146_disable_buttons-403' of https://github.com/leonstr/moodle into MOODLE_403_STABLE
2024-06-06 22:20:02 +08:00
Huong Nguyen
102dd799ab
Merge branch 'MDL-81749-403' of https://github.com/aanabit/moodle into MOODLE_403_STABLE
2024-06-06 22:20:02 +08:00
Huong Nguyen
8a41641832
Merge branch 'MDL-81989-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-06-06 22:20:02 +08:00
meirzamoodle
e1dab5f381
MDL-81890 assign: confirm_sesskey fixed in view_fix_rescaled_null_grades
2024-06-06 22:20:01 +08:00
meirzamoodle
da8e8cee6f
MDL-81890 enrol_lti: Fix sesskey checks
2024-06-06 22:20:01 +08:00
meirzamoodle
31ced08511
MDL-81890 course: Fix sesskey checks
2024-06-06 22:20:01 +08:00
meirzamoodle
f2807dee5b
MDL-81890 tool_moodlenet: Fix sesskey checks
2024-06-06 22:20:01 +08:00
Jun Pataleta
2ee158c06d
MDL-81631 backup: Simplify logic using null coalescing operator
2024-06-06 22:20:01 +08:00
Jun Pataleta
9b065dff30
Merge branch 'MDL-81631_403' of https://github.com/santoshndev/moodle into MOODLE_403_STABLE
2024-06-06 22:20:00 +08:00
Jun Pataleta
279f6af7dc
Merge branch 'MDL-78198-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-06-06 22:20:00 +08:00
Huong Nguyen
6fca520863
Merge branch 'MDL-81865-403' of https://github.com/lucaboesch/moodle into MOODLE_403_STABLE
2024-06-06 22:20:00 +08:00
Huong Nguyen
c5e4d936d1
Merge branch 'MDL-81397-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-06 22:20:00 +08:00
Paul Holden
6c0645ca29
MDL-81778 mod_bigbluebuttonbn: access checks when getting meeting URL.
2024-06-06 22:20:00 +08:00
Stevani Andolo
df42e007ce
MDL-81412 calendar: Sanitise calendar event names
2024-06-06 22:19:00 +08:00
Paul Holden
7c7ebb074e
MDL-81857 user: don't check whether address is an identity field.
...
It can never be selected as one, so the previous comparison could
never pass.
2024-06-06 08:58:49 +01:00
David Woloszyn
5446cc3dcd
MDL-81739 tiny_noautolink: Remove URL checking when preventing auto-link
2024-06-06 15:05:05 +10:00
Andrew Nicols
870007bfaf
MDL-82045 course: Destroy copy course modal instead of hiding it
2024-06-06 10:04:42 +08:00
Paul Holden
f537f9c067
MDL-80344 calendar: correct no subscriptions language string use.
...
Ensure expected parameters are present; avoid string concatenation.
2024-06-05 15:52:23 +01:00
Amaia Anabitarte
49ec843b18
MDL-81749 core_completion: Let custom rules to return failed state
2024-06-05 15:55:49 +02:00
lameze
272c3046e3
MDL-81989 install: remove unnecessary closing div tags
2024-06-05 14:05:22 +08:00
Cameron Ball
0df3c5837a
MDL-81774 curl: Strip auth headers when redirecting to different host
2024-06-05 02:34:18 +00:00
Jun Pataleta
359adfe261
Merge branch 'MDL-81982-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-06-05 10:29:04 +08:00
David Mudrák
d14d574b47
MDL-81982 lang: Use fixed strings in tests, too
2024-06-05 10:24:38 +08:00
Helen Foster
edf57cb689
MDL-81982 lang: Import fixed English strings (en_fix)
2024-06-05 10:24:37 +08:00
Huong Nguyen
545e9f5753
Merge branch 'MDL-81970-plagiarism_upgrade_txt-403' of https://github.com/leonstr/moodle into MOODLE_403_STABLE
2024-06-05 09:14:14 +07:00
Huong Nguyen
e6a7da9d5c
Merge branch 'MDL-81751-MOODLE_403_STABLE' of https://github.com/durzo/moodle into MOODLE_403_STABLE
2024-06-05 08:56:31 +07:00
David Woloszyn
5e19ce7907
MDL-81750 form: Add selector to match filemanager in group
2024-06-05 09:35:07 +10:00
Paul Holden
af0f61f9b1
MDL-81397 courseformat: define section editing capabilities.
...
This ensures consistency for current page instance, when rendering
content in response to fragment AJAX requests.
2024-06-04 09:00:22 +01:00
Philipp Memmel
8c7892ceff
MDL-70972 format_singleactivity: Apply new behavior to behat test
2024-06-04 06:36:53 +00:00
Philipp Memmel
966f3548ae
MDL-70972 format_singleactivity: Show activities when creating course
...
Co-authored-by: Laurent David <lmedavid@gmail.com >
2024-06-04 06:36:52 +00:00
Huong Nguyen
4d5d51ced5
Merge branch 'MDL-81936-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-04 13:18:31 +07:00
Huong Nguyen
62ccc19a87
Merge branch 'MDL-81955-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-04 10:34:02 +07:00
Andrew Nicols
d6bd786c47
Merge branch 'MDL-80208-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-04 11:07:45 +08:00
Juan Leyva
1aea4a1528
MDL-80959 tool_mobile: Use different user keys for QR and auto login
2024-06-04 10:33:50 +08:00
Andrew Nicols
6d7a644b80
Merge branch 'MDL-82047-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-06-04 10:29:34 +08:00
Huong Nguyen
7ce06b0700
Merge branch 'MDL-81544-403' of https://github.com/rezaies/moodle into MOODLE_403_STABLE
2024-06-03 12:06:39 +07:00
Huong Nguyen
6300fc72ae
Merge branch 'MDL-73735-M403_duplicate-line-course-rest-php' of https://github.com/ziegenberg/moodle into MOODLE_403_STABLE
2024-06-03 11:53:49 +07:00
Sara Arjona
543c2efd9f
Merge branch 'MDL-81850-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-31 10:44:47 +02:00
Ilya Tregubov
8f19f0b27f
Merge branch 'MDL-77685-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-31 09:05:05 +08:00
Paul Holden
9dbfe16744
MDL-81577 mod: correct arguments when formatting text for RSS.
2024-05-30 19:17:32 +01:00
Paul Holden
3efc749c34
MDL-82047 analytics: remove 32-bit integer checks for maximum time.
2024-05-30 19:00:33 +01:00
Sara Arjona
11a2641a13
weekly release 4.3.4+
2024-05-30 17:00:31 +02:00
Paul Holden
40b46631a3
MDL-81850 availability_group: correctly retrieve groups for given user.
2024-05-30 10:15:41 +01:00
Huong Nguyen
5b39c4923a
Merge branch 'MDL-80973-403' of https://github.com/jleyva/moodle into MOODLE_403_STABLE
2024-05-30 10:38:26 +07:00
Andrew Nicols
9459034a58
MDL-68262 assignfeedback_editpdf: Add setAccessible calls back
2024-05-30 09:55:59 +07:00
Andrew Nicols
f86b3aaf4d
MDL-68262 assignfeedback_editpdf: Correct args to make_request_directory
2024-05-30 09:55:56 +07:00
Sara Arjona
7dbf54ddad
Merge branch 'MDL-81983_403' of https://github.com/lostrogit/moodle into MOODLE_403_STABLE
2024-05-29 14:07:40 +02:00
Sara Arjona
b4705378c3
Merge branch 'MDL-81901-progress-cli-MOODLE_403_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_403_STABLE
2024-05-29 13:32:37 +02:00
Sara Arjona
1388491cfc
Merge branch 'MDL-80911-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-05-29 13:19:29 +02:00
Andrew Nicols
1f2f8d511f
MDL-68262 assignfeedback_editpdf: Update unit test for latest coding style
2024-05-29 16:21:46 +08:00
Andrew Nicols
ab312b111a
MDL-68262 assignfeedback_editpdf: Switch to request dirs
2024-05-29 16:20:02 +08:00
Andrew Nicols
29ac365f5f
Merge branch 'MDL-80831-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-05-29 14:27:38 +08:00
Jun Pataleta
6282c6a22c
MDL-80831 theme: Set a vertical padding for footer links
...
This is to increase the target size of links within the footer and
meet WCAG 2.2 Level AA Success Criterion 2.5.8
2024-05-29 10:42:43 +08:00
Jun Pataleta
3c61ca4e6a
MDL-80831 gradereport_grader: Fix collapsed columns menu accessibility
...
- Increase the clickable size of the checkbox fields in the collapsed
columns menu, so they won't fail WCAG 2.2 SC 2.5.8 Target Size
(Level AA). This is done by moving the checkbox within the label element
which also fixes the issue of associating the label with the checkbox
instead of labelling the checkbox via `aria-labelledby`.
2024-05-29 10:40:40 +08:00
Jun Pataleta
436761ca31
MDL-80831 gradereport_grader: Increase size of profile field links
...
- Increase the clickable size of user profile field links on the
grader report table headings so they won't fail WCAG 2.2 SC 2.5.8 Target
Size (Level AA).
2024-05-29 10:40:40 +08:00
Jun Pataleta
6d7cfe1504
MDL-80831 gradereport_grader: Remove unnecessary setting of aria-hidden
...
- If an element is being hidden visually with `display: none;` (e.g. by
using the class `.d-none`), there's no need to set `aria-hidden` because
it is already hidden from the accessibility tree.
- Setting `aria-hidden=false` is also not recommended and it's better to
remove the `aria-hidden` attribute instead of setting it to false.
2024-05-29 10:40:40 +08:00
Brendan Heywood
2fd9720cfe
MDL-81901 core: Fix progress bar bug in cli in non tty mode
2024-05-29 11:14:25 +10:00
Andrew Nicols
1703cff134
Merge branch 'MDL-82015-403' of https://github.com/ak4t0sh/moodle into MOODLE_403_STABLE
2024-05-29 09:11:35 +08:00
Andrew Nicols
ebf5f7bc78
MDL-81733 mod_lesson: Coding style fixes
2024-05-28 23:46:17 +08:00
Andrew Nicols
7f29f3a5b5
Merge branch 'MDL-81733-403' of https://github.com/izendegi/moodle into MOODLE_403_STABLE
2024-05-28 23:46:14 +08:00
Arnaud Trouvé
8a8e0e0b7c
MDL-82015 mod_bigbluebuttonbn: Fix date formatting during import
2024-05-28 15:24:07 +02:00
Andrew Nicols
fa23a0ced1
Merge branch 'MDL-82004-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-28 14:32:03 +08:00
Andrew Nicols
5dec64adfc
Merge branch 'MDL-81822-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-28 14:10:15 +08:00
Andrew Nicols
0e0d8d893b
Merge branch 'MDL-81870-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-28 14:02:19 +08:00
Huong Nguyen
5857650a50
Merge branch 'MDL-78768-M403_import-multiple-new-grade-items' of https://github.com/ziegenberg/moodle into MOODLE_403_STABLE
2024-05-28 12:32:49 +07:00
Andrew Nicols
474320b375
MDL-81897 tool_mobile: Coding style fix
2024-05-28 11:43:54 +08:00
Andrew Nicols
96bee2a78d
Merge branch 'MDL-81897-403' of https://github.com/jleyva/moodle into MOODLE_403_STABLE
2024-05-28 11:43:49 +08:00
Andrew Nicols
bf6056a010
Merge branch 'MDL-81698_403' of https://github.com/stronk7/moodle into MOODLE_403_STABLE
2024-05-28 10:13:18 +08:00
Huong Nguyen
cb64801f88
Merge branch 'MDL-81915_403' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_403_STABLE
2024-05-28 08:58:01 +07:00
Andrew Nicols
f0dcaaa18a
Merge branch 'MDL-78942-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-28 09:18:08 +08:00
Juan Leyva
770947dbe2
MDL-80973 tool_policy: Fix edge case
2024-05-27 17:20:29 +02:00
Eloy Lafuente (stronk7)
f5c76d8817
MDL-81698 phpunit: Convert some skipped tests into useful ones
...
After some tests, it seems that we can safely cover
phpunit_util::reset_all_data() executing it within
own basic_test self tests.
That way we can confirm that the reset code is doing its job
and detecting unexpected changes at various levels (database,
globals, ...).
Note that, in order to catch the E_USER_WARNINGS, for PHPUnit 9.6
and up, we have to convert them to exceptions, because the notice/
warning/error expectations have been deprecated and will be removed
in PHPUnit 10. So we are using a trick, already used also by
advanced_test. And, no matter that we are repeating the trick
a few times, that's ok in order to have all its uses controlled.
2024-05-25 17:20:02 +02:00
Eloy Lafuente (stronk7)
f67531d9ac
MDL-81698 phpunit: Apply various fixes towards 1by1 execution
...
The changes here are heterogeneous:
- Include stuff that is not available (other test has included it).
Sometimes local to a unit test, others in setupBeforeClass() or
globally, ... depends on every case.
- Rename some tests (namespaces, test name, ...) towards getting it
running.
- Amend small bits here and there.
Important note: I've left any "cosmetic" warning out from the
changes, only a few errors (like long array syntax) have been fixed.
2024-05-25 17:20:02 +02:00
Eloy Lafuente (stronk7)
c8784d1072
MDL-81698 phpunit: Uncomment some tests and make them skipped
...
There are a few tests in core that are commented since the
beginning. That's not useful at all, so with this commit we
are un-commenting them instead.
Note that this is an initial step to have them back with skipped
outcome. Later in this issue we'll decide about to keep them or
completely remove them (each test can have a different outcome).
2024-05-25 17:20:02 +02:00
Eloy Lafuente (stronk7)
f7be5f796f
MDL-81698 phpunit: New workflow to run tests 1by1 @ GitHub
...
This workflow just finds all the individual
tests available in core (all the test_ methods
in _test.php file) and runs them one by one,
with a total isolation, because each one is
executed by a different PHPUnit invocation..
Any test ending with error, will be reported
as part of the output.
Note that we are not using PHPUnit's own
isolation here, just running them one by one.
2024-05-25 17:20:02 +02:00
Anupama Sarjoshi
fa18bff175
MDL-81915 admin: Fix test_admin_output_new_settings_by_page unit test
2024-05-24 11:19:55 +01:00
Iñigo Zendegi
12e75fda82
MDL-81733 lesson: Support filters on lesson activity link
2024-05-24 09:43:50 +02:00
Luca Bösch
18ee82e7e3
MDL-81865 mod_quiz: Display modal for 'Add random question' as mform.
...
This is a backport of MDL-81713.
2024-05-24 08:20:52 +02:00
Ilya Tregubov
130165c8cc
weekly release 4.3.4+
2024-05-24 10:52:05 +08:00
Andrew Nicols
20ae3b2daf
MDL-78198 file: Stop sending the Accept-Charset header in curl
...
See notes on:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset
Warning: Do not use this header. Browsers omit this header and servers
should ignore it.
The Accept-Charset request HTTP header was a header that advertised a
client's supported character encodings. It is no longer widely used.
UTF-8 is well-supported and the overwhelmingly preferred choice for
character encoding. To guarantee better privacy through less
configuration-based entropy, all browsers omit the Accept-Charset
header.
2024-05-23 22:18:18 +08:00
Paul Holden
2d4a83d661
MDL-82004 assignsubmission_onlinetext: no concatenation in lang strings.
2024-05-23 13:08:36 +01:00
Paul Holden
c62aa880a2
MDL-81870 core: re-factor duplicate plugin savepoint implementations.
2024-05-23 09:09:51 +01:00
Paul Holden
f113a68fdc
MDL-81870 core: validate component during upgrade task savepoint.
2024-05-23 09:04:36 +01:00
Huong Nguyen
bb70f3da81
Merge branch 'MDL-81407_403' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_403_STABLE
2024-05-23 10:39:06 +07:00
Huong Nguyen
0e96139202
Merge branch 'MDL-81992_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-05-23 09:48:35 +07:00
Huong Nguyen
a06e3076f0
Merge branch 'MDL-81862-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-23 08:48:14 +07:00
Tim Hunt
0b06955645
MDL-81992 question bank: disable create question button until ready
...
Previously, you could click the button before it was ready, and that
just led to an error, which was very silly usability.
2024-05-22 16:26:42 +01:00
Daniel Ziegenberg
af0f43320b
MDL-78768 grade: fix import multiple new grade items
...
Prior to this change, when importing grades from .csv (or another
method) and you choose to map the grades to a 'New grade item', you get
the following error message:
```
"Mapping collision detected - two fields maps to the same grade item
new."
```
A workaround existed that required users to import one column at a time,
which was cumbersome.
This change fixes importing multiple new grade items and adds a behat
test.
Co-authored-by: hehe009 <max_kan@hotmail.com >
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2024-05-22 12:21:58 +02:00
Paul Holden
6919b314c7
MDL-80208 cachestore_redis: ensure empty set many with TTL don't throw.
2024-05-21 22:36:52 +01:00
Santosh Nagargoje
0d9c05a23a
MDL-81631 backup: Added null parameter fix
2024-05-21 17:02:43 +05:30
Daniel Ziegenberg
816460d911
MDL-73735 course: remove duplicate line of code
...
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
Co-authored-by: Davo Smith <davo.smith@synergy-learning.com >
2024-05-21 13:30:53 +02:00
Carlos Castillo
904c8f5e54
MDL-81983 admin: Remove double capability check
2024-05-21 12:42:37 +02:00
Huong Nguyen
bf3c2113d2
Merge branch 'MDL-76765-403' of https://github.com/lucaboesch/moodle into MOODLE_403_STABLE
2024-05-21 17:30:41 +07:00
Huong Nguyen
af7b090803
Merge branch 'MDL-81538-403' of https://github.com/rezaies/moodle into MOODLE_403_STABLE
2024-05-21 16:32:09 +07:00
Paul Holden
e0e193c360
MDL-81862 mod_assign: add activity field files for backup/restore.
2024-05-21 09:06:04 +01:00
Ilya Tregubov
bf625d19e8
Merge branch 'MDL-81318-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-21 12:50:36 +08:00
Huong Nguyen
56f4964779
Merge branch 'MDL-81948-403' of https://github.com/ferranrecio/moodle into MOODLE_403_STABLE
2024-05-21 10:03:31 +07:00
Huong Nguyen
d74e862792
Merge branch 'MDL-81904-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-21 09:44:02 +07:00
Huong Nguyen
2292fd441b
Merge branch 'MDL-80583-403' of https://github.com/stevandoMoodle/moodle into MOODLE_403_STABLE
2024-05-21 09:24:53 +07:00
Luca Bösch
492b6c7776
MDL-76765 qtype_ddmarker: Show multiple tries options correctly.
2024-05-20 22:13:37 +02:00
Luca Bösch
e7b99b1ee6
MDL-76765 question: Show multiple tries options correctly.
2024-05-20 22:13:37 +02:00
Paul Holden
d5be854a11
MDL-81730 assignsubmission_file: deterministic submission file order.
2024-05-20 20:16:24 +01:00
Paul Holden
ac3a8672f5
MDL-81822 tool_licensemanager: slightly relax license shortname type.
...
The "*-4.0" license versions could not be managed currently.
2024-05-20 17:44:52 +01:00
Paul Holden
627fe4cfe8
MDL-81761 gradingform_guide: remove duplicate click of frequent comment.
2024-05-20 17:40:56 +01:00
Leon Stringer
3243f8a1b8
MDL-81970 plagiarism: Callbacks wrong way round
2024-05-20 11:03:30 +01:00
Paul Holden
a4bd295553
MDL-81904 mod_feedback: show export questions only if any present.
2024-05-20 09:27:35 +01:00
Stevani Andolo
46062ee69e
MDL-80583 communication_matrix: Ignore unreachable matrix server
2024-05-20 15:11:44 +08:00
Huong Nguyen
54f8631acd
MDL-80911 Course: Fix missing required files
2024-05-20 10:08:11 +07:00
Anupama Sarjoshi
03b6d6313b
MDL-81407 qbank_columnsortorder: Fix error displaying hiddencols
...
When the question custom fields were deleted, if there were any
hidden columns in qbank Column sort order referring those fields they
were throwing 'Custom field does not exist' exception. Changes done to
ignore such fields and display valid hiddencols, as these references
were breaking the qbank Column sort order and Question bank pages.
2024-05-19 08:55:47 +01:00
Paul Holden
b77e8679cf
MDL-81955 assignfeedback_editpdf: ensure ghostscript present in tests.
2024-05-17 10:26:17 +01:00
ferranrecio
bff27f92b7
MDL-81948 theme: fix fallback layout logic
...
Finding the page layout fallback was trying to get a default layout from
the ancient theme called "base". This default theme do not exists
anymore and defining a wrong layout in a theme is a code mistake that
should not be bypassed.
2024-05-17 10:43:45 +02:00
Paul Holden
cb6a519667
MDL-81936 editor_tiny: handle default filepicker/draftitem config.
...
If they aren't passed in editor options config, ensure they still
observe the registered option processor (type) for each.
2024-05-16 18:49:54 +01:00
Jordan Tomkinson
646882d626
MDL-81751 ddl: new reserved keywords in Aurora MySQL database engine
2024-05-16 13:41:28 +01:00
Huong Nguyen
7438fe2289
weekly release 4.3.4+
2024-05-16 18:25:28 +07:00
Huong Nguyen
879c31e610
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-05-16 18:25:27 +07:00
Huong Nguyen
ce98dc4b62
Merge branch 'MDL-81543-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-16 09:39:11 +07:00
Huong Nguyen
86e2201816
Merge branch 'MDL-79838-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-05-16 09:22:13 +07:00
Paul Holden
88ea564e66
MDL-81287 mod_forum: observe default discussion paging value.
2024-05-15 13:23:23 +01:00
Paul Holden
2a148696d0
MDL-81318 assignsubmission_onlinetext: ignore blank content download.
2024-05-15 09:33:20 +01:00
Angelia Dela Cruz
e460567727
MDL-79838 mod_h5pactivity: Behat for H5P activity grade settings control
2024-05-15 14:52:51 +08:00
Shamim Rezaie
762fa2dab6
Merge branch 'MDL-81530-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-05-15 15:13:39 +10:00
Huong Nguyen
4e1676a9bf
Merge branch 'MDL-51360-403-2' of https://github.com/ilyatregubov/moodle into MOODLE_403_STABLE
2024-05-15 10:44:39 +07:00
Ilya Tregubov
7581808af5
Merge branch 'MDL-70441-403-fix' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-05-15 09:31:05 +08:00
Simey Lameze
2a58c95959
MDL-70441 mod_assign: change condition to check if variable is not empty
2024-05-15 09:15:24 +08:00
Shamim Rezaie
ada64b90b1
MDL-81544 theme_boost: Don't change the display of .visibleifjs elements
2024-05-15 04:13:36 +10:00
Sara Arjona
d630535bd7
Merge branch 'MDL-81805-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-05-14 17:05:44 +02:00
Juan Leyva
ab8945d10f
MDL-81897 tool_mobile: Force partitioned cookies on inapp browser
2024-05-14 13:44:12 +02:00
Ilya Tregubov
d531ca2863
Merge branch 'MDL-70441-403' of https://github.com/kevpercy/moodle into MOODLE_403_STABLE
2024-05-14 14:08:34 +08:00
David Balch
7da9e1828e
MDL-70441 assign: Freeze workflow states not available to user.
...
Prior to this, a custom grader role that has mod/assign:grade but not
mod/assign:releasegrades or mod/assign:managegrades would see a select
with only the states available to them - not the current state, and
could reset a grade from released to Not marked/In marking/Marking
completed.
2024-05-14 12:58:01 +08:00
Huong Nguyen
8d9e3c7a71
Merge branch 'MDL-81434-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-14 08:53:17 +07:00
Paul Holden
fb234d0518
MDL-81543 qtype_calculated: correct component of language string.
2024-05-13 10:43:50 +01:00
Ilya Tregubov
ff9de3728c
Merge branch 'MDL-81867-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-13 09:29:28 +08:00
AMOS bot
91e7d8e6bb
Automatically generated installer lang files
2024-05-12 00:14:28 +00:00
Paul Holden
627455b1eb
MDL-81867 qbank_columnsortorder: correct/cleanup previous upgrade step.
2024-05-10 09:20:25 +01:00
Ilya Tregubov
ac18106017
MDL-51360 core_grades: Improve documentation of grade_get_grades().
2024-05-10 09:17:10 +08:00
Ilya Tregubov
ac3e4375ff
MDL-51360 mod_quiz: Don't do full course recalculation.
...
It seems it was never needed. We only need to know if just one
grade is overridden and its value.
2024-05-10 09:17:10 +08:00
Ilya Tregubov
0fae175b82
weekly release 4.3.4+
2024-05-10 09:09:40 +08:00
Amaia Anabitarte
071a6a7cda
MDL-81601 core_course: Add course index completion status behats
2024-05-09 19:44:01 +08:00
Jun Pataleta
606de56801
Merge branch 'MDL-81713-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-05-09 12:02:13 +08:00
Jun Pataleta
6c7136c894
MDL-81713 mod_quiz: Use accessible fieldset name for Behat test
2024-05-09 11:57:21 +08:00
Luca Bösch
7fb8f46741
MDL-81713 mod_quiz: Add random question 'Parent category' help icon.
2024-05-09 11:57:21 +08:00
Jun Pataleta
eb1ee3e71b
Merge branch 'MDL-80972-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-05-09 11:43:00 +08:00
info@eWallah.net
431e60f282
MDL-80972 behat: Behat check_server_status can provide better info.
2024-05-09 11:07:42 +08:00
Huong Nguyen
da420156b5
Merge branch 'MDL-81423_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-05-09 09:55:48 +07:00
Huong Nguyen
0da6b416c8
Merge branch 'MDL-80453-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-05-09 09:48:11 +07:00
Ilya Tregubov
db8b22f577
Merge branch 'MDL-81601-403' of https://github.com/aanabit/moodle into MOODLE_403_STABLE
2024-05-09 10:46:41 +08:00
Huong Nguyen
97672aeb83
Merge branch 'MDL-79702-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-05-09 09:34:05 +07:00
Paul Holden
0f89924155
MDL-77685 grade: remove Behat specific report rendering hacks.
...
These changes follow the same approach as that taken elsewhere in
the Gradebook in 3643f48e0f .
2024-05-08 12:29:48 +01:00
Angelia Dela Cruz
74798f4241
MDL-80453 mod_glossary: Behat for different glossary format display
2024-05-08 17:31:45 +08:00
Amaia Anabitarte
da17bbcebd
MDL-81601 core_course: Fix course index completion status
2024-05-08 08:25:38 +02:00
Marina Glancy
09d7b78fee
MDL-80907 various: fixes to incorrect column selectors in behat
2024-05-07 19:31:23 +01:00
Marina Glancy
59e774be9a
MDL-80907 behat: be more precise in selecting table rows
2024-05-07 19:31:16 +01:00
Paul Holden
0675350454
MDL-81434 reportbuilder: ensure filter/condition parameter uniqueness.
...
This change fixes an edge case that could be triggered by creating a
custom report that contained a filter instance that was active as both
a filter and condition, where the filter instance provides parameters
to it's SQL fragment.
2024-05-07 15:03:18 +01:00
Huong Nguyen
777236f456
MDL-81530 editor_tiny: Better browsers compatibility
...
The TinyMCE.remove() function is killing other events on Firefox
We need to modify the setupForElementId() to make TinyMCE to
remove itself outside of the event loop
2024-05-07 14:22:19 +07:00
Simey Lameze
9624df07c0
MDL-81805 behat: remove unnecessary @javascript from tests
2024-05-07 09:10:30 +08:00
Simey Lameze
3016642fda
MDL-79702 behat: improvements and fixes to new tests
...
This commit adds the handling of tags as string separated by comma
to forum and glossary modules.
2024-05-06 20:02:35 +08:00
Angelia Dela Cruz
0d93a76b39
MDL-79702 core_tag: Behat for activity tags deletion during course reset
2024-05-06 20:02:35 +08:00
Huong Nguyen
3e8365e812
Merge branch 'MDL-80589-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-05-06 09:37:24 +07:00
Ilya Tregubov
985dd2a33c
Merge branch 'MDL-81656-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-05-06 09:55:59 +08:00
Tim Hunt
bcc5ded857
MDL-81423 assign: improve valdation message for submissionstatement
2024-05-03 10:35:02 +01:00
Shamim Rezaie
16de126c04
MDL-81538 theme_boost: Fix popover arrow direction in RTL
2024-05-03 13:03:43 +10:00
Ilya Tregubov
ab09144ccb
weekly release 4.3.4+
2024-05-03 08:34:40 +08:00
Ilya Tregubov
c5ccda34b4
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-05-03 08:34:37 +08:00
AMOS bot
c2bbce616d
Automatically generated installer lang files
2024-05-03 00:10:44 +00:00
Simey Lameze
9d54d9a6c3
MDL-80589 behat: fixes and improvements to new tests
2024-05-02 13:33:55 +08:00
Angelia Dela Cruz
c7bc4931c3
MDL-80589 qtype_numerical: Behat to add, edit, preview numeric question
2024-05-02 13:33:55 +08:00
Huong Nguyen
6b1241ace2
Merge branch 'MDL-81587_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-05-02 09:38:32 +07:00
Huong Nguyen
9425452845
Merge branch 'MDL-81611_403_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_403_STABLE
2024-05-02 09:02:31 +07:00
Huong Nguyen
84e2530e98
Merge branch 'MDL-79851-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-05-01 16:11:32 +07:00
Angelia Dela Cruz
25551a5593
MDL-79851 mod_h5pactivity: Behat for h5p activity access control
2024-05-01 14:26:20 +08:00
Sara Arjona
96d4fdb5a4
Merge branch 'MDL-81724-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-30 16:38:13 +02:00
Sara Arjona
8425cbfc94
Merge branch 'MDL-78889-403' of https://github.com/ilyatregubov/moodle into MOODLE_403_STABLE
2024-04-30 16:05:18 +02:00
Sara Arjona
0876626dc7
MDL-80571 tiny_premium: Fix version
2024-04-30 15:32:56 +02:00
Sara Arjona
27801f3f01
Merge branch 'MDL-81632-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-30 15:09:40 +02:00
Sara Arjona
396a53b650
Merge branch 'MDL-80571-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-04-30 15:06:04 +02:00
Tim Hunt
a28e67a94a
MDL-81587 quiz: fix layout of the add/edit random UI
...
Some of the removed CSS seems no longer relevant now that we have
customisation options for the layout of the question bank.
2024-04-30 10:45:52 +01:00
Paul Holden
191d5a1620
MDL-81724 editor_tiny: remove whitespace from block formats syntax.
...
Ensures that the values are subsequently translated correctly. Workaround
for upstream bug: https://github.com/tinymce/tinymce/pull/9599
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2024-04-30 09:27:39 +01:00
Huong Nguyen
e8a5ff7ab5
Merge branch 'MDL-79149-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-30 11:48:29 +07:00
Huong Nguyen
1fa423de59
Merge branch 'MDL-81717-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-04-30 11:38:28 +07:00
Ilya Tregubov
6d6b88f27e
Merge branch 'MDL-77272-403' of https://github.com/SergioComeron/moodle into MOODLE_403_STABLE
2024-04-30 10:18:41 +08:00
Huong Nguyen
0823b8534b
MDL-81610 course: Update upgrade.txt
2024-04-30 09:11:30 +07:00
Huong Nguyen
5eeff2dcb3
Merge branch 'MDL-81610_403_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_403_STABLE
2024-04-30 09:01:51 +07:00
David Woloszyn
0668597f31
MDL-80571 tiny_premium: Premium plugins can be individually enabled
2024-04-30 09:42:20 +10:00
Sara Arjona
a87a5edb3b
MDL-81717 h5p: Improve robustness content type fetching
...
Strengthen code to ensure retrieval of all content types, despite
failures.
2024-04-29 12:33:32 +02:00
Paul Holden
366b3a81fd
MDL-81656 h5p: correct content editing URL parameter handling.
2024-04-29 09:22:26 +01:00
Ilya Tregubov
fb619b068d
MDL-78889 gradereport_user: Fix pass/fail icon for totals
...
When the category has a 'grade to pass' set, the pass/fail icon
was displayed even when the category total grade values was hidden.
2024-04-29 14:44:44 +08:00
Ilya Tregubov
24652fd9ab
MDL-81380 qbank_columnsortorder: Add type and return value hint
2024-04-29 10:49:45 +08:00
Ilya Tregubov
368f547708
Merge branch 'MDL-81380_403' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_403_STABLE
2024-04-29 10:48:53 +08:00
Huong Nguyen
f024142bbc
Merge branch 'MDL-80849-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-04-29 08:55:48 +07:00
Ilya Tregubov
174cdecb57
Merge branch 'MDL-80597-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-29 09:46:47 +08:00
David Woloszyn
41701a5477
MDL-80849 communication_matrix: Prevent numeric usernames
2024-04-29 10:49:46 +10:00
Anupama Sarjoshi
e1a425e160
MDL-81380 qbank_columnsortorder: Add upgrade.php
...
Before Moodle 4.3, config_plugins settings for qbank_columnsortorder
(disabledcol, enabledcol) had a value like
qbank_statistics\columns\facility_index,
qbank_statistics\columns\discriminative_efficiency, ...
In Moodle 4.3, the values are stored as
qbank_statistics\columns\facility_index-facility_index.
So updating the old values to match the new format.
2024-04-26 17:10:18 +01:00
Paul Holden
eab2c90907
MDL-79149 report_participation: more resilient activity access test.
...
Use the "Forum" module rather than the "Book" module, because the latter
emits two events when a student views it - if these two events happened
either side of a single second, then the report would count two distinct
views (when it was trying to assert only one).
2024-04-26 16:08:17 +01:00
Paul Holden
58a8c939d6
MDL-80597 mod_quiz: simplify filtering by tags Behat assertions.
...
The initial filtering for category was redundant, as it's applied
by default. While present it also caused reproducible failures on
CI due to timing issues when trying to apply multiple filters.
2024-04-26 10:27:12 +01:00
Huong Nguyen
3cb3a44ba5
Merge branch 'MDL-78433-403' of https://github.com/aanabit/moodle into MOODLE_403_STABLE
2024-04-26 16:20:30 +07:00
Huong Nguyen
e8adb517b9
Merge branch 'MDL-81641_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-04-26 16:04:15 +07:00
Sara Arjona
26b00a45fa
Merge branch 'MDL-77445-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-04-26 10:40:35 +02:00
Mark Johnson
6c746a561c
MDL-81610 course: Optimise core_courseformat\external\get_state
...
core_courseformat\external\get_state calls export_for_tempalte for each
course module, which in turn calls completion_info::is_tracked_user()
for the current user on the current course. The result of this call will
be the same for every course module, so does not need to be called what
may be several hundred times.
This change allows the result of is_tracked_user to be passed to the cm
state object, then calls it once and passes it to each cm's object. If
it is not passed in, it will be computed on demand as before.
2024-04-25 16:15:38 +01:00
SergioComeron
8aafdfbd55
MDL-77272 report: Enable module level report options
2024-04-25 17:14:23 +02:00
Mark Johnson
4edf1c7b54
MDL-81611 assign: Close session early in gradingpanel fragment
2024-04-25 16:14:09 +01:00
Sara Arjona
840d58af5e
weekly release 4.3.4+
2024-04-25 15:43:34 +02:00
Sara Arjona
3c643a21a5
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-04-25 15:43:30 +02:00
Huong Nguyen
b7a7263c17
Merge branch 'MDL-80087_403' of https://github.com/PhilippImhof/moodle into MOODLE_403_STABLE
2024-04-25 09:38:12 +07:00
Paul Holden
13705c5549
MDL-81632 block_recentlyaccesseditems: deterministic item ordering.
...
Behat tests of this functionality could trigger the unlikely (in real
world usage) scenario where a user has an identical "timeaccess" value
for multiple course activities.
This led to random failures in said tests when the DB ordered items in
apparently random order, where the "timeaccess" value was equal.
2024-04-24 20:57:43 +01:00
Sara Arjona
106cb2a63a
Merge branch 'MDL-77998-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-04-24 14:49:04 +02:00
Angelia Dela Cruz
0e947b1d93
MDL-77445 Behat: Coverage for activity chooser navigation
2024-04-24 16:38:52 +08:00
Huong Nguyen
3669994452
Merge branch 'MDL-81301_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-04-24 15:20:14 +07:00
Jun Pataleta
512a957de8
Merge branch 'MDL-81570-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-04-24 14:40:30 +08:00
Jun Pataleta
52ebdd1de3
Merge branch 'MDL-81567-403' of https://github.com/lucaboesch/moodle into MOODLE_403_STABLE
2024-04-24 12:21:49 +08:00
Huong Nguyen
9ca4708d66
Merge branch 'MOODLE_403_MDL-81613' of https://github.com/danielneis/moodle into MOODLE_403_STABLE
2024-04-24 10:00:30 +07:00
Huong Nguyen
46fe243cf7
Merge branch 'MDL-81564-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-04-24 08:58:37 +07:00
Laurent David
f88a774a5c
MDL-81564 mod_data: Remove duplicate error messages
...
* When a field is missing the error is duplicated for all field
subsequently added to the database
2024-04-24 08:55:09 +07:00
Ilya Tregubov
bba6c7afac
Merge branch 'MDL-81274-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-24 09:44:40 +08:00
Huong Nguyen
49de60f4b5
Merge branch 'MDL-80107-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-04-24 08:36:08 +07:00
Tim Hunt
446cc50f6f
MDL-81641 question: fix random question loader draft state tests
2024-04-23 18:28:45 +01:00
Amaia Anabitarte
48a59ee277
MDL-78433 course: Remove duplicated course search form
2024-04-23 16:13:51 +02:00
Sara Arjona
4e70f41e54
Merge branch 'MDL-81209-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-04-23 15:37:09 +02:00
Sara Arjona
3a36e2731f
Merge branch 'MDL-81457-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-04-23 14:56:39 +02:00
Angelia Dela Cruz
228c9d27dd
MDL-80107 gradingform: Behat test for defining marking guide
2024-04-23 12:55:23 +08:00
Daniel Neis Araujo
4b4c02e20d
MDL-81613 report_log: fix user fullname export for log report
2024-04-22 14:35:24 -03:00
Paul Holden
e48ff65880
MDL-81274 mod_data: observe current approved value on record import.
2024-04-22 12:48:56 +01:00
Paul Holden
c9f0efb978
MDL-78942 tool_mfa: replace deprecated coding standards annotation.
...
Replace with equivalent `phpcs` annotation as appropriate, same as
done previously in a5c91474ee (see that commit for further context).
2024-04-22 12:28:31 +01:00
Sara Arjona
393e4c2a11
MDL-81570 tiny_premium: Add missing lang string
2024-04-22 09:41:01 +02:00
AMOS bot
cc9f46b202
Automatically generated installer lang files
2024-04-22 00:10:30 +00:00
Luca Bösch
7bd800b563
MDL-81567 mod_quiz: Adopt edit section title pencil icons size.
2024-04-20 18:03:17 +02:00
Jun Pataleta
143c2cd5be
Moodle release 4.3.4
2024-04-20 15:57:33 +08:00
Huong Nguyen
06b6467f4f
weekly release 4.3.3+
2024-04-19 17:05:32 +07:00
Jun Pataleta
452279abad
Merge branch 'MDL-81584-403' of https://github.com/mihailges/moodle into MOODLE_403_STABLE
2024-04-19 11:03:30 +08:00
Mihail Geshoski
a51e542e5b
MDL-81584 gradereport_grader: Pin the last row only when necessary
...
Fixes the current behavior where the last row in the grader report is
always 'pinned', ensuring it is pinned only when necessary.
2024-04-18 16:15:11 +08:00
Jun Pataleta
76c0c9ed59
Merge branch 'MDL-81525-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-04-17 23:42:14 +08:00
Laurent David
4443ecf6b4
MDL-81267 mod_data: Additional tests
2024-04-17 10:33:13 +02:00
Laurent David
faadca21a9
MDL-81267 mod_data: Clean field type before inclusion
...
* Filter out wrong field types when restoring or creating a field.
2024-04-17 10:33:13 +02:00
Paul Holden
bcb96be529
MDL-80878 tool_mfa: safely retrieve the referrer URL.
2024-04-17 03:24:20 +00:00
Stevani Andolo
8fdda09338
MDL-81354 core: Escape string of fullname
2024-04-17 03:24:19 +00:00
Paul Holden
593204b45d
MDL-81463 auth: ensure login recaptcha always checked if configured.
2024-04-17 03:24:19 +00:00
Paul Holden
c988992f7e
MDL-81062 mod_lesson: escape identity fields in overview report.
2024-04-17 03:24:19 +00:00
Paul Holden
4408c3fcaa
MDL-80712 mod_workshop: stricter cleaning of sub-plugin values.
2024-04-17 03:24:19 +00:00
Paul Holden
6c08d1c101
MDL-81058 admin: fix sesskey checks for admin preset actions.
2024-04-17 03:24:19 +00:00
Paul Holden
dd433ba094
MDL-81059 tool_analytics: fix sesskey checks for model actions.
2024-04-17 03:24:19 +00:00
Laurent David
fcd361badb
MDL-81284 mod_wiki: Add stricter cleaning of contentformat
...
* When restoring backup we clean the contentformat and defaultformat
to avoid issue with invalid value.
* Add tests for format and defaultformat so to check that we
filter out invalid formats
* Remove private $basepath variable as it was used one and not always
initialised correctly.
2024-04-17 03:24:19 +00:00
meirzamoodle
bef5f4a121
MDL-81352 filter: Ensure equation safety prior to filtering
2024-04-17 03:24:19 +00:00
Paul Holden
f9e6040e28
MDL-81135 mod_feedback: stricter cleaning of item type parameter.
2024-04-17 03:24:19 +00:00
Huong Nguyen
d77f2d55ef
MDL-81247 calendar: Extra validation for webservices
2024-04-17 03:24:19 +00:00
Paul Holden
de7ec71ca4
MDL-80877 tool_mfa: protect logout process with sesskey check.
2024-04-17 03:24:19 +00:00
Paul Holden
de366cea22
MDL-81247 calendar: freeze event type if "user" only allowed.
2024-04-17 03:24:19 +00:00
Leon Stringer
6bc016ad41
MDL-80585 report_log: sanitize descriptions
...
Strip any HTML tags from values in the "Description" column.
2024-04-17 03:24:19 +00:00
Huong Nguyen
df23edbbab
Merge branch 'MDL-81552-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-04-17 10:13:41 +07:00
Jun Pataleta
33b34bc86a
MDL-81552 core: Assign proper webdav_client class variables
2024-04-16 13:06:46 +08:00
Andrew Nicols
ffc51ab3fd
MDL-81525 core_user: Move after_complete_login to correct NS
2024-04-15 08:53:35 +08:00
Sara Arjona
d706265b8e
weekly release 4.3.3+
2024-04-12 13:23:26 +02:00
Tim Hunt
53a265917a
MDL-81301 quiz: improve performance of deleting a quiz
2024-04-12 10:46:24 +01:00
Huong Nguyen
15912783c4
Merge branch 'MDL-77015-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-12 11:46:05 +07:00
Huong Nguyen
b9dd2d29c5
Merge branch 'MDL-65381-403' of https://github.com/jleyva/moodle into MOODLE_403_STABLE
2024-04-12 11:11:28 +07:00
Andrew Nicols
99748cdee6
Merge branch 'MDL-70829-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-04-12 11:59:04 +08:00
Huong Nguyen
692cda1525
MDL-79174 availability: Behat cleanups
2024-04-12 10:57:04 +07:00
Huong Nguyen
951a3d5e5c
Merge branch 'MDL-79174_403_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_403_STABLE
2024-04-12 10:56:50 +07:00
Andrew Nicols
07dab571dd
Merge branch 'MDL-81192_403_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_403_STABLE
2024-04-12 11:48:24 +08:00
Jun Pataleta
4544ea122b
MDL-70829 output: Remove the presentation role for html_writer::img()
...
* A presentation role is not necessary for the img tag.
- If a non-empty alt text is provided, the presentation role will
conflict with the alt text.
- An empty alt text denotes a decorative image. The presence of a
presentation role is redundant.
* Make sure that the alt text is set to an empty string. Otherwise,
an img tag without an alt attribute will be produced which is an
invalid markup.
2024-04-12 11:45:35 +08:00
Andrew Nicols
d16fc3c7e3
Merge branch 'MDL-78902_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-04-12 11:18:49 +08:00
Jun Pataleta
007e527c3c
MDL-70829 core: Set the icon of action icons as a decorative image
...
* When text is rendered for the action icon, set the icon as a
decorative image by setting empty alt and title attributes and adding
the aria-hidden attribute as well. Otherwise, assistive technologies
will read the action name twice.
2024-04-12 11:14:06 +08:00
Jun Pataleta
fea05fb8a3
MDL-70829 block_recentlyaccesseditems: Move listitem role out of <a>
...
* Axe DevTools flags an error on the recently accessed items block that
the listitem role is not allowed for <a> tags. This is because the
"listitem" role will override the native semantic meaning of the course
links. So the solution is to move the course links within a <div> tag
with the listitem role instead.
2024-04-12 11:14:06 +08:00
Jun Pataleta
84ef1906e0
MDL-70829 tool_lp: Add empty alt text for decorative image
...
* The decorative image for the course modules in the user competency
summary modal is missing an empty alt text.
2024-04-12 11:14:05 +08:00
Jun Pataleta
744065174c
MDL-70829 theme_boost: Make context header icons decorative
...
The non-empty alt text for the icons of the context header buttons like
the "Message" and the "Add contact" buttons cause redundant information
to be read twice by screen readers when the buttons are rendered with
the icon and the button name. The icons need to be set as decorative by
setting an empty alt text for them.
* The presentation role is also unnecessary.
* The alt text is needed when the button gets rendered without the
button name text.
2024-04-12 11:14:05 +08:00
Jun Pataleta
1e2ef693f7
MDL-70829 core_search: Mark up decorative image properly
...
* An empty alt text is enough for decorative images. There's no need
to set a presentation role.
2024-04-12 11:13:14 +08:00
Jun Pataleta
182e09ab5c
MDL-70829 enrol_manual: Mark up decorative image properly
...
* An empty alt text is enough for decorative images. There's no need
to set a presentation role.
2024-04-12 11:13:14 +08:00
Jun Pataleta
ca0e61a79d
MDL-70829 mod_workshop: Mark up decorative images properly
...
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
2024-04-12 11:13:13 +08:00
Jun Pataleta
f0aa5e9668
MDL-70829 mod_quiz: Mark up decorative images properly
...
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes
2024-04-12 11:13:13 +08:00
Jun Pataleta
814fea407a
MDL-70829 mod_data: Mark up decorative images properly
...
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes
2024-04-12 11:13:13 +08:00
Jun Pataleta
1ae95e3b63
MDL-70829 course: Mark up decorative images properly
...
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes:
- block_starredcourses uses the core_course/no-courses template
- core_completion tests changes in core_course/activity instance and
core_course/editdefaultcompletion
2024-04-12 11:13:13 +08:00
Jun Pataleta
f99f693238
MDL-70829 block_recentlyaccesseditems: Mark up decorative image properly
...
* The zero state image is purely decorative so there's no need to
set a non-empty alt text for it.
* The presentation role is also unnecessary for decorative image with
empty alt.
* Accessibility Behat tests added to cover changes
2024-04-12 11:13:12 +08:00
Jun Pataleta
ae48b9e8a6
MDL-70829 block_myoverview: Mark up decorative image properly
...
* The zero state image is purely decorative so there's no need to
set a non-empty alt text for it.
* The presentation role is also unnecessary for decorative image with
empty alt.
* Accessibility Behat tests added to cover changes
2024-04-12 11:13:12 +08:00
Jun Pataleta
f28b4d1ae1
MDL-70829 tool_lp: Remove presentation role for decorative images
...
* Behat tests in report_competency added to test the user summary
display in the user competency summary modal.
2024-04-12 11:13:12 +08:00
Jun Pataleta
ca3218b23f
MDL-70829 core: Remove presentation role for decorative images
...
* An image with non-empty alt text should not have a presentation role.
* An empty alt attribute is sufficient for decorative images. No need to
add a presentation role for them.
* Additionally, if there is already text that is present for an image,
there's no need to add an alt text with the same text. Such images are
decorative and should just have an empty alt text.
2024-04-12 11:13:12 +08:00
Huong Nguyen
8a1547bb17
Merge branch 'MDL-81320-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-12 10:11:42 +07:00
Huong Nguyen
1872094df6
Merge branch 'MDL-81256-403' of https://github.com/marinaglancy/moodle into MOODLE_403_STABLE
2024-04-12 08:58:28 +07:00
Shamim Rezaie
34d5c59153
Merge branch 'MDL-81306-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-04-12 11:46:06 +10:00
Huong Nguyen
8aed364c22
Merge branch 'MDL-81316-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-04-12 08:37:01 +07:00
Huong Nguyen
bdd0d80a09
Merge branch 'MDL-81420-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-04-12 08:34:08 +07:00
Ilya Tregubov
cbd81332e3
Merge branch 'MDL-80160-403-siteadminsconfigphp' of https://github.com/mudrd8mz/moodle into MOODLE_403_STABLE
2024-04-12 08:47:17 +08:00
Shamim Rezaie
33fd0471e8
Merge branch 'MDL-81482_403' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_403_STABLE
2024-04-12 09:31:10 +10:00
Tomo Tsuyuki
b81756cc04
MDL-78902 quiz restore: fix restore of 3.x backups with random questions
...
... where the random questions come from the quiz module context.
Co-authored-by: Tim Hunt <T.J.Hunt@open.ac.uk >
2024-04-11 22:09:59 +01:00
Sara Arjona
98a9e324d8
Merge branch 'MDL-81472-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-11 17:35:49 +02:00
Andrew Nicols
a341231108
Merge branch 'MDL-81114_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-04-11 23:25:43 +08:00
Sara Arjona
c5c52e66f3
Merge branch 'MDL-80469-403' of https://github.com/marinaglancy/moodle into MOODLE_403_STABLE
2024-04-11 14:52:00 +02:00
Marina Glancy
6e5d277fc2
MDL-80469 forms: add a hidden label to the button action group
...
This is a temporary solution to the accessibility problem
"Fieldsets without legend". We will no longer use a fieldset tag
if there is no legend after MDL-80431
2024-04-11 12:56:24 +01:00
Sara Arjona
b6394a0b60
Merge branch 'MDL-81383_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-04-11 12:49:36 +02:00
Tim Hunt
6edfe1b415
MDL-81383 questions: get_filtered_questions order should be predictable
...
This method supports $limit and $offset paramters. The query must have
a predictable ORDER BY for that to make sense.
2024-04-11 10:27:41 +01:00
Pedro Jordao
95c957791e
MDL-80195 forms: Keep dropdown menu open when tabbing into datepicker
...
When accessing a datepicker that is within a dropdown menu using the tab
key, the navigation sequence was changed since the datepicker code is
not rendered within the dropdown menu element, thus the dropdown was
closed as it was understood that we were not more inside it.
Furthermore, when exiting the datepicker by pressing tab, as the
dropdown was closed, the navigation jumped to the first element on the
page, which is the link to Skip to main content.
To resolve this, a validation was added that keeps the dropdown menu
open if the datepicker is open and accessed via the tab key.
2024-04-11 11:03:38 +02:00
Mark Johnson
217154895c
MDL-81192 sessions: Prevent false positive session change errors
...
If $CFG->enable_read_only_sessions_debug was not enabled, debugging could be
enabled part-way through a request when restart_with_write_lock was
called. This meant that a diff between the initial and final session
would be made during write_close(), although the intial session state
was never captured. This generated false positives in the logs, and it
thought any variable set in the session was a change from the original
value.
This ensures that debugging is enabled before the debug flag is allowed
to change, preventing false positives.
2024-04-11 08:54:39 +01:00
Andrew Nicols
076f6e9464
MDL-77967 core_user: Coding style fixes in tests
2024-04-11 14:06:11 +08:00
Andrew Nicols
24c4875f6a
Merge branch 'MDL-77967-403' of https://github.com/rmady/moodle into MOODLE_403_STABLE
2024-04-11 14:06:06 +08:00
Huong Nguyen
78cac12d8e
Merge branch 'MDL-81362-403' of https://github.com/ssj365/moodle into MOODLE_403_STABLE
2024-04-11 10:59:26 +07:00
Huong Nguyen
f990fcdca7
Merge branch 'MDL-81327-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-04-11 10:19:07 +07:00
Andrew Nicols
59cf12eca4
Merge branch 'MDL-81227_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-04-11 10:59:53 +08:00
Ilya Tregubov
3f01eeb49f
Merge branch 'MDL-81491-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-04-11 09:51:48 +08:00
Shamiso.Jaravaza
ffa09ce293
MDL-81362 mod_bigbluebuttonbn: Fix content type
2024-04-10 11:51:06 -06:00
Sara Arjona
5f8bfd504a
Merge branch 'MDL-74977-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-04-10 15:50:58 +02:00
Huong Nguyen
df99388d27
MDL-74977 core_courseformat: add expanded section update actions
...
This also fix the Random "Course content preferences" Behat failure
2024-04-10 18:11:45 +07:00
Sara Arjona
811b9e4187
Merge branch 'MDL-81307-fix-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-04-10 12:52:51 +02:00
Sara Arjona
4971008242
MDL-81307 theme: Fix behat failures with classic and sticky footer
...
Authored-by: Mikel Martín Corrales <mikel@moodle.com >
2024-04-10 12:33:46 +02:00
Jake Dallimore
510f9e3c08
MDL-81491 enrol_lti: fix incorrect login_hint parameter type validation
...
This was always bad, but since we only used it to verify the existence
of the param, and let library code take $_REQUEST for the real
validation, it was ok. Now, since we're redirecting to self during
necessary cookie checks added by MDL-80835, we lose the real value
originally stored in $_REQUEST. This patch just fixes the param type,
setting it to raw, which is what it should have used originally. The
raw value won't be cast from a string to an int as part of the
require_param call, so the value won't be lost any more.
2024-04-10 17:43:11 +08:00
Huong Nguyen
0cd42e33bf
Merge branch 'MDL-81351-403-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_403_STABLE
2024-04-10 13:55:26 +07:00
Huong Nguyen
a0cf83c8f5
Merge branch 'MDL-81182_403' of https://github.com/aolley/moodle into MOODLE_403_STABLE
2024-04-10 11:24:19 +07:00
Anupama Sarjoshi
cec3a6438b
MDL-81482 Questions: Fix questionlib_test PHPUnit tests
2024-04-09 16:49:22 +01:00
Sara Arjona
220637457e
Merge branch 'MDL-81307-403' of https://github.com/roland04/moodle into MOODLE_403_STABLE
2024-04-09 16:18:31 +02:00
Sara Arjona
725f6f35a3
Merge branch 'MDL-81451-403' of https://github.com/lucaboesch/moodle into MOODLE_403_STABLE
2024-04-09 15:31:10 +02:00
Mikel Martín
441ab036e0
MDL-81307 core_courseformat: Add bulk styles for small devices
2024-04-09 13:30:34 +02:00
Paul Holden
596b317c27
MDL-81472 mod_scorm: add missing library require to privacy class.
2024-04-09 11:38:08 +01:00
Sara Arjona
c9fe574fdd
weekly release 4.3.3+
2024-04-09 12:07:24 +02:00
Laurent David
e5f200616e
MDL-81327 report_loglive: Apply the same fixes to loglive
...
* Additional fix: take into account selected group (filter)
2024-04-09 11:00:30 +02:00
Andrew Nicols
61282aa692
MDL-81327 report_log: Make group filtering logstore agnostic
...
The original implementation of group filtering introduced in MDL-80565
assumed that the log table existed in Moodle's own database. This is not
the case of the database logstore, or any similar logstore implemetning
the database \core\log\sql_reader interface.
Furthermore this check was also applying the SQL when the user had the
`accessallgroups` capability, or when the course was not in SEPARATE
groups mode (no groupmode and/or visible groups).
Co-authored: Laurent David <laurent.david@moodle.com >
2024-04-09 11:00:30 +02:00
Laurent David
f67fa427bd
MDL-81327 report_log: Fix col_fullusername
...
* Avoid calling get_user_fullname too many times and
deal with the case that $event->userid is empty
2024-04-09 11:00:30 +02:00
Andrew Nicols
ff4d5f3caa
MDL-81327 core: Remove unnecessary table filter
...
The \Traversable interface does not define the `valid` method.
Furthermore, the `valid` method actually checks that there is a _next_
value, which requires the value already be fetched and waiting. This is
not the case for all Iterators. For example the CallbackFilterIterator
does not load the initial value until it is requested.
It is completely unnecessary to do this check anyway as an invalid
Iterator will just not return any values.
2024-04-09 11:00:29 +02:00
Jake Dallimore
829a0d615a
Merge branch 'MDL-81060-403-fix' of https://github.com/meirzamoodle/moodle into MOODLE_403_STABLE
2024-04-09 10:13:37 +08:00
Luca Bösch
9c5db33257
MDL-81451 qtype_missingtype: adopt icon size to other.
2024-04-08 17:27:03 +02:00
Luca Bösch
2f5def5d83
MDL-81451 qtype_gapfill: adopt icon size to other.
2024-04-08 17:27:03 +02:00
Sara Arjona
2f59f5b835
Merge branch 'MDL-81298-MOODLE_403_STABLE' of https://github.com/vithushau/moodle into MOODLE_403_STABLE
2024-04-08 17:11:55 +02:00
Didier 'OdyX' Raboud
fecf2ee25a
MDL-65381 grade_report: fix empty separate groups own grades access
...
On separate groups' courses, users without groups could not access
their own grade items.
2024-04-08 17:03:02 +02:00
Sara Arjona
bf9e1f978e
Merge branch 'MDL-78457-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-08 16:54:47 +02:00
Andrew Nicols
17ba4c535b
MDL-81209 core: Unit test should not care about plugin details
2024-04-08 20:54:26 +08:00
Huong Nguyen
01a0c19364
Merge branch 'MDL-75037-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-08 16:06:38 +07:00
Marina Glancy
0b8ce298cb
MDL-81256 lib: fix rounding of thumbnail image size
2024-04-08 10:01:47 +01:00
Sara Arjona
e2b856751a
MDL-81420 enrol: Remove duplicated header in editing form
2024-04-08 10:49:29 +02:00
Jake Dallimore
94eb59c5b8
Merge branch 'MDL-81405-403' of https://github.com/jleyva/moodle into MOODLE_403_STABLE
2024-04-08 15:35:18 +08:00
Ilya Tregubov
fb74eac976
Merge branch 'MDL-81409-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-04-08 12:45:18 +08:00
Huong Nguyen
afbec4a656
Merge branch 'MDL-80934-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-04-08 09:13:16 +07:00
Jake Dallimore
a4a4cb1cdb
MDL-81060 core: fix incorrect userquota usage in zip_packer
...
This change reverts much of MDL-74641, removing the erroneous userquota
checks from zip_packer. Now, during extraction, the zip_packer will exit
with an error status when it encounters a file which is larger than its
advertised size, and NOT when it determines the size of the extracted
files have exceeded the userquota (which only applies to private files
and which was used incorrectly here). It also reverts changes to the
draftfiles_ajax.php file, restoring the original (pre-MDL-74641) error
handling.
2024-04-08 09:11:48 +07:00
Huong Nguyen
c056e99130
Merge branch 'MDL-81402-MOODLE_403_STABLE' of https://github.com/sh-csg/moodle into MOODLE_403_STABLE
2024-04-08 09:03:20 +07:00
Andrew Nicols
c51b7dd631
MDL-81457 core: Do not mark tests as Incomplete when they are wrong
...
This check was marking a test as Incomplete if there was a bug in any
part of the test, rather than failing the test in such a way that the
test bug may be found.
https://docs.phpunit.de/en/9.6/incomplete-and-skipped-tests.html
2024-04-08 08:46:44 +08:00
Andrew Nicols
60a2eba17d
MDL-81457 core: Mark SSL test as skipped, not incomplete
...
The incomplete test is intended for tests which are written but whose
code does not yet exist.
https://docs.phpunit.de/en/9.6/incomplete-and-skipped-tests.html
2024-04-08 08:46:44 +08:00
Juan Leyva
de6fb6e2f7
MDL-81405 tool_mobile: Set Partitioned cookie for the mobile app
2024-04-06 12:25:51 +02:00
Juan Leyva
5e7440acdc
MDL-81405 session: New core cookie helper utility class
2024-04-06 12:25:51 +02:00
Paul Holden
5de37ea321
MDL-81320 datafield_checkbox: account for empty field content.
2024-04-05 15:16:40 +01:00
Sara Arjona
cf01fd6bef
weekly release 4.3.3+
2024-04-05 13:22:31 +02:00
Sara Arjona
034c9d9559
Merge branch 'MDL-81359-m403' of https://github.com/sammarshallou/moodle into MOODLE_403_STABLE
2024-04-04 17:02:59 +02:00
Huong Nguyen
daa896b54a
Merge branch 'MDL-81386-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-04-04 21:56:29 +07:00
Stefan Hanauska
bccc540bce
MDL-81402 course: Add sectionnum to cm export
2024-04-04 13:02:30 +02:00
Laurent David
3071a94206
MDL-80934 core_courseformat: Expand section when selected
...
* Sections in the course content must be expanded when an item
from this section is selected in the course index
2024-04-04 10:41:48 +02:00
Andrew Nicols
493bef4270
MDL-81316 core: Encode anchor fragments properly to RFC 3986
2024-04-04 16:04:37 +08:00
Ilya Tregubov
4ec1c56fd6
Merge branch 'MDL-78370-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-04-04 14:19:20 +08:00
Andrew Nicols
d1d193c61a
NOBUG: mod_h5pactivity - Version bump after rewrite
2024-04-04 10:36:26 +08:00
Sara Arjona
1f037c1abb
Merge branch 'MDL-80765-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-04-03 17:18:56 +02:00
Huong Nguyen
38fc785fe4
MDL-81393 atto: Disable mediaplugin filter for Behat test
2024-04-04 00:23:28 +11:00
Paul Holden
fc377530a2
MDL-75037 core: update Moodlenet repository search URLs.
2024-04-03 13:00:38 +01:00
Jake Dallimore
53176786c8
MDL-81409 enrol_lti: fixes to dynamic registration to support Blackboard
...
The following fixes resolve issues when used with Blackboard Learn:
- Set registration request Content-Type header to application/json
- Make registration_token optional, per the spec:
https://www.imsglobal.org/node/200666#step-1-registration-initiation-request
- Conditionally create the deployment since it's optional in
lti-tool-configuration:
https://www.imsglobal.org/node/200666#lti-configuration-0
- Remove empty custom_parameters property, since that's optional too:
https://www.imsglobal.org/node/200666#lti-configuration-0
- Remove overly-strict validation on registration_token. This was
validating the param as a JWT, but since the spec has stabilised, this
is not always the case. It's a Bearer token that's opaque to the tool
(i.e. it's just passed back unmodified), so while it could be validated
against RFC6750, it's simplest to just remove the validation entirely.
- change targetOrigin of the postMessage to '*' as per the spec:
https://www.imsglobal.org/node/200666#step-4-registration-completed-and-activation
2024-04-03 16:22:26 +08:00
Sara Arjona
075138c474
MDL-81386 output: Fix failure in PHPUnit when running filtered tests
...
There was a data provider to get the list of the FontAwesome icons that
was initialized when running filtered tests.
It was causing some failures with filtered tests that, for instance,
called require_login and changed the course.
To avoid this failure (and also to improve the performance), the logic
to get the icons list has been moved to the test.
2024-04-03 09:27:10 +02:00
Shamim Rezaie
18023c7dab
Merge branch 'MDL-81393-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-04-03 16:38:40 +11:00
Andrew Nicols
22ae648dd2
Merge branch 'MDL-80818-403' of https://github.com/aanabit/moodle into MOODLE_403_STABLE
2024-04-03 13:05:36 +08:00
Huong Nguyen
fbf4d35827
Merge branch 'MDL-77779-403' of https://github.com/ilyatregubov/moodle into MOODLE_403_STABLE
2024-04-03 09:12:29 +07:00
Huong Nguyen
7c9a625cf8
Merge branch 'MDL-81300-403' of https://github.com/roland04/moodle into MOODLE_403_STABLE
2024-04-03 09:06:52 +07:00
Huong Nguyen
ca0020a224
Merge branch 'MDL-81072-403' of https://github.com/stevandoMoodle/moodle into MOODLE_403_STABLE
2024-04-03 08:55:11 +07:00
Huong Nguyen
0c4a148cdb
Merge branch 'MDL-77838-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-04-03 08:52:23 +07:00
Sara Arjona
6294b06174
weekly release 4.3.3+
2024-04-02 14:46:38 +02:00
Paul Holden
1d8c25f479
MDL-78457 course: remove participants navigation if cannot access.
2024-04-02 10:03:47 +01:00
Paul Holden
7f01b0369a
MDL-77015 mod_data: consistent escaping of template field names.
...
* When creating default templates, avoid escaping the field names
contained within [[ ]] brackets;
* When managing field, ensure the field names are escaped.
2024-04-02 10:02:07 +01:00
Mikel Martín
a7a85820f2
MDL-81300 theme_boost: Fix dnd overlay in course sections
...
Drag and drop overlay in course page was being overlapped by divider
buttons and quick edit links.
That happens because both elements have their own z-index context.
Add z-index to the drag and drop overlay elenment to fix this issue.
2024-04-02 10:14:39 +02:00
Andrew Nicols
63f7915427
Merge branch 'MDL-79712-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-04-02 11:56:33 +08:00
Laurent David
b7b1e20ed4
MDL-80765 mod_data: Trim values on field update
...
* When creating a field we usually trim values, so we should
do the same on field update
2024-04-02 05:41:39 +02:00
Jake Dallimore
8657868c97
MDL-79712 auth_lti: ensure MoodleSession uses SameSite=None Secure
...
The MoodleSession cookie is already set this way when using Chrome, but
not for Firefox. This is a decision made in \core\session\manager. When
Firefox eventually defaults to SameSite=Lax when the SameSite attribute
is omitted from the Set-Cookie headers, the MoodleSession cookie won't
be sent. This change ensures the cookies used during LTI launches will
continue to work if/when this happens, and despite any changes which may
be made to core's sessionlib in future.
2024-04-02 11:40:17 +08:00
Huong Nguyen
9ae3cd1be7
MDL-81393 media_videojs: Switch to use Ogv.Js tech for Chrome
2024-04-02 10:27:07 +07:00
David Mudrák
829c469c5b
MDL-81351 lang: Use the fixed strings in the tests, too
2024-03-28 11:01:39 +01:00
Helen Foster
3fdae1298f
MDL-81351 lang: Import fixed English strings (en_fix)
2024-03-28 10:58:24 +01:00
Stevani Andolo
e67ae9fe63
MDL-81072 tool_mfa: Fixed bulk user actions capability
2024-03-28 17:35:11 +08:00
Andrew Nicols
f0f1caa67d
MDL-81306 core: Do not use xsendfile for request dirs
2024-03-28 09:30:07 +08:00
Andrew Nicols
ee06a613b3
MDL-81306 core: Remove docs on use of xsendfile with request dirs
...
This reverts the change made in MDL-80648 and adds a note to not do it.
2024-03-28 09:29:26 +08:00
Ilya Tregubov
bc0c77d35c
Merge branch 'mdl80598-403' of https://github.com/matthewhilton/moodle into MOODLE_403_STABLE
2024-03-28 09:06:11 +08:00
Ilya Tregubov
8c41baf328
Merge branch 'MDL-80302-403' of https://github.com/aanabit/moodle into MOODLE_403_STABLE
2024-03-28 08:59:24 +08:00
Amaia Anabitarte
355e8b6cf9
MDL-80818 QuickForm: Freeze all elements with the same name
...
There are some radio buttons in activity Completion Conditions settings
that must be frozen altogether, because all of them have the same name.
2024-03-27 16:24:50 +01:00
Amaia Anabitarte
fcbe53778d
MDL-80302 completion: Improve default completion error tracking
...
Co-authored-by: Sara Arjona <sara@moodle.com >
2024-03-27 16:12:12 +01:00
Vithusha Uthayakumar
f1bb6ea00c
MDL-81298 external: fix typo error in failing testcase
2024-03-27 16:48:39 +11:00
Ilya Tregubov
013d4e7303
Merge branch 'MDL-80036-403' of https://github.com/mickhawkins/moodle into MOODLE_403_STABLE
2024-03-27 11:08:11 +08:00
Andrew Nicols
0f4478b8e5
MDL-80332 core: Coding style fixes
2024-03-26 22:44:51 +08:00
Andrew Nicols
5dfcc1aedd
Merge branch 'MDL-80332-403' of https://github.com/jleyva/moodle into MOODLE_403_STABLE
2024-03-26 22:43:37 +08:00
sam marshall
aa4baad9a4
MDL-81359 core_courseformat: Availability 'Show more' unwelcome outing
...
If the availability restriction includes a link, then 'Show more'
always appeared even when the entire text is already shown.
2024-03-26 13:40:41 +00:00
Sara Arjona
1c530d86d1
weekly release 4.3.3+
2024-03-26 12:31:12 +01:00
Jun Pataleta
88d342fdf2
Merge branch 'MDL-80384-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-03-26 11:16:18 +08:00
Jun Pataleta
c96efdb613
MDL-80384 courseformat: Set activity icon alt text on editing mode
...
From a warning using WAVE:
* The title attribute value for images that lack an alt attribute value
will be presented to screen reader users. However, providing image
content in the alt attribute typically provides better accessibility,
and should be used in most cases. The title attribute will generate a
mouse hover tooltip which may or may not be desired - this tooltip will
not be presented to touch screen or keyboard users.
2024-03-26 11:02:35 +08:00
Jun Pataleta
06e13d72f0
Merge branch 'MDL-81266_403' of https://github.com/stronk7/moodle into MOODLE_403_STABLE
2024-03-26 10:33:57 +08:00
Matthew Hilton
336f311676
MDL-80598 bigbluebutton: Gracefully handle invalid customdata
2024-03-26 10:09:30 +10:00
Sara Arjona
211c8caca5
Merge branch 'MDL-81246-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-03-25 17:01:45 +01:00
Sara Arjona
ce8ec44c40
Merge branch 'MDL-80088-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-25 16:20:31 +01:00
Juan Leyva
d7a0cb8d00
MDL-80332 tool_mobile: Fallback por app launches
2024-03-25 16:05:07 +01:00
Juan Leyva
7cec5c9b71
MDL-80332 login: New hooks for complete login and passed MFA
2024-03-25 15:56:01 +01:00
Laurent David
0b3802bb0b
MDL-80384 core_courseformat: Remove activty icon link
...
* Remove the link over the image icon for an activity and use
the title attribute for the tooltip
2024-03-25 13:25:34 +01:00
Andrew Nicols
37c7b5004b
Merge branch 'MDL-80827-403' of https://github.com/stevandoMoodle/moodle into MOODLE_403_STABLE
2024-03-25 11:44:22 +08:00
Huong Nguyen
05305ea751
Merge branch 'MDL-79829-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-03-25 09:22:37 +07:00
Huong Nguyen
5cb5826c45
Merge branch 'MDL-81074-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-03-25 09:15:48 +07:00
Andrew Nicols
a5e94e0a08
MDL-81074 core: Simplify strftime tests
2024-03-25 09:51:25 +08:00
Luca Bösch
aa2919309f
MDL-81074 core: align core_date::strftime results for numeric and string
2024-03-25 09:51:25 +08:00
Andrew Nicols
1c42deaf58
MDL-81074 core: Add assertTimeStringMatches PHPUnit Assertion
...
Also raised as https://github.com/sebastianbergmann/phpunit/issues/5757
2024-03-25 09:51:25 +08:00
Eloy Lafuente (stronk7)
7d01ea90fe
MDL-81266 composer: Bump behat/behat to 3.14 and other deps
...
Only applied to 402_STABLE and up, all them requiring PHP 8.0
as a minimum. And generated following the instructions in the
dev docs.
2024-03-23 13:37:33 +01:00
Paul Holden
e7a3a5982e
MDL-77838 repository: preserve empty dirs in download if selected.
2024-03-22 16:22:40 +00:00
Sara Arjona
74d3c96149
weekly release 4.3.3+
2024-03-22 14:02:56 +01:00
Jun Pataleta
ef94d46a7f
Merge branch 'MDL-81313-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-03-22 11:47:46 +08:00
Sara Arjona
d537ffbeb5
Merge branch 'MDL-80488-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-21 17:30:48 +01:00
Sara Arjona
65afe1196a
Merge branch 'MDL-79913-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-21 17:18:18 +01:00
Sara Arjona
23ec91a2c4
Merge branch 'MDL-81112-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-21 17:11:35 +01:00
Sara Arjona
e4b036da69
Merge branch 'MDL-69688_403' of https://github.com/stronk7/moodle into MOODLE_403_STABLE
2024-03-21 15:29:53 +01:00
Huong Nguyen
4a454da7ce
Merge branch 'MDL-81289-403' of https://github.com/ferranrecio/moodle into MOODLE_403_STABLE
2024-03-21 15:12:18 +07:00
Huong Nguyen
7e5bd6d54e
Merge branch 'MDL-80835-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-03-21 14:53:31 +07:00
Jake Dallimore
fff106ffc2
MDL-80835 auth_lti: fix bad cast breaking samesite LTI usage
2024-03-21 15:37:38 +08:00
Jake Dallimore
b6470d6252
MDL-80835 enrol_lti: add partitioning support for OIDC state cookie
...
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change ensures the
'state' cookie, used in the OIDC handshake, has partitioning support.
This cookie can be partitioned unconditionally, since it's a cookie
controlled by the library and one we don't expect to be set without
partitioning elsewhere.
2024-03-21 15:37:37 +08:00
Jake Dallimore
d95a5de2ac
MDL-80835 auth_lti: add partitioning to post-auth MoodleSession cookie
...
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change to auth_lti is
to ensure the MoodleSession Set-Cookie header resulting from
complete_user_login() calls (in auth.php) have this property set.
2024-03-21 15:37:37 +08:00
Jake Dallimore
b14d02d177
MDL-80835 enrol_lti: add cookies required notice to auth login endpoint
...
This will be displayed if the cookie checks fail, which currently occurs
in Safari only.
2024-03-21 15:37:37 +08:00
Jake Dallimore
93aac92d01
MDL-80835 enrol_lti: add partitioning support to MoodleSession cookie
...
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change deals with the
cookie that is set when the user is not yet auth'd with the site and is
necessary to facilitate OIDC nonce retrieval and validation.
2024-03-21 15:37:37 +08:00
Jake Dallimore
1e09e6ffa6
MDL-80835 auth_lti: add cookie helper facilitating CHIPS opt-in
...
To opt a cookie in to Chrome's 3rd party cookie partitioning solution,
CHIPS, the property 'Partitioned;' needs to be set. This adds a helper
class supporting this, for a given cookie(s).
Note also, PHP's native
cookie APIs (setcookie, etc) don't support this cookie property yet -
(https://github.com/php/php-src/issues/12646 ).
Since this class is intended to allow existing Set-Cookie headers to be
modified before being sent (e.g. allowing clients to set a property on a
cookie set elsewhere in code), it deals with the headers directly anyway
but it means that new cookies must also use this helper to opt-in,
instead of relying on setcookie(). E.g. where the intent is to add
partitioning support to a new cookie, that cookie must first be set
(setcookie) and then it may opt-in to partitioning via this helper;
partitioning support cannot be achieved directly through setcookie and
friends yet.
2024-03-21 15:37:36 +08:00
Eloy Lafuente (stronk7)
7e170eb1b3
MDL-69688 phpunit: Improve test_context_not_used
...
This adds a few changes to the old test_context_not_used test:
- Move it to become an advanced_test, because its mission
is to verify that the assertEventContextNotUsed() assertion
works as expected.
- For consistency, also move the fixtures to own phpunit fixtures.
- Add proper coverage tags, to verify that the assertion is being
covered.
- Add a data provider to provide all the current cases and ease
any future case that may be needed in the future. One by one
because previously there was code never executed with the
warning expectation causing the test to stop.
- Run them in isolation, while this is not strictly required, it's
including external fixtures and, we'll need that isolation soon
(for changes coming when moving the test to PHPUnit 9.6 in MDL-81266).
2024-03-21 08:30:32 +01:00
Jake Dallimore
8e9abf5bd6
MDL-81313 core: Revert "Merge branch 'MDL-80338-403'
...
This reverts commit 3905247a84 , reversing
changes made to 4414c4598e .
2024-03-21 11:30:10 +08:00
Paul Holden
d238e4fd99
MDL-80488 mod_lesson: avoid overflowing length of page titles.
2024-03-20 23:51:18 +00:00
Paul Holden
d3faf37e8b
MDL-81112 gradereport_grader: show user country value correctly.
2024-03-20 23:49:57 +00:00
Jun Pataleta
0f32a8b13d
Merge branch 'MDL-79007-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-03-20 15:39:23 +08:00
Jun Pataleta
6f55bc72a9
Merge branch 'MDL-81110-403' of https://github.com/roland04/moodle into MOODLE_403_STABLE
2024-03-20 15:37:51 +08:00
Mark Johnson
443656c85c
MDL-79007 calendar: Make screen readers read the new month name
2024-03-20 15:08:15 +08:00
Mark Johnson
aed27a6b69
MDL-79007 calendar: Make screen readers read out calendar day popovers
2024-03-20 15:05:20 +08:00
Mark Johnson
5e6a2dc020
MDL-79007 calendar: Expose block month link names to screen readers
2024-03-20 15:02:14 +08:00
Ilya Tregubov
37f5032db5
weekly release 4.3.3+
2024-03-20 08:54:10 +08:00
Ilya Tregubov
378a2e3f32
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-03-20 08:54:07 +08:00
ferranrecio
bda0176205
MDL-81289 core_courseformat: fix get_format_string params
2024-03-19 17:34:09 +01:00
Mikel Martín
1cc3736947
MDL-81110 theme_boost: Fix scroll-margin-top in #maincontent
...
- Fix scroll-margin-top in #maincontent element
- Add scroll-margin-top for focused elements too
2024-03-19 14:51:58 +01:00
Paul Holden
1e7b4f6537
Merge branch 'MDL-78438-403' of https://github.com/ilyatregubov/moodle into MOODLE_403_STABLE
2024-03-19 10:45:34 +00:00
Ilya Tregubov
b709cc3eee
MDL-78438 gradereport_grader: Fix Behat test
...
Seems Oracle is too slow on pressing buttons :))
2024-03-19 17:46:47 +08:00
Michael Hawkins
03102060dd
MDL-80036 core: Update security.txt expiry
2024-03-19 15:31:08 +08:00
Huong Nguyen
1c31e9722f
Merge branch 'MDL-81156-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-03-19 10:55:47 +07:00
Andrew Nicols
a42516478d
Merge branch 'MDL-77255-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-03-19 11:39:21 +08:00
Huong Nguyen
02300131b7
MDL-77255 block_tag_flickr: Update to match with the new API
...
Flickr dropped php_serial format, we need to change to JSON format
2024-03-19 10:14:46 +07:00
Ilya Tregubov
28f91d0b2d
Merge branch 'MDL-80240-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-19 10:28:13 +08:00
Ilya Tregubov
40dbc075d8
Merge branch 'MDL-80919-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-19 10:14:27 +08:00
Ilya Tregubov
7050d41112
Merge branch 'MDL-78438-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-19 09:47:16 +08:00
Ilya Tregubov
609e18fbc3
Merge branch 'MDL-80793-403' of https://github.com/OxyOCE/moodle into MOODLE_403_STABLE
2024-03-19 09:12:41 +08:00
AMOS bot
c038bc3d09
Automatically generated installer lang files
2024-03-19 00:08:51 +00:00
Sara Arjona
1c31846b97
Merge branch 'MDL-72923-M403' of https://github.com/michael-milette/moodle into MOODLE_403_STABLE
2024-03-18 16:57:01 +01:00
Sara Arjona
a0739d133d
Merge branch 'MDL-81254-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-18 16:08:15 +01:00
Laurent David
416a586a1d
MDL-79829 theme: Fix Course index draggable cursor
...
* Make the cursor consistent for drag and drop operation
to be the same in the course content and the course index
2024-03-18 07:39:15 +01:00
Laurent David
3b8bde71fa
MDL-79829 core: Reactive drag and drop cursor
...
* When dragging and dropping an item, the cursor should be
set to "move" and not copy.
2024-03-18 07:39:15 +01:00
Jun Pataleta
0dfe161746
Merge branch 'MDL-80279-403' of https://github.com/pedrojordao/moodle into MOODLE_403_STABLE
2024-03-18 11:22:42 +08:00
Philipp Imhof
e35eb6b9eb
MDL-80087 Questions: warn if preload_all_step_users was not called
...
Co-authored-by: Tim Hunt <T.J.Hunt@open.ac.uk >
2024-03-15 19:41:04 +01:00
Paul Holden
2bc19b944e
MDL-79913 grade: respect messaging config for user heading buttons.
2024-03-15 17:00:28 +00:00
Paul Holden
5c0e2639d4
MDL-81254 grade: ensure we always close the graded user iterator.
...
This ensures that the recordsets contained within are also closed
when we're done with them.
2024-03-15 16:04:07 +00:00
Huong Nguyen
45ad566de9
weekly release 4.3.3+
2024-03-15 21:48:19 +07:00
Huong Nguyen
5fc8c89068
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-03-15 21:48:18 +07:00
Pedro Jordao
eac4b571ee
MDL-80279 core: Set new attributes for user profile initials
...
When the user does not have a profile photo and initials are displayed,
there is no alt text for the initials which causes accessibility
issues, so with this change I added the user's full name to the title
and aria-label attributes and I set a role='img' when the element span
is rendered.
2024-03-15 07:39:23 -03:00
Leon Stringer
e4ae4c5843
MDL-81146 forms: Disable submit buttons in Chrome
2024-03-15 08:30:21 +00:00
Jake Dallimore
e2e8268afb
Merge branch 'MDL-80167-403-int' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-03-15 12:54:47 +08:00
Huong Nguyen
e70e73d9b7
MDL-81246 dml: Check the statement resource before freeing it
2024-03-15 11:19:43 +07:00
Huong Nguyen
7ad4a82cb3
MDL-80167 core: Skip Oracle for Oracle environment in unit tests
2024-03-15 08:46:35 +07:00
Ilya Tregubov
2c757362db
Merge branch 'MDL-81190-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-15 08:42:19 +08:00
Tim Hunt
bf505f1075
MDL-81227 question bank: improve the order of the action menu
2024-03-14 17:38:02 +00:00
Sara Arjona
e81ce235b6
Merge branch 'MDL-80167-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-03-14 11:54:59 +01:00
Sara Arjona
a99c603cba
Merge branch 'MDL-80479-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-03-14 11:47:56 +01:00
Huong Nguyen
d424951ce0
MDL-80167 admin: Add environment check for Oracle database
2024-03-14 17:42:39 +07:00
Simey Lameze
585eb7d2e8
MDL-80479 behat: improve new test for quiz timer
2024-03-14 10:21:17 +08:00
Angelia Dela Cruz
745c87c8a3
MDL-80479 mod_quiz: Behat to set quiz opening and closing time
2024-03-14 10:21:17 +08:00
Ilya Tregubov
293ccf1948
MDL-77779 competency: Fix course restore from older backups.
...
overridegrade might be not set if Moodle < 4.1
2024-03-14 09:29:54 +08:00
Simey Lameze
fa534ac13e
MDL-81156 behat: coverage for force course language
2024-03-14 09:04:34 +08:00
AMOS bot
be7316f99e
Merge branch 'MOODLE_403_STABLE' into install_403_STABLE
2024-03-14 00:13:18 +00:00
Sara Arjona
f6c86bbd1b
Merge branch 'MDL-80865-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-13 12:18:53 +01:00
Ilya Tregubov
d03306a1ce
Merge branch 'MDL-80565-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-03-13 11:22:45 +08:00
AMOS bot
6d2a2edc34
Automatically generated installer lang files
2024-03-13 00:11:10 +00:00
Ilya Tregubov
a30f476d18
weekly release 4.3.3+
2024-03-13 08:09:48 +08:00
Tim Hunt
81fafbc199
MDL-81039 qtype_multichoice: better way to control feedback display
2024-03-12 12:00:05 +01:00
Tim Hunt
842dd9f729
MDL-81039 question: Improve some comments in question_display_options
2024-03-12 12:00:00 +01:00
Huong Nguyen
a734d9caba
Merge branch 'MDL-76805-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-03-12 10:32:24 +07:00
Shamiso.Jaravaza
5fdf46bbca
MDL-76805 mod_bigbluebuttonbn: Fix up behat tests
2024-03-12 10:58:33 +08:00
Ilya Tregubov
8912f31a06
Merge branch 'MDL-81035-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-03-12 10:40:44 +08:00
Ilya Tregubov
1cb9abbb90
Merge branch 'MDL-81127-403' of https://github.com/izendegi/moodle into MOODLE_403_STABLE
2024-03-12 10:27:13 +08:00
Ilya Tregubov
1782190cbe
Merge branch 'MDL-81191-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-12 10:15:47 +08:00
Paul Holden
e0fc0dc15b
MDL-81191 course: define batch stealth feedback language string.
2024-03-11 17:27:17 +00:00
Paul Holden
0b82683d9d
MDL-81190 mod_assign: correct context argument to format string.
2024-03-11 16:58:00 +00:00
Sara Arjona
b9ca2c5320
Merge branch 'MDL-79027-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-11 17:26:56 +01:00
Laurent David
4e9c9df95a
MDL-80565 report_loglive: Do not show logs from other groups
...
* Prevent users from seeing logs from other groups if
groupmode is in SEPARATEGROUP
2024-03-11 14:30:55 +01:00
Laurent David
afd4ccf425
MDL-80565 report_log: Prevent user from seeing other logs
...
* When no groups are selected we forcefully prevent
users from seeing users' logs from other groups
2024-03-11 14:30:55 +01:00
Laurent David
b66a627a00
MDL-80565 report_log: Fix report log selector
...
* When using the report log and we select a group, the group
list should show the right list of users
2024-03-11 14:30:54 +01:00
Laurent David
0f235f56c1
MDL-80565 report: Revert MDL-41465 changes
...
* Partial revert of changes made in MDL-41465,
while keeping the API changes made in enrol/lib.
2024-03-11 14:30:54 +01:00
Tim Hunt
36e03243da
MDL-81114 question: fix selection of random questions with draft status
...
We need to pick the latest 'ready' version of each question
(not questions where the latest version is ready).
There are test of the behaviour of random_question_loader, and
then a test in the quiz to prove it works in use.
2024-03-11 10:45:19 +00:00
Huong Nguyen
7fe8b9e448
MDL-81035 core: Fix redirect with sub-path
2024-03-11 15:56:14 +07:00
Adam Olley
639dceb19b
MDL-81182 factor_email: Correct path for config.php require
...
Without this, the path is incorrect and can, in some circumstances (if
config.php is a symlink for one) - result in PHP requiring the config
file twice.
2024-03-10 00:35:02 +10:30
Tim Hunt
db8d3fef9c
MDL-81114 question: clarify the SQL in ensure_filtered_questions_loaded
...
This should not change the (currently buggy) behaviour at all,
but my brain needs this to understand how to fix the bug.
2024-03-08 19:31:32 +00:00
Tim Hunt
14ce932d9a
MDL-81114 question: fix coding style in random_question_loader_test
2024-03-08 19:31:32 +00:00
Paul Holden
6cde2b3bc0
Merge branch 'MDL-81128-403-STABLE' of https://github.com/davidcerezal/moodle into MOODLE_403_STABLE
2024-03-08 14:50:26 +00:00
Paul Holden
aec51de205
Merge branch 'MDL-81152-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-03-08 14:45:22 +00:00
Iñigo Zendegi
aba3268336
MDL-81127 filter: Support filters on course completion message
2024-03-08 14:05:52 +01:00
Sara Arjona
fde6c3c7ef
weekly release 4.3.3+
2024-03-08 11:11:50 +01:00
Ilya Tregubov
0ded712a6b
Merge branch 'MDL-78547-403-phpunit' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-03-08 13:44:56 +08:00
Huong Nguyen
a28e42c0c1
MDL-78547 quiz: Remove unnecessary call to clear_regrade_date_cache()
...
This method is designed to clear the values but these values are never set anywhere
It's safe to remove it out of the test now
2024-03-08 12:42:04 +07:00
Huong Nguyen
2fe254dac4
Merge branch 'MDL-81082-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-08 10:28:07 +07:00
Huong Nguyen
24b0aa122e
Merge branch 'MDL-81123-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-03-08 10:13:01 +07:00
Huong Nguyen
b7d4c3cef2
Merge branch 'MDL-81046-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-03-08 10:07:08 +07:00
Ilya Tregubov
f1feb6fcd6
Merge branch 'MDL-80550-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-08 11:05:44 +08:00
Huong Nguyen
d56573e41c
Merge branch 'MDL-78547_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-03-08 08:52:11 +07:00
Ilya Tregubov
7fd5907b8d
Merge branch 'MDL-80943-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-08 09:22:15 +08:00
Tim Hunt
d365aef387
MDL-78547 quiz: fix how deprecated add random calls structure
2024-03-07 16:13:01 +00:00
Tim Hunt
dcff2a039f
MDL-78547 quiz: in a preview, if a question has been edited, update it
...
As part of implementing this, there is a new more efficient method
get_version_information_for_questions_in_attempt to see if any
questions in a quiz need to be updated. The regrade code was updated
to take advantage of this.
Co-authored-by: Khoa Nguyen Dang <khoanguyend7@nashtechglobal.com >
2024-03-07 16:13:01 +00:00
Tim Hunt
189464ade2
MDL-78547 questions: a way to replace a attempt in a usage
...
... without keeping the old attempt
Co-authored-by: Khoa Nguyen Dang <khoanguyend7@nashtechglobal.com >
2024-03-07 16:13:01 +00:00
Sara Arjona
c01663867a
MDL-69656 backup: Remove illegal whitespaces
2024-03-07 12:05:34 +01:00
Paul Holden
bf0849d9a4
MDL-80943 reportbuilder: select-type customfields should be text.
...
The column type determines the available aggregation options present
for the column. Custom fields of type "select" should be considered as
text fields for this purpose, because their stored value represents
the index to their available options, rather than having any distinct
meaning of it's own for display.
2024-03-07 09:47:53 +00:00
Huong Nguyen
1c2004265c
Merge branch 'MDL-79990-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-03-07 10:04:40 +07:00
Mihail Geshoski
90743958a7
MDL-81152 mod_lti: Custom parameter configuration in the instance form
...
Re-enables the configuration of custom parameters when creating or
modifying a tool instance in a course.
Backport of MDL-80914.
2024-03-07 09:57:46 +08:00
Simey Lameze
c91ee7412e
MDL-79990 behat: custom step to verify assign grading data
...
This commit also optimise the new behat test.
2024-03-07 09:44:22 +08:00
Angelia Dela Cruz
7e076e4dc8
MDL-79990 gradingform: Behat test for marking guide information display
2024-03-07 09:44:21 +08:00
Andrew Nicols
6b8243f6af
Merge branch 'MDL-69656-MOODLE_403_STABLE' of https://github.com/sh-csg/moodle into MOODLE_403_STABLE
2024-03-06 23:23:27 +08:00
David Cerezal
f7d052160f
MDL-81128 behat: use specific step instead a workaround
2024-03-06 16:04:44 +01:00
Michael Milette
49fcf4e984
MDL-72923 message: Fixed levels of headings in messaging drawer.
2024-03-06 07:33:52 -05:00
Stefan Hanauska
8e874c5ad6
MDL-69656 backup: Replace urlencoded pluginfile urls
2024-03-06 07:40:59 +01:00
Andrew Nicols
b710b9b222
Merge branch 'MDL-80183-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-06 14:04:44 +08:00
Andrew Nicols
4659884ef4
Merge branch 'MDL-80646-403' of https://github.com/mihailges/moodle into MOODLE_403_STABLE
2024-03-06 13:22:11 +08:00
Huong Nguyen
c0a6ce3bed
Merge branch 'MDL-80241-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-06 09:23:46 +07:00
Huong Nguyen
4a339ac3e5
Merge branch 'MDL-79278-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-03-06 09:13:08 +07:00
Angelia Dela Cruz
b2da7b06a3
MDL-79278 mod_quiz: Teacher can set how quiz questions behave behat
...
Co-authored-by: Simey Lameze <simey@moodle.com >
2024-03-06 09:45:26 +08:00
David Mudrák
3ec1c77fc8
MDL-80160 admin: Fix site admins selector UI if the list is hardcoded
...
If the list of site admins was defined in the config.php, the UI to
select / modify admins never worked. But there was no indication of the
reason which was unexpected and confusing.
2024-03-05 23:45:11 +01:00
Sara Arjona
933404f2eb
Merge branch 'MDL-80930-403' of https://github.com/raortegar/moodle into MOODLE_403_STABLE
2024-03-05 15:24:56 +01:00
Andrew Nicols
9c7ca927d3
Merge branch 'MDL-80731-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-03-05 22:04:47 +08:00
Sara Arjona
970fe4d26d
weekly release 4.3.3+
2024-03-05 11:22:18 +01:00
Andrew Nicols
b89e60af09
MDL-81123 tiny_html: Make empty codemirror region clickable
2024-03-05 14:12:15 +08:00
Mihail Geshoski
6784ab5334
MDL-80646 mod_lti: Enable key and secret configuration in legacy tools
...
When restoring a manually configured tool to a different site, the key
and secret are not being restored, which is an expected behaviour.
However, legacy (pre-4.3) manually configured tools do not have the
option to configure the key and secret, which makes these instances
unusable. To make sure these tools will continue working after a backup
and restore, we need to re-enable the key and secret fields in the
legacy instance settings form.
2024-03-05 13:23:32 +08:00
Jun Pataleta
e644d854f3
Merge branch 'MDL-80819_403' of https://github.com/stronk7/moodle into MOODLE_403_STABLE
2024-03-05 11:50:01 +08:00
Huong Nguyen
f9e36cc9f1
Merge branch 'MDL-80836-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-03-05 10:24:12 +07:00
Paul Holden
91af0db62a
MDL-80240 gradereport_grader: fix userfields parameter to search sql.
2024-03-04 14:43:36 +00:00
Paul Holden
1a980f3e43
MDL-79027 block_myoverview: retrieve only course related custom fields.
2024-03-04 10:38:56 +00:00
raortegar
ab1fcc6db4
MDL-80930 core: Course delete modules task handle non deletable cms
2024-03-01 13:19:06 +01:00
Jun Pataleta
994a21d4ff
weekly release 4.3.3+
2024-03-01 12:24:28 +08:00
Jun Pataleta
5bca23a73d
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-03-01 12:24:26 +08:00
Sara Arjona
9bae536652
Merge branch 'MDL-80391-403-int' of https://github.com/stevandoMoodle/moodle into MOODLE_403_STABLE
2024-02-29 08:08:57 +01:00
Stevani Andolo
151e1e8d42
MDL-80391 tiny_html: Fixed multi modal layer display
2024-02-29 13:02:21 +08:00
Huong Nguyen
6d68f5ba61
Merge branch 'MDL-80364-403' of https://github.com/pedrojordao/moodle into MOODLE_403_STABLE
2024-02-29 10:45:13 +07:00
Simey Lameze
01f67edc81
MDL-68674 behat: make content bank steps more specific
2024-02-29 09:41:52 +07:00
Andrew Nicols
e3d6973ed2
Merge branch 'MDL-81042-43' of https://github.com/micaherne/moodle into MOODLE_403_STABLE
2024-02-29 09:21:42 +08:00
Sara Arjona
381de34d2a
Merge branch 'MDL-81029-403' of https://github.com/aanabit/moodle into MOODLE_403_STABLE
2024-02-28 17:22:04 +01:00
Sara Arjona
8e3b63a32a
Merge branch 'MDL-80391-403' of https://github.com/stevandoMoodle/moodle into MOODLE_403_STABLE
2024-02-28 17:09:48 +01:00
Sara Arjona
33f4a94841
Merge branch 'mdl-80917-403' of https://github.com/Fragonite/moodle into MOODLE_403_STABLE
2024-02-28 16:44:20 +01:00
Sara Arjona
52854e2805
Merge branch 'MDL-80834_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-02-28 16:34:39 +01:00
Sara Arjona
2fe3312360
Merge branch 'MDL-80197-403' of https://github.com/pedrojordao/moodle into MOODLE_403_STABLE
2024-02-28 16:09:41 +01:00
Jun Pataleta
4abf80757d
Merge branch 'MDL-68674-403' of https://github.com/lucaboesch/moodle into MOODLE_403_STABLE
2024-02-28 23:03:58 +08:00
Sara Arjona
6ed4268891
Merge branch 'MDL-52891-MOODLE_403_STABLE' of https://github.com/opitz/moodle into MOODLE_403_STABLE
2024-02-28 15:23:24 +01:00
Paul Holden
6cd156fdbc
MDL-81082 tool_mfa: format site name in email subject.
2024-02-28 10:13:07 +00:00
Andrew Nicols
3a1443ee0b
MDL-80684 core: Correct location of task tests
2024-02-28 14:20:54 +08:00
Andrew Nicols
c108c1ead7
Merge branch 'MDL-80684-MOODLE_403_STABLE-fail_running_tasks_on_shutdown' of https://github.com/praxisdigital/moodle into MOODLE_403_STABLE
2024-02-28 14:20:49 +08:00
Stevani Andolo
5c9a7231d7
MDL-80827 tool_xmldb: Fixed xmldb editor broken with PHP 8.1
2024-02-28 10:05:00 +08:00
AMOS bot
1ad5ef6c30
Automatically generated installer lang files
2024-02-28 00:11:07 +00:00
Harry Smith
e2ffae6fb6
MDL-80793 calendar: Setup $USER with all fields
2024-02-28 10:37:59 +13:00
Pedro Jordao
a5e26adf33
MDL-80364 message: Change icon and background-color when item selected
...
Icon and background-color had contrast issues in the selected state.
2024-02-27 15:33:22 +01:00
Sara Arjona
228c50444d
Merge branch 'MDL-81036-403' of https://github.com/marinaglancy/moodle into MOODLE_403_STABLE
2024-02-27 13:04:09 +01:00
Matthias Opitz
997ca5d78e
MDL-52891 calculatedsimple question: forcing new gen. values into form
...
* forcing new generated sets of wildcard values into the question edit form so they can be saved.
* added Behat test to check new generated values are used.
2024-02-27 11:13:26 +00:00
Huong Nguyen
2abf7ccd5f
Merge branch 'MDL-78984-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-27 09:53:45 +07:00
Michael Aherne
c3c25c7899
MDL-81042 quiz: Typo in renamed class.
2024-02-26 09:05:35 +00:00
Andrew Nicols
911bbea72e
MDL-81046 core: Add hook to apis list
2024-02-26 10:12:22 +08:00
Paul Holden
885a65b33a
MDL-80550 cohort: get IDs for customfields correctly in external search.
2024-02-23 15:27:35 +00:00
Amaia Anabitarte
f89f680035
MDL-81029 core_course: Fix activity settings page title
2024-02-23 16:04:39 +01:00
Marina Glancy
8e08798e8e
MDL-81036 behat: fix the action menu clickable area selector
2024-02-23 11:22:54 +00:00
Paul Holden
064450ce1f
MDL-78984 mod_assign: observe timelimit config in override form.
2024-02-23 11:18:45 +00:00
Eloy Lafuente (stronk7)
4d1aaab4c0
MDL-80819 install: halt any install if php min version is not met
...
Apart from environmental stuff, the moodle_minimum_php_version_is_met()
function is executed by all installs (web, cli, database, ...)
and halts any installation (early) not meeting the PHP constraints.
2024-02-23 11:08:18 +01:00
Jun Pataleta
7576c307fb
Merge branch 'MDL-77965-m403' of https://github.com/NeillM/moodle into MOODLE_403_STABLE
2024-02-23 17:59:46 +08:00
Luca Bösch
f3f10bfab6
MDL-68674 theme: Have block headers have h3 class="h5".
2024-02-23 10:59:44 +01:00
Paul Holden
e7bf300cdf
MDL-78438 gradereport_grader: use lang string for collapsed columns.
2024-02-23 09:39:12 +00:00
Neill Magill
f357b3f715
MDL-77965 unit tests: Add covers annotation
2024-02-23 09:32:45 +00:00
Neill Magill
4038a3419b
MDL-77965 quiz: Improve efficiency of the data export
...
Before this change the query used an index scan to perform the
export, this could be really expensive on the database.
After the change the the query will use far more efficient joins,
on a large MySQL instance this can take minutes off of the query
time.
In additon the query was returning two columns that are not used
in the function. The layout column was causing the UNION to fail
on Oracle as it cannot compare text columns, removing these
columns from the returned data should further increase
performance further.
2024-02-23 09:32:45 +00:00
Neill Magill
fe76a2562e
MDL-77965 grade: Improve data export performance
...
The existing query was inefficient using an index scan and
index merges. This change splits the query up into many individually
much more efficient queries.
This should significantly improve performance on large sites.
2024-02-23 09:32:45 +00:00
Neill Magill
6f9d8ca34f
MDL-77965 notes: Improve data export performance
...
The UNION caused the query to be run in a way that is very
inefficient on MySQL, separating the queries causes each of them to
run in a much more efficient form.
Any duplicated will be filtered out on the PHP side instead of in
the database. On large Moodle sites this is preferable as the
extract is likely to be performed on a server dedicated to running
the Moodle cron and so there will be less of effect on resources
that are used to serve end users.
2024-02-23 09:32:45 +00:00
Neill Magill
1bcd7533c4
MDL-77965 calendar: Improve performance of data extract
...
The UNION caused the query to be run in a way that is very
inefficient on MySQL, separating the queries causes each of them to
run in a much more efficient form.
Any duplicated will be filtered out on the PHP side instead of in
the database. On large Moodle sites this is preferable as the
extract is likely to be performed on a server dedicated to running
the Moodle cron and so there will be less of effect on resources
that are used to serve end users.
2024-02-23 09:32:45 +00:00
Neill Magill
ff5f100601
MDL-77965 competency: Improve query performance and data
...
This change removes LEFT JOINS to improve the performance
when run against Moodle sites with very large data sets.
It will also cause some additional contexts to be returned:
1. When a user has modified a user_evidence_competency
without modifying its associated user_evidence record
2024-02-23 09:32:45 +00:00
Neill Magill
248742095d
MDL-77965 competency: Correct order of expectations
...
The expected value was being passed second which meant that the
messages sent by PHPUnit when this fails are the wrong way round.
2024-02-23 09:32:45 +00:00
Jun Pataleta
6219f4d2ac
Merge branch 'MDL-80805-m403' of https://github.com/sammarshallou/moodle into MOODLE_403_STABLE
2024-02-23 17:31:57 +08:00
Huong Nguyen
b0cd9cac9a
weekly release 4.3.3+
2024-02-23 08:37:44 +07:00
Huong Nguyen
be997d91fa
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-02-23 08:37:42 +07:00
Paul Holden
77c0a7cf05
MDL-80183 message: improve ARIA labelling of total/unread counts.
2024-02-22 17:03:52 +00:00
Paul Holden
b26a2d7328
MDL-80183 message: render user online status as an accessible icon.
2024-02-22 17:01:00 +00:00
Paul Holden
3f8fb93834
MDL-80731 core: ensure valid /Lang attribute in generated PDF files.
...
As with the changes in 4be39296 , PDF files have criteria for validity
of language identifiers.
2024-02-22 16:53:03 +00:00
Huong Nguyen
f278206b91
Merge branch 'MDL-80844_403' of https://github.com/stronk7/moodle into MOODLE_403_STABLE
2024-02-22 11:24:00 +07:00
Huong Nguyen
3905247a84
Merge branch 'MDL-80338-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-22 11:18:06 +07:00
Huong Nguyen
4414c4598e
Merge branch 'MDL-62404_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-02-22 10:49:52 +07:00
Huong Nguyen
897436f056
Merge branch 'MDL-80868-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-22 10:43:17 +07:00
Huong Nguyen
c68e966686
Merge branch 'MDL-80950-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-02-22 10:40:29 +07:00
Huong Nguyen
f7ed5663a7
Merge branch 'MDL-80862-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-02-22 10:37:49 +07:00
Huong Nguyen
8f13279477
Merge branch 'MDL-80481_403' of https://github.com/santoshndev/moodle into MOODLE_403_STABLE
2024-02-22 09:50:51 +07:00
Santosh Nagargoje
f50245a6d3
MDL-80481 report: Fixed breadcrumb menu issue
2024-02-22 02:00:19 +05:30
Sara Arjona
c1b7ab67c7
Merge branch 'MDL-76441_403' of https://github.com/stronk7/moodle into MOODLE_403_STABLE
2024-02-21 17:49:56 +01:00
Sara Arjona
9c195964aa
Merge branch 'wip_MDL-79802_m43_v8' of https://github.com/gjb2048/moodle into MOODLE_403_STABLE
2024-02-21 17:32:05 +01:00
Mark Johnson
39af71da2c
MDL-79174 availability: Allow group condition to use hidden groups
...
Previously, groups with GROUP_VISIBILITY_NONE could be selected for an
availability condition, but as the group API did not return a user's own
groups with this visibility, the condition's is_available check always
failed.
This change uses the new $includehidden parameter to get all of a user's
groups from groups_get_user_groups when evaluating the condition, so
these groups work as expected. Due to the enforced hiding of conditions
containing these groups, they will never be seen by the user.
2024-02-21 15:42:47 +00:00
Mark Johnson
558de0b8b4
MDL-79174 groups: Add includehidden parameter
...
This allows groups_get_user_groups to return groups with
GROUP_VISIBILITY_NONE that the specified user belongs to. The parameter
is false by default, and should be use with care as membership of these
groups should not be revealed to the user.
2024-02-21 15:42:47 +00:00
Sara Arjona
b56fe5fff9
Merge branch 'MDL-80605-403' of https://github.com/jbs1/moodle into MOODLE_403_STABLE
2024-02-21 16:19:19 +01:00
Sara Arjona
716113cbfb
Merge branch 'MDL-80404-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-02-21 13:23:31 +01:00
Paul Holden
9eac2f3c93
MDL-80241 grade: update user filtering by matched properties.
...
Invert the previous logic, which maintained a "banned" list of
fields, to instead only try to filter on those fields that are
explicitly defined to support that.
2024-02-21 10:21:36 +00:00
Sara Arjona
701e4cc18d
Merge branch 'MDL-78944-43' of https://github.com/Chocolate-lightning/moodle into MOODLE_403_STABLE
2024-02-21 09:18:56 +01:00
Angelia Dela Cruz
104be7a8a7
MDL-80404 mod_data: Behat for url autolinking and opening in new window
2024-02-21 16:01:56 +08:00
Huong Nguyen
adf6b7bf7f
Merge branch 'MDL-79792-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-02-21 14:25:28 +07:00
Angelia Dela Cruz
aaf858c6db
MDL-79792 core_badges: Behat test for awarding badge to group members
2024-02-21 14:01:24 +08:00
Jun Pataleta
a8fa0e61ac
Merge branch 'MDL-79003-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-02-21 10:36:10 +08:00
Jun Pataleta
9287d34b78
MDL-78370 block_myoverview: Conditionally show "All" paging option
...
To minimise performance issues when displaying courses in Summary view,
we need to conditionally show the "All" paging option. This commit
will prevent the "All" paging option to be shown if the following
conditions are met:
- The display mode is "summary"; and
- There are more than 100 courses to be shown.
2024-02-21 09:43:28 +08:00
Juan Leyva
115b8e9a6c
MDL-79802 tool_mobile: Support new setting in the mobile app
2024-02-20 18:09:57 +00:00
Gareth Barnard
39fcdac6d3
MDL-79802 core_h5p: Add a new setting for adding custom H5P styles.
2024-02-20 18:09:41 +00:00
Paul Holden
90d0f55fe1
MDL-80919 course: initial check for section modules to duplicate.
2024-02-20 16:22:33 +00:00
Sara Arjona
6c1b457252
Merge branch 'MDL-80912-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-20 15:39:24 +01:00
Sara Arjona
b0c9e538e4
Merge branch 'MDL-80383-403' of https://github.com/rjnl/moodle into MOODLE_403_STABLE
2024-02-20 15:20:06 +01:00
Paul Holden
5e968b8864
MDL-80088 mod_imscp: better uploaded package filetype validation.
2024-02-20 14:10:10 +00:00
Huong Nguyen
ae17dcde01
MDL-76024 qtype calculated: Fix deprecation related to dynamic property
2024-02-20 12:29:31 +01:00
Paul Holden
191ac5c44c
MDL-80865 customfield_textarea: empty check prior to exporting value.
...
Co-authored-by: Sara Bozzini <s.bozzini@cineca.it >
2024-02-20 10:54:53 +00:00
Huong Nguyen
2eca6f3d5f
Merge branch 'MDL-80936-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-20 10:28:31 +07:00
Huong Nguyen
42d864754a
Merge branch 'MDL-76024-MOODLE_403_STABLE' of https://github.com/opitz/moodle into MOODLE_403_STABLE
2024-02-20 10:23:35 +07:00
Andrew Nicols
7653886081
MDL-80862 testing: Reset task manager between behat tests
2024-02-20 10:54:43 +08:00
AMOS bot
c86674c04d
Automatically generated installer lang files
2024-02-20 00:13:56 +00:00
Pedro Jordao
ab85e38732
MDL-80197 forms: Added attributes to the calendar link
...
The datepicker is not keyboard accessible when in a modal.
As we are using yui datepicker and the change is not simple, I added aria-hidden and tabindex properties to avoid screenreaders.
2024-02-19 21:11:52 -03:00
Jeremy Schulz
c847d5ea85
MDL-80605 uploaduser: fixed username already existing when mail-matching
2024-02-19 17:24:53 +01:00
Paul Holden
30fa519fa0
MDL-80912 reportbuilder: output table caption when rendering reports.
...
Move the `get_name` method to the base report class, so that it can be
implemented by all report types. Provide a default implementation for
system reports based on the name of the class.
Use the name of the report as the caption. Target via Behat selectors.
2024-02-19 11:57:53 +00:00
Frederik Milling Pytlick
11a3328b06
MDL-80684 core: Fail running tasks on shutdown
...
When you kill a process which is executing a task, it now marks it as failed.
2024-02-19 12:06:08 +01:00
Sara Arjona
dac3242a2c
Merge branch 'MDL-79674-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-02-19 10:20:47 +01:00
Sara Arjona
5f20a1efc2
Merge branch 'MDL-80613-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-02-19 09:14:23 +01:00
Rodrigo Mady
e258e86f15
MDL-77967 user: Add format text to custom profile fields name
2024-02-16 17:16:37 -03:00
Matthias Opitz
5e3470fd4a
MDL-76024 calculated questions: improving coding style
2024-02-16 10:22:07 +00:00
Matthias Opitz
c93271e1d6
MDL-76024 calculated questions: cast float type before comparison
...
* added calculated question for multiplication to tests/helper.php.
* added test_grading_of_negative_responses() test to question/type/calculated/tests/question_test.php
2024-02-16 10:22:07 +00:00
Eloy Lafuente (stronk7)
0ed448a277
MDL-80844 phpunit: Only some tests can use the debugging sink
...
The only tests that have COMPLETE* support for the debugging sink
are the advanced_testcase and the database_driver ones (store and
report). So we must ensure that the rest of tests don't use the
debugging sink at all.
Right now we are using it for storing, but later there is not
reporting, so any debugging happening within non advanced tests
is not detected.
This commit just ensures that we stop making that storing for
non advanced/database_driver tests. Nothing more, nothing less.
* Note that we have had to add a few missing bits to the
database_driver testcase because it was not 100% complete. Now
it behaves 100% the same than the advanced_testcase one regarding
the debugging sink.
2024-02-15 18:46:26 +01:00
Eloy Lafuente (stronk7)
ad241529f2
MDL-76441 env: Moodle 4.2.x and 4.3.x do not support PHP 8.3
2024-02-15 18:44:52 +01:00
Sara Arjona
63d96ee2d8
MDL-80950 external: Fix PHP deprecated error for explode()
...
This patch fixes the following error:
PHP Deprecated: explode(): Passing null to parameter #2 ($string)
of type string is deprecated in lib/upgradelib.php on line 1299
2024-02-15 17:52:40 +01:00
sam marshall
4f3822bba9
MDL-80805 core_form: Accessibility - add aria-required to form fields
...
Most types of form field will now include aria-required="true" if the
field is marked as required. This causes assistive technology to inform
users that the field is required.
Before this change, in some cases (e.g. screen reader users tabbing
through fields) users were not informed that a field is required.
2024-02-15 15:00:42 +00:00
Sara Arjona
e4bbd79059
weekly release 4.3.3+
2024-02-15 15:39:42 +01:00
Sara Arjona
fe2f6bbe27
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-02-15 15:39:38 +01:00
lihidor
7f489efdde
MDL-62404 mod_quiz: Delete previews after repaginate
2024-02-15 11:00:34 +00:00
Simey Lameze
a0ce4d0c52
MDL-80613 behat: convert manual completion steps to use generators
2024-02-15 18:00:06 +08:00
Huong Nguyen
f7f0ab2403
Merge branch 'MDL-80823-wwwroot-redirect-MOODLE_403_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_403_STABLE
2024-02-15 11:13:56 +07:00
Mathew May
3fcfe24a7e
MDL-78944 gradereport_grader: Spurious behat fix
2024-02-15 10:46:34 +08:00
Jake Dallimore
194baa7436
MDL-80836 auth_lti: take user through login instead of sesspiggyback
...
Browsers are phasing out 3rd party cookies. Those which can be set are
partitioned to the top level embedding site, so piggybacking is
prevented. This will break the account linking process. This fix swaps
the piggyback for a login round trip, as originally intended, which
resolves the issue.
2024-02-15 10:37:39 +08:00
Stevani Andolo
ffdb463148
MDL-80391 tiny_html: Fixed the loose focus in window manager
2024-02-15 10:07:57 +08:00
Alexander Van der Bellen
ec0c5414b2
MDL-80917 core_backup: Clear restored course cache
2024-02-15 09:09:41 +08:00
Paul Holden
7f1caa7c57
MDL-80936 reportbuilder: fix when default customfield values are shown.
...
We should ensure we only show a value for the custom field (default or
otherwise) when it's actually joined to an entity it represents.
2024-02-14 12:22:47 +00:00
Sara Arjona
75b3874f97
Merge branch 'MDL-79321-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-02-14 09:35:28 +01:00
Angelia Dela Cruz
7d5ff8512a
MDL-79321 mod_quiz: Behat to set quiz as interactive with multiple tries
2024-02-13 16:41:50 +08:00
Jun Pataleta
8b009ba789
Merge branch 'MDL-80402-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-02-13 15:52:10 +08:00
Jun Pataleta
28f306aac9
Merge branch 'MDL-80766-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-13 15:34:29 +08:00
Angelia Dela Cruz
ab38bff9df
MDL-80402 mod_quiz: Behat for interactive quiz question dependency
2024-02-13 10:44:03 +08:00
Huong Nguyen
9892a5c5fc
Merge branch 'MDL-80630_403' of https://github.com/PhilippImhof/moodle into MOODLE_403_STABLE
2024-02-13 09:30:50 +07:00
Huong Nguyen
5ac04b4066
Merge branch 'MDL-80869-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-13 09:14:36 +07:00
Huong Nguyen
b83ed4284e
Merge branch 'MDL-80326-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-02-13 08:55:50 +07:00
AMOS bot
119dc62c26
Automatically generated installer lang files
2024-02-13 00:10:27 +00:00
AMOS bot
c57f73b11f
Automatically generated installer lang files
2024-02-12 00:11:21 +00:00
Jake Dallimore
0f84dd778b
Moodle release 4.3.3
2024-02-09 10:33:30 +08:00
Paul Holden
78c1fbac60
MDL-80868 question: correct deleted format plugin definitions.
2024-02-08 16:15:31 +00:00
Sara Arjona
fb7872a5d3
weekly release 4.3.2+
2024-02-08 16:18:12 +01:00
Sara Arjona
67dd781b75
NOBUG: Fixed SVG browser compatibility
2024-02-08 16:18:09 +01:00
Paul Holden
71b2e366cd
MDL-80869 mod_bigbluebuttonbn: ensure test retrieves expected record.
2024-02-08 13:22:05 +00:00
Sara Arjona
5780b8c228
Merge branch 'MDL-80544-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 11:26:47 +01:00
Paul Holden
8116bf4059
MDL-80544 h5p: add v126 library to list of standard plugins.
2024-02-08 10:12:54 +00:00
Philipp Imhof
ffce63d647
MDL-80630 mod_quiz: keep timer hidden across pages
...
If a student hides the timer, store that setting in their user
preferences in order to keep it hidden even if they go from one page
to another in a quiz.
2024-02-08 09:43:58 +01:00
Laurent David
7a03a909a1
MDL-80326 course_format: Visibility changes only when capability is set
...
* When an editing teacher has not the capability to change visibility
(for example if for a given module the capability is removed), the visibility
drop down menu in the card should not be available.
2024-02-08 09:21:30 +01:00
Huong Nguyen
53f840cd4a
Merge branch 'MDL-80809-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 16:06:15 +08:00
Andrew Nicols
a32d53f1aa
Merge branch 'MDL-80768-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 16:06:15 +08:00
Ilya Tregubov
556a285702
MDL-80504 forum: Fix seperate group mode
2024-02-08 16:06:14 +08:00
Ilya Tregubov
126d617b77
Merge branch 'MDL-80753-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-02-08 16:06:14 +08:00
Andrew Nicols
8a344dbe0b
Merge branch 'MDL-80738-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 16:06:14 +08:00
Huong Nguyen
88828ee3af
MDL-80544 h5plib: Use the correct plugin version
2024-02-08 16:06:14 +08:00
Ilya Tregubov
393f787b8f
Merge branch 'MDL-80716-MOODLE_403_STABLE' of https://github.com/sh-csg/moodle into MOODLE_403_STABLE
2024-02-08 16:06:13 +08:00
Leon Stringer
4b9f6e77d3
MDL-80501 mod_h5pactivity: activity group mode
...
Respect activity's group mode when checking access to the report.
Previously only the course's group mode was checked.
2024-02-08 16:06:13 +08:00
Huong Nguyen
4528d12f52
Merge branch 'MDL-80544-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-02-08 16:06:13 +08:00
Huong Nguyen
30e1117ed1
Merge branch 'MDL-80832-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-02-08 16:06:12 +08:00
Daniel Ziegenberg
ff90193c15
MDL-80648 files: extend xsendfilealiases
...
Add missing entry for custom $CFG->localrequestdir locations in the
preconfigured array for $CFG->xsendfilealiases in config-dist.php.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2024-02-08 16:06:12 +08:00
Andrew Nicols
f2b0e454e6
Merge branch 'MDL-80803-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 16:06:12 +08:00
Andrew Nicols
2264b79dbe
Merge branch 'MDL-36733-MOODLE_403_STABLE' of https://github.com/PascalHamar/moodle into MOODLE_403_STABLE
2024-02-08 16:06:12 +08:00
Andrew Nicols
b03d9fcc3f
Merge branch 'MDL-80667-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 16:06:11 +08:00
Ilya Tregubov
f13b4e0caf
Merge branch 'MDL-78173-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 16:06:11 +08:00
Sara Arjona
15b019781d
Merge branch 'MDL-80392-403' of https://github.com/jleyva/moodle into MOODLE_403_STABLE
2024-02-08 16:06:11 +08:00
Sara Arjona
fff830198f
Merge branch 'mdl-78095-403' of https://github.com/james-cnz/moodle into MOODLE_403_STABLE
2024-02-08 16:06:10 +08:00
Sara Arjona
45a503f086
Merge branch 'MDL-74500-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 16:06:10 +08:00
Sara Arjona
a184b0b1fb
Merge branch 'MDL-80808_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-02-08 16:06:05 +08:00
Sara Arjona
3feb4e3b22
Merge branch 'MDL-79514-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 15:45:36 +08:00
Sara Arjona
571be8e18c
Merge branch 'MDL-79577-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 15:45:36 +08:00
Jun Pataleta
a20fdb53f5
Merge branch 'MDL-80784-403' of https://github.com/noeldemartin/moodle into MOODLE_403_STABLE
2024-02-08 15:45:36 +08:00
Ilya Tregubov
6a8d0fb2b0
MDL-69774 mod_forum: Restrict URL to accpet only expected params
2024-02-08 15:45:35 +08:00
Huong Nguyen
2283877ba6
Merge branch 'MDL-78417-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 15:45:35 +08:00
Huong Nguyen
d6cd2eb5fe
Merge branch 'MDL-80512-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 15:45:35 +08:00
Brendan Heywood
f443edd43e
MDL-80823 core: Redirect to wwwroot with full path
2024-02-08 12:08:47 +11:00
Paul Holden
f32d3af553
MDL-74500 profilefield_checkbox: override show/empty class methods.
2024-02-07 14:13:51 +00:00
Paul Holden
120e0af3de
MDL-80338 core: encode moodle_url instance anchor properties.
2024-02-07 12:21:33 +00:00
Ilya Tregubov
224dbd8063
Merge branch 'MDL-80124-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-07 13:16:25 +08:00
Ilya Tregubov
18d692f70b
Merge branch 'MDL-80324-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-07 13:12:23 +08:00
Jun Pataleta
219899c8ce
Merge branch 'MDL-70058-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-07 12:31:34 +08:00
Jun Pataleta
4f45925082
Merge branch '403_check_cached_empty_modnames' of https://github.com/opitz/moodle into MOODLE_403_STABLE
2024-02-07 11:17:54 +08:00
David Woloszyn
84150d8909
MDL-80832 communication_matrix: Fix regression caused by MDL-80403
2024-02-07 14:10:42 +11:00
Jun Pataleta
7a79c4d751
Merge branch 'MDL-75081-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-07 10:37:19 +08:00
Ilya Tregubov
b0f737dbb9
Merge branch 'MDL-79433-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-07 10:13:00 +08:00
meirzamoodle
5907407061
MDL-74641 repository: Fix wrong increment of temporary file for small sizes
2024-02-07 02:34:18 +01:00
meirzamoodle
427b0d3fee
MDL-74641 repository: Handles increase bytes while extracting zip files
...
We should not rely solely on the provided size information.
Therefore the system needs to recalculate the size of each file in the zip file,
whether small or big.
The changes also cover the filemanager.js file if an error appears.
2024-02-07 02:34:18 +01:00
meirzamoodle
5ea392de64
MDL-78300 block: Determine if users can comment based on context
2024-02-07 02:34:18 +01:00
Paul Holden
3ed8b67746
MDL-54749 tool_langimport: require sesskey to update lang packs.
2024-02-07 02:34:18 +01:00
Ilya Tregubov
f8d5db3ea7
Merge branch 'MDL-79527_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-02-07 09:28:28 +08:00
Ilya Tregubov
b681fa9b5f
Merge branch 'MDL-80767-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-07 09:01:52 +08:00
Ilya Tregubov
44dd499b96
Merge branch 'MDL-78621-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-07 08:57:04 +08:00
Jun Pataleta
bc763d3c0a
Merge branch 'MDL-80693-m403' of https://github.com/sammarshallou/moodle into MOODLE_403_STABLE
2024-02-07 08:32:54 +08:00
Paul Holden
0492cbf9b7
MDL-75081 grade: fix rogue gradebook scenarios containing invalid steps.
...
Various re-factors over recent releases appear to have led to quite a
drift between actual functionality and what these scenarios assert for
imagined functionality. Page elements and content are referenced that
don't exist in multiple places.
2024-02-06 17:31:48 +00:00
Paul Holden
437738f488
MDL-75081 behat: define new heading named selector.
...
Co-authored-by: Jun Pataleta <jun@moodle.com >
2024-02-06 17:06:50 +00:00
Paul Holden
3932499ea6
MDL-75081 behat: correct tests of table contents asserting one column.
...
Prior to this change, assertions of "should exist" and "should not
exist" in table content, where the step provided only a single column,
could give false positives and pass (when they shouldn't).
2024-02-06 16:41:25 +00:00
Paul Holden
ad4046a5a2
Merge branch 'MDL-80735-403' of https://github.com/marinaglancy/moodle into MOODLE_403_STABLE
2024-02-06 15:26:47 +00:00
Marina Glancy
df7b18b9bc
MDL-80735 reportbuilder: do not render filters form during download
...
this removes unnecessary calculations and also prevents the session mutation
2024-02-06 14:52:38 +00:00
Sara Arjona
ad287dc5e5
Merge branch 'MDL-80816_403' of https://github.com/stronk7/moodle into MOODLE_403_STABLE
2024-02-06 15:51:47 +01:00
Tim Hunt
a99bebe766
MDL-80834 quiz editing: fix position of the 'depends on previous' icon
2024-02-06 11:31:41 +00:00
Juan Leyva
b9c148dbde
MDL-80392 completion: Temporary fix for completion state via exporters
2024-02-06 11:05:06 +01:00
Jun Pataleta
0f64786579
Merge branch 'MDL-80725-403-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_403_STABLE
2024-02-06 15:58:56 +08:00
Sara Arjona
1011b7166b
MDL-80544 core_h5p: Remove the h5plib_v124 plugin
...
The h5plib_v124 plugin can be removed because it has been replaced
with h5plib_v126, which is using the latest versions of the
libraries.
2024-02-06 08:11:33 +01:00
Sara Arjona
ee44b0bf5c
MDL-80544 core_h5p: Add core lib changes after upgrading it
2024-02-06 08:10:04 +01:00
Sara Arjona
db242167a3
MDL-80544 core_h5p: Upgrade core lib to 1.26
...
This commit is upgrading the joubel/core library to the one
tagged as 1.26 (which also increases the coreApi minorVersion).
That's why the previous commit was duplicating the existing
h5plib_v124.
This tag is also pointing to the same tag that the mod_hvp is using
too: https://github.com/h5p/moodle-mod_hvp/releases/tag/1.26.1
2024-02-06 08:10:04 +01:00
Sara Arjona
510bbe8a53
MDL-80544 h5plib: Create first version of h5plib_v126
...
AMOS BEGIN
CPY [editor:a11ytitleshowlabel,h5plib_v124],[editor:a11ytitleshowlabel,h5plib_v126]
CPY [editor:a11ytitlehidelabel,h5plib_v124],[editor:a11ytitlehidelabel,h5plib_v126]
CPY [editor:atoz,h5plib_v124],[editor:atoz,h5plib_v126]
CPY [editor:add,h5plib_v124],[editor:add,h5plib_v126]
CPY [editor:addauthor,h5plib_v124],[editor:addauthor,h5plib_v126]
CPY [editor:addentity,h5plib_v124],[editor:addentity,h5plib_v126]
CPY [editor:addfile,h5plib_v124],[editor:addfile,h5plib_v126]
CPY [editor:addnewchange,h5plib_v124],[editor:addnewchange,h5plib_v126]
CPY [editor:addtitle,h5plib_v124],[editor:addtitle,h5plib_v126]
CPY [editor:addvideodescription,h5plib_v124],[editor:addvideodescription,h5plib_v126]
CPY [editor:avtablistlabel,h5plib_v124],[editor:avtablistlabel,h5plib_v126]
CPY [editor:belowmin,h5plib_v124],[editor:belowmin,h5plib_v126]
CPY [editor:cancel,h5plib_v124],[editor:cancel,h5plib_v126]
CPY [editor:cancellabel,h5plib_v124],[editor:cancellabel,h5plib_v126]
CPY [editor:changefile,h5plib_v124],[editor:changefile,h5plib_v126]
CPY [editor:changelanguage,h5plib_v124],[editor:changelanguage,h5plib_v126]
CPY [editor:changelibrary,h5plib_v124],[editor:changelibrary,h5plib_v126]
CPY [editor:changelogdescription,h5plib_v124],[editor:changelogdescription,h5plib_v126]
CPY [editor:close,h5plib_v124],[editor:close,h5plib_v126]
CPY [editor:commonfields,h5plib_v124],[editor:commonfields,h5plib_v126]
CPY [editor:commonfieldsdescription,h5plib_v124],[editor:commonfieldsdescription,h5plib_v126]
CPY [editor:confirmchangelibrary,h5plib_v124],[editor:confirmchangelibrary,h5plib_v126]
CPY [editor:confirmdeletechangelog,h5plib_v124],[editor:confirmdeletechangelog,h5plib_v126]
CPY [editor:confirmimageremoval,h5plib_v124],[editor:confirmimageremoval,h5plib_v126]
CPY [editor:confirmpastebuttontext,h5plib_v124],[editor:confirmpastebuttontext,h5plib_v126]
CPY [editor:confirmpastecontent,h5plib_v124],[editor:confirmpastecontent,h5plib_v126]
CPY [editor:confirmremoval,h5plib_v124],[editor:confirmremoval,h5plib_v126]
CPY [editor:confirmremoveauthor,h5plib_v124],[editor:confirmremoveauthor,h5plib_v126]
CPY [editor:contenttypebackbuttonlabel,h5plib_v124],[editor:contenttypebackbuttonlabel,h5plib_v126]
CPY [editor:contenttypecacheoutdated,h5plib_v124],[editor:contenttypecacheoutdated,h5plib_v126]
CPY [editor:contenttypecacheoutdateddesc,h5plib_v124],[editor:contenttypecacheoutdateddesc,h5plib_v126]
CPY [editor:contenttypedemobuttonlabel,h5plib_v124],[editor:contenttypedemobuttonlabel,h5plib_v126]
CPY [editor:contenttypedetailbuttonlabel,h5plib_v124],[editor:contenttypedetailbuttonlabel,h5plib_v126]
CPY [editor:contenttypegetbuttonlabel,h5plib_v124],[editor:contenttypegetbuttonlabel,h5plib_v126]
CPY [editor:contenttypeiconalttext,h5plib_v124],[editor:contenttypeiconalttext,h5plib_v126]
CPY [editor:contenttypeinstallbuttonlabel,h5plib_v124],[editor:contenttypeinstallbuttonlabel,h5plib_v126]
CPY [editor:contenttypeinstallerror,h5plib_v124],[editor:contenttypeinstallerror,h5plib_v126]
CPY [editor:contenttypeinstallsuccess,h5plib_v124],[editor:contenttypeinstallsuccess,h5plib_v126]
CPY [editor:contenttypeinstallingbuttonlabel,h5plib_v124],[editor:contenttypeinstallingbuttonlabel,h5plib_v126]
CPY [editor:contenttypelicensepaneltitle,h5plib_v124],[editor:contenttypelicensepaneltitle,h5plib_v126]
CPY [editor:contenttypenotinstalled,h5plib_v124],[editor:contenttypenotinstalled,h5plib_v126]
CPY [editor:contenttypenotinstalleddesc,h5plib_v124],[editor:contenttypenotinstalleddesc,h5plib_v126]
CPY [editor:contenttypeowner,h5plib_v124],[editor:contenttypeowner,h5plib_v126]
CPY [editor:contenttyperestricted,h5plib_v124],[editor:contenttyperestricted,h5plib_v126]
CPY [editor:contenttyperestricteddesc,h5plib_v124],[editor:contenttyperestricteddesc,h5plib_v126]
CPY [editor:contenttypesearchfieldplaceholder,h5plib_v124],[editor:contenttypesearchfieldplaceholder,h5plib_v126]
CPY [editor:contenttypesectionall,h5plib_v124],[editor:contenttypesectionall,h5plib_v126]
CPY [editor:contenttypeunsupportedapiversioncontent,h5plib_v124],[editor:contenttypeunsupportedapiversioncontent,h5plib_v126]
CPY [editor:contenttypeunsupportedapiversiontitle,h5plib_v124],[editor:contenttypeunsupportedapiversiontitle,h5plib_v126]
CPY [editor:contenttypeupdateavailable,h5plib_v124],[editor:contenttypeupdateavailable,h5plib_v126]
CPY [editor:contenttypeupdatebuttonlabel,h5plib_v124],[editor:contenttypeupdatebuttonlabel,h5plib_v126]
CPY [editor:contenttypeupdatesuccess,h5plib_v124],[editor:contenttypeupdatesuccess,h5plib_v126]
CPY [editor:contenttypeupdatingbuttonlabel,h5plib_v124],[editor:contenttypeupdatingbuttonlabel,h5plib_v126]
CPY [editor:contenttypeusebuttonlabel,h5plib_v124],[editor:contenttypeusebuttonlabel,h5plib_v126]
CPY [editor:contributetranslations,h5plib_v124],[editor:contributetranslations,h5plib_v126]
CPY [editor:copiedbutton,h5plib_v124],[editor:copiedbutton,h5plib_v126]
CPY [editor:copiedtoclipboard,h5plib_v124],[editor:copiedtoclipboard,h5plib_v126]
CPY [editor:copybutton,h5plib_v124],[editor:copybutton,h5plib_v126]
CPY [editor:copytoclipboard,h5plib_v124],[editor:copytoclipboard,h5plib_v126]
CPY [editor:createcontenttablabel,h5plib_v124],[editor:createcontenttablabel,h5plib_v126]
CPY [editor:currentmenuselected,h5plib_v124],[editor:currentmenuselected,h5plib_v126]
CPY [editor:editcopyright,h5plib_v124],[editor:editcopyright,h5plib_v126]
CPY [editor:editimage,h5plib_v124],[editor:editimage,h5plib_v126]
CPY [editor:editmode,h5plib_v124],[editor:editmode,h5plib_v126]
CPY [editor:enteraudiotitle,h5plib_v124],[editor:enteraudiotitle,h5plib_v126]
CPY [editor:enteraudiourl,h5plib_v124],[editor:enteraudiourl,h5plib_v126]
CPY [editor:enterfullscreenbuttonlabel,h5plib_v124],[editor:enterfullscreenbuttonlabel,h5plib_v126]
CPY [editor:entervideotitle,h5plib_v124],[editor:entervideotitle,h5plib_v126]
CPY [editor:entervideourl,h5plib_v124],[editor:entervideourl,h5plib_v126]
CPY [editor:errorcalculatingmaxscore,h5plib_v124],[editor:errorcalculatingmaxscore,h5plib_v126]
CPY [editor:errorcommunicatinghubcontent,h5plib_v124],[editor:errorcommunicatinghubcontent,h5plib_v126]
CPY [editor:errorcommunicatinghubtitle,h5plib_v124],[editor:errorcommunicatinghubtitle,h5plib_v126]
CPY [editor:errorheader,h5plib_v124],[editor:errorheader,h5plib_v126]
CPY [editor:errornotsupported,h5plib_v124],[editor:errornotsupported,h5plib_v126]
CPY [editor:errorparamsbroken,h5plib_v124],[editor:errorparamsbroken,h5plib_v126]
CPY [editor:errortoohighversion,h5plib_v124],[editor:errortoohighversion,h5plib_v126]
CPY [editor:example,h5plib_v124],[editor:example,h5plib_v126]
CPY [editor:exceedsmax,h5plib_v124],[editor:exceedsmax,h5plib_v126]
CPY [editor:exitfullscreenbuttonlabel,h5plib_v124],[editor:exitfullscreenbuttonlabel,h5plib_v126]
CPY [editor:expandcollapse,h5plib_v124],[editor:expandcollapse,h5plib_v126]
CPY [editor:filetolarge,h5plib_v124],[editor:filetolarge,h5plib_v126]
CPY [editor:fillinthefieldsbelow,h5plib_v124],[editor:fillinthefieldsbelow,h5plib_v126]
CPY [editor:gethelp,h5plib_v124],[editor:gethelp,h5plib_v126]
CPY [editor:h5pfileuploadservererrorcontent,h5plib_v124],[editor:h5pfileuploadservererrorcontent,h5plib_v126]
CPY [editor:h5pfileuploadservererrortitle,h5plib_v124],[editor:h5pfileuploadservererrortitle,h5plib_v126]
CPY [editor:h5pfilevalidationfailedcontent,h5plib_v124],[editor:h5pfilevalidationfailedcontent,h5plib_v126]
CPY [editor:h5pfilevalidationfailedtitle,h5plib_v124],[editor:h5pfilevalidationfailedtitle,h5plib_v126]
CPY [editor:h5pfilewrongextensioncontent,h5plib_v124],[editor:h5pfilewrongextensioncontent,h5plib_v126]
CPY [editor:h5pfilewrongextensiontitle,h5plib_v124],[editor:h5pfilewrongextensiontitle,h5plib_v126]
CPY [editor:height,h5plib_v124],[editor:height,h5plib_v126]
CPY [editor:hide,h5plib_v124],[editor:hide,h5plib_v126]
CPY [editor:hideimportantinstructions,h5plib_v124],[editor:hideimportantinstructions,h5plib_v126]
CPY [editor:hubpanellabel,h5plib_v124],[editor:hubpanellabel,h5plib_v126]
CPY [editor:illegaldecimalnumber,h5plib_v124],[editor:illegaldecimalnumber,h5plib_v126]
CPY [editor:imagelightboxprogress,h5plib_v124],[editor:imagelightboxprogress,h5plib_v126]
CPY [editor:imagelightboxtitle,h5plib_v124],[editor:imagelightboxtitle,h5plib_v126]
CPY [editor:importantinstructions,h5plib_v124],[editor:importantinstructions,h5plib_v126]
CPY [editor:insert,h5plib_v124],[editor:insert,h5plib_v126]
CPY [editor:invalidformat,h5plib_v124],[editor:invalidformat,h5plib_v126]
CPY [editor:language,h5plib_v124],[editor:language,h5plib_v126]
CPY [editor:librarymissing,h5plib_v124],[editor:librarymissing,h5plib_v126]
CPY [editor:licensecandistribute,h5plib_v124],[editor:licensecandistribute,h5plib_v126]
CPY [editor:licensecanholdliable,h5plib_v124],[editor:licensecanholdliable,h5plib_v126]
CPY [editor:licensecanmodify,h5plib_v124],[editor:licensecanmodify,h5plib_v126]
CPY [editor:licensecansublicense,h5plib_v124],[editor:licensecansublicense,h5plib_v126]
CPY [editor:licensecanusecommercially,h5plib_v124],[editor:licensecanusecommercially,h5plib_v126]
CPY [editor:licensecannotholdliable,h5plib_v124],[editor:licensecannotholdliable,h5plib_v126]
CPY [editor:licensedescription,h5plib_v124],[editor:licensedescription,h5plib_v126]
CPY [editor:licensefetchdetailsfailed,h5plib_v124],[editor:licensefetchdetailsfailed,h5plib_v126]
CPY [editor:licensemodalsubtitle,h5plib_v124],[editor:licensemodalsubtitle,h5plib_v126]
CPY [editor:licensemodaltitle,h5plib_v124],[editor:licensemodaltitle,h5plib_v126]
CPY [editor:licensemustincludecopyright,h5plib_v124],[editor:licensemustincludecopyright,h5plib_v126]
CPY [editor:licensemustincludelicense,h5plib_v124],[editor:licensemustincludelicense,h5plib_v126]
CPY [editor:licenseunspecified,h5plib_v124],[editor:licenseunspecified,h5plib_v126]
CPY [editor:listbelowmin,h5plib_v124],[editor:listbelowmin,h5plib_v126]
CPY [editor:listexceedsmax,h5plib_v124],[editor:listexceedsmax,h5plib_v126]
CPY [editor:listlabel,h5plib_v124],[editor:listlabel,h5plib_v126]
CPY [editor:loading,h5plib_v124],[editor:loading,h5plib_v126]
CPY [editor:loadingimageeditor,h5plib_v124],[editor:loadingimageeditor,h5plib_v126]
CPY [editor:logthischange,h5plib_v124],[editor:logthischange,h5plib_v126]
CPY [editor:loggedchanges,h5plib_v124],[editor:loggedchanges,h5plib_v126]
CPY [editor:maxscoresemanticsmissing,h5plib_v124],[editor:maxscoresemanticsmissing,h5plib_v126]
CPY [editor:metadata,h5plib_v124],[editor:metadata,h5plib_v126]
CPY [editor:metadatasharingandlicensinginfo,h5plib_v124],[editor:metadatasharingandlicensinginfo,h5plib_v126]
CPY [editor:missingproperty,h5plib_v124],[editor:missingproperty,h5plib_v126]
CPY [editor:missingtranslation,h5plib_v124],[editor:missingtranslation,h5plib_v126]
CPY [editor:newchangehasbeenlogged,h5plib_v124],[editor:newchangehasbeenlogged,h5plib_v126]
CPY [editor:newestfirst,h5plib_v124],[editor:newestfirst,h5plib_v126]
CPY [editor:nextimage,h5plib_v124],[editor:nextimage,h5plib_v126]
CPY [editor:nochangeshavebeenlogged,h5plib_v124],[editor:nochangeshavebeenlogged,h5plib_v126]
CPY [editor:nocontenttypesavailable,h5plib_v124],[editor:nocontenttypesavailable,h5plib_v126]
CPY [editor:nocontenttypesavailabledesc,h5plib_v124],[editor:nocontenttypesavailabledesc,h5plib_v126]
CPY [editor:nofollow,h5plib_v124],[editor:nofollow,h5plib_v126]
CPY [editor:notimageordimensionsfield,h5plib_v124],[editor:notimageordimensionsfield,h5plib_v126]
CPY [editor:numresults,h5plib_v124],[editor:numresults,h5plib_v126]
CPY [editor:numberfield,h5plib_v124],[editor:numberfield,h5plib_v126]
CPY [editor:ok,h5plib_v124],[editor:ok,h5plib_v126]
CPY [editor:onlynumbers,h5plib_v124],[editor:onlynumbers,h5plib_v126]
CPY [editor:or,h5plib_v124],[editor:or,h5plib_v126]
CPY [editor:orderitemdown,h5plib_v124],[editor:orderitemdown,h5plib_v126]
CPY [editor:orderitemup,h5plib_v124],[editor:orderitemup,h5plib_v126]
CPY [editor:outofstep,h5plib_v124],[editor:outofstep,h5plib_v126]
CPY [editor:pasteandreplacebutton,h5plib_v124],[editor:pasteandreplacebutton,h5plib_v126]
CPY [editor:pasteandreplacefromclipboard,h5plib_v124],[editor:pasteandreplacefromclipboard,h5plib_v126]
CPY [editor:pastebutton,h5plib_v124],[editor:pastebutton,h5plib_v126]
CPY [editor:pastecontent,h5plib_v124],[editor:pastecontent,h5plib_v126]
CPY [editor:pastecontentnotsupported,h5plib_v124],[editor:pastecontentnotsupported,h5plib_v126]
CPY [editor:pastecontentrestricted,h5plib_v124],[editor:pastecontentrestricted,h5plib_v126]
CPY [editor:pasteerror,h5plib_v124],[editor:pasteerror,h5plib_v126]
CPY [editor:pastefromclipboard,h5plib_v124],[editor:pastefromclipboard,h5plib_v126]
CPY [editor:pastenocontent,h5plib_v124],[editor:pastenocontent,h5plib_v126]
CPY [editor:pastetoonew,h5plib_v124],[editor:pastetoonew,h5plib_v126]
CPY [editor:pastetooold,h5plib_v124],[editor:pastetooold,h5plib_v126]
CPY [editor:popularfirst,h5plib_v124],[editor:popularfirst,h5plib_v126]
CPY [editor:previousimage,h5plib_v124],[editor:previousimage,h5plib_v126]
CPY [editor:proceedbuttonlabel,h5plib_v124],[editor:proceedbuttonlabel,h5plib_v126]
CPY [editor:readless,h5plib_v124],[editor:readless,h5plib_v126]
CPY [editor:readmore,h5plib_v124],[editor:readmore,h5plib_v126]
CPY [editor:recentlyusedfirst,h5plib_v124],[editor:recentlyusedfirst,h5plib_v126]
CPY [editor:reloadbuttonlabel,h5plib_v124],[editor:reloadbuttonlabel,h5plib_v126]
CPY [editor:removefile,h5plib_v124],[editor:removefile,h5plib_v126]
CPY [editor:removeimage,h5plib_v124],[editor:removeimage,h5plib_v126]
CPY [editor:removeitem,h5plib_v124],[editor:removeitem,h5plib_v126]
CPY [editor:requiredproperty,h5plib_v124],[editor:requiredproperty,h5plib_v126]
CPY [editor:resettooriginallabel,h5plib_v124],[editor:resettooriginallabel,h5plib_v126]
CPY [editor:savelabel,h5plib_v124],[editor:savelabel,h5plib_v126]
CPY [editor:savemetadata,h5plib_v124],[editor:savemetadata,h5plib_v126]
CPY [editor:screenshots,h5plib_v124],[editor:screenshots,h5plib_v126]
CPY [editor:scriptmissing,h5plib_v124],[editor:scriptmissing,h5plib_v126]
CPY [editor:searchresults,h5plib_v124],[editor:searchresults,h5plib_v126]
CPY [editor:selectfiletoupload,h5plib_v124],[editor:selectfiletoupload,h5plib_v126]
CPY [editor:selectlibrary,h5plib_v124],[editor:selectlibrary,h5plib_v126]
CPY [editor:semanticserror,h5plib_v124],[editor:semanticserror,h5plib_v126]
CPY [editor:show,h5plib_v124],[editor:show,h5plib_v126]
CPY [editor:showimportantinstructions,h5plib_v124],[editor:showimportantinstructions,h5plib_v126]
CPY [editor:tabtitlebasicfileupload,h5plib_v124],[editor:tabtitlebasicfileupload,h5plib_v126]
CPY [editor:tabtitleinputlinkurl,h5plib_v124],[editor:tabtitleinputlinkurl,h5plib_v126]
CPY [editor:textfield,h5plib_v124],[editor:textfield,h5plib_v126]
CPY [editor:thecontenttype,h5plib_v124],[editor:thecontenttype,h5plib_v126]
CPY [editor:thiswillpotentially,h5plib_v124],[editor:thiswillpotentially,h5plib_v126]
CPY [editor:title,h5plib_v124],[editor:title,h5plib_v126]
CPY [editor:toolong,h5plib_v124],[editor:toolong,h5plib_v126]
CPY [editor:tryagain,h5plib_v124],[editor:tryagain,h5plib_v126]
CPY [editor:tutorial,h5plib_v124],[editor:tutorial,h5plib_v126]
CPY [editor:unabletointerpreterror,h5plib_v124],[editor:unabletointerpreterror,h5plib_v126]
CPY [editor:unabletointerpretsolution,h5plib_v124],[editor:unabletointerpretsolution,h5plib_v126]
CPY [editor:unknownfieldpath,h5plib_v124],[editor:unknownfieldpath,h5plib_v126]
CPY [editor:uploadinstructionstitle,h5plib_v124],[editor:uploadinstructionstitle,h5plib_v126]
CPY [editor:uploadplaceholder,h5plib_v124],[editor:uploadplaceholder,h5plib_v126]
CPY [editor:uploadsuccess,h5plib_v124],[editor:uploadsuccess,h5plib_v126]
CPY [editor:uploadtablabel,h5plib_v124],[editor:uploadtablabel,h5plib_v126]
CPY [editor:uploadvideotitle,h5plib_v124],[editor:uploadvideotitle,h5plib_v126]
CPY [editor:uploading,h5plib_v124],[editor:uploading,h5plib_v126]
CPY [editor:uploadingthrobber,h5plib_v124],[editor:uploadingthrobber,h5plib_v126]
CPY [editor:usedforsearchingreportsandcopyrightinformation,h5plib_v124],[editor:usedforsearchingreportsandcopyrightinformation,h5plib_v126]
CPY [editor:videoquality,h5plib_v124],[editor:videoquality,h5plib_v126]
CPY [editor:videoqualitydefaultlabel,h5plib_v124],[editor:videoqualitydefaultlabel,h5plib_v126]
CPY [editor:videoqualitydescription,h5plib_v124],[editor:videoqualitydescription,h5plib_v126]
CPY [editor:warningchangebrowsingtoseeresults,h5plib_v124],[editor:warningchangebrowsingtoseeresults,h5plib_v126]
CPY [editor:warningnocontenttypesinstalled,h5plib_v124],[editor:warningnocontenttypesinstalled,h5plib_v126]
CPY [editor:warningupdateavailablebody,h5plib_v124],[editor:warningupdateavailablebody,h5plib_v126]
CPY [editor:warningupdateavailabletitle,h5plib_v124],[editor:warningupdateavailabletitle,h5plib_v126]
CPY [editor:width,h5plib_v124],[editor:width,h5plib_v126]
AMOS END
2024-02-06 08:10:03 +01:00
Jun Pataleta
42f5f85440
Merge branch 'MDL-72703-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-06 12:10:17 +08:00
Ilya Tregubov
226ed0720c
Merge branch 'MDL-80713-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-02-06 11:20:00 +08:00
Tim Hunt
7a8178bb64
MDL-80808 quiz: improve message when the student can't review
2024-02-05 10:49:04 +00:00
Jun Pataleta
7ddd5b33e7
Merge branch 'MDL-80060-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-05 16:06:53 +08:00
Huong Nguyen
54bbef1f5b
Merge branch 'MDL-80811-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-05 13:42:21 +07:00
Huong Nguyen
e756e542d0
Merge branch 'MDL-80718-403' of https://github.com/dpalou/moodle into MOODLE_403_STABLE
2024-02-05 13:37:21 +07:00
Huong Nguyen
468be1ea44
Merge branch 'MDL-67772-email-thread-headers-MOODLE_403_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_403_STABLE
2024-02-05 13:33:33 +07:00
Jun Pataleta
2209f6a8f1
Merge branch 'MDL-80694-403' of https://github.com/marinaglancy/moodle into MOODLE_403_STABLE
2024-02-05 14:26:59 +08:00
Huong Nguyen
4a07c82f34
Merge branch 'MDL-80537_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-02-05 11:28:44 +07:00
Huong Nguyen
cfcf3ab6a9
MDL-80713 Unit Tests: Message sink improvement
...
- Added a new method called get_messages_by_component()
This method will help to retreive the redirected messages
of specific component only
- Added a new method called get_messages_by_component_and_type()
This method will help to retreive the redirected messages
of specific component and type only
2024-02-05 09:24:34 +07:00
Eloy Lafuente (stronk7)
cc4a3ee105
MDL-80816 core: Bump actions to newer versions
...
All the new ones are Nodejs 20 based, because
Nodejs 16 is being deprecated @ GH environments.
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20
2024-02-02 17:16:13 +01:00
Tim Hunt
eee0a8e89f
MDL-79527 questions: category tree loading handling bad data
...
It should always be the case that a question category and its parent
category belong to the same context. However, over the years, we have
observed that this becomes violated by some data in some Moodle sites.
(The suspicion is that this is a backup/restor bug of some sort which
has never been tracked down.)
Since this happens, we should make the code robust to it, which is what
this change does. It ensure that when loading child categories, we only
consider ones in the same context.
2024-02-02 11:35:23 +00:00
Ilya Tregubov
48fbf7ed14
weekly release 4.3.2+
2024-02-02 08:56:22 +08:00
Ilya Tregubov
8387191264
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-02-02 08:56:19 +08:00
james-cnz
44a72bc059
MDL-78095 course: Respect is_bulk_editable()
2024-02-02 10:41:41 +13:00
Paul Holden
b7d38b140f
MDL-80811 mod_quiz: fix question preview popup event handling.
...
* Fix the selector used to identify the preview icon element;
* Remove redundant code for handling it's click event, because it
already registers itself with a popup action which handles that.
2024-02-01 20:39:03 +00:00
David Mudrák
36febde242
MDL-80725 lang: Fix Behat regressions related to the question rename
2024-02-01 20:04:44 +01:00
David Mudrák
a7bc47969e
MDL-80725 lang: Fix Help and documentation regressions
2024-02-01 20:04:34 +01:00
Paul Holden
f2358a0d24
MDL-80809 course: correct context arguments when formatting strings.
2024-02-01 18:16:23 +00:00
Tim Hunt
6505fbbdb1
MDL-80537 question bank: escape plain text display of question text
2024-02-01 16:26:54 +00:00
Paul Holden
cfd56552f7
MDL-80803 course: observe mod availability before update notification.
2024-02-01 14:51:33 +00:00
Brendan Heywood
911d28ca9c
MDL-67772 mod_forum: Fix email threading for first message
2024-02-01 16:26:59 +11:00
Huong Nguyen
74b3080301
Merge branch 'MDL-80485-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 11:31:00 +07:00
Huong Nguyen
9d3ca32e49
Merge branch 'MDL-80660-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 11:23:41 +07:00
Huong Nguyen
4791e99ecd
Merge branch 'MDL-80538-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-02-01 11:17:58 +07:00
Simey Lameze
52695bbb94
MDL-80538 phpdoc: add missing null parameter type to phpdoc
2024-02-01 12:07:26 +08:00
info@eWallah.net
2e3a273b53
MDL-80538 phpdoc: Incorrect dataformat type documentation in table lib
2024-02-01 12:07:26 +08:00
Huong Nguyen
e991ae96e2
Merge branch 'MDL-71665-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-02-01 11:06:54 +07:00
Huong Nguyen
3c78b6304e
Merge branch 'MDL-80450-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 11:01:18 +07:00
Huong Nguyen
9e31deb6d8
Merge branch 'MDL-80692-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 10:57:31 +07:00
Huong Nguyen
8df121e399
Merge branch 'MDL-73010-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 10:50:21 +07:00
Jun Pataleta
e7ebe317a5
Merge branch 'MDL-74775-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-02-01 11:47:08 +08:00
Huong Nguyen
455a187b0a
Merge branch 'MDL-29261-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 10:45:33 +07:00
Huong Nguyen
fa924d4936
Merge branch 'MDL-80706-403' of https://github.com/marinaglancy/moodle into MOODLE_403_STABLE
2024-02-01 10:43:56 +07:00
Jun Pataleta
10d5a2bb2a
Merge branch 'MDL-80247-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 11:39:01 +08:00
Jun Pataleta
747c921e6c
Merge branch 'MDL-79725-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-02-01 11:33:15 +08:00
Ilya Tregubov
43922d6125
Merge branch 'MDL-80202-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 10:39:08 +08:00
Ilya Tregubov
af5161261c
Merge branch 'MDL-80199-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 10:31:23 +08:00
Ilya Tregubov
7368993bb8
Merge branch 'MDL-80727-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-01 10:26:45 +08:00
Huong Nguyen
c0930849d6
Merge branch 'MDL-80289-403' of https://github.com/call-learning/moodle into MOODLE_403_STABLE
2024-02-01 08:55:38 +07:00
David Mudrák
6142dd41f2
MDL-80725 lang: Use the fixed strings in tests, too
2024-01-31 22:11:01 +01:00
Helen Foster
1f2ac8c548
MDL-80725 lang: Import fixed English strings (en_fix)
2024-01-31 19:42:26 +01:00
Paul Holden
c58a4359e8
MDL-80766 gradereport_grader: omit max constraint for unlimited grades.
2024-01-31 18:26:40 +00:00
Noel De Martin
9c23c1735e
MDL-80784 behat: Disable SSL checks for app initialization
2024-01-31 14:08:51 +01:00
Ilya Tregubov
ad243c92e5
Merge branch 'MDL-80575-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-31 09:24:53 +08:00
Paul Holden
b6121b9d1a
MDL-80767 theme_boost: right align process monitor to block drawer.
2024-01-31 00:03:26 +00:00
Paul Holden
40ae05718c
MDL-80768 output: stricter progress bar component percentage type.
...
Avoid mixing float/string types, where the decimal separator could
vary according to current locale.
2024-01-30 23:28:40 +00:00
Paul Holden
0739484ac1
MDL-80738 quiz_statistics: ensure tests uses a DB-backed lock class.
...
Fix the test file/class name too.
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2024-01-30 15:38:58 +00:00
Paul Holden
c7f9966a35
MDL-80692 calendar: calculate today relative to users own timezone.
...
Co-authored-by: Archil Abuladze <armiworker@gmail.com >
2024-01-30 14:39:06 +00:00
Paul Holden
4a68477a49
MDL-74500 user: method to determine whether to show profile fields.
...
The new API replaces identical behaviour in existing calling code, but
allows for profile field types to override/separate the logic used to
show the field and determine whether it's empty
2024-01-30 11:33:58 +00:00
Paul Holden
73ea78fcc9
MDL-80485 tool_lp: consistent activity icon element styling.
2024-01-30 11:28:45 +00:00
Jun Pataleta
d48e967e89
MDL-79674 behat: Use proper tags for testing WCAG 2.1 criteria
...
`wcag2a` and `wcag2aa` refer to WCAG 2.0 standards. We should be using
`wcag21a` and `wcag21aa` to test against WCAG 2.1 standards.
See:
https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#axe-core-tags
2024-01-30 16:21:02 +08:00
Jun Pataleta
09414b1184
MDL-79674 behat: axe-core version fixes
...
* Update \behat_accessibility::run_axe_validation_for_tags()'s
PHPDoc block to reflect the current version.
* Fix incorrect copyright tag for the library
2024-01-30 16:21:01 +08:00
Andrew Nicols
4826318d38
MDL-79003 js: Bump stylelint and components
...
Stylelint 15 deprecates a heap of rules which will be removed in 16.
We can't use 16 because it's ESM and requires a big restructure of our
build process.
We can temporarily silence the deprecations and then when we update our
build tooling we can make use of @stylistic/stylelint-plugin to add the
rules back.
This commit:
- bumps stylelint and related dependencies accordingly
- fixes issues identified with newer sniffs
- temporarily silences deprecation warnings
2024-01-30 12:21:03 +08:00
Andrew Nicols
2b4ddd43ae
MDL-79003 js: Move rollup ratelimit to generateBundle
...
There are two phases of a build: Building, and then Outputting.
We were previously listening on the final event for the build phase, but
we should be listening to the final event of the output phase.
2024-01-30 12:21:03 +08:00
Andrew Nicols
c8f80a6e57
MDL-79003 js: Move browserlist config to package.json
2024-01-30 12:21:03 +08:00
Andrew Nicols
1db97f7655
MDL-79003 js: Standard package bump - glob
2024-01-30 12:21:03 +08:00
Andrew Nicols
acbc1e2f19
MDL-79003 js: Standard package bump - async
2024-01-30 12:21:03 +08:00
Andrew Nicols
a57d584b63
MDL-79003 js: Remove grunt-contrib-uglify
...
We stopped using this when we updated our processes to support ESMs in
MDL-62497. Removal of the dependency was missed at the time.
2024-01-30 12:21:02 +08:00
Andrew Nicols
ef0e06808a
MDL-79003 js: Standard package bump - grunt
2024-01-30 12:21:02 +08:00
Andrew Nicols
eeff8efe54
MDL-79003 js: Standard package bump - watchman
2024-01-30 12:21:02 +08:00
Andrew Nicols
6bfbf54f23
MDL-79003 js: Standard package bump - ajv
2024-01-30 12:21:02 +08:00
Andrew Nicols
6038897710
MDL-79003 js: Use our own jsdoc wrapper
...
grunt-jsdoc is abandoned and only works with an older version of jsdoc.
This is a very simple wrapper around jsdoc itself.
This commit also includes a fix for broken docs.
2024-01-30 12:21:01 +08:00
Andrew Nicols
e3ec5309f6
MDL-79003 core: Bump eslint
2024-01-30 12:21:01 +08:00
Andrew Nicols
d3f1b1ccbe
MDL-79003 core: Bump NodeJS to lts/iron (NodeJS 20)
2024-01-30 12:21:01 +08:00
Huong Nguyen
3ff7d53def
Merge branch 'MDL-80523-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-30 09:42:09 +07:00
Laurent David
14503ba527
MDL-71665 core_courseformat: Sync activity name in the page
...
* Changing the name of an activity should change the access restriction messages.
* Introduction of a marker as data-cm-name-for to be able to change any
occurence of a course module name in the page when this one changes.
2024-01-29 09:01:14 +01:00
Andrew Nicols
4e65a8f094
MDL-80753 tiny_premium: Load TinyMCE Premium for the current editor ver
2024-01-29 15:06:48 +08:00
Stefan Hanauska
b684c13efc
MDL-80716 course: Fix group button position
2024-01-29 06:34:15 +01:00
Huong Nguyen
7b9d56e0df
MDL-74775 adhoc_task: Do not clear the timecreated of failed tasks
2024-01-29 10:02:30 +07:00
Jun Pataleta
9a49d022aa
Merge branch 'MDL-69225-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
2024-01-29 10:20:13 +08:00
Jun Pataleta
068eec99a8
Merge branch 'MDL-78311-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-29 10:08:31 +08:00
Jun Pataleta
12704fb808
Merge branch 'M403-MDL-79930' of https://github.com/marcusboon/moodle into MOODLE_403_STABLE
2024-01-29 10:04:30 +08:00
Marcus Boon
800acd242a
MDL-79930 mod_forum: Use MUC for forum count discussions
2024-01-29 08:34:15 +10:00
AMOS bot
bca168b02c
Automatically generated installer lang files
2024-01-27 00:11:31 +00:00
Paul Holden
b6a66ef378
MDL-78311 core: fix host parameter type cleaning by IPv4 address.
2024-01-25 23:39:38 +00:00
Paul Holden
4e62e08558
MDL-80727 tool_task: replace hard-coded adhoc task runner strings.
2024-01-25 22:46:17 +00:00
Paul Holden
4a8cd5019f
MDL-80124 admin: prevent deletion of pre-installed preset definitions.
2024-01-25 21:51:48 +00:00
Sara Arjona
101d476c33
MDL-69225 h5pactivity: Review when and which banners display
...
The UX team proposal is to display two different notifications, to avoid confusion:
1. When the user is in preview mode:
Message: 'You are in preview mode.'
Notification Type: Information (blue), with the information permanently visible and not dismissible,
ensuring continuous awareness.
2. When activity tracking is disabled:
Message: 'Attempt tracking is not enabled for this activity. You can enable it in Settings.'
Notification Type: Warning (yellow) with a close icon for dismissal if tracking is intentionally disabled.
These notifications should only be visible to teachers and content creators, not students.
If a teacher also has a student role, this information should not appear when logged in as a student.
That's why the pre-existing is_tracking_enabled() function has been updated to only check if tracking
is on for an activity, without considering user capabilities (that's why the $user parameter has been
removed from this function too). Besides, a new function called can_submit() has been created to find
out if users are allowed to submit an activity.
2024-01-25 17:48:20 +01:00
Sara Arjona
6080ef9fe7
weekly release 4.3.2+
2024-01-25 16:48:27 +01:00
Paul Holden
aae5c2b7db
MDL-80660 user: preserve return URL upon role switch from frontpage.
2024-01-25 15:40:55 +00:00
Dani Palou
de6f5d6333
MDL-80718 quiz: Apply overrides in mod_quiz_get_combined_review_options
2024-01-25 10:04:09 +01:00
Jun Pataleta
ae60d04ffa
Merge branch 'MDL-80656-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-01-25 12:14:00 +08:00
Jun Pataleta
554b7a2bc4
Merge branch 'MDL-80673-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-01-25 12:05:53 +08:00
Huong Nguyen
64909575cf
Merge branch 'MDL-80224-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-25 11:01:48 +07:00
Jake Dallimore
1d8dd426aa
MDL-80673 mod_forum: fix modal creation when viewing student grades
...
Fixes a regression caused by MDL-78324.
2024-01-25 11:49:59 +08:00
Huong Nguyen
5c24699cbb
Merge branch 'MDL-80516-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-25 10:45:28 +07:00
Huong Nguyen
1129d43162
Merge branch 'MDL-76671-403' of https://github.com/jleyva/moodle into MOODLE_403_STABLE
2024-01-25 10:24:31 +07:00
Huong Nguyen
a538c90eec
Merge branch 'MDL-80650_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE
2024-01-25 09:24:56 +07:00
Ilya Tregubov
ef367f6b6e
Merge branch 'MDL-80098-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-25 10:20:30 +08:00
Huong Nguyen
569d925366
Merge branch 'MDL-80676-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-01-25 09:07:47 +07:00
Ilya Tregubov
9548f6bef3
Merge branch 'MDL-79927-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-25 09:53:46 +08:00
Huong Nguyen
663e4efbd6
Merge branch 'MDL-76716-m403' of https://github.com/stefangub/moodle into MOODLE_403_STABLE
2024-01-25 08:51:07 +07:00
Ilya Tregubov
e74cdb09a4
Merge branch 'MDL-79159-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-01-25 09:35:48 +08:00
Ilya Tregubov
2fee3b63b0
Merge branch 'MDL-80653-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-25 09:25:47 +08:00
Sara Arjona
324b256141
Merge branch 'MDL-80458-403' of https://github.com/mickhawkins/moodle into MOODLE_403_STABLE
2024-01-24 17:15:00 +01:00
Sara Arjona
42074afdfa
Merge branch 'MDL-79681-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-24 17:02:26 +01:00
Sara Arjona
7aaab961cc
Merge branch 'MDL-79152-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-01-24 16:02:39 +01:00
Paul Holden
abde115855
MDL-78173 user: correct return URL upon login as from frontpage.
2024-01-24 14:58:23 +00:00
Sara Arjona
378614ed32
Merge branch 'MDL-80668-403' of https://github.com/pedrojordao/moodle into MOODLE_403_STABLE
2024-01-24 15:16:15 +01:00
Sara Arjona
7d533d3f0f
Merge branch 'MDL-78888-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-24 13:25:56 +01:00
Sara Arjona
9f0ab79ba9
Merge branch 'MDL-76723-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-01-24 13:13:10 +01:00
Sara Arjona
2a7697dc75
Merge branch 'MDL-79940-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-01-24 09:22:37 +01:00
Angelia Dela Cruz
b1c6e30a90
MDL-79159 mod_lesson: Behat coverage for lesson question max attempts
2024-01-24 16:17:26 +08:00
Ilya Tregubov
e8c1759b02
Merge branch 'MDL-80270-403' of https://github.com/mihailges/moodle into MOODLE_403_STABLE
2024-01-24 13:46:53 +08:00
Michael Hawkins
22c10c8b14
MDL-80458 core: Hide MoodleNet share bulk option if feature disabled
2024-01-24 11:53:41 +08:00
Simey Lameze
e06ad7179e
MDL-80656 behat: remove unnecessary activity duplication steps
2024-01-24 11:14:26 +08:00
Angelia Dela Cruz
deb73ef1a4
MDL-79940 mod_workshop: Behat to confirm review button for reviewers
2024-01-24 09:02:45 +08:00
Ilya Tregubov
18b04fed1b
Merge branch 'MDL-80320-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE
2024-01-24 08:56:28 +08:00
Marina Glancy
d26d56ee34
MDL-80706 customfield: php8.1 warning about passing null to strlen
2024-01-23 14:58:17 +00:00
Marina Glancy
6f70b7f650
MDL-80694 external: fix return param in inplace_editable WS
2024-01-23 14:20:56 +00:00
Laurent David
2f024231da
MDL-80320 core_courseformat: Disable group selection
...
* When forced groupmode is enabled for the course:
- the group selection in the activity card be disabled
- the activity action menu groupmode will not be visible.
- only the icon will be visible
* Add new test to check for visibility
2024-01-23 11:31:42 +01:00
Stefan Van der Vyver
54bf8d378c
MDL-76716 grades: handle open delegated transaction on grade delete
2024-01-23 10:10:24 +00:00
Paul Holden
0ac0b5dbb1
MDL-80512 tool_task: absolute path to required library file.
2024-01-23 09:18:12 +00:00
Jun Pataleta
5ba3b9e9a9
Merge branch 'MDL-80271-MOODLE_403_STABLE' of https://github.com/PhMemmel/moodle into MOODLE_403_STABLE
2024-01-23 16:32:57 +08:00
Paul Holden
67f5534d53
MDL-80324 webservice: correct current page URL for user settings.
2024-01-23 08:22:48 +00:00
Sara Arjona
3b53984d0d
Merge branch 'MDL-80339-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-01-23 07:48:26 +01:00
Jake Dallimore
48ec9b3bd2
MDL-79725 libraries: fix auth URL generation in lti1p3 library
2024-01-23 12:52:37 +08:00
Ilya Tregubov
beb8242c98
Merge branch 'MDL-75579-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-01-23 12:04:42 +08:00
Jun Pataleta
d132858820
Merge branch 'MDL-78219-403' of https://github.com/snake/moodle into MOODLE_403_STABLE
2024-01-23 11:59:26 +08:00
Huong Nguyen
7d4f09b978
MDL-75579 Backup: Prevent failed course restore task to be retried
2024-01-23 09:41:23 +07:00
Huong Nguyen
8c719efc1b
MDL-75579 adhoc_task: Implement no-retry flag
2024-01-23 09:41:23 +07:00
Angelia Dela Cruz
198a42a084
MDL-80339 mod_lesson: Behat to confirm grade visibility in lesson
2024-01-23 10:12:05 +08:00
Jun Pataleta
da9bbf5a96
Merge branch 'MDL-79029-403' of https://github.com/ferranrecio/moodle into MOODLE_403_STABLE
2024-01-23 09:21:49 +08:00
Sara Arjona
a8fe1be288
Merge branch 'MDL-80559-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-22 16:23:30 +01:00
sam marshall
d44fe7013d
MDL-80693 core_user: search() fails if no standard identify fields
2024-01-22 12:54:37 +00:00
Paul Holden
010d2ffb83
MDL-80202 repository_local: null check when recursing child nodes.
2024-01-22 10:19:45 +00:00
Ferran Recio
e679f8f11f
MDL-79029 behat: optimize behat tests
...
Replace some add activity to section steps to the new
add activity to course section so they are faster and do
not require javascript.
2024-01-22 11:15:21 +01:00
Ferran Recio
9f7163869e
MDL-79029 behat: new add activity steps
2024-01-22 11:15:21 +01:00
Paul Holden
6435680f5a
MDL-80653 h5p: handle content type creation errors in test.
...
See also same in c7d08f85 .
2024-01-22 09:46:10 +00:00
Huong Nguyen
316865e2ae
Merge branch 'MDL-80532-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-22 15:39:11 +07:00
Huong Nguyen
873baf6623
Merge branch 'MDL-80499-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-22 15:36:20 +07:00
Jun Pataleta
466009c2a4
Merge branch 'MDL-80377-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-01-22 16:32:40 +08:00
Jun Pataleta
74a3fa91e4
Merge branch 'MDL-80374-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-22 16:29:38 +08:00
Jun Pataleta
3beb0e2080
Merge branch 'MDL-80323-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-22 16:26:06 +08:00
Jun Pataleta
fa50ca4ba1
Merge branch 'MDL-80232-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-22 15:04:43 +08:00
Pedro Jordao
eb1eee3b71
MDL-80668 modal: Change aria roles on modal to improve accessibility.
...
The roles we were using were no longer the most recommended for modals.
2024-01-19 08:11:39 -03:00
Paul Holden
32487e36d9
MDL-79577 user: better parsing of user menu lang string identifiers.
2024-01-19 09:49:19 +00:00
Matthias Opitz
ccbb6bd37e
MDL-79988 course: checking for cached empty modnames
...
Check if empty modnames have been cached and if so retrieve them again.
2024-01-19 09:41:23 +00:00
Angelia Dela Cruz
ccec3cf2e1
MDL-80377 block: Behat confirming folder file in recent activity block
2024-01-19 14:29:20 +08:00
Jun Pataleta
84662768ec
MDL-80676 core: Remove unnecessary aria-labelledby for action menu links
...
The aria-labelledby attribute for the action menu link's <a> tag is
unnecessary as the <span> tag containing the action menu link's text
is already within the <a> tag and already serves as the link's label by
default.
2024-01-19 14:12:41 +08:00
Philipp Memmel
41b9fb7623
MDL-80271 core_user: Only update record if necessary
2024-01-19 05:59:27 +00:00
Huong Nguyen
9d3e70fe06
weekly release 4.3.2+
2024-01-19 11:23:54 +07:00
Paul Holden
f44de225ac
MDL-79514 mod_feedback: ensure base item class library is required.
2024-01-18 20:46:33 +00:00
Paul Holden
87617b8daa
MDL-80667 task: preserve environment when running tasks from web.
...
For sites that rely on environment variables to set configuration,
ensure they are also present when executing task process.
Co-authored-by: Olivier Wenger <olivier.wenger@liip.ch >
2024-01-18 16:54:06 +00:00
Paul Holden
6ff1d5393a
MDL-79433 tiny_autosave: allow non-logged in user calls to webservice.
...
Accounts for the editor being added to pages for non-logged in users,
such as the "New account" page.
2024-01-18 10:49:16 +00:00
Paul Holden
782e402138
MDL-73010 repository_filesystem: fix directory read comparison.
...
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2024-01-18 10:02:16 +00:00
Tim Hunt
02dc1a1079
MDL-80650 quiz restore: restore of max marks review option from pre 4.2
2024-01-18 09:26:10 +00:00
Andrew Nicols
4064887a19
MDL-79152 editor_tiny: Enable browser-based spell-checking
2024-01-18 12:53:38 +08:00
Andrew Nicols
fc8bbc49ea
Merge branch 'MDL-80201-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-01-18 11:34:28 +08:00
Jun Pataleta
d90f7daba1
Merge branch 'MDL-72308-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-18 11:30:18 +08:00
Huong Nguyen
acecd19472
Merge branch 'MDL-80403-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-01-18 10:25:36 +07:00
Jun Pataleta
5881620471
Merge branch 'MDL-79498-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-01-18 10:59:23 +08:00
Andrew Nicols
06f9ad8a38
Merge branch 'MDL-80591_403' of https://github.com/stronk7/moodle into MOODLE_403_STABLE
2024-01-18 10:57:20 +08:00
Justus Dieckmann
f7010a6d9b
MDL-79498 javascript: Adjust get_string function signature
...
Reflect param and lang being optional parameters.
2024-01-18 10:55:42 +08:00
Andrew Nicols
5cd72ef46d
Merge branch 'MDL-80041-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE
2024-01-18 10:54:00 +08:00
Sara Arjona
24585543ba
Merge branch 'MDL-80058-403' of https://github.com/meirzamoodle/moodle into MOODLE_403_STABLE
2024-01-17 18:46:34 +01:00
Sara Arjona
becb952d29
Merge branch 'MDL-80081-403' of https://github.com/meirzamoodle/moodle into MOODLE_403_STABLE
2024-01-17 18:18:10 +01:00
Juan Leyva
dd660845cc
MDL-76671 tool_mobile: Allow OAuth launches after accepting policies
2024-01-17 16:50:47 +01:00
Sara Arjona
d56b3a7911
Merge branch 'MDL-80255-403' of https://github.com/aanabit/moodle into MOODLE_403_STABLE
2024-01-17 11:51:10 +01:00
Paul Holden
887da1cd67
MDL-78888 tool_uploaduser: case-insensitive email matching on upload.
2024-01-17 09:01:12 +00:00
Paul Holden
827446a7ba
MDL-80098 core: correct arguments for invalidmoduleid exceptions.
...
The "invalid module ID" should be passed as the `$a` constructor
argument.
2024-01-17 08:58:55 +00:00
Paul Holden
82244afc3a
MDL-80060 enrol_manual: correct exception constructor arguments.
2024-01-17 08:57:44 +00:00
Paul Holden
4d0d8f7f1b
MDL-78417 tool_uploaduser: handle empty default in custom menu field.
2024-01-17 08:55:54 +00:00
Angelia Dela Cruz
472a76d0c8
MDL-77998 Behat: Add behat coverage for preferences navigation
2024-01-17 15:55:32 +08:00
Huong Nguyen
835b2d01cc
Merge branch 'MDL-79701-403' of https://github.com/rjnl/moodle into MOODLE_403_STABLE
2024-01-17 14:08:25 +07:00
Huong Nguyen
1d54f1f1f9
Merge branch 'MDL-80498_403' of https://github.com/santoshndev/moodle into MOODLE_403_STABLE
2024-01-17 10:38:04 +07:00
Huong Nguyen
144f2f0a52
Merge branch 'MDL-80260-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-17 10:17:35 +07:00
Amaia Anabitarte
05dc4a42d5
MDL-80255 mod_scorm: Remove 'Completed' as default completion
2024-01-16 17:27:23 +01:00
Paul Holden
8145ad6b6a
MDL-72703 profilefield_text: validate field length when editing.
...
This also means the same validation is applied elsewhere, such as
in the upload user tool.
2024-01-16 09:54:14 +00:00
Sara Arjona
aa0b05ff8e
Merge branch 'MDL-80266-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-01-16 07:20:10 +01:00
Andrew Nicols
c5713d6b76
MDL-80266 mod_forum: Reset subscription caches between behat tests
2024-01-16 13:34:31 +08:00
Ilya Tregubov
bf61a48eeb
Merge branch 'MDL-69615-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-01-16 10:57:24 +08:00
Huong Nguyen
806dcd5eee
MDL-69615 core_backup: Send backup report email once the tasks are done
2024-01-16 09:31:03 +07:00
Sara Arjona
8929efb8b5
Merge branch 'MDL-59467-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-01-15 17:28:18 +01:00
Sara Arjona
b6d4be7a3c
Merge branch 'MDL-79519-403_url_select' of https://github.com/Tsheke/moodle into MOODLE_403_STABLE
2024-01-15 17:03:05 +01:00
Paul Holden
97e996c764
MDL-29261 tool_uploaduser: warn user about invalid data values.
2024-01-15 15:14:59 +00:00
Paul Holden
e7d19f0cb3
MDL-72308 mod_forum: update legacy uses of formchangechecker module.
2024-01-15 14:26:00 +00:00
Paul Holden
70f7b59c3c
MDL-80516 core: more robust plugin update component checking.
...
Occurs when a plugin in incorrectly removed (via file system only,
rather than following proper uninstall process), and also contains
it's own sub-plugins.
In the above scenario, the update would request and receive back a
response for a plugin whose name was comprised of an empty string,
subsequently causing errors when processing said response.
2024-01-15 14:10:08 +00:00
Johnny Tsheke
6249537886
MDL-79519 course: remove null to use the default value.
2024-01-15 09:09:33 -05:00
Sara Arjona
f08dadcdf8
Merge branch 'MDL-79091-MOODLE_403_STABLE' of https://github.com/jay-oswald/moodle into MOODLE_403_STABLE
2024-01-15 12:31:41 +01:00
Jake Dallimore
631d94a872
MDL-78219 enrol_lti: fix auth method usage in base testcase
2024-01-15 15:44:24 +08:00
Jake Dallimore
796935efc2
MDL-78219 auth_lti: ensure user updates happen after authentication
...
If an existing session is active at the time of launch, that user id
appears in the user_updated log. This log should show the launching user
updating their own record, not someone else. To resolve this, auth the
user before making any record updates so that the event gets the correct
user id.
2024-01-15 15:44:24 +08:00
Jake Dallimore
a58f004545
MDL-78219 auth_lti: force empty session before launch user creation
...
If an existing session is active at the time of launch, that user id
appears in the user_created log, incorrectly (it should be system/0).
This patch makes sure that any existing session is terminated before
creation of a new user during launches.
2024-01-15 15:44:24 +08:00
Huong Nguyen
42b22b46fe
MDL-69615 privacy: Use task trait for unit tests
2024-01-15 11:24:02 +07:00
Huong Nguyen
99f60697ec
MDL-69615 core_task: Add a task trait
2024-01-15 11:24:02 +07:00
Eloy Lafuente (stronk7)
f192195a76
MDL-80591 phpunit: delegate run to phpunit binary
...
Instead of manually including composer's auto-loading
stuff and then run PHPUnit\TextUI\Command::main(), now
we are using the PHPUnit "binary".
That way behaviour should be 100% the same than
running vendor/bin/phpunit (recommended instead of util.php --run).
Also, note that, for other util.php commands, we still need
composer's auto-loading to happen, so we have moved it immediately
after the --run command.
Finally, a few more file_exists() conditions have been added
to ensure that PHPUnit is properly installed. Redundant but...
2024-01-13 18:31:45 +01:00
Paul Holden
22e5c8aba6
MDL-70058 customfield: reference field element names correctly.
...
In the course external create/update methods, we must ensure that
the correct form element names are used. Specifically because the
textarea field type uses non-standard name.
2024-01-12 10:29:25 +00:00
Jun Pataleta
9e8c90c86c
Merge branch 'MDL-80526-MOODLE_403_STABLE' of https://github.com/ScottVerbeek/moodle into MOODLE_403_STABLE
2024-01-12 17:44:32 +08:00
Jun Pataleta
b0c3178932
Merge branch 'MDL-80192-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-12 17:28:27 +08:00
Paul Holden
38f2164bfe
Merge branch 'MDL-80564-403' of https://github.com/marinaglancy/moodle into MOODLE_403_STABLE
2024-01-12 09:07:40 +00:00
Santosh Nagargoje
fa51aa95a6
MDL-80498 group: Added required rule for filepicker field
2024-01-12 14:29:41 +05:30
meirzamoodle
b149b40a9c
MDL-80081 editor_tiny: Allow empty content in the i tag
2024-01-12 15:42:14 +07:00
Paul Holden
d369e3628e
MDL-80192 reportbuilder: ensure filter form group elements have labels.
...
This ensures compliance with the following WCAG criterion:
"H71: Providing a description for groups of form controls using fieldset
and legend elements".
2024-01-12 08:39:40 +00:00
Paul Holden
f5192ab0b3
MDL-80192 forms: implement method to set group element hidden label.
...
This is consistent with the API used for other form element types,
in order to provide screen-readable text in the fieldset legend while
not necessarily wanting to display said label.
The new class property is automatically exported to the template via
the `templatable_form_element` trait.
2024-01-12 08:33:35 +00:00
Jun Pataleta
0e676bd8c2
Merge branch 'MDL-80353-MOODLE_403_STABLE' of https://github.com/marinaglancy/moodle into MOODLE_403_STABLE
2024-01-12 16:20:44 +08:00
Ilya Tregubov
076379a485
weekly release 4.3.2+
2024-01-12 09:11:37 +08:00
Marina Glancy
5a94a957bc
MDL-80564 reportbuilder: Consistent permission check for user full name
2024-01-11 14:45:28 +00:00
Paul Holden
22c6b1a162
MDL-80575 mod_forum: correct field name for "Notify students" setting.
2024-01-11 11:44:28 +00:00
ScottVerbeek
a83ac73434
MDL-80526 tool_filetypes: Test required icons in test_get_file_icons
...
The test now checks for the required icons, without needing to specify a count.
Allowing developers to add custom icons to the folder pix/f/mycustomicon.svg without needing to alter any unit test.
2024-01-11 14:45:57 +10:00
Jun Pataleta
50dd5eaab1
Merge branch 'MDL-80246-403' of https://github.com/mihailges/moodle into MOODLE_403_STABLE
2024-01-11 11:50:00 +08:00
Huong Nguyen
4743212ffb
Merge branch 'MDL-80452-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-01-11 10:44:33 +07:00
Huong Nguyen
f07be5e649
Merge branch 'MDL-80229-403' of https://github.com/davewoloszyn/moodle into MOODLE_403_STABLE
2024-01-11 10:36:07 +07:00
Angelia Dela Cruz
3ccc4d1681
MDL-80452 mod_h5pactivity: Behat for H5Pactivity duplication and delete
2024-01-11 11:20:19 +08:00
Ilya Tregubov
4d52b09e84
Merge branch 'MDL-80446-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-11 10:44:28 +08:00
Ilya Tregubov
2fe32ba8cf
Merge branch 'MDL-80357_403_STABLE' of https://github.com/SimonasAdams/moodle into MOODLE_403_STABLE
2024-01-11 10:38:38 +08:00
Ilya Tregubov
a2085cbfaf
Merge branch 'MDL-80333_403' of https://github.com/santoshndev/moodle into MOODLE_403_STABLE
2024-01-11 10:34:43 +08:00
Paul Holden
f1d798a1e0
MDL-80499 datafield_date: specify UTC time when editing field content.
2024-01-10 19:23:11 +00:00
Paul Holden
c86be8ac94
MDL-80199 report_log: remove duplicate "all logs" breadcrumb.
2024-01-10 10:07:53 +00:00
Santosh Nagargoje
a1cf1082b7
MDL-80333 Authentication: Fixed new login notification adhoc task
2024-01-10 15:28:44 +05:30
Paul Holden
d239ef73c9
MDL-78621 mod_choice: verify limited responses before showing "full".
2024-01-10 09:47:39 +00:00
Sara Arjona
36c5f8d2e0
Merge branch 'MDL-80340-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-01-10 07:35:03 +01:00
Huong Nguyen
85fb00c041
Merge branch 'MDL-80382-403' of https://github.com/andelacruz/moodle into MOODLE_403_STABLE
2024-01-10 10:30:14 +07:00
meirzamoodle
0f752d0bca
MDL-80058 editor_tiny: add preformatted format to the blocks
2024-01-10 09:38:38 +07:00
Paul Holden
f7829013e5
MDL-80559 badges: set contexturl/name in badge awarded notification.
2024-01-09 17:16:41 +00:00
Simey Lameze
0953e51829
MDL-80340 behat: make query to fetch h5p attempts less strict
2024-01-09 16:15:49 +08:00
Angelia Dela Cruz
aba3431ae9
MDL-80382 behat: Replace "Frist" typos in Behat tests to "First"
2024-01-09 10:52:51 +08:00
Sara Arjona
1a7ab557b6
Merge branch 'MDL-78999_403' of https://github.com/santoshndev/moodle into MOODLE_403_STABLE
2024-01-08 16:38:38 +01:00
Paul Holden
142df0645c
MDL-80323 h5p: fail content type retrieval task on errors.
...
It's better for the task to fail gracefully rather than silently
swallow any errors, so that the task API can schedule re-tries.
If the endpoint is temporarily down and/or misbehaving, this will
allow admins to have clearer failures.
2024-01-08 10:06:36 +00:00
Huong Nguyen
a1f2d724cc
Merge branch 'MDL-73639-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-01-08 16:08:43 +07:00
Simey Lameze
fb59440170
MDL-73639 behat: improvements to the new recover grades test
2024-01-08 13:09:03 +08:00
Angelia Dela Cruz
f91e98828d
MDL-73639 core_grades: Behat to test Recover grades default settings
2024-01-08 13:09:03 +08:00
Rajneel Totaram
e00b9ca316
MDL-80383 mod_book: Make book content use full width on small screens
2024-01-08 15:35:37 +12:00
Ilya Tregubov
f29220e39d
Merge branch 'MDL-69497-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-08 10:04:15 +08:00
Ilya Tregubov
f84479e3d6
Merge branch 'MDL-79937-403_fixlessonmatching' of https://github.com/catalystfd/moodle into MOODLE_403_STABLE
2024-01-08 09:20:25 +08:00
Víctor Déniz
6fb76aa958
MDL-79681 user: fix conditional to get the last access to a course
2024-01-05 13:55:54 +00:00
Paul Holden
4e2b5137f4
MDL-79681 user: fix participant filter "never accessed" options.
...
For courses, determine whether "Never accessed" should be available,
and correct the used value to match that expected by the API (-1).
2024-01-05 13:55:54 +00:00
Laurent David
5665addea4
MDL-80289 mod_bigbluebutton: Fix retrieval of meeting via meetingid
2024-01-05 11:15:17 +01:00
Santosh Nagargoje
8357d9b18f
MDL-78999 theme: Fixed site logo issue in small screens
2024-01-05 01:12:27 +05:30
Rajneel Totaram
4a2aa40512
MDL-79701 block_calendar_upcoming: Display activity name in tooltip
2024-01-05 07:17:36 +12:00
Paul Holden
a53b8e1d2c
MDL-80523 mod_label: correct upgrade step select query parameters.
2024-01-04 16:22:28 +00:00
Paul Holden
96a452dd41
MDL-80532 block_myoverview: don't post sesskey to quickstart guide URL.
2024-01-04 14:38:35 +00:00
Paul Holden
42df379616
MDL-79927 files: scope toggleall checkboxes per filemanager instance.
...
Ensures that when multiple exist on the same page, each operates
independently of the others.
2024-01-04 13:22:40 +00:00
Paul Holden
e600e8e6b4
MDL-80247 files: multi-byte aware filename shortening in exporter.
...
Also correctly extract the original file extension.
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
Co-authored-by: Mazitov Artem <maz@2i.tusur.ru >
2024-01-04 13:20:19 +00:00
Sara Arjona
d5d0774fec
weekly release 4.3.2+
2024-01-04 12:02:00 +01:00
Sara Arjona
8b571da7fe
Merge branch 'install_403_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_403_STABLE
2024-01-04 12:01:55 +01:00
Sara Arjona
d1b7d46143
Merge branch 'MDL-79307-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-03 17:18:21 +01:00
Sara Arjona
381755e1f9
Merge branch 'MDL-80243-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE
2024-01-03 16:58:06 +01:00
Sara Arjona
f8dec8bfb2
Merge branch 'MDL-76719-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-03 16:32:40 +01:00
Shamim Rezaie
8cc5641be0
Merge branch 'MDL-79708-403' of https://github.com/ilyatregubov/moodle into MOODLE_403_STABLE
2024-01-03 00:11:33 +11:00
Huong Nguyen
40ae0fe34e
Merge branch 'MDL-80412-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2023-12-27 17:22:24 +07:00
AMOS bot
2d462e1d39
Automatically generated installer lang files
2023-12-23 00:11:29 +00:00
Jun Pataleta
3eca273205
MDL-80041 gradereport_singleview: Implement grade validation
...
Implement grade validation for numeric grade overrides by setting
the type attribute for the grade input to number and setting a min
and max attribute values. Submitting the form with invalid values
will trigger built-in validation of the inputs.
2023-12-21 22:18:53 +08:00
Paul Holden
b8fe6ee6c3
MDL-80450 mod_resource: observe print intro setting when embedding.
2023-12-21 11:22:06 +00:00
Simon Adams
7af3c41dd3
MDL-80357 theme_boost: Correctly interpolate SCSS
...
Fixes interpolation between SCSS setting and background images SCSS when SCSS setting is a single line comment
2023-12-19 15:25:50 +00:00
Paul Holden
b60adc89ec
MDL-80260 tool_mfa: fix all factor report table alignment per auth.
2023-12-19 12:20:45 +00:00
Paul Holden
3919d8e3b0
MDL-80446 mod_feedback: stricter selector for getting draggable items.
...
Ensure we don't also match inner nodes of the label question.
2023-12-19 08:27:25 +00:00
Jun Pataleta
9d291854a5
MDL-76723 core_tag: Use external_format_value constructor properly
...
* First parameter should be the field name that the format property
points to.
* No need for VALUE_REQUIRED since it's the default for the $required
parameter.
* Third parameter is the default value and not a description string.
2023-12-19 15:50:21 +08:00
Jun Pataleta
77a5658f0e
MDL-76723 mod_page: Use external_format_value constructor properly
...
* 'Content format' is passed to the $default parameter which is
incorrect.
* Also removed passing of VALUE_REQUIRED because it's already the
default value for the $required parameter.
2023-12-19 15:50:21 +08:00
Jun Pataleta
bbfbc8abd1
MDL-76723 core_external: Handle format properties properly
...
- If a text format property defines the 'optional' attribute as true,
then the $required parameter that
is passed to \core\external\exporter::get_format_structure() should be
VALUE_OPTIONAL.
- If a default value is provided for a format property,
\core\external\exporter::get_format_structure() should pass the default
value to the external_format_value constructor.
- Added validation for external_format_value for the default parameter.
Debugging will be shown in case an invalid default value is passed.
- Amended unit tests for better coverage.
2023-12-19 15:50:21 +08:00
Frédéric Massart
def6645cdc
MDL-76723 core_external: Test invalid required value for format fields
2023-12-19 15:50:21 +08:00
Jun Pataleta
b9698228ab
MDL-80201 core: Check for default format value for exporter::export()
2023-12-19 15:46:59 +08:00
David Woloszyn
cdb365b9f4
MDL-80403 communication_matrix: Fixed convert power levels to array
...
The curent patch revealed a bug inside set_matrix_power_levels
where returned user power levels contained an array of objects.
Other methods were failing and giving incorrect responses
as they were expecting arrays.
2023-12-19 13:36:26 +11:00
David Woloszyn
0f4b02411e
MDL-80403 communication_matrix: Update membership checks membership
2023-12-19 13:36:26 +11:00
Andrew Nicols
ae93fa2696
MDL-59467 core: Use hasHelper instead of catching exception
...
When xdebug is set to break on exceptions it stops on all exceptions,
including _caught_ exceptions.
As a result we regularly hit this uniqid helper issue if debugging with
xdebug.
The solution is to check if the helper exists using the hasHelper method
instead of catching an exception when it does not exist.
2023-12-19 09:20:42 +08:00
Simey Lameze
d916077929
MDL-80243 behat: make completion step more specific
...
Credit goes to Matthias Opitz
2023-12-18 09:32:45 +08:00
Paul Holden
a432e1767f
MDL-80412 reportbuilder: Behat scenario to view/sort additional names.
...
Related to fixes from 8f32e623 .
2023-12-15 10:55:25 +00:00
Paul Holden
7a0a94b6b2
MDL-80412 reportbuilder: remove duplicate columns from order clause.
...
This works around a problem in SQL Server, which caused it to throw a
DML exception if the same column is duplicated in `ORDER BY` clause.
Backported from MDL-79270.
2023-12-15 10:54:10 +00:00
Paul Holden
d6df348ec4
MDL-80224 tool_uploaduser: better user defaults per site configuration.
...
Improve use of `core_user` type/default/choice definitions when setting
fields in the "Default values" form, used on upload.
2023-12-12 10:12:58 +00:00
Paul Holden
61f8a1fe55
MDL-80374 grade: show localised plugin name in report column heading.
2023-12-11 10:34:58 +00:00
Ilya Tregubov
67666fda0e
MDL-79708 question_bank: Fix legacy filter condition.
...
build_query_from_filter method expects includesubcategories
to be inside filteroptions array
2023-12-11 11:49:45 +08:00
Marina Glancy
77fe4a8e3e
MDL-80353 core_user: announce user selector changes to the screenreader
2023-12-08 15:30:00 +00:00
Mihail Geshoski
bf3a6a122f
MDL-80246 tiny_equation: Escape elementid in the data-target attribute
...
Tabs use the value of the data-target attribute of the active tab link
to find and display the appropriate tab content. In some situations the
elementid value that is used to generate the data-target may contain
certain characters that have a special meaning in the selector context
(e.g. ".", ",", "#") and because of that the target element cannot be
correctly identified. To fix this problem the elementid value needs to
be escaped prior to generating the data-target attribute.
2023-12-08 10:05:37 +08:00
Francis Devine
e368e04824
MDL-79937 mod_lesson: Fix matching pagetype question matching
...
The addition of text format on the output of the answer responses broke
the matching later when comparing the valid answer against the sent
response, as the answer response was not correspondingly formatted.
I decided to use the un formatted answer response as the key, to keep it
as close as identical to prior behaviour
2023-12-08 09:08:06 +13:00
Paul Holden
2671324c9e
MDL-80232 forumreport_summary: fix pagination count for summary report.
2023-12-07 17:25:44 +00:00
Paul Holden
a56003588a
MDL-79307 assignfeedback_editpdf: more informative task failure.
...
If ghostscript is not correctly configured the task will never
succeed, so error out earlier with a more informative exception
explaining this.
2023-12-05 12:20:23 +00:00
Paul Holden
9785551527
MDL-76719 mod_assign: don't try to load user if there are none.
2023-12-01 13:18:38 +00:00
Paul Holden
533074d453
MDL-69497 mod_assign: amend preference definitions for current user.
...
Ensure they can always be updated when using the grader.
2023-12-01 10:55:28 +00:00
Jay Oswald
3ef7a7d76a
MDL-79091 core_badges: refactor bades cron task
2023-11-30 17:24:37 +11:00
Jay Oswald
8cf880c5de
MDL-79091 core_badges: use adhoc tasks
2023-11-30 17:24:37 +11:00
Mihail Geshoski
222b528160
MDL-80270 gradereport_grader: User row as the last row cannot be sticky
...
In certain scenarios, a user row can be the last row in the grader
report table. The current logic does not take this into account and
always pins the last row regardless of the type.
This change ensures that the last row is not a user row before executing
the logic responsible for pinning this row.
2023-11-30 00:10:30 +08:00
Pascal Hamar
015b2a0cd8
MDL-36733 qtype_calculated: Wildcards in calculated question hints
...
The placeholders for the hints are properly replaced by this change and any formulas present are replaced.
The validation is performed by the existing function qtype_calculated_find_formula_errors(),
which is called by the calculate() function,
which in turn is called by the variable substituter "vs" using the replace_expressions_in_text() function.
vs -> replace_expressions_in_text() -> calculate() -> qtype_calculated_find_formula_errors().
2023-11-28 18:41:33 +01:00
David Woloszyn
1e8af88afd
MDL-80229 core: Add tolerance to min_get_minimum_revision
2023-11-24 15:51:45 +11:00