114850 Commits

Author SHA1 Message Date
Andrew Nicols
d96e7816d1
Merge branch 'MDL-81932-main' of https://github.com/safatshahin/moodle 2024-07-18 11:29:33 +08:00
Huong Nguyen
920dbc2242
Merge branch 'MDL-82192-main' of https://github.com/ericmerrill/moodle 2024-07-18 10:27:02 +07:00
Andrew Nicols
306394772f
Merge branch 'MDL-81272-main' of https://github.com/HuongNV13/moodle 2024-07-18 11:06:57 +08:00
Huong Nguyen
e7d1febac6
MDL-81699 Course: Add upgrade note 2024-07-18 10:03:28 +07:00
Andrew Nicols
6570855cf6
MDL-82445 filter_tidy: Coding style fixes 2024-07-18 11:00:42 +08:00
Andrew Nicols
7bb9d60dee
MDL-82445 filter_tidy: Ensure locale does not change when using Tidy 2024-07-18 11:00:42 +08:00
Andrew Nicols
89c5e94fee
MDL-82445 core: Create locale helper utility 2024-07-18 11:00:42 +08:00
Huong Nguyen
388fb71f51
Merge branch 'MDL-81699-main' of https://github.com/durenadev/moodle 2024-07-18 09:57:18 +07:00
Huong Nguyen
db5b60424b
Merge branch 'MDL-82287-main' of https://github.com/andrewnicols/moodle 2024-07-18 09:47:01 +07:00
Ilya Tregubov
aa594cce71 Merge branch 'MDL-82090' of https://github.com/paulholden/moodle 2024-07-18 10:39:32 +08:00
Ilya Tregubov
00376925b2 Merge branch 'MDL-82444' of https://github.com/paulholden/moodle 2024-07-18 10:29:08 +08:00
Huong Nguyen
f4b332a67e
Merge branch 'MDL-82467' of https://github.com/paulholden/moodle 2024-07-18 09:19:33 +07:00
Jun Pataleta
cf2073134a
Merge branch 'MDL-82066' of https://github.com/paulholden/moodle 2024-07-18 00:03:02 +08:00
Sara Arjona
fef180bc98
Merge branch 'MDL-82463' of https://github.com/paulholden/moodle 2024-07-17 17:11:19 +02:00
Sara Arjona
40518e1539
Merge branch 'MDL-82353-main' of https://github.com/andelacruz/moodle 2024-07-17 17:07:47 +02:00
Sara Arjona
a7383405a8
Merge branch 'MDL-81683-main' of https://github.com/laurentdavid/moodle 2024-07-17 17:03:17 +02:00
Paul Holden
0cf6f3a620 MDL-82499 question: test for invalid question in capability check. 2024-07-17 09:58:35 +01:00
Laurent David
45c157d0f9 MDL-81683 core_courseformat: Adjust Move Activity Modal style
* Use the same style as the course index for the tree/list items
* Fix indentation
2024-07-17 09:32:05 +02:00
Laurent David
7f7d4a97d8 MDL-81683 core_courseformat: Add subsection to the move activity modal
* Add subsection in the tree hierarchy
* Split the mustache templates to avoid repetitive code
2024-07-17 09:32:05 +02:00
Huong Nguyen
b964baf06e
Merge branch 'MDL-75025_final-deprecation-of-base_controller-set_copy' of https://github.com/ziegenberg/moodle 2024-07-17 14:20:50 +07:00
Ilya Tregubov
4ac3f6f8c7
MDL-80744 mod_assign: Fix Behat tests. 2024-07-17 12:16:29 +07:00
Jun Pataleta
f96778f74d
Merge branch 'MDL-81075-main' of https://github.com/cameron1729/moodle 2024-07-17 12:44:29 +08:00
Meirza
b3e8993353 MDL-26675 block_rss_client: Add a new feed in the RSS block form
The patch added a couple of things:
- Add a new feed in the RSS block form
- Make the image responsive to the parent container
- Each feed now includes a channel link
2024-07-17 11:24:28 +07:00
Ilya Tregubov
079f6b00ec Merge branch 'MDL-82002-main' of https://github.com/durenadev/moodle 2024-07-17 11:04:32 +08:00
Andrew Nicols
0b364eda7b
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 09:28:35 +08:00
Andrew Nicols
9251a72e53
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 09:28:35 +08:00
Andrew Nicols
1f0d1e60a0
MDL-82373 core_grades: Address random failures when editing gradebook 2024-07-17 09:28:35 +08:00
Andrew Nicols
78ccdc9939
MDL-82373 behat: Wait for alerts before accepting/dismissing them 2024-07-17 09:28:35 +08:00
Andrew Nicols
8bba968f7b
MDL-82373 core: Make CollapsibleRegion more tolerant to behat 2024-07-17 09:28:34 +08:00
Andrew Nicols
c3cd90750b
MDL-82373 tool_usertours: Ensure that behat waits for tours to show/hide 2024-07-17 09:28:34 +08:00
Andrew Nicols
4033f08fa9
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 09:28:34 +08:00
Andrew Nicols
57cabed4bb
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 09:28:34 +08:00
Andrew Nicols
5fb6e4cba1
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 09:28:33 +08:00
Andrew Nicols
38a1bc022c
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-17 09:28:33 +08:00
Glenn Poder
2afdd8d220 MDL-81075 quiz: config option for defaults when creating questions 2024-07-16 23:26:51 +08:00
Michael Aherne
5605d64389
MDL-82499 question: Fail if questionid does not exist. 2024-07-16 14:39:02 +01:00
Angelia Dela Cruz
9525db3f7d MDL-82353 gradingform: Behat to verify marking guide can be set to draft 2024-07-16 16:29:28 +08:00
Andrew Nicols
e16ff43cfd
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:24 +08:00
Sara Arjona
404ddae657
Merge branch 'MDL-81533-master' of https://github.com/danghieu1407/moodle 2024-07-16 09:23:08 +02:00
Sara Arjona
14f46e2f41
Merge branch 'MDL-81819-main' of https://github.com/roland04/moodle 2024-07-16 07:45:22 +02:00
Ilya Tregubov
7f63a6af7a Merge branch 'MDL-78293-master' of https://github.com/jleyva/moodle 2024-07-16 11:47:22 +08:00
Huong Nguyen
ffefd6130f
MDL-67554 tool_oauth2: Added upgrade note 2024-07-16 09:40:41 +07:00
Huong Nguyen
dd882716e4
Merge branch 'MDL-67554-master' of https://github.com/michael-milette/moodle 2024-07-16 09:36:27 +07:00
Huong Nguyen
7c6fcaaff5
Merge branch 'MDL-80744-main-1' of https://github.com/ilyatregubov/moodle 2024-07-16 09:15:57 +07:00
Ilya Tregubov
caa72b3595 Merge branch 'MDL-82282' of https://github.com/paulholden/moodle 2024-07-16 09:26:01 +08:00
Ilya Tregubov
7b5d49bf45 Merge branch 'MDL-82319-main' of https://github.com/laurentdavid/moodle 2024-07-16 09:21:28 +08:00
Ilya Tregubov
52abd112a9 Merge branch 'MDL-73662' of https://github.com/paulholden/moodle 2024-07-16 09:15:21 +08:00
Paul Holden
e60876ecef
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:19:25 +01:00
Paul Holden
a3c386af93
MDL-82463 reportbuilder: change non-numeric entity column types.
Where columns were previously of type `TYPE_INTEGER` or `TYPE_FLOAT`
but did not provide numeric data on output, we should change their
type to `TYPE_TEXT` (i.e. the default) to ensure that future work on
numeric aggregation doesn't affect them.
2024-07-15 10:42:01 +01:00
Huong Nguyen
6c5d01b512
Merge branch 'MDL-82210-main' of https://github.com/sarjona/moodle 2024-07-15 15:54:35 +07:00