112856 Commits

Author SHA1 Message Date
Andrew Nicols
7b63a6864a
MDL-81044 backup: Prevent parameter bleed between readers
These parameters were re-used between array iterations, but some of the
values were modified during the iteration.
2024-02-27 11:40:55 +08:00
Andrew Nicols
5109761162
MDL-81044 backup: Rename excluded events hook to meet style 2024-02-27 11:40:55 +08: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
Mikel Martín
30a71b2b44 MDL-80856 theme_boost: Improve sticky footer styles with drawers 2024-02-26 15:36:35 +01:00
Mikel Martín
de047f3767 MDL-80621 core_courseformat: Add new activity separator styles
- Created a new divider template to generate activity and section dividers
- Refactored templates and styles for the course sections for the new
  section dividers
- Changed the topics format 'hasaddsection' property to 'true' so now adding
  sections to the bottom of the course will be handled by the format instead
  of the last section. Also re-styled this 'Add topic' button.
- Refactored templates and styles for the course activities for the new
  activity dividers
- Fixed some related behat that failed because of these changes
- Moved blocks related SCSS to the blocks file and removed some unused SCSS
2024-02-26 10:15:19 +01: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
Andrew Nicols
5323d69c53
MDL-81046 core: Add hook to apis list 2024-02-26 10:12:04 +08:00
Michael Aherne
06fe259a6a MDL-81042 quiz: Typo in renamed class. 2024-02-24 21:52:32 +00:00
Paul Holden
a16fb194f8
MDL-80550 cohort: get IDs for customfields correctly in external search. 2024-02-23 15:25:15 +00: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
Marina Glancy
7a6aae501e MDL-81036 behat: fix the action menu clickable area selector 2024-02-23 11:21:47 +00:00
Paul Holden
7cf9fac457
MDL-78984 mod_assign: observe timelimit config in override form. 2024-02-23 11:18:43 +00:00
Eloy Lafuente (stronk7)
2f66e18672
MDL-80819 install: halt any install if php min version is not met
Apart from environmental stuff, the moodle_minimum_php_version_is_met()
function is executed by all installs (web, cli, database, ...)
and halts any installation (early) not meeting the PHP constraints.
2024-02-23 11:08:08 +01: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
Paul Holden
e3e2c71901
MDL-80731 core: ensure valid /Lang attribute in generated PDF files.
As with the changes in 4be39296, PDF files have criteria for validity
of language identifiers.
2024-02-22 16:51:39 +00:00
Amaia Anabitarte
0c081f004a MDL-75794 mod_data: deprecate behat steps to generate entries and fields 2024-02-22 17:37:54 +01:00
Paul Holden
a1e9bd2dae
MDL-80183 message: improve ARIA labelling of total/unread counts. 2024-02-22 15:53:00 +00:00
Paul Holden
45f83c203f
MDL-80183 message: render user online status as an accessible icon. 2024-02-22 11:50:08 +00: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