114053 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
dadfb6e90c
MDL-81581 phpunit: Apply the new method to all remaining cases
After discussing it in the issue, we have agreed to apply
the new phpunit_util::normalise_line_endings() method to
all the remaining cases (within tests!) where the manual
replacement was being done. This commits achieves that.

Note that I've looked for both str_replace() and preg_replace()
cases, but only the former had cases worth converting. All the
later ones are different and cannot be replaced by the new
utility method.
2024-04-25 18:52:16 +02:00
Eloy Lafuente (stronk7)
71bd82ad68
MDL-81581 phpunit: Create the normalise_line_endings() method
And apply it to all the obvious places related with the issue.

Note that surely there are way more in code base, but it's
out of scope for this issue.
2024-04-25 18:52:16 +02:00
Eloy Lafuente (stronk7)
17237b824d
MDL-81581 phpunit: Move multiple assert_same_xml() to common one 2024-04-25 18:52:16 +02:00
Mark Johnson
82a4c991ef
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:03 +01:00
SergioComeron
c4f840d404 MDL-77272 report: Enable module level report options 2024-04-25 17:14:47 +02:00
Mark Johnson
7cc089a457
MDL-81611 assign: Close session early in gradingpanel fragment 2024-04-25 16:14:43 +01:00
Sara Arjona
792698af00
weekly on-sync release 4.5dev 2024-04-25 15:43:57 +02:00
Sara Arjona
f6ef944d64
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2024-04-25 15:43:53 +02:00
Huong Nguyen
228c18b723
Merge branch 'MDL-80087_main' of https://github.com/PhilippImhof/moodle 2024-04-25 09:34:22 +07:00
AMOS bot
61b40e2eaa Automatically generated installer lang files 2024-04-25 00:12:21 +00:00
Paul Holden
0bd601d6ba
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:06 +01:00
Sara Arjona
ec7aa34e20
Merge branch 'MDL-77998-master' of https://github.com/andelacruz/moodle 2024-04-24 14:47:54 +02:00
Angelia Dela Cruz
7c5cc9f140 MDL-77998 Behat: Add behat coverage for preferences navigation 2024-04-24 19:15:51 +08:00
Huong Nguyen
43ba641af7
Merge branch 'MDL-81627' of https://github.com/timhunt/moodle 2024-04-24 15:25:33 +07:00
Huong Nguyen
c77acbe423
Merge branch 'MDL-81301' of https://github.com/timhunt/moodle 2024-04-24 15:17:54 +07:00
Angelia Dela Cruz
eb36f078d8 MDL-77445 Behat: Coverage for activity chooser navigation 2024-04-24 14:42:37 +08:00
Jun Pataleta
f17f1333f1
Merge branch 'MDL-81570-main' of https://github.com/sarjona/moodle 2024-04-24 14:40:43 +08:00
Jun Pataleta
72e283b5e8
Merge branch 'MDL-81575-main' of https://github.com/ferranrecio/moodle 2024-04-24 12:36:52 +08:00
Jun Pataleta
ccd3651fee
Merge branch 'MDL-81567-main' of https://github.com/lucaboesch/moodle 2024-04-24 12:22:09 +08:00
Jun Pataleta
f0b4b6c186
Merge branch 'MDL-81460-main' of https://github.com/roland04/moodle 2024-04-24 12:10:24 +08:00
Huong Nguyen
cfd0d4b130
Merge branch 'MOODLE_main_MDL-81613' of https://github.com/danielneis/moodle 2024-04-24 09:59:36 +07:00
Andrew Nicols
b99760a3fb
MDL-81345 core: Remove unused library 2024-04-24 10:31:21 +08:00
Huong Nguyen
aa29e5655d
Merge branch 'MDL-81564-main' of https://github.com/HuongNV13/moodle 2024-04-24 08:57:47 +07:00
Laurent David
029db9dd4c
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:51:36 +07:00
Ilya Tregubov
bdeb9b8191 Merge branch 'MDL-81274' of https://github.com/paulholden/moodle 2024-04-24 09:41:42 +08:00
Huong Nguyen
862b41d833
Merge branch 'MDL-80107-master' of https://github.com/andelacruz/moodle 2024-04-24 08:35:19 +07:00
Tim Hunt
676d764452 MDL-81641 question: fix random question loader draft state tests 2024-04-23 18:25:04 +01:00
Amaia Anabitarte
93bf8539ca MDL-78433 course: Remove duplicated course search form 2024-04-23 16:08:03 +02:00
Sara Arjona
5e8f48a53f
Merge branch 'MDL-81209-main' of https://github.com/andrewnicols/moodle 2024-04-23 15:35:12 +02:00
Sara Arjona
1e7fdcccdf
Merge branch 'MDL-81578' of https://github.com/paulholden/moodle 2024-04-23 15:13:41 +02:00
Sara Arjona
4dbeaddc5f
Merge branch 'MDL-81457-main' of https://github.com/andrewnicols/moodle 2024-04-23 14:56:31 +02:00
Amaia Anabitarte
6a190959d4 MDL-77661 mod_data: Use danger button for reset templates modals 2024-04-23 13:17:52 +02:00
Sara Arjona
8cdf4dec79
Merge branch 'MDL-81603' of https://github.com/paulholden/moodle 2024-04-23 12:38:36 +02:00
Tim Hunt
8e7bd88ce3 MDL-81627 quiz restore: fix restore of grade item for each slot 2024-04-23 11:33:44 +01:00
ferranrecio
735bef87d2 MDL-81575 core_courseformat: fix interactive section visibility badge 2024-04-23 11:15:19 +02:00
Shamim Rezaie
08a8c29ca7 Merge branch 'MDL-81616-main' of https://github.com/junpataleta/moodle 2024-04-23 15:23:09 +10:00
Angelia Dela Cruz
da5de9e91e MDL-80107 gradingform: Behat test for defining marking guide 2024-04-23 11:41:03 +08:00
Paul Holden
08575fdc56
MDL-74582 lang: final removal of deprecated 401 strings. 2024-04-22 19:06:18 +01:00
Daniel Neis Araujo
bbc91d4788 MDL-81613 report_log: fix user fullname export for log report 2024-04-22 14:34:32 -03:00
Paul Holden
7594612fab
MDL-81274 mod_data: observe current approved value on record import. 2024-04-22 12:48:51 +01:00
Paul Holden
23552e4c84
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:37 +01:00
Huong Nguyen
e3b52a6ec6
Merge branch 'MDL-81615-main' of https://github.com/junpataleta/moodle 2024-04-22 16:30:03 +07:00
Paul Holden
25780157bf
MDL-81603 reportbuilder: don't rely on real entity in datasource test. 2024-04-22 09:52:20 +01:00
Sara Arjona
f0e6e5addb
MDL-81570 tiny_premium: Add missing lang string 2024-04-22 09:40:21 +02:00
Mikel Martín
6de045dea0 MDL-81460 theme_boost: Fix loading spinner wobbles 2024-04-22 07:45:32 +02:00
Luca Bösch
d7df038465 MDL-81567 mod_quiz: Adopt edit section title pencil icons size. 2024-04-20 18:03:15 +02:00
Jun Pataleta
78e5814a0f
MDL-81616 upgrade: add the 4.4.0 separation line to all upgrade scripts 2024-04-20 21:01:04 +08:00
Jun Pataleta
3c1b63c7d8
MDL-81615 backup: Bump release to 4.5 2024-04-20 20:56:34 +08:00
Jun Pataleta
7b9a4eeca5
weekly back-to-dev release 4.5dev 2024-04-20 16:11:57 +08:00
Jun Pataleta
ee91c6536f
Moodle release 4.4 v4.4.0 2024-04-20 15:58:15 +08:00