32989 Commits

Author SHA1 Message Date
Jun Pataleta
19284518d1
Merge branch 'MDL-79568-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE 2024-08-06 17:20:26 +08:00
Paul Holden
217f5d8f8d
MDL-82446 files: pleasantly style the filepicker modal containers. 2024-08-05 08:40:35 +01:00
Paul Holden
dec2143d73
MDL-79568 javascript: remove lang parameter from legacy string calls. 2024-08-05 08:33:19 +01:00
Ilya Tregubov
abd4203547 Merge branch 'MDL-82171-muc-sited-MOODLE_404_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_404_STABLE 2024-08-05 11:18:59 +08:00
Shamim Rezaie
28922ba889 Merge branch 'MDL-82384-MOODLE_404_STABLE' of https://github.com/jwcatau/moodle into MOODLE_404_STABLE 2024-08-03 23:55:36 +10:00
David Mudrák
1e0f46a125 MDL-82599 lang: Use the fixed strings in tests, too 2024-08-02 17:44:42 +02:00
Helen Foster
1abeac9ba4 MDL-82599 lang: Import fixed English strings (en_fix) 2024-08-02 17:42:52 +02:00
James Williams
3ab8986eb0 MDL-82384 core: Alter logic to only purge muc OR course caches. 2024-08-01 18:53:18 +10:00
Huong Nguyen
be4d15a856
Merge branch 'MDL-80064-404' of https://github.com/meirzamoodle/moodle into MOODLE_404_STABLE 2024-08-01 10:41:43 +07:00
Huong Nguyen
0fe19ee1dc
MDL-80593 core: Make Modal to work with Debug Template Info mode 2024-08-01 10:18:18 +07:00
Ilya Tregubov
96f76208d1 Merge branch 'MDL-81689_MOODLE_404_STABLE' of https://github.com/rzhtwberlin/moodle into MOODLE_404_STABLE 2024-08-01 09:59:26 +08:00
Jun Pataleta
2fb409a999
Merge branch 'MDL-82286-404' of https://github.com/daledavies/moodle into MOODLE_404_STABLE 2024-08-01 09:47:11 +08:00
Sara Arjona
e6176d6dba
Merge branch 'MDL-82596-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE 2024-07-31 16:46:06 +02:00
Jun Pataleta
5b68c82eb2
Merge branch 'MDL-82187-single-button-404' of https://github.com/djarran/moodle into MOODLE_404_STABLE 2024-07-31 17:21:32 +08:00
Tim Hunt
adf336cbf2 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:02 +01:00
meirzamoodle
f0dd2ae1f5 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:50:08 +07:00
Paul Holden
fd63451ecc
MDL-82525 user: correct course parameter for course profile page. 2024-07-29 09:22:03 +01:00
Ilya Tregubov
5bcdefb516 Merge branch 'MDL-80345-404' of https://github.com/MartinGauk/moodle into MOODLE_404_STABLE 2024-07-29 11:33:22 +08:00
Paul Holden
d69212b895
MDL-82596 behat: switch manual private files upload to generator. 2024-07-28 19:16:57 +01:00
Johannes Burk
30bae49637 MDL-81689 tests: Check task DB record for nextruntime 2024-07-26 10:36:29 +02:00
Johannes Burk
0ae247b51f MDL-81689 tasks: add unit test to check for the bug 2024-07-26 10:36:29 +02:00
Huong Nguyen
a358040701
Merge branch 'MDL-82527-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE 2024-07-25 10:48:50 +07:00
Huong Nguyen
a03674de6f
Merge branch 'MDL-82530-spelling-404' of https://github.com/leonstr/moodle into MOODLE_404_STABLE 2024-07-25 10:41:38 +07:00
Jun Pataleta
e18333d842
Merge branch 'MDL-82373-404' of https://github.com/andrewnicols/moodle into MOODLE_404_STABLE 2024-07-25 11:31:43 +08:00
Jun Pataleta
d81770cdbe
Merge branch 'MDL-77706-404' of https://github.com/andrewnicols/moodle into MOODLE_404_STABLE 2024-07-25 11:02:46 +08:00
Huong Nguyen
688ee9e9d1
Merge branch 'MDL-82553-404' of https://github.com/junpataleta/moodle into MOODLE_404_STABLE 2024-07-25 09:17:26 +07:00
Shamim Rezaie
42cc612a5e Merge branch 'MDL-82540-404' of https://github.com/junpataleta/moodle into MOODLE_404_STABLE 2024-07-25 12:07:24 +10:00
Shamim Rezaie
fa8b74b5eb Merge branch 'MDL-82551-404' of https://github.com/junpataleta/moodle into MOODLE_404_STABLE 2024-07-25 11:52:59 +10:00
Huong Nguyen
ffc32f80a5
Merge branch 'MDL-82554-MOODLE_404_STABLE' of https://github.com/micaherne/moodle into MOODLE_404_STABLE 2024-07-25 08:50:32 +07:00
Huong Nguyen
28a7d39b2a
Merge branch 'MDL-82528-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE 2024-07-24 12:00:09 +07:00
Michael Aherne
da95f8d083 MDL-82554 question: Allow null createdby in question_has_capability_on. 2024-07-23 10:47:07 +01:00
Jun Pataleta
cbafc55078
MDL-82553 behat: Run accessibility tests using WCAG 2.2 success criteria 2024-07-22 14:37:49 +08:00
Jun Pataleta
b7bd55bc82
MDL-82551 core: Set welcome message heading to level 1 2024-07-22 14:21:02 +08:00
Ilya Tregubov
c930111e17 Merge branch 'MDL-82499-MOODLE_404_STABLE' of https://github.com/micaherne/moodle into MOODLE_404_STABLE 2024-07-22 09:42:53 +08:00
djarrancotleanu
f0c5d668e9 MDL-82187 core: Add default type for single button in template 2024-07-22 08:48:26 +10:00
Paul Holden
85c7dcaf05
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:42 +01:00
Jun Pataleta
2e8bf841c6
MDL-82540 core: Use an empty check for $CFG->debugdisplay 2024-07-19 16:25:12 +08:00
Leon Stringer
e96db7beec MDL-82530 core: Fix spelling 2024-07-18 14:51:00 +01:00
Paul Holden
f1bc96a8ab
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:37:47 +01:00
Ilya Tregubov
38ab94e04b Merge branch 'MDL-82445-404' of https://github.com/andrewnicols/moodle into MOODLE_404_STABLE 2024-07-18 11:37:02 +08:00
Andrew Nicols
03f840b4f2
MDL-82445 core: Create locale helper utility 2024-07-18 11:00:42 +08:00
Ilya Tregubov
1291503846 Merge branch 'MDL-82444-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE 2024-07-18 10:32:55 +08:00
Paul Holden
b99a81af8e MDL-82499 question: test for invalid question in capability check. 2024-07-17 09:57:42 +01:00
Andrew Nicols
908488e472
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:28:57 +08:00
Andrew Nicols
389e4fc011
MDL-82373 behat: Wait for alerts before accepting/dismissing them 2024-07-17 13:28:56 +08:00
Andrew Nicols
ed4a47302e
MDL-82373 core: Make CollapsibleRegion more tolerant to behat 2024-07-17 13:28:55 +08:00
Andrew Nicols
42511349ae
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:28:55 +08:00
Andrew Nicols
32f1542b5e
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:28:55 +08:00
Brendan Heywood
31e0fd81a7 MDL-82171 core: Rewarm bootstrap.php after a cache purge 2024-07-17 15:16:12 +10:00
Michael Aherne
43b3bda115 MDL-82499 question: Fail if questionid does not exist. 2024-07-16 14:59:55 +01:00