24361 Commits

Author SHA1 Message Date
Andrew Nicols
2b4c86e251 Merge branch 'MDL-77299-master' of https://github.com/meirzamoodle/moodle 2023-03-01 11:14:36 +08:00
Meirza
f228e373cc MDL-77299 mod_quiz: 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.

Co-authored-by: Tim Hunt <t.j.Hunt@open.ac.uk>
2023-03-01 10:09:19 +07:00
Andrew Nicols
427659d202 Merge branch 'MDL-58945' of https://github.com/timhunt/moodle 2023-03-01 10:54:13 +08:00
Andrew Nicols
eb9b349c9f Merge branch 'MDL-72727' of https://github.com/paulholden/moodle 2023-03-01 10:46:09 +08:00
Tim Hunt
d65c17d16f MDL-77440 quiz: fix nav error reviewing after redoing a question 2023-02-28 16:29:03 +00:00
Jun Pataleta
946a88c87e Merge branch 'MDL-77248-master' of https://github.com/andrewnicols/moodle 2023-02-28 15:46:54 +08:00
Andrew Nicols
36b69bbb05 MDL-77248 mod_bigbluebuttonbn: Remove unused dpa pages 2023-02-28 12:04:51 +08:00
Andrew Nicols
ce7c207203 MDL-77248 mod_bigbluebuttonbn: Set dpa accepted when creating activities
This only applies when creating activities using the test data
generator.
2023-02-28 12:04:51 +08:00
Andrew Nicols
e6fe30187f MDL-77248 core: Move pre_enable_plugin_actions callback to enable_plugin
Note: The original callback was incorrectly using the $PAGE output,
which cannot be relied upon in this callback. The best we can do here is
to add a notification to explain the situation.
2023-02-28 12:04:50 +08:00
Jun Pataleta
1b0a923a75 Merge branch 'MDL-77276-master' of https://github.com/sarjona/moodle 2023-02-28 10:05:04 +08:00
Paul Holden
0df45e134d MDL-72727 mod_forum: prevent default favourite toggle click event.
Allow the repository call to the web service method to complete before
re-directing, otherwise the call may not complete and/or races against
the page reload causing random Behat errors.
2023-02-27 23:24:08 +00:00
Paul Holden
9ae5c203aa MDL-77418 mod_feedback: defensive use of analysis item data. 2023-02-27 19:21:22 +00:00
Tim Hunt
1b72db7082 MDL-76897 quiz: fix incorrect StdClass 2023-02-27 18:41:58 +00:00
Tim Hunt
20ccfc162d MDL-76897 quiz: deprecate unused quiz_calculate_best_attempt 2023-02-27 18:41:58 +00:00
Tim Hunt
728160cfbc MDL-76897 quiz: quiz_save_best_grade -> recompute_final_grade
also, the associated quiz_calculate_best_grade (only used here)
moved to a protected method.
2023-02-27 18:41:58 +00:00
Tim Hunt
ff3f4eb2e7 MDL-76897 quiz: quiz_set_grade -> update_quiz_maximum_grade 2023-02-27 18:41:57 +00:00
Tim Hunt
c212565151 MDL-76897 quiz: quiz_update_all_final_grades -> grade_calculator 2023-02-27 18:41:56 +00:00
Tim Hunt
4080962125 MDL-76897 quiz: quiz_update_all_attempt_sumgrades -> grade_calculator 2023-02-27 18:41:56 +00:00
Tim Hunt
c12ff3d5f3 MDL-76897 quiz: get the context more efficiently where possible 2023-02-27 18:41:56 +00:00
Tim Hunt
1ee7f41762 MDL-76897 quiz: streamline initalisation of $quiz, $cm, $course 2023-02-27 18:41:55 +00:00
Tim Hunt
dbd62aa94d MDL-76897 quiz: move quiz_update_sumgrades into grade_calculator 2023-02-24 16:14:51 +00:00
Tim Hunt
086bbf3f89 MDL-76897 quiz: create new class for all the grade calculation code 2023-02-24 16:14:51 +00:00
Laurent David
7bd13d581d MDL-75753 mod_bigbluebuttonbn: Support SHA256 and SHA512 checksum
* Add support for SHA256 and SHA512 checksum
2023-02-24 14:20:29 +01:00
Sara Arjona
529faa9eaa MDL-77276 mod_data: Update reset single template string
When a single template is reset, the string displayed in the modal should
not reference to "all templates" to avoid confusion, as it was shown in the
original prototype for the 4.1 database project.
2023-02-24 11:21:49 +01:00
Luca Bösch
3d59f5073c MDL-77288 quiz: Horizontally align feedback to the border & full width.
Probably from historical reasons and because of layout of former Moodle
versions the container the feedback is situated in has 70% width and is
indented. In nowadays themes this looks weird and gives visual inconsistency.
2023-02-24 10:44:19 +01:00
Andrew Nicols
d8f6c76400 Merge branch 'MDL-76843' of https://github.com/timhunt/moodle 2023-02-23 19:04:29 +01:00
Ilya Tregubov
8773ff3f56 MDL-74433 mod_assign: Fix version.php 2023-02-23 19:04:29 +01:00
Ilya Tregubov
4a76af27df Merge branch 'MDL-74433' of https://github.com/larsbonczek/moodle 2023-02-23 19:04:29 +01:00
Andrew Nicols
baae0cd2d6 MDL-77230 mod_feedback: Coding style violation fixes 2023-02-23 10:05:47 +08:00
Andrew Nicols
42fcac25e2 Merge branch 'MDL-77230-master' of https://github.com/sarjona/moodle 2023-02-23 10:05:33 +08:00
Andrew Nicols
d7d5b417b6 Merge branch 'MDL-77210' of https://github.com/timhunt/moodle 2023-02-23 09:22:40 +08:00
Tim Hunt
dd1385b80d MDL-76843 quiz: add test to verify random essay stats now work 2023-02-22 14:30:23 +00:00
Tim Hunt
4484757021 MDL-76843 quiz: fix statistics questions for missing questions 2023-02-22 14:30:23 +00:00
Tim Hunt
3088bc6600 MDL-58945 qbank: showing q text should give option of plain or full 2023-02-22 11:15:02 +00:00
Ilya Tregubov
9f31d4cd5f Merge branch 'MDL-77285-master' of https://github.com/lameze/moodle 2023-02-22 12:26:33 +08:00
Paul Holden
ffb123b6e8 MDL-76602 mod_lti: array syntax/whitespace cleanup. 2023-02-21 17:04:29 +00:00
Paul Holden
87912b7929 Merge branch 'MDL-76602-master-lti13claims' of https://github.com/cengage/moodle 2023-02-21 16:46:25 +00:00
Sara Arjona
0cde029237 MDL-77230 mod_feedback: Validate feedback access
The get_items() and get_page_items() external methods should return
items only when the user has access. Otherwise, empty array for items
will be returned, with the exact error in the warnings parameter.
2023-02-17 12:41:10 +01:00
Tomo Tsuyuki
9e725bc168 MDL-45301 assign: Add font options for EditPDF 2023-02-17 15:30:25 +11:00
Simey Lameze
3fa6293426 MDL-77285 behat: change window size to large to prevent error 2023-02-17 08:43:34 +08:00
Andrew Nicols
55574803c1 Merge branch 'MDL-77102' of https://github.com/paulholden/moodle 2023-02-16 11:50:54 +08:00
Andrew Nicols
4fa300b78f Merge branch 'MDL-76415-master' of https://github.com/meirzamoodle/moodle 2023-02-16 11:31:42 +08:00
Ilya Tregubov
26af3bc26e MDL-76313 forum: code style changes. 2023-02-16 10:59:55 +08:00
Ilya Tregubov
f85505169b Merge branch '76313-forum-improve-accessibility-master' of https://github.com/DSI-Universite-Rennes2/moodle 2023-02-16 10:59:32 +08:00
Andrew Nicols
f8f4677592 Merge branch 'MDL-76948' of https://github.com/larsbonczek/moodle 2023-02-15 23:01:04 +08:00
Andrew Nicols
f60c946408 Merge branch 'MDL-73317-master' of https://github.com/matthewhilton/moodle 2023-02-15 22:56:35 +08:00
Ilya Tregubov
d54a1d78f1 Merge branch 'MDL-75230-master' of https://github.com/andelacruz/moodle 2023-02-15 16:12:19 +08:00
Paul Holden
a309d643ab Merge branch 'MDL-77140-master' of https://github.com/snake/moodle 2023-02-14 15:51:32 +00:00
Paul Holden
79b12bc335 Merge branch 'MDL-63608' of https://github.com/AnupamaSarjoshi/moodle 2023-02-14 11:59:50 +00:00
Paul Holden
fe30100f98 Merge branch 'MDL-73937' of https://github.com/ssj365/moodle 2023-02-14 09:43:10 +00:00