112677 Commits

Author SHA1 Message Date
Sara Arjona
b33ba0b9fb
Merge branch 'MDL-78967-main' of https://github.com/kevpercy/moodle 2024-02-27 12:49:06 +01:00
Huong Nguyen
a781283002
Merge branch 'MDL-78984' of https://github.com/paulholden/moodle 2024-02-27 09:53:12 +07:00
Huong Nguyen
34304b33f9
Merge branch 'MDL-76443-main' of https://github.com/andrewnicols/moodle 2024-02-27 09:50:55 +07:00
Huong Nguyen
4dd70667d1
Merge branch 'MDL-79543-main' of https://github.com/sarjona/moodle 2024-02-27 09:47:20 +07:00
Huong Nguyen
ca75778564
Merge branch 'MDL-74676-master' of https://github.com/sh-csg/moodle 2024-02-27 09:40:57 +07:00
Huong Nguyen
e4bfa1498b
Merge branch 'MDL-67259_main' of https://github.com/PhilippImhof/moodle 2024-02-26 14:44:32 +07:00
Stefan Hanauska
2a494f0d5d MDL-74676 course: Speed up course search if using limittoenrolled
Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2024-02-26 07:42:14 +01:00
Huong Nguyen
be53cc971c
Merge branch 'MDL-80395-main' of https://github.com/sarjona/moodle 2024-02-26 11:42:37 +07:00
Sara Arjona
ec8f84d8af
MDL-79543 h5p: Include attempts info and link
Co-authored-by: Ferran Recio <ferran@moodle.com>
2024-02-23 15:42:16 +01:00
Paul Holden
bb6652699e
Merge branch 'MDL-75794-main' of https://github.com/aanabit/moodle into main 2024-02-23 12:54:00 +00:00
Paul Holden
7cf9fac457
MDL-78984 mod_assign: observe timelimit config in override form. 2024-02-23 11:18:43 +00:00
Jun Pataleta
45ba52afce
Merge branch 'MDL-77965' of https://github.com/NeillM/moodle 2024-02-23 17:59:58 +08:00
Jun Pataleta
b4f0a03676
Merge branch 'MDL-73483-master' of https://github.com/dmitriim/moodle 2024-02-23 17:53:25 +08:00
Neill Magill
6ff5e7aabd MDL-77965 unit tests: Add covers annotation 2024-02-23 09:32:07 +00:00
Neill Magill
79150cf9bb 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:07 +00:00
Neill Magill
32a915ecd2 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:06 +00:00
Neill Magill
8a95d08ff3 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:06 +00:00
Neill Magill
18a964324b 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:06 +00:00
Neill Magill
081bfd0a9d 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:06 +00:00
Neill Magill
e83452a855 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:06 +00:00
Jun Pataleta
f6a22d3e61
Merge branch 'MDL-80805-main' of https://github.com/sammarshallou/moodle 2024-02-23 17:32:05 +08:00
Philipp Imhof
7b284a8e04
MDL-67259 mod_quiz: show time of last autosave 2024-02-23 09:00:51 +01:00
Sara Arjona
6e8d1454ba
MDL-79543 h5pactivity: Remove review_all_attempts string
This string became obsolete in Moodle 4.0 due to changes in course
navigation. Since then, it has remained unused and can now be safely
removed, as it is unlikely to be needed in the future.
2024-02-23 07:29:55 +01:00
Sara Arjona
68aba64d35
MDL-79543 output: Add i/chartbar icon 2024-02-23 07:29:55 +01:00
Sara Arjona
31989d9f9d
MDL-80395 theme: Refactor mixins deprecated in BS4 2024-02-23 07:22:49 +01:00
Huong Nguyen
e567c21d6e
weekly release 4.4dev 2024-02-23 08:37:39 +07:00
Huong Nguyen
3d36a37499
NOBUG: Fixed SVG browser compatibility 2024-02-23 08:37:37 +07:00
Huong Nguyen
17ddc82c5c
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2024-02-23 08:37:35 +07:00
Dmitrii Metelkin
95eea308cd MDL-73483 course: add callbacks to extend course form 2024-02-23 09:27:32 +11:00
Amaia Anabitarte
0c081f004a MDL-75794 mod_data: deprecate behat steps to generate entries and fields 2024-02-22 17:37:54 +01:00
Jun Pataleta
2b9bf38dcb
Merge branch 'MDL-80207-behat' of https://github.com/HuongNV13/moodle 2024-02-22 13:56:27 +08:00
Huong Nguyen
ed16ef495d
Merge branch 'MDL-80844' of https://github.com/stronk7/moodle 2024-02-22 11:23:47 +07:00
Huong Nguyen
40f501fb4e
Merge branch 'MDL-80338' of https://github.com/paulholden/moodle 2024-02-22 11:17:52 +07:00
Huong Nguyen
3061024726
Merge branch 'MDL-80608-main' of https://github.com/sammarshallou/moodle 2024-02-22 11:05:28 +07:00
Huong Nguyen
5d4c88e3da
Merge branch 'MDL-79266' of https://github.com/paulholden/moodle 2024-02-22 10:54:18 +07:00
Andrew Nicols
7e0315041c
Merge branch 'MDL-80821' of https://github.com/marinaglancy/moodle 2024-02-22 11:50:38 +08:00
Huong Nguyen
939d1c5050
Merge branch 'MDL-62404' of https://github.com/timhunt/moodle 2024-02-22 10:49:38 +07:00
Huong Nguyen
e7e0d2bfac
Merge branch 'MDL-80868' of https://github.com/paulholden/moodle 2024-02-22 10:43:00 +07:00
Huong Nguyen
e4c70c3b57
Merge branch 'MDL-80950-main' of https://github.com/sarjona/moodle 2024-02-22 10:40:11 +07:00
Huong Nguyen
3f2b136249
Merge branch 'MDL-80862-main' of https://github.com/andrewnicols/moodle 2024-02-22 10:35:59 +07:00
Huong Nguyen
c27fc14649
MDL-80207 tool_messageinbound: Fix Behat failure 2024-02-22 10:04:46 +07:00
Huong Nguyen
c35ec6ff2c
Merge branch 'MDL-80481_master' of https://github.com/santoshndev/moodle 2024-02-22 09:50:34 +07:00
Santosh Nagargoje
dce64c0a53 MDL-80481 report: Fixed breadcrumb menu issue 2024-02-22 01:59:00 +05:30
Sara Arjona
93b3eff237
Merge branch 'MDL-76441' of https://github.com/stronk7/moodle 2024-02-21 17:49:52 +01:00
Sara Arjona
4d6cde901a
Merge branch 'MDL-79151-fix' of https://github.com/sarjona/moodle 2024-02-21 17:46:38 +01:00
Sara Arjona
8ebd1e5cd2
MDL-79151 customfield: Remove illegal whitespace 2024-02-21 17:46:12 +01:00
Sara Arjona
3bfec9398a
Merge branch 'mdl-79151-master' of https://github.com/Fragonite/moodle 2024-02-21 17:36:12 +01:00
Sara Arjona
4e341bfc97
Merge branch 'wip_MDL-79802_line_v8' of https://github.com/gjb2048/moodle 2024-02-21 17:29:39 +01:00
Sara Arjona
617442dc16
Merge branch 'MDL-80605-master' of https://github.com/jbs1/moodle 2024-02-21 16:19:11 +01:00
Sara Arjona
15d399ec8c
Merge branch 'MDL-80404-main' of https://github.com/andelacruz/moodle 2024-02-21 13:23:25 +01:00