24381 Commits

Author SHA1 Message Date
Ilya Tregubov
1ff7767b70
Merge branch 'MDL-78152' of https://github.com/paulholden/moodle 2023-05-17 15:06:45 +08:00
Sara Arjona
36de54c1f8 Merge branch 'MDL-77350-master' of https://github.com/meirzamoodle/moodle 2023-05-17 08:27:26 +02:00
Jun Pataleta
88495c2f4b Merge branch 'MDL-75576' of https://github.com/timhunt/moodle 2023-05-16 10:02:13 +08:00
Ilya Tregubov
38230b57e4
Merge branch 'MDL-77840-master' of https://github.com/davewoloszyn/moodle 2023-05-16 09:46:05 +08:00
Meirza
0fcba75ea7 MDL-77350 mod_h5pactivity: Added missing class properties
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-05-16 00:33:19 +07:00
Andrew Nicols
2410a1538a
Merge branch 'MDL-77432-master' of https://github.com/lucaboesch/moodle 2023-05-15 22:12:09 +08:00
Andrew Nicols
99e8362272
Merge branch 'MDL-78149' of https://github.com/paulholden/moodle 2023-05-15 22:05:52 +08:00
Andrew Nicols
c25b54d12e
Merge branch 'MDL-77144-master' of https://github.com/davewoloszyn/moodle 2023-05-15 21:59:24 +08:00
Tim Hunt
60dbaa0065 MDL-75576 quiz/question statistics: don't expire by time
Previously, a set of calculated quiz statistics would only 'last' for
15 minutes. Then they would be considered invalid and not used.

Now, computed statistics are kept indefinitely. Instead, when a new
batch of values are computed for a particular set of settings, older numbers
for the same settings are deleted first. Therefore,
question_stats_cleanup_task is no more.
2023-05-15 10:01:27 +01:00
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
Jun Pataleta
b8b9216ee5 Merge branch 'MDL-76903-master' of https://github.com/laurentdavid/moodle 2023-05-15 12:06:14 +08:00
Luca Bösch
f4e390fcf7 MDL-77432 mod_assign: Confirm submission page standard and not incourse 2023-05-12 09:25:18 +02:00
Laurent David
e489ae2492 MDL-76903 mod_book: Fix activity completion
* Check only visibles pages to set completion status.
* Make sure we have consistent completion value in API and on the view page.
2023-05-11 11:47:18 +02:00
David Woloszyn
f3f816ced9 MDL-77144 core_grades: fix headings in grade area
Previous to this, heading logic was performed in print_grade_page_head.
With the deprecation of the showtitle param, it makes sense now to
explicitly set the heading when the function is called. This prevents
duplicated text between the heading and teriary dropdown. This patch
also fixes unnecessary text that was concatenated onto headings.
2023-05-11 10:09:09 +10:00
Andrew Nicols
267606dc42
Merge branch 'MDL-78034' of https://github.com/paulholden/moodle 2023-05-10 12:59:46 +08:00
Paul Holden
52937b39c8
MDL-78149 mod_data: ensure group selector is always present. 2023-05-09 12:03:43 +01:00
Paul Holden
1d66c4cbfb
MDL-78152 mod_book: set permissions required for page editing. 2023-05-09 11:51:38 +01:00
Jake Dallimore
4b0a4dfcb2 Merge branch 'MDL-77872-master' of https://github.com/lucaboesch/moodle 2023-05-09 15:27:45 +08:00
Luca Bösch
86aaab4329 MDL-77872 quiz: quiz editing page less narrow. 2023-05-04 15:36:43 +02:00
Paul Holden
029474c319
MDL-70189 lang: final removal of deprecated 311 strings. 2023-05-04 14:15:35 +01:00
Jun Pataleta
aa011d149e Merge branch 'MDL-77398' of https://github.com/paulholden/moodle 2023-05-03 20:36:39 +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
Sara Arjona
537e5bf5e4 Merge branch 'MDL-77791_master' of https://github.com/dvdcastro/moodle 2023-05-02 12:03:48 +02:00
David Woloszyn
80203e3be1 MDL-77840 lti: Avoid passing nulls to base64_encode 2023-05-02 13:46:41 +10:00
Ilya Tregubov
a7c42e69f4 Merge branch 'MDL-78025' of https://github.com/timhunt/moodle 2023-05-02 11:42:45 +08:00
Paul Holden
cabf27f9e1
MDL-78038 mod_bigbluebuttonbn: observe course format section config. 2023-04-26 16:08:20 +01:00
Tim Hunt
c71272c3b1 MDL-78025 quiz: fix the quiz_questions_in_use logic 2023-04-26 15:29:39 +01:00
Paul Holden
c0594002a8
MDL-78034 mod_bigbluebuttonbn: format instance group names. 2023-04-26 15:25:34 +01:00
David Castro
5d9fec141d MDL-77791 data: Fix file attachment to search doc 2023-04-25 19:51:44 -05:00
Paul Holden
b495ba0cec
Merge branch 'MDL-78007-master' of https://github.com/HuongNV13/moodle 2023-04-25 12:36:07 +01:00
Paul Holden
b08857a1b9
MDL-77394 mod_forum: de-couple discussion pinned/starred options. 2023-04-24 10:37:55 +01:00
Paul Holden
426b5aeccb
MDL-77398 mod_assign: disable form submit protection for batch options. 2023-04-24 10:35:07 +01:00
Huong Nguyen
1d4c1d9c65 MDL-78007 tiny_media: Fix wrong condition for the Tiny Media
Including in this commit:
 - Switched to Tiny editor in manually_mark_question.feature
