diff --git a/UPGRADING.md b/UPGRADING.md index 275227136b2..9bbb2ff06be 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -6,7 +6,7 @@ More detailed information on key changes can be found in the [Developer update n The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com). -## 5.0dev+ +## 5.0beta ### core @@ -270,6 +270,21 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt ### core_backup +#### Added + +- Added several hooks to the restore process to + + 1. Hook to allow extra settings to be defined for the course restore process. + 2. Hook to allow adding extra fields to the copy course form. + 3. Hook used by `copy_helper::process_formdata()` to expand the list of required fields. + 4. Hook used to allow interaction with the copy task, before the actual task execution takes place. + + Other changes include + 1. `base_task::add_setting()` is now public to allow hook callbacks to add settings. + 2. Settings are now added to the data sent to the course_restored event. + + For more information see [MDL-83479](https://tracker.moodle.org/browse/MDL-83479) + #### Removed - Remove all MODE_HUB related code. @@ -503,6 +518,16 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-84310](https://tracker.moodle.org/browse/MDL-84310) +### core_files + +#### Added + +- Adds a new ad-hoc task `core_files\task\asynchronous_mimetype_upgrade_task` to upgrade the mimetype of files + asynchronously during core upgrades. The upgradelib also comes with a new utility function + `upgrade_create_async_mimetype_upgrade_task` for creating said ad-hoc task. + + For more information see [MDL-81437](https://tracker.moodle.org/browse/MDL-81437) + ### core_form #### Changed @@ -523,6 +548,12 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-81714](https://tracker.moodle.org/browse/MDL-81714) +#### Deprecated + +- Deprecate print_graded_users_selector() from Moodle 2 era + + For more information see [MDL-84673](https://tracker.moodle.org/browse/MDL-84673) + #### Removed - Removed unused grade_edit_tree_column_select class @@ -574,6 +605,12 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt #### Changed +- question_attempt_step's constructor now accepts the class constant TIMECREATED_ON_FIRST_RENDER as a value for the + $timecreated parameter. Calling question_attempt::render for the first time will now set the first step's timecreated + to the current time if it is set to this value. Note, null could not be used here as it is already used to indicate + timecreated should be set to the current time. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) - The definition of the abstract `core_question\local\bank\condition` class has changed to make it clearer which methods are required in child classes. The `get_filter_class` method is no longer declared as abstract, and will return `null` by default to use the base `core/datafilter/filtertype` class. If you have defined this method to return `null` in your own class, it will continue to work, but it is no longer necessary. `build_query_from_filter` and `get_condition_key` are now declared as abstract, since all filter condition classes must define these (as well as existing abstract methods) to function. Again, exsiting child classes will continue to work if they did before, as they already needed these methods. @@ -1019,8 +1056,26 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt ### mod_quiz +#### Added + +- quiz_attempt now has 2 additional state values, NOT_STARTED and SUBMITTED. These represent attempts when an attempt has been + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) +- New quiz setting "precreateperiod" controls the period before timeopen during which attempts will be pre-created using the new + NOT_STARTED state. This setting is marked advanced and locked by default, so can only be set by administrators. This setting + is read by the \mod_quiz\task\precreate_attempts task to identify quizzes due for pre-creation. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) + #### Changed +- quiz_attempt_save_started now sets the IN_PROGRESS state, timestarted, and saves the attempt, while the new quiz_attempt_save_not_started function sets the NOT_STARTED state and saves the attempt. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) +- quiz_attempt_save_started Now takes an additional $timenow parameter, to specify the timestart of the attempt. This was previously + set in quiz_create_attempt, but is now set in quiz_attempt_save_started and quiz_attempt_save_not_started. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) - The `quiz_question_tostring` method now includes a new boolean parameter, `displaytaglink`. This parameter specifies whether the tag name in the question bank should be displayed as a clickable hyperlink (`true`) or as plain text (`false`). For more information see [MDL-75075](https://tracker.moodle.org/browse/MDL-75075) @@ -1034,6 +1089,29 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-81521](https://tracker.moodle.org/browse/MDL-81521) +#### Deprecated + +- quiz_attempt::process_finish is now deprecated, and its functionality is split between ::process_submit, which saves the + submission, sets the finish time and sets the SUBMITTED status, and ::process_grade_submission which performs automated + grading and sets the FINISHED status. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) +- The webservice function `mod_quiz_get_user_attempts` is now deprecated in favour of `mod_quiz_get_user_quiz_attempts`. + + With the introduction of the new NOT_STARTED quiz attempt state, `mod_quiz_get_user_attempts` has been modified to not return NOT_STARTED attempts, allowing clients such as the mobile app to continue working without modifications. + + `mod_quiz_get_user_quiz_attempts` will return attempts in all states, as `mod_quiz_get_user_attempts` did before. Once clients are updated to handle NOT_STARTED attempts, they can migrate to use this function. + + A minor modification to `mod_quiz_start_attempt` has been made to allow it to transparently start an existing attempt that is in the NOT_STARTED state, rather than creating a new one. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) + +#### Removed + +- Final removal of quiz_delete_override() and quiz_delete_all_overrides() + + For more information see [MDL-80944](https://tracker.moodle.org/browse/MDL-80944) + ### mod_wiki #### Removed diff --git a/admin/presets/UPGRADING.md b/admin/presets/UPGRADING.md index 0cf49a6b8df..3472bd11cd0 100644 --- a/admin/presets/UPGRADING.md +++ b/admin/presets/UPGRADING.md @@ -1,6 +1,6 @@ # core_adminpresets (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/admin/tool/admin_presets/UPGRADING.md b/admin/tool/admin_presets/UPGRADING.md index 66e1591d249..15ea1d31f75 100644 --- a/admin/tool/admin_presets/UPGRADING.md +++ b/admin/tool/admin_presets/UPGRADING.md @@ -1,6 +1,6 @@ # tool_admin_presets Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/admin/tool/behat/UPGRADING.md b/admin/tool/behat/UPGRADING.md index d32f5b1b54c..1925ea831b4 100644 --- a/admin/tool/behat/UPGRADING.md +++ b/admin/tool/behat/UPGRADING.md @@ -1,6 +1,6 @@ # tool_behat Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/admin/tool/brickfield/UPGRADING.md b/admin/tool/brickfield/UPGRADING.md index 7712d74c076..e8249339aeb 100644 --- a/admin/tool/brickfield/UPGRADING.md +++ b/admin/tool/brickfield/UPGRADING.md @@ -1,6 +1,6 @@ # tool_brickfield Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/admin/tool/lp/UPGRADING.md b/admin/tool/lp/UPGRADING.md index bdeaca020a0..82bdf528084 100644 --- a/admin/tool/lp/UPGRADING.md +++ b/admin/tool/lp/UPGRADING.md @@ -1,6 +1,6 @@ # tool_lp Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/admin/tool/mfa/UPGRADING.md b/admin/tool/mfa/UPGRADING.md index 307dffadf04..9f76453d2db 100644 --- a/admin/tool/mfa/UPGRADING.md +++ b/admin/tool/mfa/UPGRADING.md @@ -1,6 +1,6 @@ # tool_mfa Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/admin/tool/mobile/UPGRADING.md b/admin/tool/mobile/UPGRADING.md index e14af3bbbf8..bd7d3338767 100644 --- a/admin/tool/mobile/UPGRADING.md +++ b/admin/tool/mobile/UPGRADING.md @@ -1,6 +1,6 @@ # tool_mobile Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/ai/UPGRADING.md b/ai/UPGRADING.md index 35cf4253b80..7983e432578 100644 --- a/ai/UPGRADING.md +++ b/ai/UPGRADING.md @@ -1,6 +1,6 @@ # core_ai (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/ai/placement/courseassist/UPGRADING.md b/ai/placement/courseassist/UPGRADING.md index 3c607261cfc..e18b1592384 100644 --- a/ai/placement/courseassist/UPGRADING.md +++ b/ai/placement/courseassist/UPGRADING.md @@ -1,6 +1,6 @@ # aiplacement_courseassist Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/analytics/UPGRADING.md b/analytics/UPGRADING.md index a4f28c8aadd..34f0e5a9897 100644 --- a/analytics/UPGRADING.md +++ b/analytics/UPGRADING.md @@ -1,6 +1,6 @@ # core_analytics (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/auth/UPGRADING.md b/auth/UPGRADING.md index ecbf12544db..a82768bbae6 100644 --- a/auth/UPGRADING.md +++ b/auth/UPGRADING.md @@ -1,6 +1,6 @@ # core_auth (subsystem / plugintype) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/backup/util/ui/UPGRADING.md b/backup/util/ui/UPGRADING.md index 7e7693af4d1..1ad020639ca 100644 --- a/backup/util/ui/UPGRADING.md +++ b/backup/util/ui/UPGRADING.md @@ -1,6 +1,21 @@ # core_backup (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta + +### Added + +- Added several hooks to the restore process to + + 1. Hook to allow extra settings to be defined for the course restore process. + 2. Hook to allow adding extra fields to the copy course form. + 3. Hook used by `copy_helper::process_formdata()` to expand the list of required fields. + 4. Hook used to allow interaction with the copy task, before the actual task execution takes place. + + Other changes include + 1. `base_task::add_setting()` is now public to allow hook callbacks to add settings. + 2. Settings are now added to the data sent to the course_restored event. + + For more information see [MDL-83479](https://tracker.moodle.org/browse/MDL-83479) ### Removed diff --git a/badges/UPGRADING.md b/badges/UPGRADING.md index f5313a184df..caa29809044 100644 --- a/badges/UPGRADING.md +++ b/badges/UPGRADING.md @@ -1,6 +1,6 @@ # core_badges (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/blocks/UPGRADING.md b/blocks/UPGRADING.md index 1648dde86c4..85b29210aef 100644 --- a/blocks/UPGRADING.md +++ b/blocks/UPGRADING.md @@ -1,6 +1,6 @@ # core_block (subsystem / plugintype) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/blocks/site_main_menu/UPGRADING.md b/blocks/site_main_menu/UPGRADING.md index 201e84f15f4..2c2d6d6b70a 100644 --- a/blocks/site_main_menu/UPGRADING.md +++ b/blocks/site_main_menu/UPGRADING.md @@ -1,6 +1,6 @@ # block_site_main_menu Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/blocks/social_activities/UPGRADING.md b/blocks/social_activities/UPGRADING.md index cafcb2f4f57..147a3bfb878 100644 --- a/blocks/social_activities/UPGRADING.md +++ b/blocks/social_activities/UPGRADING.md @@ -1,6 +1,6 @@ # block_social_activities Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/calendar/UPGRADING.md b/calendar/UPGRADING.md index ec00431f7ba..3c6a80819e8 100644 --- a/calendar/UPGRADING.md +++ b/calendar/UPGRADING.md @@ -1,6 +1,6 @@ # core_calendar (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/completion/UPGRADING.md b/completion/UPGRADING.md index cf50bcf7bc0..69bfcef2ba6 100644 --- a/completion/UPGRADING.md +++ b/completion/UPGRADING.md @@ -1,6 +1,6 @@ # core_completion (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/course/UPGRADING.md b/course/UPGRADING.md index 23a089396c5..47ac615a8ce 100644 --- a/course/UPGRADING.md +++ b/course/UPGRADING.md @@ -1,6 +1,6 @@ # core_course (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/course/format/UPGRADING.md b/course/format/UPGRADING.md index ec7bf21802b..529557237ed 100644 --- a/course/format/UPGRADING.md +++ b/course/format/UPGRADING.md @@ -1,6 +1,6 @@ # core_courseformat (subsystem / plugintype) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/course/format/topics/UPGRADING.md b/course/format/topics/UPGRADING.md index e23109e5785..12841c555c1 100644 --- a/course/format/topics/UPGRADING.md +++ b/course/format/topics/UPGRADING.md @@ -1,6 +1,6 @@ # format_topics Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/customfield/UPGRADING.md b/customfield/UPGRADING.md index f9084811c94..76d217846c9 100644 --- a/customfield/UPGRADING.md +++ b/customfield/UPGRADING.md @@ -1,6 +1,6 @@ # core_customfield (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/enrol/UPGRADING.md b/enrol/UPGRADING.md index c91f94095de..90e3d933144 100644 --- a/enrol/UPGRADING.md +++ b/enrol/UPGRADING.md @@ -1,6 +1,6 @@ # core_enrol (subsystem / plugintype) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/enrol/guest/UPGRADING.md b/enrol/guest/UPGRADING.md index 4c3a487e1ea..3743610623d 100644 --- a/enrol/guest/UPGRADING.md +++ b/enrol/guest/UPGRADING.md @@ -1,6 +1,6 @@ # enrol_guest Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/enrol/self/UPGRADING.md b/enrol/self/UPGRADING.md index eedd46514f5..937972f50ee 100644 --- a/enrol/self/UPGRADING.md +++ b/enrol/self/UPGRADING.md @@ -1,6 +1,6 @@ # enrol_self Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/files/UPGRADING.md b/files/UPGRADING.md index 5cfe9dc60d5..fe95ba6c31e 100644 --- a/files/UPGRADING.md +++ b/files/UPGRADING.md @@ -1,5 +1,15 @@ # core_files (subsystem) Upgrade notes +## 5.0beta + +### Added + +- Adds a new ad-hoc task `core_files\task\asynchronous_mimetype_upgrade_task` to upgrade the mimetype of files + asynchronously during core upgrades. The upgradelib also comes with a new utility function + `upgrade_create_async_mimetype_upgrade_task` for creating said ad-hoc task. + + For more information see [MDL-81437](https://tracker.moodle.org/browse/MDL-81437) + ## 4.5 ### Added diff --git a/grade/UPGRADING.md b/grade/UPGRADING.md index aa8700b2311..77bcd3e980d 100644 --- a/grade/UPGRADING.md +++ b/grade/UPGRADING.md @@ -1,6 +1,6 @@ # core_grades (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added @@ -12,6 +12,12 @@ For more information see [MDL-81714](https://tracker.moodle.org/browse/MDL-81714) +### Deprecated + +- Deprecate print_graded_users_selector() from Moodle 2 era + + For more information see [MDL-84673](https://tracker.moodle.org/browse/MDL-84673) + ### Removed - Removed unused grade_edit_tree_column_select class diff --git a/grade/report/UPGRADING.md b/grade/report/UPGRADING.md index 74c8fb82b3c..f414fc92708 100644 --- a/grade/report/UPGRADING.md +++ b/grade/report/UPGRADING.md @@ -1,6 +1,6 @@ # gradereport (plugin type) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/grade/report/grader/UPGRADING.md b/grade/report/grader/UPGRADING.md index 336fe2b8a6b..9571d6ccf29 100644 --- a/grade/report/grader/UPGRADING.md +++ b/grade/report/grader/UPGRADING.md @@ -1,6 +1,6 @@ # gradereport_grader Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/lib/UPGRADING.md b/lib/UPGRADING.md index e15b6efb7d9..5f9ddf3935f 100644 --- a/lib/UPGRADING.md +++ b/lib/UPGRADING.md @@ -1,6 +1,6 @@ # core (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/lib/editor/tiny/UPGRADING.md b/lib/editor/tiny/UPGRADING.md index ada370ce8f2..8ba1cb6d162 100644 --- a/lib/editor/tiny/UPGRADING.md +++ b/lib/editor/tiny/UPGRADING.md @@ -1,6 +1,6 @@ # editor_tiny Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/lib/form/UPGRADING.md b/lib/form/UPGRADING.md index d8b5890ee4b..4ad1a01216f 100644 --- a/lib/form/UPGRADING.md +++ b/lib/form/UPGRADING.md @@ -1,6 +1,6 @@ # core_form (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Changed diff --git a/mnet/UPGRADING.md b/mnet/UPGRADING.md index 1d739126a48..13a92d6d18f 100644 --- a/mnet/UPGRADING.md +++ b/mnet/UPGRADING.md @@ -1,6 +1,6 @@ # core_mnet (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/mod/UPGRADING.md b/mod/UPGRADING.md index bbf8baf2af7..9492d5c4946 100644 --- a/mod/UPGRADING.md +++ b/mod/UPGRADING.md @@ -1,6 +1,6 @@ # mod (plugin type) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/mod/assign/UPGRADING.md b/mod/assign/UPGRADING.md index cbf3d300fa2..6fb993f2af2 100644 --- a/mod/assign/UPGRADING.md +++ b/mod/assign/UPGRADING.md @@ -1,6 +1,6 @@ # mod_assign Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/mod/book/UPGRADING.md b/mod/book/UPGRADING.md index 5523751cbe6..c360d2886f2 100644 --- a/mod/book/UPGRADING.md +++ b/mod/book/UPGRADING.md @@ -1,6 +1,6 @@ # mod_book Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/mod/choice/UPGRADING.md b/mod/choice/UPGRADING.md index 3674d200c17..f91800c573d 100644 --- a/mod/choice/UPGRADING.md +++ b/mod/choice/UPGRADING.md @@ -1,6 +1,6 @@ # mod_choice Upgrade notes -## 5.0dev+ +## 5.0beta ### Changed diff --git a/mod/data/UPGRADING.md b/mod/data/UPGRADING.md index 211db8a9ded..e60d82f4c77 100644 --- a/mod/data/UPGRADING.md +++ b/mod/data/UPGRADING.md @@ -1,6 +1,6 @@ # mod_data Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/mod/feedback/UPGRADING.md b/mod/feedback/UPGRADING.md index ca9df4cd1e1..17dc5d8f394 100644 --- a/mod/feedback/UPGRADING.md +++ b/mod/feedback/UPGRADING.md @@ -1,6 +1,6 @@ # mod_feedback Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/mod/folder/UPGRADING.md b/mod/folder/UPGRADING.md index 638965268fb..5bf084e4275 100644 --- a/mod/folder/UPGRADING.md +++ b/mod/folder/UPGRADING.md @@ -1,6 +1,6 @@ # mod_folder Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/mod/h5pactivity/UPGRADING.md b/mod/h5pactivity/UPGRADING.md index a8ba7606efd..a88e1ede527 100644 --- a/mod/h5pactivity/UPGRADING.md +++ b/mod/h5pactivity/UPGRADING.md @@ -1,6 +1,6 @@ # mod_h5pactivity Upgrade notes -## 5.0dev+ +## 5.0beta ### Changed diff --git a/mod/imscp/UPGRADING.md b/mod/imscp/UPGRADING.md index 64701a6d92c..27573937552 100644 --- a/mod/imscp/UPGRADING.md +++ b/mod/imscp/UPGRADING.md @@ -1,6 +1,6 @@ # mod_imscp Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/mod/lesson/UPGRADING.md b/mod/lesson/UPGRADING.md index e048e1a3cca..1a021c7a45c 100644 --- a/mod/lesson/UPGRADING.md +++ b/mod/lesson/UPGRADING.md @@ -1,6 +1,6 @@ # mod_lesson Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/mod/lti/UPGRADING.md b/mod/lti/UPGRADING.md index ff81a6aeb69..b26ca2fcf3e 100644 --- a/mod/lti/UPGRADING.md +++ b/mod/lti/UPGRADING.md @@ -1,6 +1,6 @@ # mod_lti Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/mod/quiz/UPGRADING.md b/mod/quiz/UPGRADING.md index eb58661be3c..3aed8c4af5b 100644 --- a/mod/quiz/UPGRADING.md +++ b/mod/quiz/UPGRADING.md @@ -1,9 +1,27 @@ # mod_quiz Upgrade notes -## 5.0dev+ +## 5.0beta + +### Added + +- quiz_attempt now has 2 additional state values, NOT_STARTED and SUBMITTED. These represent attempts when an attempt has been + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) +- New quiz setting "precreateperiod" controls the period before timeopen during which attempts will be pre-created using the new + NOT_STARTED state. This setting is marked advanced and locked by default, so can only be set by administrators. This setting + is read by the \mod_quiz\task\precreate_attempts task to identify quizzes due for pre-creation. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) ### Changed +- quiz_attempt_save_started now sets the IN_PROGRESS state, timestarted, and saves the attempt, while the new quiz_attempt_save_not_started function sets the NOT_STARTED state and saves the attempt. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) +- quiz_attempt_save_started Now takes an additional $timenow parameter, to specify the timestart of the attempt. This was previously + set in quiz_create_attempt, but is now set in quiz_attempt_save_started and quiz_attempt_save_not_started. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) - The `quiz_question_tostring` method now includes a new boolean parameter, `displaytaglink`. This parameter specifies whether the tag name in the question bank should be displayed as a clickable hyperlink (`true`) or as plain text (`false`). For more information see [MDL-75075](https://tracker.moodle.org/browse/MDL-75075) @@ -17,6 +35,29 @@ For more information see [MDL-81521](https://tracker.moodle.org/browse/MDL-81521) +### Deprecated + +- quiz_attempt::process_finish is now deprecated, and its functionality is split between ::process_submit, which saves the + submission, sets the finish time and sets the SUBMITTED status, and ::process_grade_submission which performs automated + grading and sets the FINISHED status. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) +- The webservice function `mod_quiz_get_user_attempts` is now deprecated in favour of `mod_quiz_get_user_quiz_attempts`. + + With the introduction of the new NOT_STARTED quiz attempt state, `mod_quiz_get_user_attempts` has been modified to not return NOT_STARTED attempts, allowing clients such as the mobile app to continue working without modifications. + + `mod_quiz_get_user_quiz_attempts` will return attempts in all states, as `mod_quiz_get_user_attempts` did before. Once clients are updated to handle NOT_STARTED attempts, they can migrate to use this function. + + A minor modification to `mod_quiz_start_attempt` has been made to allow it to transparently start an existing attempt that is in the NOT_STARTED state, rather than creating a new one. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) + +### Removed + +- Final removal of quiz_delete_override() and quiz_delete_all_overrides() + + For more information see [MDL-80944](https://tracker.moodle.org/browse/MDL-80944) + ## 4.5 ### Added diff --git a/mod/wiki/UPGRADING.md b/mod/wiki/UPGRADING.md index 4519b7d5138..2412450b6ef 100644 --- a/mod/wiki/UPGRADING.md +++ b/mod/wiki/UPGRADING.md @@ -1,6 +1,6 @@ # mod_wiki Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/portfolio/UPGRADING.md b/portfolio/UPGRADING.md index 00c9b1c6468..19b5f7a4d80 100644 --- a/portfolio/UPGRADING.md +++ b/portfolio/UPGRADING.md @@ -1,6 +1,6 @@ # core_portfolio (subsystem / plugintype) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/question/UPGRADING.md b/question/UPGRADING.md index 710fe22ae6f..331bbc62f42 100644 --- a/question/UPGRADING.md +++ b/question/UPGRADING.md @@ -1,6 +1,6 @@ # core_question (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added @@ -13,6 +13,12 @@ ### Changed +- question_attempt_step's constructor now accepts the class constant TIMECREATED_ON_FIRST_RENDER as a value for the + $timecreated parameter. Calling question_attempt::render for the first time will now set the first step's timecreated + to the current time if it is set to this value. Note, null could not be used here as it is already used to indicate + timecreated should be set to the current time. + + For more information see [MDL-68806](https://tracker.moodle.org/browse/MDL-68806) - The definition of the abstract `core_question\local\bank\condition` class has changed to make it clearer which methods are required in child classes. The `get_filter_class` method is no longer declared as abstract, and will return `null` by default to use the base `core/datafilter/filtertype` class. If you have defined this method to return `null` in your own class, it will continue to work, but it is no longer necessary. `build_query_from_filter` and `get_condition_key` are now declared as abstract, since all filter condition classes must define these (as well as existing abstract methods) to function. Again, exsiting child classes will continue to work if they did before, as they already needed these methods. diff --git a/question/bank/UPGRADING.md b/question/bank/UPGRADING.md index 1aede02c99f..fffa780bc34 100644 --- a/question/bank/UPGRADING.md +++ b/question/bank/UPGRADING.md @@ -1,6 +1,6 @@ # qbank (plugin type) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/question/bank/bulkmove/UPGRADING.md b/question/bank/bulkmove/UPGRADING.md index 7ae74683b6b..bf2368389b8 100644 --- a/question/bank/bulkmove/UPGRADING.md +++ b/question/bank/bulkmove/UPGRADING.md @@ -1,6 +1,6 @@ # qbank_bulkmove Upgrade notes -## 5.0dev+ +## 5.0beta ### Deprecated diff --git a/report/insights/UPGRADING.md b/report/insights/UPGRADING.md index 66c22affc2f..90aa9813c5e 100644 --- a/report/insights/UPGRADING.md +++ b/report/insights/UPGRADING.md @@ -1,6 +1,6 @@ # report_insights Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/report/log/UPGRADING.md b/report/log/UPGRADING.md index c62a376dc90..43c7da2048b 100644 --- a/report/log/UPGRADING.md +++ b/report/log/UPGRADING.md @@ -1,6 +1,6 @@ # report_log Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/reportbuilder/UPGRADING.md b/reportbuilder/UPGRADING.md index 450322732d7..267b2f582c7 100644 --- a/reportbuilder/UPGRADING.md +++ b/reportbuilder/UPGRADING.md @@ -1,6 +1,6 @@ # core_reportbuilder (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/repository/UPGRADING.md b/repository/UPGRADING.md index 86017c4aec8..c7476002137 100644 --- a/repository/UPGRADING.md +++ b/repository/UPGRADING.md @@ -1,6 +1,6 @@ # core_repository (subsystem / plugintype) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed diff --git a/sms/UPGRADING.md b/sms/UPGRADING.md index db7c05f2988..911a45bb0be 100644 --- a/sms/UPGRADING.md +++ b/sms/UPGRADING.md @@ -1,6 +1,6 @@ # core_sms (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Added diff --git a/tag/UPGRADING.md b/tag/UPGRADING.md index 713d77e60f3..a911d62a67e 100644 --- a/tag/UPGRADING.md +++ b/tag/UPGRADING.md @@ -1,6 +1,6 @@ # core_tag (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Changed diff --git a/theme/boost/UPGRADING.md b/theme/boost/UPGRADING.md index 781f233b229..dd63c28ee0f 100644 --- a/theme/boost/UPGRADING.md +++ b/theme/boost/UPGRADING.md @@ -1,6 +1,6 @@ # theme_boost Upgrade notes -## 5.0dev+ +## 5.0beta ### Changed diff --git a/user/UPGRADING.md b/user/UPGRADING.md index 8bbc1cda0ad..4d053ad0338 100644 --- a/user/UPGRADING.md +++ b/user/UPGRADING.md @@ -1,6 +1,6 @@ # core_user (subsystem) Upgrade notes -## 5.0dev+ +## 5.0beta ### Removed