109089 Commits

Author SHA1 Message Date
Tim Hunt
7994f1c985 MDL-75576 quiz statistics: don't time-limit the use of cached values
This should have been done as part of  MDL-74762, but was missed.
2023-05-15 09:59:34 +01:00
Tim Hunt
174e2ae3b5 MDL-75576 quiz statistics: don't compute when a user views the qbank
Previously, when a user viewed the question bank, if the quiz statistics
had not already been calculated, we would try to compute them there an then.
This could be very, very slow, leading to session lock problems.

Now, we never try to compute the statistics on the fly. Instead, we rely
on the existing \quiz_statistics\task\recalculate scheduled task to do it.
2023-05-15 09:59:34 +01:00
Tim Hunt
056db339d6 MDL-75576 question bank: bulk-load statistics for all questions at once
There is a new method on the column class, for the column to declare any
statistics it requires. The question then efficiently loads all those
statistics in one go, and makes them available as the columns are
rendererd, or do any subsequent processing.
2023-05-15 09:59:34 +01:00
Tim Hunt
a919335213 MDL-75576 qbank_statistics: remove copy-pasted PHPdoc comments
These methods are already correctly documented on the base class.
2023-05-15 09:59:33 +01:00
Ilya Tregubov
063ffc8073
weekly release 4.3dev 2023-05-12 08:56:37 +08:00
Ilya Tregubov
9cc3491de6
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2023-05-12 08:56:35 +08:00
Jun Pataleta
6a404783d2 Merge branch 'MDL-76344-master-fix' of https://github.com/stevandoMoodle/moodle 2023-05-11 14:34:50 +08:00
Jake Dallimore
01cea25154
Merge branch 'MDL-75552-master' of https://github.com/sarjona/moodle 2023-05-11 11:23:14 +08:00
Stevani Andolo
d3c2698b83 MDL-76344 course: Fixed course image 'non image file' layout 2023-05-11 11:12:41 +08:00
Sara Arjona
c785f8312c Merge branch 'MDL-78040' of https://github.com/paulholden/moodle 2023-05-10 19:45:08 +02:00
Sara Arjona
7fc14069ea Merge branch 'MDL-77614' of https://github.com/paulholden/moodle 2023-05-10 12:54:34 +02:00
Andrew Nicols
7032e363bf
Merge branch 'MDL-77592-master' of https://github.com/golenkovm/moodle 2023-05-10 13:03:11 +08:00
Andrew Nicols
267606dc42
Merge branch 'MDL-78034' of https://github.com/paulholden/moodle 2023-05-10 12:59:46 +08:00
Andrew Nicols
dd7f6a313d
Merge branch 'MDL-74898-master' of https://github.com/marinaglancy/moodle 2023-05-10 12:24:41 +08:00
Ilya Tregubov
954e523be8
Merge branch 'MDL-75623-master' of https://github.com/sh-csg/moodle 2023-05-10 11:42:56 +08:00
Jun Pataleta
ad82a95633 Merge branch 'MDL-78065-master' of https://github.com/HuongNV13/moodle 2023-05-09 22:42:42 +08:00
Jun Pataleta
d0782dadd3 Merge branch 'MDL-78093' of https://github.com/paulholden/moodle 2023-05-09 17:25:57 +08:00
Jake Dallimore
4b0a4dfcb2 Merge branch 'MDL-77872-master' of https://github.com/lucaboesch/moodle 2023-05-09 15:27:45 +08:00
Andrew Nicols
bd214de282 MDL-75552 badges: move apiBase consumption to backpack
The apiBase in .well-known/badgeconnect.json was ignored and it was
causing some failures when connecting or sending badges to an
external backpack.
For OBv2.1, it has been changed to always use the apiBase defined
in the badgeconnect.json backpack provider.
2023-05-09 08:50:42 +02:00
Ilya Tregubov
4670bbb564
Merge branch 'MDL-71413' of https://github.com/paulholden/moodle 2023-05-09 11:30:24 +08:00
Ilya Tregubov
500ef7ccf2
Merge branch 'MDL-70189' of https://github.com/paulholden/moodle 2023-05-08 12:49:21 +08:00
AMOS bot
534dac4b9a Automatically generated installer lang files 2023-05-07 00:07:32 +00:00
Jun Pataleta
87edadbb0c Merge branch 'MDL-76344-master' of https://github.com/stevandoMoodle/moodle 2023-05-05 10:35:16 +08:00
Luca Bösch
86aaab4329 MDL-77872 quiz: quiz editing page less narrow. 2023-05-04 15:36:43 +02:00
Paul Holden
2b6d7d300a
MDL-71413 user: final removal of deprecated profile field methods. 2023-05-04 14:16:05 +01:00
Paul Holden
029474c319
MDL-70189 lang: final removal of deprecated 311 strings. 2023-05-04 14:15:35 +01:00
Sara Arjona
5d320dd7d1 weekly release 4.3dev 2023-05-04 12:42:39 +02:00
Andrew Nicols
3b7ef3d287 Merge branch 'MDL-78054-master' of https://github.com/dpalou/moodle 2023-05-04 12:04:42 +08:00
Stevani Andolo
a78738c855 MDL-76344 course: Fixed course image 'non image file' layout 2023-05-04 10:26:06 +08:00
Jake Dallimore
3abb8c4a28 Merge branch 'MDL-78002' of https://github.com/stronk7/moodle 2023-05-04 10:07:07 +08:00
Ilya Tregubov
7a0880a737 Merge branch 'MDL-78094-master' of https://github.com/snake/moodle 2023-05-04 08:53:27 +08:00
Paul Holden
ca77f51f2c
MDL-78040 block_glossary_random: switch to block test generator.
Random failures after manually adding block instances (specifically
on slow/Oracle systems) can be entirely avoided by using the block
test generator for scenarios that are not specifically concerned with
manually adding blocks.
2023-05-03 16:42:55 +01:00
Sara Arjona
025690347d Merge branch 'MDL-77781-master' of https://github.com/sarjona/moodle 2023-05-03 16:04:53 +02:00
Jun Pataleta
aa011d149e Merge branch 'MDL-77398' of https://github.com/paulholden/moodle 2023-05-03 20:36:39 +08:00
Laurent David
4a91802a44 MDL-77781 core_completion: Completion view must be deleted too
When resetting a course, completion view entries should also be
deleted