2023-04-24 15:53:41 +07:00
Jun Pataleta
9095bb0ef9 MDL-78000 upgrade: add the 4.2.0 separation line to all upgrade scripts 2023-04-22 23:17:50 +08:00
Ilya Tregubov
a0b40bd104 MDL-77229 mod_lesson: Black list detailed statistics in classic Behat.
The nav element to go to detailed stats page is missing in classic
2023-04-21 15:03:02 +08:00
Ilya Tregubov
ad401db0f8 Merge branch 'MDL-77229-master' of https://github.com/ilyatregubov/moodle 2023-04-21 12:11:59 +08:00
Ilya Tregubov
1601a2610f MDL-77229 lesson: Add Behat test 2023-04-21 12:02:34 +08:00
Juan Leyva
f14c09406a MDL-77229 lesson: Fix error for empty responses (numerical pagetype) 2023-04-20 12:46:21 +02:00
Paul Holden
5521d1d6e8 MDL-77187 mod_wiki: validate external method sort parameters. 2023-04-19 16:44:19 +00:00
Jun Pataleta
02ba4ceefa Merge branch 'MDL-77940' of https://github.com/stronk7/moodle 2023-04-19 17:43:23 +08:00
Jun Pataleta
07243a3ae3 Merge branch 'MDL-77785' of https://github.com/timhunt/moodle 2023-04-19 15:45:55 +08:00
Eloy Lafuente (stronk7)
061c9d7ba0 MDL-77940 versions: bump all versions and requires near release
version = 2023042400 release version
requires= 2023041800 current rc1 version
2023-04-18 18:08:09 +02:00
Víctor Déniz
b576b068bd MDL-77878 lang: Use fixed strings in tests 2023-04-17 08:49:59 +01:00
Helen Foster
ee8408c4d5 MDL-77878 lang: Import fixed English strings (en_fix) 2023-04-14 13:08:38 +01:00
Sara Arjona
bdc106e840 Merge branch 'MDL-76859-master' of https://github.com/sarjona/moodle 2023-04-13 16:24:20 +02:00
Sara Arjona
9ce4fb65fd Merge branch 'MDL-77164-master' of https://github.com/marinaglancy/moodle 2023-04-13 14:00:18 +02:00
Sara Arjona
2f771f3175 Merge branch 'MDL-77788-master' of https://github.com/rmady/moodle 2023-04-13 13:16:46 +02:00
Marina Glancy
8fc1486d36 MDL-77164 various: fix incorrect phpdocs 2023-04-13 11:35:06 +01:00