Commit graph

114680 commits

Author SHA1 Message Date
Jun Pataleta
2c1af4fd9e
Merge branch 'MDL-81428-main' of https://github.com/HuongNV13/moodle 2024-06-11 13:41:58 +08:00
Andrew Nicols
12a5c8d366
MDL-81919 core: Correct mapped class location 2024-06-11 10:50:13 +07:00
David Woloszyn
954617d3e3 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:05:38 +10:00
Paul Holden
b0eae5fa03
MDL-82155 core: define/correct third party library names. 2024-06-10 19:50:52 +01:00
Sara Arjona
e336e0660d
Merge branch 'MDL-80644_upgrade-http-factory' of https://github.com/ziegenberg/moodle 2024-06-10 16:55:01 +02:00
Sara Arjona
95dfd66a8d
Merge branch 'MDL-81949' of https://github.com/paulholden/moodle 2024-06-10 16:46:32 +02:00
Sara Arjona
7a0686acb9
Merge branch 'MDL-81678' of https://github.com/paulholden/moodle 2024-06-10 16:39:10 +02:00
Sara Arjona
a83d82b125
Merge branch 'MDL-80635_upgrade-geoip2-php-api-maxmind-db-reader-api' of https://github.com/ziegenberg/moodle 2024-06-10 16:23:26 +02:00
Sara Arjona
e18aefa69e
Merge branch 'MDL-81676-main' of https://github.com/aanabit/moodle 2024-06-10 16:07:28 +02:00
Sara Arjona
6764cc71ac
Merge branch 'MDL-81648-main' of https://github.com/roland04/moodle 2024-06-10 15:49:46 +02:00
Pedro Jordao
0fc14f9177 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:48:08 -03:00
Amaia Anabitarte
267a474154 MDL-81676 core_course: Rename data-sectionid to data-sectionnum
Activity chooser is saving section number in a data attribute called
data-sectionid. We should use data-sectionnum instead to make it easier
to understand.
2024-06-10 15:42:09 +02:00
Sara Arjona
cbee116728
Merge branch 'MDL-82041' of https://github.com/paulholden/moodle 2024-06-10 15:17:11 +02:00
Sara Arjona
8382970cd0
Merge branch 'MDL-81741-main' of https://github.com/roland04/moodle 2024-06-10 13:05:59 +02:00
Sara Arjona
4f3712505d
Merge branch 'MDL-81675-main' of https://github.com/aanabit/moodle 2024-06-10 12:38:46 +02:00
Sara Arjona
94adf2ae31
Merge branch 'MDL-70972-main' of https://github.com/PhMemmel/moodle 2024-06-10 12:33:18 +02:00
Huong Nguyen
080e89916a MDL-81428 theme_boost: Match .disabled opacity with .text-muted 2024-06-10 17:00:47 +07:00
Huong Nguyen
a07054af30 MDL-81428 core: Display the correct status for the contact request 2024-06-10 17:00:46 +07:00
Jun Pataleta
3452601bf3
Merge branch 'MDL-81919-main-squashed' of https://github.com/andrewnicols/moodle 2024-06-10 14:41:03 +08:00
Andrew Nicols
60d8671224
MDL-81919 core: Prioritise autoloader in install 2024-06-10 14:20:26 +08:00
Ilya Tregubov
027407e9c9 Merge branch 'MDL-81510-main' of https://github.com/laurentdavid/moodle 2024-06-10 13:31:25 +08:00
Jun Pataleta
9c706bb48b
MDL-81919 core: Minor fixes
* Typo in Jerome Mouneyrac's name.
* Remove other trailing commas in inline arrays.
2024-06-10 13:17:11 +08:00
Jun Pataleta
c40f85eb6e
Merge branch 'MDL-81919-main-squashed' of https://github.com/andrewnicols/moodle 2024-06-10 12:56:36 +08:00
Andrew Nicols
a128312ccb
MDL-81919 customfield: Rewrite poor test assertion 2024-06-10 12:13:00 +08:00
Andrew Nicols
0abb2e6b9a
MDL-81919 core: Update moved file namespaces 2024-06-10 12:13:00 +08:00
Andrew Nicols
75e8dbb3c5
MDL-81919 core: Fix coding style issues for recently moved code 2024-06-10 12:12:59 +08:00
Andrew Nicols
8c3f18a4eb
MDL-81919 core: Move classes out of lib/setuplib.php 2024-06-10 10:04:08 +08:00
Andrew Nicols
302b94c2b7
MDL-81919 core: Add support for autoloading legacy classes 2024-06-10 10:04:08 +08:00
Paul Holden
78f56cffde
MDL-76392 reportbuilder: migrate manual to native report aggregation.
Now that system reports support aggregation natively, we can replace
a whole bunch of similar code containing hand-rolled versions with much
simpler/consistent use of API.
2024-06-07 16:08:22 +01:00
Paul Holden
da04fc522a
MDL-81949 tool_replace: prompt user for unrecognised CLI parameters. 2024-06-07 11:40:57 +01:00
Paul Holden
1acdc7fe82
MDL-81678 enrol: don't escape course name in welcome message. 2024-06-07 11:39:38 +01:00
Paul Holden
41660e88c0
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:33:37 +01:00
Paul Holden
2eb7db3a05
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:29:10 +01:00
Paul Holden
a0d5133f10
MDL-81781 dataformat: public helper method to get writer instance. 2024-06-07 11:29:10 +01:00
Meirza
b19b9cb8bf 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:46:44 +07:00
Laurent David
ed029faf06 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:38:54 +02:00
Laurent David
91d89170f7 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:38:54 +02:00
Sara Arjona
79c85ab22d
MDL-81681 course: Make reactive the section page 2024-06-07 09:35:05 +02:00
Sara Arjona
8aef5e6574
MDL-81681 course: Revert changes done in MDL-81575
Now that the section page is reactive, these changes are not
required anymore.
2024-06-07 09:34:11 +02:00
Dan Marsden
963afc4516
MDL-76392 reportbuilder: allow aggregation in system reports.
Co-authored-by: Paul Holden <paulh@moodle.com>
2024-06-07 01:05:35 +01:00
Ferran Recio
7aefcdf9fb MDL-80951 backup: migrate YUI to AMD 2024-06-06 18:07:25 +02:00
Jun Pataleta
d3ae1391ab
weekly release 4.5dev 2024-06-06 22:30:25 +08:00
Jun Pataleta
c42c94279a
NOBUG: Add upgrade notes 2024-06-06 22:30:24 +08:00
Jun Pataleta
8ae4cf9fe1
NOBUG: Fixed file access permissions 2024-06-06 22:30:03 +08:00
Jun Pataleta
9b5142ed3f
Merge branch 'MDL-81750-main' of https://github.com/davewoloszyn/moodle 2024-06-06 22:02:37 +08:00
Huong Nguyen
353d53b97d
Merge branch 'MDL-81813' of https://github.com/christianabila/moodle 2024-06-06 22:02:37 +08:00
Jun Pataleta
6439a4d2b8
Merge branch 'MDL-82045-main' of https://github.com/andrewnicols/moodle 2024-06-06 22:02:37 +08:00
Huong Nguyen
1b4cd89f11
Merge branch 'MDL-81146_disable_buttons' of https://github.com/leonstr/moodle 2024-06-06 22:02:37 +08:00
Andrew Nicols
8a92cb82a6
Merge branch 'MDL-81794-main' of https://github.com/meirzamoodle/moodle 2024-06-06 22:02:36 +08:00
Huong Nguyen
49bef6561b
Merge branch 'MDL-81875-main' of https://github.com/laurentdavid/moodle 2024-06-06 22:02:36 +08:00