Co-authored-by: Georg Moser <georg@moser.link>
2023-05-03 14:27:54 +02:00
Jake Dallimore
4bcb6a19bf Merge branch 'MDL-77384' of https://github.com/paulholden/moodle 2023-05-03 16:51:58 +08:00
Jake Dallimore
78a4999ddf Merge branch 'MDL-78023' of https://github.com/paulholden/moodle 2023-05-03 16:15:29 +08:00
Sara Arjona
60143dff4f Merge branch 'MDL-77312' of https://github.com/paulholden/moodle 2023-05-03 09:59:12 +02:00
Sara Arjona
29301517d4 Merge branch 'MDL-78049-master' of https://github.com/PhMemmel/moodle 2023-05-03 09:45:12 +02:00
Ilya Tregubov
b054baacb6 Merge branch 'MDL-77320' of https://github.com/paulholden/moodle 2023-05-03 15:36:08 +08:00
Sara Arjona
5222c27bb5 Merge branch 'MDL-78057' of https://github.com/danmarsden/moodle 2023-05-03 09:22:34 +02:00
Sara Arjona
c03e4cadf3 Merge branch 'MDL-76971' of https://github.com/paulholden/moodle 2023-05-03 09:18:18 +02:00
Sara Arjona
ed2708bfa9 Merge branch 'MDL-78006' of https://github.com/paulholden/moodle 2023-05-03 09:04:30 +02:00
Ilya Tregubov
47b977bc30 Merge branch 'MDL-77810' of https://github.com/paulholden/moodle 2023-05-03 13:07:58 +08:00
Ilya Tregubov
3f47d59035 Merge branch 'MDL-77987' of https://github.com/AnupamaSarjoshi/moodle 2023-05-03 12:39:47 +08:00
Jake Dallimore
d2b655cbf2 Merge branch 'MDL-78052-master' of https://github.com/sarjona/moodle 2023-05-03 12:06:33 +08:00
Ilya Tregubov
9d4a20d140 Merge branch 'MDL-77546-master' of https://github.com/mihailges/moodle 2023-05-03 10:56:41 +08:00
Jun Pataleta
429a1b644f Merge branch 'MDL-77394' of https://github.com/paulholden/moodle 2023-05-03 10:31:12 +08:00
Jun Pataleta
7787a32f65 Merge branch 'MDL-78038' of https://github.com/paulholden/moodle 2023-05-03 10:25:47 +08:00
Ilya Tregubov
cedadb7c03 Merge branch 'MDL-77936' of https://github.com/paulholden/moodle 2023-05-03 10:07:06 +08:00