Compare commits

...

68 Commits

Author SHA1 Message Date
Huong Nguyen 5fdbd507a4 Moodle release 4.5rc2 2024-10-04 21:07:32 +07:00
Huong Nguyen 3a6640c461 NOBUG: Add upgrade notes 2024-10-04 21:06:11 +07:00
Huong Nguyen 166408a13a NOBUG: Fixed SVG browser compatibility 2024-10-04 21:02:58 +07:00
Huong Nguyen 00af6298b1 Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install 2024-10-04 21:02:58 +07:00
Andrew Nicols e8c5c84403 MDL-83351 upgradenotes: Correct invalid components 2024-10-04 16:07:10 +07:00
Jun Pataleta 3d60012841 MDL-83309 aiplacement_courseassist: Bump plugin maturity to stable 2024-10-04 11:54:58 +07:00
AMOS bot 813cad3b24 Automatically generated installer lang files 2024-10-04 00:07:49 +00:00
Sara Arjona 315416e197 Merge branch 'MDL-83351-main' of https://github.com/andrewnicols/moodle 2024-10-03 17:20:54 +02:00
Andrew Nicols 807731743d MDL-83351 navigation: Convert final deprecation to non-final 2024-10-03 23:01:32 +08:00
Andrew Nicols a865529d7a MDL-83351 upgradenote: Remove unnecessary notes 2024-10-03 23:01:31 +08:00
Andrew Nicols 1d88b57bba MDL-83351 upgradenotes: Clarify upgrade notes 2024-10-03 23:01:31 +08:00
Jun Pataleta b576bb4a0e Merge branch 'MDL-83353' of https://github.com/paulholden/moodle 2024-10-03 20:28:07 +08:00
Michael Hawkins f3189c1e1a MDL-83352 message: Update usercantbemessaged string 2024-10-03 17:46:03 +07:00
Paul Holden 8d318b1b05 MDL-83353 output: fix icon output in classic activity navigation.
Prevent `$PAGE` debugging when loading navigation branches.
2024-10-03 10:14:48 +01:00
Sara Arjona f4202b26cd Merge branch 'MDL-83312-main' of https://github.com/davewoloszyn/moodle 2024-10-03 10:24:58 +02:00
Jun Pataleta 62b8b3709d Merge branch 'MDL-83238-main-enfix' of https://github.com/mudrd8mz/moodle 2024-10-03 16:01:53 +08:00
Sara Arjona d7f28e0c93 Merge branch 'MDL-83309-main' of https://github.com/junpataleta/moodle 2024-10-03 08:22:26 +02:00
Sara Arjona 3f9087a161 Merge branch 'MDL-83318-main' of https://github.com/aanabit/moodle 2024-10-03 08:11:10 +02:00
Huong Nguyen d1cced3864 Merge branch 'MDL-83296' of https://github.com/marinaglancy/moodle 2024-10-03 08:44:21 +07:00
Andrew Nicols 0d19dd6491 Merge branch 'MDL-83293-main' of https://github.com/junpataleta/moodle 2024-10-03 08:46:16 +08:00
David Woloszyn 3b23f4db26 MDL-83312 AI: Check provider has minimal config 2024-10-03 10:25:23 +10:00
David Carrillo 07ad4b8ebc MDL-83179 badges: Get type and courseid from context instead of params 2024-10-03 08:11:51 +08:00
Jun Pataleta f173a7026a MDL-83293 core: Fix path separator when guessing the base path
Ensure that path separator for the script when guessing the base path
uses forward slash instead of the OS' directory separator.
(e.g. "\" in Windows)
2024-10-03 08:01:30 +08:00
Shamim Rezaie 6399179739 MDL-83332 core: Remove slasharguments config modification lines
MDL-62640 removed the 'slasharguments' config, and 3229dda3 attempted to
restore it by setting it to 1. This could unintentionally reset the
'slasharguments' config for all sites upgrading to 4.5.
2024-10-03 02:16:32 +10:00
Shamim Rezaie 83526c7a2d Merge branch 'MDL-83332-main-new' of https://github.com/meirzamoodle/moodle 2024-10-03 02:15:03 +10:00
Amaia Anabitarte 76f84a929d MDL-83318 pix: Recover previous and next icons 2024-10-02 15:14:36 +02:00
meirzamoodle 3229dda3d6 MDL-83332 core: Revert the slashargument removal on MDL-62640
Removing the option causes issues on MacOS.
2024-10-02 18:36:14 +07:00
Jun Pataleta 7f0b254022 MDL-83309 mod_subsection: Remove $plugin->release
* Release names ($plugin->release) are only for non-core plugins
2024-10-02 17:18:28 +08:00
Jun Pataleta 5c09d2c905 MDL-83309 versions: Main version bump 2024-10-02 17:05:39 +08:00
Jun Pataleta f24e0ecf53 MDL-83309 versions: Bump all versions and requires near release 2024-10-02 17:04:53 +08:00
Paul Holden 1a040098e3 MDL-83180 reportbuilder: correct access check for viewing schedules. 2024-10-02 16:49:09 +08:00
Huong Nguyen 13fdeab15e Merge branch 'MDL-83327_main' of https://github.com/marxjohnson/moodle 2024-10-02 14:28:08 +07:00
Huong Nguyen 4a53eda14e Merge branch 'MDL-83328_main' of https://github.com/marxjohnson/moodle 2024-10-02 13:48:41 +07:00
David Carrillo a25ee4ebb9 MDL-83178 reportbuilder: correct access check to view badge recipients 2024-10-02 13:57:53 +08:00
Jun Pataleta f332842df1 Merge branch 'mdl83310' of https://github.com/danmarsden/moodle 2024-10-02 12:31:17 +08:00
Paul Holden e724d59d35 MDL-83181 reportbuilder: ensure audience correctness before delete. 2024-10-02 03:04:18 +00:00
Paul Holden c8bf6bc4a8 MDL-82386 block_rss_client: user access checks for feed edit/delete. 2024-10-02 03:04:18 +00:00
Huong Nguyen d421ca9ccd Merge branch 'mdl83176' of https://github.com/danmarsden/moodle 2024-10-02 10:00:18 +07:00
Mark Johnson 89a87b7d4e MDL-83328 qbank_managecategories: Fix move dialogue for single child 2024-10-01 14:45:33 +01:00
Mark Johnson 8c1c013f78 MDL-83327 qbank_managecategories: Fix invalid parameter when moving
Clicking on the "Move" label of the move button resulted in an
incorrectly titled dialog and an "invalid parameter" error.
2024-10-01 14:35:05 +01:00
Huong Nguyen 0eacab846e Moodle release 4.5rc1 2024-10-01 19:37:23 +07:00
Huong Nguyen 4d1c0cb04b NOBUG: Add upgrade notes 2024-10-01 19:37:15 +07:00
Dan Marsden 14254008fd MDL-83310 course: remove hard-coded list of course formats from test. 2024-10-01 19:57:46 +13:00
Huong Nguyen 6332ffc0dd Merge branch 'MDL-83298-main' of https://github.com/andrewnicols/moodle 2024-10-01 13:05:15 +07:00
Jun Pataleta faa06503b1 Merge branch 'MDL-83264-main-1' of https://github.com/mihailges/moodle 2024-10-01 12:47:09 +08:00
Huong Nguyen 838a9abb73 Merge branch 'MDL-82900-main' of https://github.com/mickhawkins/moodle 2024-10-01 11:40:37 +07:00
Michael Hawkins e50249fbea MDL-82900 AI: Update language strings 2024-10-01 12:33:38 +08:00
Mihail Geshoski d0056ae0b0 MDL-83264 mod_quiz: Return the correct name for top categories 2024-10-01 09:40:47 +08:00
David Mudrák cdd3b4648f MDL-83238 lang: Fix the changed strings in the tests, too 2024-09-30 20:04:54 +02:00
Helen Foster 8e8267144d MDL-83238 lang: Import fixed English strings (en_fix) 2024-09-30 19:42:49 +02:00
Shamim Rezaie 5dbe3fa789 Merge branch 'MDL-82693' of https://github.com/paulholden/moodle 2024-09-30 23:41:31 +10:00
Shamim Rezaie c24a0554d2 Merge branch 'MDL-83295-main' of https://github.com/junpataleta/moodle 2024-09-30 23:08:17 +10:00
Shamim Rezaie f7db1fabbb Merge branch 'MDL-81590-main' of https://github.com/junpataleta/moodle 2024-09-30 23:01:06 +10:00
Sara Arjona 0cde4a8842 Merge branch 'MDL-83276-main' of https://github.com/HuongNV13/moodle 2024-09-30 11:20:30 +02:00
Dan Marsden 1ba9fb88d9 MDL-83176 cache: Include formslib as it doesn't autoload 2024-09-30 20:39:48 +13:00
Sara Arjona f608faef01 Merge branch 'MDL-82939-main' of https://github.com/mickhawkins/moodle 2024-09-30 07:41:37 +02:00
Huong Nguyen ce2c4775f8 Merge branch 'MDL-83277-main' of https://github.com/raortegar/moodle 2024-09-30 11:29:02 +07:00
Marina Glancy 7015c67d7c MDL-83296 user: store defaulthomepage as a relative url 2024-09-27 14:31:26 +01:00
Andrew Nicols 116b0975c7 MDL-83298 core: Trim trailing whitespace on upgrade notes 2024-09-27 20:05:58 +08:00
Huong Nguyen d4822bf0fb Moodle release 4.5beta 2024-09-27 18:45:07 +07:00
Jun Pataleta a2dd139baf MDL-83295 core: Use pattern matching for expected task output 2024-09-27 17:28:26 +08:00
Huong Nguyen c2dafca314 MDL-83276 AI: Extra checks for provider and placement actions 2024-09-27 15:48:42 +07:00
raortegar 9825a4129a MDL-83277 AI: Placement Text Editor - Remove browser console log 2024-09-27 09:55:11 +02:00
raortegar e9c2e52c9d MDL-83277 AI: Course Assistance - Remove browser console log 2024-09-27 09:55:11 +02:00
Jun Pataleta a6975e6dc4 MDL-81590 core: Build the context path without using DIRECTORY_SEPARATOR 2024-09-27 15:39:38 +08:00
Michael Hawkins c7810fd7ce MDL-82939 core_sms: Update lang strings
Also fixed a bug where the gateways page didnt render the correct title.
2024-09-27 13:38:55 +08:00
Michael Hawkins 1f66c92a1a MDL-82939 core_sms: Add class to the SMS table
This makes it possible to reference in behat table steps.
2024-09-26 14:28:47 +08:00
Paul Holden ef1ebea848 MDL-82693 contentbank: improve display unlisted module, add tests. 2024-08-27 09:38:40 +01:00
776 changed files with 4362 additions and 3200 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ const getNotesForComponent = (types, headingLevel) => {
messageLines
.forEach((line) => {
upgradeNotes += ` ${line.trimEnd()}\n`;
upgradeNotes += ` ${line}`.trimEnd() + `\n`;
});
upgradeNotes += `\n For more information see [${issueNumber}](https://tracker.moodle.org/browse/${issueNumber})\n`;
});
@@ -1,8 +0,0 @@
issueNumber: MDL-62640
notes:
core_admin:
- message: >-
The HTTP Server setting "Use slash arguments" (slasharguments) configuration setting and related
to it has been removed. Calling the option with $CFG->slasharguments or
get_config('slasharguments') is no longer available.
type: removed
@@ -1,9 +0,0 @@
issueNumber: MDL-62640
notes:
core:
- message: |
The code that is associated with the slashargument option has been deprecated. Here is the detail:
- The parameter $support of the \url::set_slashargument().
- The parameter $includeslashargument of the \url::get_path().
- The $CFG->yuislasharguments configuration.
type: deprecated
@@ -1,7 +0,0 @@
issueNumber: MDL-62640
notes:
core:
- message: |
Due to the removal of the slashargument configuration, the server check page will no longer inspect the slash argument,
therefore, the function check_slasharguments() is deprecated because it is no longer used.
type: deprecated
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-64148
notes:
core:
- message: >-
Add `\core_user::get_name_placeholders()` to return an array of user name fields.
A new method, `\core_user::get_name_placeholders()`, has been added to return an array of user name fields.
type: improved
+6 -6
View File
@@ -10,10 +10,10 @@ notes:
`SessionHandlerInterface`, and override methods as required.
The following methods in `\core\session\manager` have been deprecated:
| Old method name | New method name |
| --- | --- |
| `kill_all_sessions` | `destroy_all` |
| `kill_session` | `destroy` |
| `kill_sessions_for_auth_plugin` | `destroy_by_auth_plugin` |
| `kill_user_sessions` | `destroy_user_sessions` |
| Old method name | New method name |
| --- | --- |
| `kill_all_sessions` | `destroy_all` |
| `kill_session` | `destroy` |
| `kill_sessions_for_auth_plugin` | `destroy_by_auth_plugin` |
| `kill_user_sessions` | `destroy_user_sessions` |
type: improved
+3 -3
View File
@@ -5,7 +5,7 @@ notes:
The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\core_component` | `\core\component` |
| Old class name | New class name |
| --- | --- |
| `\core_component` | `\core\component` |
type: improved
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-67554
notes:
tool_oauth2:
- message: >
The `get_additional_login_parameters()` method now supports adding the
The `\core\oautuh2\client::get_additional_login_parameters()` method now supports adding the
language code to the authentication request so that the OAuth2 login
page matches the language in Moodle.
type: improved
+1 -1
View File
@@ -1,7 +1,7 @@
issueNumber: MDL-70983
notes:
core_badges:
- message: Final removal of `BADGE_BACKPACKAPIURL` and `BADGE_BACKPACKWEBURL`.
- message: Final removal of `BADGE_BACKPACKAPIURL` and `BADGE_BACKPACKWEBURL` constants.
type: removed
- message: The `OPEN_BADGES_V1` constant is deprecated and should not be used anymore.
type: deprecated
+7 -8
View File
@@ -2,13 +2,12 @@ issueNumber: MDL-71326
notes:
core:
- message: >+
- Final deprecation and removal of the following functions:
- `plagiarism_plugin::get_configs()`
- `plagiarism_plugin::get_file_results()`
- `plagiarism_plugin::update_status()`, please use `{plugin name}_before_standard_top_of_body_html` instead.
- Final deprecation and removal of `plagiarism_get_file_results()`.
Please use `plagiarism_get_links()` instead.
- Final deprecation and removal of `plagiarism_update_status()`. Please
use `{plugin name}_before_standard_top_of_body_html()` instead.
- The following methods have been finally deprecated and removed:
- `\plagiarism_plugin::get_configs()`
- `\plagiarism_plugin::get_file_results()`
- `\plagiarism_plugin::update_status()`, please use `{plugin name}_before_standard_top_of_body_html` instead.
- Final deprecation and removal of `\plagiarism_get_file_results()`. Please use `\plagiarism_get_links()` instead.
- Final deprecation and removal of `\plagiarism_update_status()`. Please use `\{plugin name}_before_standard_top_of_body_html()` instead.
type: deprecated
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-71748
notes:
core:
- message: >
The previously deprecated function `core_text::reset_caches()` has been removed and can no longer be used.
The previously deprecated function `\core_text::reset_caches()` has been removed and can no longer be used.
type: removed
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core_user:
- message: >-
New `\core_user\hook\extend_user_menu` hook added to allow third party
plugin to extend the user menu navigation
plugins to extend the user menu navigation.
type: improved
+2 -2
View File
@@ -1,6 +1,6 @@
issueNumber: MDL-72353
notes:
report:
core_report:
- message: >-
The previously deprecated `report_helper::save_selected_report` method has been removed and can no longer be used
The previously deprecated `\core\report_helper::save_selected_report()` method has been removed and can no longer be used.
type: removed
+2 -2
View File
@@ -5,7 +5,7 @@ notes:
Category lists are now generated by templates.
The following classes have been deprecated:
- `question_category_list`
- `\qbank_managecategories\question_category_list`
- `question_category_list_item`
- `\qbank_managecategories\question_category_list_item`
type: deprecated
+20 -14
View File
@@ -2,21 +2,27 @@ issueNumber: MDL-72397
notes:
qbank_managecategories:
- message: >
The methods in the `question_category_object` class that are still
required following this change have been split between
`\qbank_managecategories\question_categories` (for the parts used within
this plugin for display a list of categories) and
`\core_question\category_manager` (for the parts used for generate CRUD
operations on question categories, including outside of this plugin).
This will allow `question_category_object` to be deprecated, and avoids
The `\qbank_managecategories\question_category_object` class has been deprecated.
Methods previously part of this class have been moved to either
- `\qbank_managecategories\question_categories`,
for the parts used within this plugin for display a list of categories; or
`\core_question\category_manager`,
for the parts used for generate CRUD operations on question categories, including outside of this plugin.
This change will allow `\qbank_managecategories\question_category_object` to be deprecated, and avoids
other parts of the system wishing to manipulate question categories from
having to violate cross-component communication rules.
type: changed
- message: >
The methods `question_is_only_child_of_top_category_in_context`,
`question_is_top_category` and `question_can_delete_cat` from
`qbank_managecategories\helper` class have been deprecated and moved to
the `\core_question\category_manager` class, minus the misleading
`question_` prefix. Following the creation of this class, it does not
make sense for them to live inside the `qbank_managecategories` plugin.
- message: |
The following methods of `\qbank_managecategories\helper`have been deprecated and moved to
`\core_question\category_manager`:
| Method | Replacement |
| --- | --- |
| `question_is_only_child_of_top_category_in_context` | `\core_question\category_manager::is_only_child_of_top_category_in_context` |
| `question_is_top_category` | `\core_question\category_manager::is_top_category` |
| `question_can_delete_cat` | `\core_question\category_manager::can_delete_cat` |
type: deprecated
+5 -5
View File
@@ -2,16 +2,16 @@ issueNumber: MDL-72397
notes:
qbank_managecategories:
- message: >
`qbank_managecategories\question_category_object` is now completely
`\qbank_managecategories\question_category_object` is now completely
deprecated. Its methods have either been migrated to
`qbank_managecategories\question_categories`,
`core_question\category_manager`, or are no longer used at all.
`\qbank_managecategories\question_categories`,
`\core_question\category_manager`, or are no longer used at all.
type: deprecated
core:
- message: >
`moodle_list` and `list_item` were only used by
`\moodle_list` and `\list_item` were only used by
`qbank_managecategories`, and these usages have been removed, so
these classes (and thus all of listlib.php) are now deprecated.
these classes, and the `lib/listlib.php` file have now been deprecated.
This method was the only usage of the `QUESTION_PAGE_LENGTH`
constant, which was defined in `question_category_object.php`,
and so is also now deprecated.
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-72424
notes:
mod_feedback:
- message: >-
The `feedback_check_is_switchrole` method has been deprecated as it
didn't work
The `\feedback_check_is_switchrole()` function has been deprecated as it
didn't work.
type: deprecated
+2 -2
View File
@@ -5,7 +5,7 @@ notes:
The following previously deprecated methods have been removed and can no
longer be used:
- `can_import_skydrive_files`
- `\repository_onedrive::can_import_skydrive_files()`
- `import_skydrive_files`
- `\repository_onedrive::import_skydrive_files()`
type: removed
+2 -2
View File
@@ -5,7 +5,7 @@ notes:
The following deprecated methods in `report_eventlist_list_generator` have
been removed:
- `get_core_events_list()`
- `\report_eventlist_list_generator::get_core_events_list()`
- `get_non_core_event_list()`
- `\report_eventlist_list_generator::get_non_core_event_list()`
type: deprecated
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core:
- message: >
The following previously deprecated methods have been removed and can no longer be used:
- `renderer_base::should_display_main_logo`
- `\renderer_base::should_display_main_logo()`
type: removed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-73284
notes:
core_message:
- message: Final deprecation `MESSAGE_DEFAULT_LOGGEDOFF` / `MESSAGE_DEFAULT_LOGGEDIN`.
- message: Final deprecation of the `MESSAGE_DEFAULT_LOGGEDOFF`, and `MESSAGE_DEFAULT_LOGGEDIN` constants.
type: removed
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-73976
notes:
core_course:
- message: >-
The previously deprecated `print_course_request_buttons` method has been
removed and can no longer be used
The previously deprecated `\print_course_request_buttons()` method has been
removed and can no longer be used.
type: removed
+1 -1
View File
@@ -4,5 +4,5 @@ notes:
- message: >
A new web service called `mod_assign_remove_submission` has been created
to remove the submission for a specific user ID and assignment activity
ID
ID.
type: improved
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
theme:
- message: >-
Removed all references to `iconhelp`, `icon-pre`, `icon-post`, `iconlarge`, and
`iconsort` classes
`iconsort` CSS classes.
type: removed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-74484
notes:
core:
- message: Final deprecation of `print_error()`. Use `moodle_exception` instead.
- message: Final deprecation of `\print_error()`. Please use the `\moodle_exception` class instead.
type: removed
+2 -2
View File
@@ -4,6 +4,6 @@ notes:
- message: >
The following previously deprecated Behat step helper methods have been
removed and can no longer be used:
- `behat_grade::select_in_gradebook_navigation_selector`
- `behat_grade::select_in_gradebook_tabs`
- `\behat_grade::select_in_gradebook_navigation_selector()`
- `\behat_grade::select_in_gradebook_tabs()`
type: removed
+6 -6
View File
@@ -2,17 +2,17 @@ issueNumber: MDL-74583
notes:
core_reportbuilder:
- message: >-
Support for the following entity classes, renamed since 4.1, has now
Support for the following entity classes, renamed since 4.1, have now
been removed completely:
- `core_admin\local\entities\task_log`
- `\core_admin\local\entities\task_log`
- `core_cohort\local\entities\cohort`
- `\core_cohort\local\entities\cohort`
- `core_cohort\local\entities\cohort_member`
- `\core_cohort\local\entities\cohort_member`
- `core_course\local\entities\course_category`
- `\core_course\local\entities\course_category`
- `report_configlog\local\entities\config_change`
- `\report_configlog\local\entities\config_change`
type: removed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-74843
notes:
core:
- message: 'Final deprecation of `\core\task\manager::ensure_adhoc_task_qos()`'
- message: 'Final deprecation of `\core\task\manager::ensure_adhoc_task_qos()`.'
type: removed
+2 -3
View File
@@ -2,7 +2,6 @@ issueNumber: MDL-74939
notes:
core:
- message: >-
Support for deprecated `<component>\local\views\secondary`
block/activity namespace, for overriding secondary navigation, is now
entirely removed
Support for the deprecated block and activity namespaces `<component>\local\views\secondary`,
which supported the overriding of secondary navigation, has now been entirely removed.
type: removed
+1 -3
View File
@@ -2,7 +2,5 @@ issueNumber: MDL-75022
notes:
core_backup:
- message: >-
Final deprecation and removal of `core_backup\copy\copy` in
`backup/util/ui/classes/copy.php`. Please use `copy_helper` from
`backup/util/helper/copy_helper.class.php` instead.
The `\core_backup\copy\copy` class has been deprecated and removed. Please use `\copy_helper` instead.
type: removed
@@ -1,7 +0,0 @@
issueNumber: MDL-75025
notes:
core_backup:
- message: >-
Final deprecation of `base_controller::get_copy()`. Please use
`restore_controller::get_copy()` instead.
type: removed
+7 -2
View File
@@ -1,6 +1,11 @@
issueNumber: MDL-75025
notes:
core_backup:
- message: 'Final deprecation of `base_controller::set_copy()`. Please use a restore
controller for storing copy information instead.'
- message: |
The following methods in the `\base_controller` class have been removed:
| Method | Replacement |
| --- | --- |
| `\base_controller::set_copy()` | Use a restore controller for storing copy information instead. |
| `\base_controller::get_copy()` | `\restore_controller::get_copy()` |
type: removed
+2 -2
View File
@@ -3,6 +3,6 @@ notes:
core_reportbuilder:
- message: >
The following previously deprecated local helper methods have been removed and can no longer be used:
- `audience::get_all_audiences_menu_types`
- `report::get_available_columns`
- `\core_reportbuilder\local\helpers\audience::get_all_audiences_menu_types()`
- `\core_reportbuilder\local\helpers\report::get_available_columns()`
type: removed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-77167
notes:
core:
- message: Remove deprecation layer for YUI Events. The deprecation layer was introduced with MDL-70990 and MDL-72291.
- message: Remove deprecation layer for YUI JS Events. The deprecation layer was introduced with MDL-70990 and MDL-72291.
type: removed
+3 -2
View File
@@ -2,6 +2,7 @@ issueNumber: MDL-78030
notes:
core_user:
- message: >-
The `participants_search::get_total_participants_count()` is no longer
used since the total count can be obtained from `::get_participants()`
The `\core_user\table\participants_search::get_total_participants_count()` is no longer
used since the total count can be obtained from
`\core_user\table\participants_search::get_participants()`.
type: deprecated
+6 -6
View File
@@ -2,16 +2,16 @@ issueNumber: MDL-78030
notes:
core:
- message: |
Two new functions have been introduced in the \moodle_database class:
- `get_counted_records_sql()`
- `get_counted_recordset_sql()`
Two new functions have been introduced in the `\moodle_database` class:
- `\moodle_database::get_counted_records_sql()`
- `\moodle_database::get_counted_recordset_sql()`
These methods are compatible with all databases.
They will check the current running database engine and apply the COUNT window function if it is supported,
otherwise, they will use the usual COUNT function.
They will check the current running database engine and apply the `COUNT` window function if it is supported,
otherwise, they will use the usual `COUNT` function.
The COUNT window function optimization is applied to the following databases:
The `COUNT` window function optimization is applied to the following databases:
- PostgreSQL
- MariaDB
- Oracle
+5 -2
View File
@@ -2,6 +2,9 @@ issueNumber: MDL-78293
notes:
core_user:
- message: >
The visibility of the methods: `check_access_for_dynamic_submission()` and `get_options()`
in `\core_user\form\private_files` has been changed from protected to public.
The visibility of the following methods have been increased to public:
- `\core_user\form\private_files::check_access_for_dynamic_submission()`
- `\core_user\form\private_files::get_options()`
type: changed
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-78662
notes:
core_question:
- message: >
A new utility function `format_question_fragment` has been created so
A new utility function `\question_utils::format_question_fragment()` has been created so
that question content can filter based on filters.
type: improved
+3 -3
View File
@@ -1,8 +1,8 @@
issueNumber: MDL-78773
notes:
report:
core_report:
- message: >
The `report_helper::print_report_selector` method accepts an additional
The `\core\report_helper::print_report_selector()` method accepts a new `$additional``
argument for adding content to the tertiary navigation to align with the
report selector
report selector.
type: changed
@@ -1,7 +0,0 @@
issueNumber: MDL-79496
notes:
core_webservice:
- message: >-
The `token_table` and `token_filter` classes have been deprecated, in
favour of new report builder implementation.
type: deprecated
+7 -4
View File
@@ -1,7 +1,10 @@
issueNumber: MDL-79546
notes:
quiz:
- message: >-
The functions `quiz_overview_report::regrade_attempts` and `regrade_batch_of_attempts` now
have a new optional parameter $slots to only regrade some slots in each attempt (default all).
mod_quiz:
- message: >+
The following methods of the `quiz_overview_report` class now take a new optional `$slots` parameter used to only regrade some slots in each attempt (default all):
- `\quiz_overview_report::regrade_attempts()`
- `\quiz_overview_report::regrade_batch_of_attempts()`
type: improved
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-79628
notes:
core:
- message: >-
The `navigation_cache` class now uses the Moodle Universal Cache (MUC) to store the navigation cache data instead of storing
The `\navigation_cache` class now uses the Moodle Universal Cache (MUC) to store the navigation cache data instead of storing
it in the global `$SESSION` variable.
type: fixed
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-79628
notes:
core:
- message: >-
The `$timeout` property of the `navigation_cache` class has been deprecated.
The `$timeout` property of the `\navigation_cache` class has been deprecated.
type: deprecated
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-80741
notes:
mod_assign:
- message: >
The default option "Never" for `attemptreopenmethod` setting, which
The default option "Never" for the `attemptreopenmethod` setting, which
disallowed multiple attempts at the assignment, has been removed. This
option was unnecessary because limiting attempts to 1 through the
`maxattempts` setting achieves the same behavior.
+6 -6
View File
@@ -3,18 +3,18 @@ notes:
core_grades:
- message: >-
The behat step definition
`behat_grade::i_confirm_in_search_within_the_gradebook_widget_exists` has
`\behat_grade::i_confirm_in_search_within_the_gradebook_widget_exists()` has
been deprecated. Please use
`behat_general::i_confirm_in_search_combobox_exists` instead.
`\behat_general::i_confirm_in_search_combobox_exists()` instead.
type: deprecated
- message: >-
The behat step definition
`behat_grade::i_confirm_in_search_within_the_gradebook_widget_does_not_exist`
`\behat_grade::i_confirm_in_search_within_the_gradebook_widget_does_not_exist()`
has been deprecated. Please use
`behat_general::i_confirm_in_search_combobox_does_not_exist` instead.
`\behat_general::i_confirm_in_search_combobox_does_not_exist()` instead.
type: deprecated
- message: >-
The behat step definition `behat_grade::i_click_on_in_search_widget` has
been deprecated. Please use `behat_general::i_click_on_in_search_combobox`
The behat step definition `\behat_grade::i_click_on_in_search_widget()` has
been deprecated. Please use `\behat_general::i_click_on_in_search_combobox()`
instead.
type: deprecated
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-80745
notes:
core_grades:
- message: >
The `core_grades_renderer::group_selector()` method has been deprecated.
The `\core_grades_renderer::group_selector()` method has been deprecated.
Please use `\core_course\output\actionbar\renderer` to render a
`group_selector` renderable instead.
type: deprecated
+1 -1
View File
@@ -3,7 +3,7 @@ notes:
core:
- message: >
The `\core\output\select_menu` widget now supports rendering dividers
between menu options. Empty elements (null or empty strings) within the
between menu options. Empty elements (`null` or empty strings) within the
array of options are considered and rendered as dividers in the dropdown
menu.
type: improved
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-80747
notes:
core:
- message: >
The `core\output\select_menu` widget now supports a new feature: inline
The `\core\output\select_menu` widget now supports a new feature: inline
labels. You can render the label inside the combobox widget by passing
`true` to the `$inlinelabel` parameter when calling the `->set_label()`
method.
+1 -1
View File
@@ -3,7 +3,7 @@ notes:
core_table:
- message: >+
A new `$reponsive` property (defaulting to `true`) has been added to the
`core_table\flexible_table` class.
`\core_table\flexible_table` class.
This property allows you to control whether the table is rendered as a
responsive table.
+4 -4
View File
@@ -2,18 +2,18 @@ issueNumber: MDL-80750
notes:
mod_assign:
- message: >
A new method named `get_grading_batch_operation_details` has been added
A new method, `\assign_feedback_plugin::get_grading_batch_operation_details()`, has been added
to the `assign_feedback_plugin` abstract class. Assignment feedback
plugins can now override this method to define bulk action buttons that
will appear in the sticky footer on the assignment grading page.
type: improved
- message: >
The `assign_feedback_plugin::get_grading_batch_operations` method is now
The `\assign_feedback_plugin::get_grading_batch_operations()` method is now
deprecated. Use
`assign_feedback_plugin::get_grading_batch_operation_details` instead.
type: deprecated
- message: >
The `assign_grading_table::plugingradingbatchoperations` property is
The `\assign_grading_table::plugingradingbatchoperations` property has been
removed. You can use
`assign_feedback_plugin::get_grading_batch_operation_details` instead.
`\assign_feedback_plugin::get_grading_batch_operation_details()` instead.
type: deprecated
+1 -1
View File
@@ -3,6 +3,6 @@ notes:
mod_assign:
- message: >
The `$submissionpluginenabled` and `$submissioncount` parameters from
the constructor of the `mod_assign\output::grading_actionmenu` class
the constructor of the `\mod_assign\output::grading_actionmenu` class
have been deprecated.
type: deprecated
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-80890
notes:
core:
- message: >
A new hook called `core\hook\output\after_http_headers` has been
A new hook called `\core\hook\output\after_http_headers` has been
created. This hook allow plugins to modify the content after headers are
sent.
type: improved
+7 -4
View File
@@ -2,8 +2,11 @@ issueNumber: MDL-80962
notes:
factor_sms:
- message: >
The following classes are removed as the SMS feature now takes advantage of core_sms API:
- sms_sent (admin/tool/mfa/factor/sms/classes/event/sms_sent.php)
- aws_sns (admin/tool/mfa/factor/sms/classes/local/smsgateway/aws_sns.php)
- gateway_interface (admin/tool/mfa/factor/sms/classes/local/smsgateway/gateway_interface.php)
The following classes are removed as the SMS feature now takes advantage of `core_sms` API:
- `\factor_sms\event\sms_sent`
- `\factor_sms\local\smsgateway\aws_sns`
- `\factor_sms\local\smsgateway\gateway_interface`
type: removed
+6 -3
View File
@@ -3,7 +3,10 @@ notes:
core:
- message: >
The following classes are deprecated as they are handled by core_sms API and smsgateway_aws plugin:
- admin_settings_aws_region (lib/classes/aws/admin_settings_aws_region.php)
- aws_helper (lib/classes/aws/aws_helper.php)
- client_factory (lib/classes/aws/client_factory.php)
- `\core\aws\admin_settings_aws_region`
- `\core\aws\aws_helper`
- `\core\aws\client_factory`
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-80962
notes:
core:
- message: >
The following test classes are removed as their base classes are deprecated:
- admin_settings_aws_region_test (lib/tests/aws/admin_settings_aws_region_test.php)
- aws_helper_test (lib/tests/aws/aws_helper_test.php)
type: removed
+3 -5
View File
@@ -5,9 +5,7 @@ notes:
The following classes have been renamed.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\core_user` | `\core\user` |
| Old class name | New class name |
| --- | --- |
| `\core_user` | `\core\user` |
type: improved
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-81274
notes:
mod_data:
- message: >-
The `data_add_record` method accepts a new `$approved` parameter to set the corresponding state of the new record
The `\data_add_record()` method accepts a new `$approved` parameter to set the corresponding state of the new record.
type: improved
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core:
- message: >-
New DML constant `SQL_INT_MAX` to define the size of a large integer
with cross database platform support
with cross database platform support.
type: improved
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-81321
notes:
mod_data:
- message: >-
The `mod_data_renderer::render_fields_footer` method has been deprecated
as it's no longer used
The `\mod_data_renderer::render_fields_footer()` method has been deprecated
as it's no longer used.
type: deprecated
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-81330
notes:
core_reportbuilder:
- message: >
The base datasource `add_all_from_entities` method accepts a new optional parameter to specify which entities to add elements from
The base datasource `\core_reportbuilder\datasource::add_all_from_entities()` method accepts a new optional `array $entitynames` parameter to specify which entities to add elements from.
type: changed
@@ -1,8 +1,8 @@
issueNumber: MDL-81125
issueNumber: MDL-81407
notes:
core_question:
- message: >
`column_base::from_column_name` now has an `$ignoremissing` parameter, which can
`\core_question\local\bank\column_base::from_column_name()` method now accepts a `bool $ingoremissing` parameter, which can
be used to ignore if the class does not exist, instead of throwing an
exception.
type: changed
+4 -4
View File
@@ -2,11 +2,11 @@ issueNumber: MDL-81428
notes:
core_message:
- message: >
The `\core_message\helper::togglecontact_link_params` now accepts a new
optional param called `isrequested` to indicate the status of the
contact request
The `\core_message\helper::togglecontact_link_params()` method now accepts a new
optional `$isrequested` parameter to indicate the status of the
contact request.
type: changed
- message: >
The `core_message/remove_contact_button` template is deprecated and will
be removed in the future version
be removed in a future release.
type: deprecated
+1 -1
View File
@@ -2,5 +2,5 @@ issueNumber: MDL-81434
notes:
core_reportbuilder:
- message: |2
Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression
Added a new database helper method `sql_replace_parameters` to help ensure uniqueness of parameters within a SQL expression.
type: improved
+1 -1
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-81523
notes:
core:
- message: >
All the setup and tear down methods of `PHPUnit` now are required to,
All the `setUp()` and `tearDown()` methods of `PHPUnit` now are required to,
always, call to their parent counterparts. This is a good practice to
avoid future problems, especially when updating to PHPUnit >= 10.
@@ -1,9 +0,0 @@
issueNumber: MDL-81533
notes:
core:
- message: >
The function `update_display_mode` will update the eye icon (enabled/disabled) in the availability.
The `$pluginname` is represented to the plugin need to update.
The `$displaymode` is represented to the eye icon. Whether it enabled or disabled.
type: improved
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
editor_tiny:
- message: >-
The `helplinktext` language string is no longer required by editor
plugins, instead the `pluginname` will be used in the help dialogue
plugins, instead the `pluginname` will be used in the help dialogue.
type: changed
+2 -2
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81597
notes:
output:
- message: 'Added a new `renderer_base::get_page` getter method'
theme:
- message: 'Added a new `\renderer_base::get_page` getter method.'
type: improved
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81597
notes:
theme:
- message: New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header
- message: New `core/context_header` mustache template has been added. This template can be overridden by themes to modify the context header.
type: improved
+3 -1
View File
@@ -1,11 +1,13 @@
issueNumber: MDL-81675
notes:
core_course:
- message: >-
- message: >+
- New optional `sectionNum` parameter has been added to `activitychooser`
AMD module initializer.
- New option `sectionnum` parameter has been added to
`get_course_content_items()` external function.
- New optional `sectionnum` parameter has been added to
`get_content_items_for_user_in_course()` function.
type: improved
+2 -2
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-81699
notes:
core_course:
- message: >
Webservices `core_course_get_courses_by_field` now accepts a new
The `core_course_get_courses_by_field` web service now accepts a new
parameter `sectionid` to be able to retrieve the course that has the
indicated section
indicated section.
type: improved
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-81742
notes:
mod_feedback:
- message: >-
The method `mod_feedback\output\renderer::create_template_form()` has
The method `\mod_feedback\output\renderer::create_template_form()` has
been deprecated. It is not used anymore.
type: deprecated
+3 -2
View File
@@ -2,7 +2,8 @@ issueNumber: MDL-81749
notes:
core_completion:
- message: >-
`get_overall_completion_state()` function could also return
The `\core_completion\activity_custom_completion::get_overall_completion_state()` method
can now also return
`COMPLETION_COMPLETE_FAIL` and not only `COMPLETION_COMPLETE` and
`COMPLETION_INCOMPLETE`
`COMPLETION_INCOMPLETE`.
type: changed
+1 -1
View File
@@ -8,5 +8,5 @@ notes:
type: improved
- message: >-
New `\core_course\hook\before_activitychooserbutton_exported` hook added
to allow third-party plugins to extend activity chooser button options
to allow third-party plugins to extend activity chooser button options.
type: improved
+1 -1
View File
@@ -7,6 +7,6 @@ notes:
type: improved
core_courseformat:
- message: >-
Added new `create_module` webservice to create new module (with
Added new `core_courseformat_create_module` webservice to create new module (with
quickcreate feature) instances in the course.
type: improved
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81771
notes:
core_report:
- message: Report has been added to subsystem components list
- message: Report has been added to subsystem components list.
type: improved
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81771
notes:
core_report:
- message: New `coursestructure` output general class has been created
- message: A new general output class, `\core_report\output\coursestructure`, has been created.
type: improved
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-81781
notes:
core:
- message: >
The `\core\dataformat::get_format_instance` method is now public, and
can be used to retrieve a writer instance for a given dataformat
The `\core\dataformat::get_format_instance()` method is now public, and
can be used to retrieve a writer instance for a given dataformat.
type: changed
+3 -3
View File
@@ -2,7 +2,7 @@ issueNumber: MDL-81850
notes:
availability:
- message: >-
The base class `info::get_groups` method has a `$userid` parameter to
specify for which user you want to retrieve course groups (defaults to
current user)
The base class `\core_availability\info::get_groups()` method now accepts a `$userid` parameter to
specify which user you want to retrieve course groups (defaults to
current user).
type: changed
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81903
notes:
core:
- message: Added an `exception` L2 Namespace to APIs
- message: Added a new `exception` L2 Namespace to APIs.
type: improved
+6 -7
View File
@@ -1,12 +1,11 @@
issueNumber: MDL-81920
notes:
core:
- message: >
The following classes have been moved into the `\core` namespace and now
support autoloading:
- message: |
The following classes are now also available in the `\core\` namespace and support autoloading:
- `emoticon_manager`
- `lang_string`
| Old class name | New class name |
| --- | --- |
| `\emoticon_manager` | `\core\emoticon_manager` |
| `\lang_string` | `\core\lang_string` |
type: improved
+1 -1
View File
@@ -1,5 +1,5 @@
issueNumber: MDL-81924
notes:
core_sms:
- message: A new `\core_sms` subsystem has been created
- message: A new `\core_sms` subsystem has been created.
type: improved
+4 -4
View File
@@ -3,12 +3,12 @@ notes:
core:
- message: >-
The following methods have been deprecated, existing usage should switch
to secure `\core\encryption` library:
to use the secure `\core\encryption::encrypt()` and `\core\encryption::decrypt()` static methods:
- `rc4encrypt`
- `\rc4encrypt()`
- `rc4decrypt`
- `\rc4decrypt()`
- `endecrypt`
- `\endecrypt()`
type: deprecated
+1 -1
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-81951
notes:
core_communication:
- message: >-
The `get_enrolled_users_for_course()` method now accepts an additional
The `\core_communication\helper::get_enrolled_users_for_course()` method now accepts an additional
argument that can filter only active enrolments.
type: changed
+12 -22
View File
@@ -1,29 +1,19 @@
issueNumber: MDL-81960
notes:
core:
- message: >-
- message: |
The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\moodle_url` | `\core\url` |
| `\progress_trace` | `\core\output\progress_trace` |
| `\combined_progress_trace` | `\core\output\progress_trace\combined_progress_trace` |
| `\error_log_progress_trace` | `\core\output\progress_trace\error_log_progress_trace` |
| `\html_list_progress_trace` | `\core\output\progress_trace\html_list_progress_trace` |
| `\html_progress_trace` | `\core\output\progress_trace\html_progress_trace` |
| `\null_progress_trace` | `\core\output\progress_trace\null_progress_trace` |
| `\progress_trace_buffer` | `\core\output\progress_trace\progress_trace_buffer` |
| `\text_progress_trace` | `\core\output\progress_trace\text_progress_trace` |
| Old class name | New class name |
| --- | --- |
| `\moodle_url` | `\core\url` |
| `\progress_trace` | `\core\output\progress_trace` |
| `\combined_progress_trace` | `\core\output\progress_trace\combined_progress_trace` |
| `\error_log_progress_trace` | `\core\output\progress_trace\error_log_progress_trace` |
| `\html_list_progress_trace` | `\core\output\progress_trace\html_list_progress_trace` |
| `\html_progress_trace` | `\core\output\progress_trace\html_progress_trace` |
| `\null_progress_trace` | `\core\output\progress_trace\null_progress_trace` |
| `\progress_trace_buffer` | `\core\output\progress_trace\progress_trace_buffer` |
| `\text_progress_trace` | `\core\output\progress_trace\text_progress_trace` |
type: improved
+5 -4
View File
@@ -1,13 +1,14 @@
issueNumber: MDL-82041
notes:
core_reportbuilder:
- message: >-
All time related code has been updated to the PSR-20 Clock interface, as
- message: >
All time-related code has been updated to the PSR-20 Clock interface, as
such the following methods no longer accept a `$timenow` parameter
(instead please use `\core\clock` dependency injection):
- `core_reportbuilder_generator::create_schedule`
-
`core_reportbuilder\local\helpers\schedule::[create_schedule|calculate_next_send_time]`
- `core_reportbuilder\local\helpers\schedule::create_schedule()`
- `core_reportbuilder\local\helpers\schedule::calculate_next_send_time()`
type: changed
+2 -2
View File
@@ -2,6 +2,6 @@ issueNumber: MDL-82066
notes:
core_user:
- message: >-
New `\core_user\hook\extend_default_homepage` hook added to allow
third-party plugins to extend the default homepage options for the site
A new hook, `\core_user\hook\extend_default_homepage`, has been added to allow
third-party plugins to extend the default homepage options for the site.
type: improved
+4 -4
View File
@@ -2,11 +2,11 @@ issueNumber: MDL-82066
notes:
core:
- message: >-
The `get_home_page()` method can now return new constant `HOMEPAGE_URL`,
The `\get_home_page()` function can now return new constant `HOMEPAGE_URL`,
applicable when a third-party hook has extended the default homepage
options for the site
options for the site.
A new method, `get_default_home_page_url()` has been added which will
return the correct URL when this constant is returned
A new function, `\get_default_home_page_url()` has been added which will
return the correct URL when this constant is returned.
type: changed
+6 -10
View File
@@ -1,16 +1,12 @@
issueNumber: MDL-82133
notes:
core_reportbuilder:
- message: >
- message: |
The following classes have been moved to use the new exception API as a L2 namespace:
| Old class | New class |
|-----------|-----------|
| `\core_reportbuilder\report_access_exception` | `\core_reportbuilder\exception\report_access_exception` |
| `\core_reportbuilder\source_invalid_exception` | `\core_reportbuilder\exception\source_invalid_exception` |
| `\core_reportbuilder\source_unavailable_exception` | `\core_reportbuilder\exception\source_unavailable_exception` |
| Old class | New class |
| ----------- | ----------- |
| `\core_reportbuilder\report_access_exception` | `\core_reportbuilder\exception\report_access_exception` |
| `\core_reportbuilder\source_invalid_exception` | `\core_reportbuilder\exception\source_invalid_exception` |
| `\core_reportbuilder\source_unavailable_exception` | `\core_reportbuilder\exception\source_unavailable_exception` |
type: changed
+9 -3
View File
@@ -1,7 +1,13 @@
issueNumber: MDL-82146
notes:
core_courseformat:
- message: >-
New `$disabled` parameter has been added to `select`, `select_optgroup` and
`select_option` html_writers to create disabled option elements.
- message: >
A new `$disabled` parameter has been added to the following `html_writer` methods:
- `\core\output\html_writer::select()`
- `\core\output\html_writer::select_optgroup()`
- `\core\output\html_writer::select_option()`
type: improved
+3 -2
View File
@@ -2,6 +2,7 @@ issueNumber: MDL-82146
notes:
report_log:
- message: >-
`get_activities_list()` function returns also an array of disabled
elements, apart from the array of activities.
The `\report_log_renderable::get_activities_list()` method return values
now includes an array of disabled
elements, in addition to the array of activities.
type: improved
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core:
- message: >-
The following method has been deprecated and should not be used any
longer: `print_grade_menu`.
longer: `\print_grade_menu()`.
type: deprecated
+34 -66
View File
@@ -1,75 +1,43 @@
issueNumber: MDL-82158
notes:
core_cache:
- message: >
- message: |
The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\cache_definition` | `\core_cache\definition` |
| `\cache_request` | `\core_cache\request_cache` |
| `\cache_session` | `\core_cache\session_cache` |
| `\cache_cached_object` | `\core_cache\cached_object` |
| `\cache_config` | `\core_cache\config` |
| `\cache_config_writer` | `\core_cache\config_writer` |
| `\cache_config_disabled` | `\core_cache\disabled_config` |
| `\cache_disabled` | `\core_cache\disabled_cache` |
| `\config_writer` | `\core_cache\config_writer` |
| `\cache_data_source` | `\core_cache\data_source_interface` |
| `\cache_data_source_versionable` | `\core_cache\versionable_data_source_interface` |
| `\cache_exception` | `\core_cache\exception/cache_exception` |
| `\cache_factory` | `\core_cache\factory` |
| `\cache_factory_disabled` | `\core_cache\disabled_factory` |
| `\cache_helper` | `\core_cache\helper` |
| `\cache_is_key_aware` | `\core_cache\key_aware_cache_interface` |
| `\cache_is_lockable` | `\core_cache\lockable_cache_interface` |
| `\cache_is_searchable` | `\core_cache\searchable_cache_interface` |
| `\cache_is_configurable` | `\core_cache\configurable_cache_interface` |
| `\cache_loader` | `\core_cache\loader_interface` |
| `\cache_loader_with_locking` | `\core_cache\loader_with_locking_interface` |
| `\cache_lock_interface` | `\core_cache\cache_lock_interface` |
| `\cache_store` | `\core_cache\store` |
| `\cache_store_interface` | `\core_cache\store_interface` |
| `\cache_ttl_wrapper` | `\core_cache\ttl_wrapper` |
| `\cacheable_object` | `\core_cache\cacheable_object_interface` |
| `\cacheable_object_array` | `\core_cache\cacheable_object_array` |
| `\cache_definition_mappings_form` | `\core_cache\form/cache_definition_mappings_form` |
| `\cache_definition_sharing_form` | `\core_cache\form/cache_definition_sharing_form` |
| `\cache_lock_form` | `\core_cache\form/cache_lock_form` |
| `\cache_mode_mappings_form` | `\core_cache\form/cache_mode_mappings_form` |
| Old class name | New class name |
| --- | --- |
| `\cache_definition` | `\core_cache\definition` |
| `\cache_request` | `\core_cache\request_cache` |
| `\cache_session` | `\core_cache\session_cache` |
| `\cache_cached_object` | `\core_cache\cached_object` |
| `\cache_config` | `\core_cache\config` |
| `\cache_config_writer` | `\core_cache\config_writer` |
| `\cache_config_disabled` | `\core_cache\disabled_config` |
| `\cache_disabled` | `\core_cache\disabled_cache` |
| `\config_writer` | `\core_cache\config_writer` |
| `\cache_data_source` | `\core_cache\data_source_interface` |
| `\cache_data_source_versionable` | `\core_cache\versionable_data_source_interface` |
| `\cache_exception` | `\core_cache\exception/cache_exception` |
| `\cache_factory` | `\core_cache\factory` |
| `\cache_factory_disabled` | `\core_cache\disabled_factory` |
| `\cache_helper` | `\core_cache\helper` |
| `\cache_is_key_aware` | `\core_cache\key_aware_cache_interface` |
| `\cache_is_lockable` | `\core_cache\lockable_cache_interface` |
| `\cache_is_searchable` | `\core_cache\searchable_cache_interface` |
| `\cache_is_configurable` | `\core_cache\configurable_cache_interface` |
| `\cache_loader` | `\core_cache\loader_interface` |
| `\cache_loader_with_locking` | `\core_cache\loader_with_locking_interface` |
| `\cache_lock_interface` | `\core_cache\cache_lock_interface` |
| `\cache_store` | `\core_cache\store` |
| `\cache_store_interface` | `\core_cache\store_interface` |
| `\cache_ttl_wrapper` | `\core_cache\ttl_wrapper` |
| `\cacheable_object` | `\core_cache\cacheable_object_interface` |
| `\cacheable_object_array` | `\core_cache\cacheable_object_array` |
| `\cache_definition_mappings_form` | `\core_cache\form/cache_definition_mappings_form` |
| `\cache_definition_sharing_form` | `\core_cache\form/cache_definition_sharing_form` |
| `\cache_lock_form` | `\core_cache\form/cache_lock_form` |
| `\cache_mode_mappings_form` | `\core_cache\form/cache_mode_mappings_form` |
type: improved
+6 -1
View File
@@ -1,5 +1,10 @@
issueNumber: MDL-82168
notes:
core_badges:
- message: New webservices `enable_badges` and `disable_badges` have been added.
- message: >
The following new webservices have been added:
- `core_badges_enable_badges`
- `core_badges_disable_badges`
type: improved
+62 -123
View File
@@ -1,130 +1,69 @@
issueNumber: MDL-82183
notes:
core:
- message: >
- message: |
The following classes are now also available in the following new
locations. They will continue to work in their old locations:
| Old classname | New classname |
| --- | --- |
| `\action_link` | `\core\output\action_link` |
| `\action_menu_filler` | `\core\output\action_menu\filler` |
| `\action_menu_link_primary` | `\core\output\action_menu\link_primary` |
| `\action_menu_link_secondary` | `\core\output\action_menu\link_secondary` |
| `\action_menu_link` | `\core\output\action_menu\link` |
| `\action_menu` | `\core\output\action_menu` |
| `\block_contents` | `\core_block\output\block_contents` |
| `\block_move_target` | `\core_block\output\block_move_target` |
| `\component_action` | `\core\output\actions\component_action` |
| `\confirm_action` | `\core\output\actions\confirm_action` |
| `\context_header` | `\core\output\context_header` |
| `\core\output\local\action_menu\subpanel` | `\core\output\action_menu\subpanel` |
| `\core_renderer_ajax` | `\core\output\core_renderer_ajax` |
| `\core_renderer_cli` | `\core\output\core_renderer_cli` |
| `\core_renderer_maintenance` | `\core\output\core_renderer_maintenance` |
| `\core_renderer` | `\core\output\core_renderer` |
| `\custom_menu_item` | `\core\output\custom_menu_item` |
| `\custom_menu` | `\core\output\custom_menu` |
| `\file_picker` | `\core\output\file_picker` |
| `\flexible_table` | `\core_table\flexible_table` |
| `\fragment_requirements_manager` | `\core\output\requirements\fragment_requirements_manager` |
| `\help_icon` | `\core\output\help_icon` |
| `\html_table_cell` | `\core_table\output\html_table_cell` |
| `\html_table_row` | `\core_table\output\html_table_row` |
| `\html_table` | `\core_table\output\html_table` |
| `\html_writer` | `\core\output\html_writer` |
| `\image_icon` | `\core\output\image_icon` |
| `\initials_bar` | `\core\output\initials_bar` |
| `\js_writer` | `\core\output\js_writer` |
| `\page_requirements_manager` | `\core\output\requirements\page_requirements_manager` |
| `\paging_bar` | `\core\output\paging_bar` |
| `\pix_emoticon` | `\core\output\pix_emoticon` |
| `\pix_icon_font` | `\core\output\pix_icon_font` |
| `\pix_icon_fontawesome` | `\core\output\pix_icon_fontawesome` |
| `\pix_icon` | `\core\output\pix_icon` |
| `\plugin_renderer_base` | `\core\output\plugin_renderer_base` |
| `\popup_action` | `\core\output\actions\popup_action` |
| `\preferences_group` | `\core\output\preferences_group` |
| `\preferences_groups` | `\core\output\preferences_groups` |
| `\progress_bar` | `\core\output\progress_bar` |
| `\renderable` | `\core\output\renderable` |
| `\renderer_base` | `\core\output\renderer_base` |
| `\renderer_factory_base` | `\core\output\renderer_factory\renderer_factory_base` |
| `\renderer_factory` | `\core\output\renderer_factory\renderer_factory_interface` |
| `\single_button` | `\core\output\single_button` |
| `\single_select` | `\core\output\single_select` |
| `\standard_renderer_factory` | `\core\output\renderer_factory\standard_renderer_factory` |
| `\table_dataformat_export_format` | `\core_table\dataformat_export_format` |
| `\table_default_export_format_parent` | `\core_table\base_export_format` |
| `\table_sql` | `\core_table\sql_table` |
| `\tabobject` | `\core\output\tabobject` |
| `\tabtree` | `\core\output\tabtree` |
| `\templatable` | `\core\output\templatable` |
| `\theme_config` | `\core\output\theme_config` |
| `\theme_overridden_renderer_factory` | `\core\output\renderer_factory\theme_overridden_renderer_factory` |
| `\url_select` | `\core\output\url_select` |
| `\user_picture` | `\core\output\user_picture` |
| `\xhtml_container_stack` | `\core\output\xhtml_container_stack` |
| `\YUI_config` | `\core\output\requirements\yui` |
| Old classname | New classname |
| --- | --- |
| `\action_link` | `\core\output\action_link` |
| `\action_menu_filler` | `\core\output\action_menu\filler` |
| `\action_menu_link_primary` | `\core\output\action_menu\link_primary` |
| `\action_menu_link_secondary` | `\core\output\action_menu\link_secondary` |
| `\action_menu_link` | `\core\output\action_menu\link` |
| `\action_menu` | `\core\output\action_menu` |
| `\block_contents` | `\core_block\output\block_contents` |
| `\block_move_target` | `\core_block\output\block_move_target` |
| `\component_action` | `\core\output\actions\component_action` |
| `\confirm_action` | `\core\output\actions\confirm_action` |
| `\context_header` | `\core\output\context_header` |
| `\core\output\local\action_menu\subpanel` | `\core\output\action_menu\subpanel` |
| `\core_renderer_ajax` | `\core\output\core_renderer_ajax` |
| `\core_renderer_cli` | `\core\output\core_renderer_cli` |
| `\core_renderer_maintenance` | `\core\output\core_renderer_maintenance` |
| `\core_renderer` | `\core\output\core_renderer` |
| `\custom_menu_item` | `\core\output\custom_menu_item` |
| `\custom_menu` | `\core\output\custom_menu` |
| `\file_picker` | `\core\output\file_picker` |
| `\flexible_table` | `\core_table\flexible_table` |
| `\fragment_requirements_manager` | `\core\output\requirements\fragment_requirements_manager` |
| `\help_icon` | `\core\output\help_icon` |
| `\html_table_cell` | `\core_table\output\html_table_cell` |
| `\html_table_row` | `\core_table\output\html_table_row` |
| `\html_table` | `\core_table\output\html_table` |
| `\html_writer` | `\core\output\html_writer` |
| `\image_icon` | `\core\output\image_icon` |
| `\initials_bar` | `\core\output\initials_bar` |
| `\js_writer` | `\core\output\js_writer` |
| `\page_requirements_manager` | `\core\output\requirements\page_requirements_manager` |
| `\paging_bar` | `\core\output\paging_bar` |
| `\pix_emoticon` | `\core\output\pix_emoticon` |
| `\pix_icon_font` | `\core\output\pix_icon_font` |
| `\pix_icon_fontawesome` | `\core\output\pix_icon_fontawesome` |
| `\pix_icon` | `\core\output\pix_icon` |
| `\plugin_renderer_base` | `\core\output\plugin_renderer_base` |
| `\popup_action` | `\core\output\actions\popup_action` |
| `\preferences_group` | `\core\output\preferences_group` |
| `\preferences_groups` | `\core\output\preferences_groups` |
| `\progress_bar` | `\core\output\progress_bar` |
| `\renderable` | `\core\output\renderable` |
| `\renderer_base` | `\core\output\renderer_base` |
| `\renderer_factory_base` | `\core\output\renderer_factory\renderer_factory_base` |
| `\renderer_factory` | `\core\output\renderer_factory\renderer_factory_interface` |
| `\single_button` | `\core\output\single_button` |
| `\single_select` | `\core\output\single_select` |
| `\standard_renderer_factory` | `\core\output\renderer_factory\standard_renderer_factory` |
| `\table_dataformat_export_format` | `\core_table\dataformat_export_format` |
| `\table_default_export_format_parent` | `\core_table\base_export_format` |
| `\table_sql` | `\core_table\sql_table` |
| `\tabobject` | `\core\output\tabobject` |
| `\tabtree` | `\core\output\tabtree` |
| `\templatable` | `\core\output\templatable` |
| `\theme_config` | `\core\output\theme_config` |
| `\theme_overridden_renderer_factory` | `\core\output\renderer_factory\theme_overridden_renderer_factory` |
| `\url_select` | `\core\output\url_select` |
| `\user_picture` | `\core\output\user_picture` |
| `\xhtml_container_stack` | `\core\output\xhtml_container_stack` |
| `\YUI_config` | `\core\output\requirements\yui` |
type: improved
+2 -2
View File
@@ -6,8 +6,8 @@ notes:
selected by default.
Support for the `regular`, and `brands` families of icons has now been adde,
allowing icons defined with `icon_system::FONTAWESOME` to use them.
Support for the `regular`, and `brands` families of icons has now been added,
allowing icons defined with `\core\outut\icon_system::FONTAWESOME` to use them.
Icons can select the FontAwesome family (`fa-regular`, `fa-brands`, `fa-solid`)
+2 -2
View File
@@ -2,8 +2,8 @@ issueNumber: MDL-82212
notes:
core:
- message: >-
A new method, `get_deprecated_icons()`, has been added to the icon_system
class. All deprecated icons should be registered through this method.
A new method, `\core\output\::get_deprecated_icons()`, has been added
to the `icon_system` class. All deprecated icons should be registered through this method.
Plugins can implement a callback to `pluginname_get_deprecated_icons()` to
register their deprecated icons too.
+1 -1
View File
@@ -3,5 +3,5 @@ notes:
core_availability:
- message: >
The previously deprecated renderer
`render_core_availability_multiple_messages` method has been removed
`render_core_availability_multiple_messages` method has been removed.
type: removed
+7 -7
View File
@@ -4,18 +4,18 @@ notes:
- message: >-
The following methods have been updated to accept a section name in addition to the section number:
- `i_open_section_edit_menu()`
- `\behat_course::i_open_section_edit_menu()`
- `i_show_section()`
- `\behat_course::i_show_section()`
- `i_hide_section(),`
- `\behat_course::i_hide_section(),`
- `i_wait_until_section_is_available()`
- `\behat_course::i_wait_until_section_is_available()`
- `show_section_link_exists()`
- `\behat_course::show_section_link_exists()`
- `hide_section_link_exists()`
- `\behat_course::hide_section_link_exists()`
- `section_exists()`
- `\behat_course::section_exists()`
type: improved
+13 -13
View File
@@ -2,24 +2,24 @@ issueNumber: MDL-82287
notes:
core:
- message: >
The following methods have been formally deprecated:
The following functions have been initially deprecated:
- `get_core_subsystems`
- `\get_core_subsystems()`
- `get_plugin_types`
- `\get_plugin_types()`
- `get_plugin_list`
- `\get_plugin_list()`
- `get_plugin_list_with_class`
- `\get_plugin_list_with_class()`
- `get_plugin_directory`
- `\get_plugin_directory()`
- `normalize_component`
- `\normalize_component()`
- `get_component_directory`
- `\get_component_directory()`
- `get_context_instance`
- `\get_context_instance()`
Note: These methods have been deprecated for a long time, but previously
@@ -30,11 +30,11 @@ notes:
exception if called:
- `get_context_instance`
- `\get_context_instance()`
- `can_use_rotated_text`
- `\can_use_rotated_text()`
- `get_system_context`
- `\get_system_context()`
- `print_arrow`
- `\print_arrow()`
type: deprecated
@@ -1,6 +0,0 @@
issueNumber: MDL-82292
notes:
mod_assign:
- message: |
Method `assign_grading_table::col_picture` has been deprecated.
type: deprecated

Some files were not shown because too many files have changed in this diff Show More