Compare commits

..

3 Commits

Author SHA1 Message Date
Jun Pataleta 52c0da7c64 Moodle release 4.5 2024-10-05 15:10:56 +08:00
Jun Pataleta 5b421c6db6 NOBUG: Add upgrade notes 2024-10-05 15:08:28 +08:00
AMOS bot 572b972869 Automatically generated installer lang files 2024-10-05 00:07:53 +00:00
202 changed files with 56 additions and 1659 deletions
@@ -1,7 +0,0 @@
issueNumber: MDL-43938
notes:
core_badges:
- message: >-
The `badges/newbadge.php` page has been deprecated and merged with
`badges/edit.php`. Please, use `badges/edit.php` instead.
type: deprecated
@@ -1,6 +0,0 @@
issueNumber: MDL-48940
notes:
core:
- message: >
The previously deprecated function `search_generate_text_SQL` has been removed and can no longer be used.
type: removed
@@ -1,8 +0,0 @@
issueNumber: MDL-52046
notes:
core_reportbuilder:
- message: >-
The return type of the `set_checkbox_toggleall` callback, defined by
system reports, can now be null. Use if the checkbox should not be shown
for the row.
type: improved
@@ -1,11 +0,0 @@
issueNumber: MDL-54105
notes:
mod_assign:
- message: |
Added 2 new settings:
- `mod_assign/defaultgradetype`
- The value of this setting dictates which of the `GRADE_TYPE_X` constants is the default option when creating new instances of the assignment.
- The default value is `GRADE_TYPE_VALUE` (Point)
- `mod_assign/defaultgradescale`
- The value of this setting dictates which of the existing scales is the default option when creating new instances of the assignment.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-64148
notes:
core:
- message: >-
The following method has been deprecated and should no longer be used:
`reset_password_and_mail`. Please consider using `setnew_password_and_mail` as
a replacement.
type: deprecated
@@ -1,6 +0,0 @@
issueNumber: MDL-64148
notes:
core:
- message: >-
A new method, `\core_user::get_name_placeholders()`, has been added to return an array of user name fields.
type: improved
@@ -1,19 +0,0 @@
issueNumber: MDL-66151
notes:
core_role:
- message: |
All session management has been moved to the `\core\session\manager` class.
This removes the dependancy to use the `sessions` table.
Session management plugins (like Redis) should now inherit
the base `\core\session\handler` class, which implements
`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` |
type: improved
@@ -1,11 +0,0 @@
issueNumber: MDL-66903
notes:
core:
- message: |
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` |
type: improved
@@ -1,20 +0,0 @@
issueNumber: MDL-66903
notes:
core:
- message: >
Added the ability for unit tests to autoload classes in the
`\[component]\tests\`
namespace from the `[path/to/component]/tests/classes` directory.
type: improved
- message: >
Added a helper to load fixtures from a components `tests/fixtures/`
folder:
```php
advanced_testcase::load_fixture(string $component, string $fixture): void;
```
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-67554
notes:
tool_oauth2:
- message: >
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,11 +0,0 @@
issueNumber: MDL-69684
notes:
core:
- message: >-
Redis session cache has been improved to make a single call where two
were used before.
type: improved
- message: >-
The minimum Redis server version is now 2.6.12.
The minimum PHP Redis extension version is now 2.2.4.
type: changed
@@ -1,5 +0,0 @@
issueNumber: MDL-70854
notes:
core:
- message: Added stored progress bars
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-70983
notes:
core_badges:
- 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
@@ -1,13 +0,0 @@
issueNumber: MDL-71326
notes:
core:
- message: >+
- 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,6 +0,0 @@
issueNumber: MDL-71748
notes:
core:
- message: >
The previously deprecated function `\core_text::reset_caches()` has been removed and can no longer be used.
type: removed
@@ -1,7 +0,0 @@
issueNumber: MDL-71823
notes:
core_user:
- message: >-
New `\core_user\hook\extend_user_menu` hook added to allow third party
plugins to extend the user menu navigation.
type: improved
@@ -1,6 +0,0 @@
issueNumber: MDL-72353
notes:
core_report:
- message: >-
The previously deprecated `\core\report_helper::save_selected_report()` method has been removed and can no longer be used.
type: removed
@@ -1,11 +0,0 @@
issueNumber: MDL-72397
notes:
qbank_managecategories:
- message: >
Category lists are now generated by templates.
The following classes have been deprecated:
- `\qbank_managecategories\question_category_list`
- `\qbank_managecategories\question_category_list_item`
type: deprecated
@@ -1,28 +0,0 @@
issueNumber: MDL-72397
notes:
qbank_managecategories:
- message: >
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 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
@@ -1,18 +0,0 @@
issueNumber: MDL-72397
notes:
qbank_managecategories:
- message: >
`\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.
type: deprecated
core:
- message: >
`\moodle_list` and `\list_item` were only used by
`qbank_managecategories`, and these usages have been removed, so
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.
type: deprecated
@@ -1,7 +0,0 @@
issueNumber: MDL-72424
notes:
mod_feedback:
- message: >-
The `\feedback_check_is_switchrole()` function has been deprecated as it
didn't work.
type: deprecated
@@ -1,11 +0,0 @@
issueNumber: MDL-72620
notes:
repository_onedrive:
- message: >
The following previously deprecated methods have been removed and can no
longer be used:
- `\repository_onedrive::can_import_skydrive_files()`
- `\repository_onedrive::import_skydrive_files()`
type: removed
@@ -1,11 +0,0 @@
issueNumber: MDL-72786
notes:
report_eventlist:
- message: >-
The following deprecated methods in `report_eventlist_list_generator` have
been removed:
- `\report_eventlist_list_generator::get_core_events_list()`
- `\report_eventlist_list_generator::get_non_core_event_list()`
type: deprecated
@@ -1,7 +0,0 @@
issueNumber: MDL-73165
notes:
core:
- message: >
The following previously deprecated methods have been removed and can no longer be used:
- `\renderer_base::should_display_main_logo()`
type: removed
@@ -1,5 +0,0 @@
issueNumber: MDL-73284
notes:
core_message:
- message: Final deprecation of the `MESSAGE_DEFAULT_LOGGEDOFF`, and `MESSAGE_DEFAULT_LOGGEDIN` constants.
type: removed
@@ -1,7 +0,0 @@
issueNumber: MDL-73976
notes:
core_course:
- message: >-
The previously deprecated `\print_course_request_buttons()` method has been
removed and can no longer be used.
type: removed
@@ -1,8 +0,0 @@
issueNumber: MDL-74050
notes:
mod_assign:
- 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.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-74251
notes:
theme:
- message: >-
Removed all references to `iconhelp`, `icon-pre`, `icon-post`, `iconlarge`, and
`iconsort` CSS classes.
type: removed
@@ -1,5 +0,0 @@
issueNumber: MDL-74484
notes:
core:
- message: Final deprecation of `\print_error()`. Please use the `\moodle_exception` class instead.
type: removed
@@ -1,9 +0,0 @@
issueNumber: MDL-74581
notes:
core_grades:
- 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()`
type: removed
@@ -1,18 +0,0 @@
issueNumber: MDL-74583
notes:
core_reportbuilder:
- message: >-
Support for the following entity classes, renamed since 4.1, have now
been removed completely:
- `\core_admin\local\entities\task_log`
- `\core_cohort\local\entities\cohort`
- `\core_cohort\local\entities\cohort_member`
- `\core_course\local\entities\course_category`
- `\report_configlog\local\entities\config_change`
type: removed
@@ -1,5 +0,0 @@
issueNumber: MDL-74843
notes:
core:
- message: 'Final deprecation of `\core\task\manager::ensure_adhoc_task_qos()`.'
type: removed
@@ -1,7 +0,0 @@
issueNumber: MDL-74939
notes:
core:
- message: >-
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,6 +0,0 @@
issueNumber: MDL-75022
notes:
core_backup:
- message: >-
The `\core_backup\copy\copy` class has been deprecated and removed. Please use `\copy_helper` instead.
type: removed
@@ -1,11 +0,0 @@
issueNumber: MDL-75025
notes:
core_backup:
- 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
@@ -1,6 +0,0 @@
issueNumber: MDL-75850
notes:
core_files:
- message: |
A new hook, `\core_files\hook\after_file_created`, has been created to allow the inspection of files after they have been saved in the filesystem.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-76392
notes:
core_reportbuilder:
- message: >-
System reports now support native entity column aggregation via each
columns `set_aggregation()` method
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-76690
notes:
core_reportbuilder:
- message: >
The following previously deprecated local helper methods have been removed and can no longer be used:
- `\core_reportbuilder\local\helpers\audience::get_all_audiences_menu_types()`
- `\core_reportbuilder\local\helpers\report::get_available_columns()`
type: removed
@@ -1,5 +0,0 @@
issueNumber: MDL-77167
notes:
core:
- message: Remove deprecation layer for YUI JS Events. The deprecation layer was introduced with MDL-70990 and MDL-72291.
type: removed
@@ -1,8 +0,0 @@
issueNumber: MDL-78030
notes:
core_user:
- message: >-
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
@@ -1,21 +0,0 @@
issueNumber: MDL-78030
notes:
core:
- message: |
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.
The `COUNT` window function optimization is applied to the following databases:
- PostgreSQL
- MariaDB
- Oracle
Note: MySQL and SQL Server do not use this optimization due to insignificant performance differences before and
after the improvement.
type: improved
@@ -1,10 +0,0 @@
issueNumber: MDL-78293
notes:
core_user:
- message: >
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,7 +0,0 @@
issueNumber: MDL-78662
notes:
core_question:
- message: >
A new utility function `\question_utils::format_question_fragment()` has been created so
that question content can filter based on filters.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-78773
notes:
core_report:
- message: >
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.
type: changed
@@ -1,5 +0,0 @@
issueNumber: MDL-78776
notes:
tool:
- message: The Convert to InnoDB plugin (`tool_innodb`) has been completely removed.
type: removed
@@ -1,7 +0,0 @@
issueNumber: MDL-79011
notes:
core:
- message: >-
The `after_config()` callback has been converted to a hook,
`\core\hook\after_config`.
type: improved
@@ -1,10 +0,0 @@
issueNumber: MDL-79546
notes:
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,7 +0,0 @@
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
it in the global `$SESSION` variable.
type: fixed
@@ -1,6 +0,0 @@
issueNumber: MDL-79628
notes:
core:
- message: >-
The `$timeout` property of the `\navigation_cache` class has been deprecated.
type: deprecated
@@ -1,9 +0,0 @@
issueNumber: MDL-80017
notes:
core_grades:
- message: >
The grade `itemname` property contained in the return structure of
the following external methods is now PARAM_RAW:
- `core_grades_get_gradeitems`
- `gradereport_user_get_grade_items`
type: changed
-11
View File
@@ -1,11 +0,0 @@
issueNumber: MDL-80275
notes:
core:
- message: >
The class autoloader has been moved to an earlier point in the Moodle
bootstrap.
Autoloaded classes are now available to scripts using the
`ABORT_AFTER_CONFIG` constant.
type: changed
@@ -1,18 +0,0 @@
issueNumber: MDL-80741
notes:
mod_assign:
- message: >
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.
type: removed
- message: >
The constant `ASSIGN_ATTEMPT_REOPEN_METHOD_NONE` has been deprecated,
and a new default value for `attemptreopenmethod` has been set to
"Automatically until pass".
type: deprecated
- message: >
A new default value for `attemptreopenmethod` has been set to
"Automatically until pass".
type: improved
@@ -1,20 +0,0 @@
issueNumber: MDL-80744
notes:
core_grades:
- message: >-
The behat step definition
`\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.
type: deprecated
- message: >-
The behat step definition
`\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.
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()`
instead.
type: deprecated
@@ -1,23 +0,0 @@
issueNumber: MDL-80745
notes:
core_grades:
- message: >
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
gradereport_grader:
- message: >
The `gradereport_grader/group` ESM has been deprecated. Please use
`core_course/actionbar/group` instead.
type: deprecated
gradereport_singleview:
- message: >
The `gradereport_singleview/group` ESM has been deprecated. Please use
`core_course/actionbar/group` instead.
type: deprecated
gradereport_user:
- message: >
The `gradereport_user/group` ESM has been deprecated. Please use
`core_course/actionbar/group` instead.
type: deprecated
@@ -1,9 +0,0 @@
issueNumber: MDL-80747
notes:
core:
- message: >
The `\core\output\select_menu` widget now supports rendering dividers
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,9 +0,0 @@
issueNumber: MDL-80747
notes:
core:
- message: >
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.
type: improved
@@ -1,11 +0,0 @@
issueNumber: MDL-80748
notes:
core_table:
- message: >+
A new `$reponsive` property (defaulting to `true`) has been added to the
`\core_table\flexible_table` class.
This property allows you to control whether the table is rendered as a
responsive table.
type: improved
@@ -1,19 +0,0 @@
issueNumber: MDL-80750
notes:
mod_assign:
- message: >
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
deprecated. Use
`assign_feedback_plugin::get_grading_batch_operation_details` instead.
type: deprecated
- message: >
The `\assign_grading_table::plugingradingbatchoperations` property has been
removed. You can use
`\assign_feedback_plugin::get_grading_batch_operation_details()` instead.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-80752
notes:
mod_assign:
- message: >
The `$submissionpluginenabled` and `$submissioncount` parameters from
the constructor of the `\mod_assign\output::grading_actionmenu` class
have been deprecated.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-80890
notes:
core:
- message: >
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
@@ -1,12 +0,0 @@
issueNumber: MDL-80962
notes:
factor_sms:
- message: >
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
@@ -1,12 +0,0 @@
issueNumber: MDL-80962
notes:
core:
- message: >
The following classes are deprecated as they are handled by core_sms API and smsgateway_aws plugin:
- `\core\aws\admin_settings_aws_region`
- `\core\aws\aws_helper`
- `\core\aws\client_factory`
type: deprecated
@@ -1,11 +0,0 @@
issueNumber: MDL-81031
notes:
core:
- message: |
The following classes have been renamed.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\core_user` | `\core\user` |
type: improved
@@ -1,11 +0,0 @@
issueNumber: MDL-81168
notes:
core_reportbuilder:
- message: >
In order to better support float values in filter forms, the following
filter types now cast given SQL prior to comparison:
- `duration`
- `filesize`
- `number`
type: changed
@@ -1,6 +0,0 @@
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.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-81282
notes:
core:
- message: >-
New DML constant `SQL_INT_MAX` to define the size of a large integer
with cross database platform support.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-81321
notes:
mod_data:
- message: >-
The `\mod_data_renderer::render_fields_footer()` method has been deprecated
as it's no longer used.
type: deprecated
@@ -1,6 +0,0 @@
issueNumber: MDL-81330
notes:
core_reportbuilder:
- message: >
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 +0,0 @@
issueNumber: MDL-81407
notes:
core_question:
- message: >
`\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
@@ -1,12 +0,0 @@
issueNumber: MDL-81428
notes:
core_message:
- message: >
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 a future release.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-81433
notes:
core_reportbuilder:
- message: >
The following external methods now return tags data relevant to each custom report:
- `core_reportbuilder_list_reports`
- `core_reportbuilder_retrieve_report`
type: improved
@@ -1,6 +0,0 @@
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.
type: improved
@@ -1,14 +0,0 @@
issueNumber: MDL-81523
notes:
core:
- message: >
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.
This includes the following methods:
- `setUp()`
- `tearDown()`
- `setUpBeforeClass()`
- `tearDownAfterClass()`
type: fixed
@@ -1,7 +0,0 @@
issueNumber: MDL-81572
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.
type: changed
@@ -1,5 +0,0 @@
issueNumber: MDL-81597
notes:
theme:
- message: 'Added a new `\renderer_base::get_page` getter method.'
type: improved
@@ -1,5 +0,0 @@
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.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-81610
notes:
core_courseformat:
- message: >
The constructor of `\core_courseformat\output\local\state\cm` has been updated to accept a new optional parameter, `$istrackeduser`.
If `istrackeduser` is pre-computed for the course module's course, it can be provided here to avoid an additional function call.
type: improved
@@ -1,13 +0,0 @@
issueNumber: MDL-81675
notes:
core_course:
- 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
@@ -1,7 +0,0 @@
issueNumber: MDL-81676
notes:
core_course:
- message: >-
The `data-sectionid` attribute in the activity chooser has been
deprecated. Please update your code to use `data-sectionnum` instead.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-81699
notes:
core_course:
- message: >
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.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-81742
notes:
mod_feedback:
- message: >-
The method `\mod_feedback\output\renderer::create_template_form()` has
been deprecated. It is not used anymore.
type: deprecated
@@ -1,9 +0,0 @@
issueNumber: MDL-81749
notes:
core_completion:
- message: >-
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`.
type: changed
@@ -1,12 +0,0 @@
issueNumber: MDL-81767
notes:
core_course:
- message: >-
Added new `activitychooserbutton` output class to display the
activitychooser button. New `action_links` can be added to the button via
hooks converting it into a dropdown.
type: improved
- message: >-
New `\core_course\hook\before_activitychooserbutton_exported` hook added
to allow third-party plugins to extend activity chooser button options.
type: improved
@@ -1,12 +0,0 @@
issueNumber: MDL-81767
notes:
mod:
- message: >-
Added new `FEATURE_QUICKCREATE` for modules that can be quickly created in
the course wihout filling a previous form.
type: improved
core_courseformat:
- message: >-
Added new `core_courseformat_create_module` webservice to create new module (with
quickcreate feature) instances in the course.
type: improved
@@ -1,5 +0,0 @@
issueNumber: MDL-81771
notes:
core_report:
- message: Report has been added to subsystem components list.
type: improved
@@ -1,5 +0,0 @@
issueNumber: MDL-81771
notes:
core_report:
- message: A new general output class, `\core_report\output\coursestructure`, has been created.
type: improved
@@ -1,7 +0,0 @@
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.
type: changed
@@ -1,7 +0,0 @@
issueNumber: MDL-81816
notes:
theme_boost:
- message: >-
Bridged `theme-color-level` using a new `shift-color` function to prepare
for its deprecation in Boostrap 5.
type: improved
@@ -1,5 +0,0 @@
issueNumber: MDL-81818
notes:
theme_boost:
- message: The Bootstrap `.no-gutters` class is no longer used, use `.g-0` instead.
type: changed
@@ -1,8 +0,0 @@
issueNumber: MDL-81850
notes:
availability:
- message: >-
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,12 +0,0 @@
issueNumber: MDL-81872
notes:
core_course:
- message: >+
The reset course page has been improved. The words "Delete" and "Remove" have been removed from all the options to make it easier to focus on the data to be removed and avoid inconsistencies and duplicated information.
Third party plugins implementing reset methods might need to:
- Add static element in the _reset_course_form_definition method before all the options with the Delete string:
`$mform->addElement('static', 'assigndelete', get_string('delete'));`
- Review all the strings used in the reset page to remove the "Delete" or "Remove" words from them.
type: changed
@@ -1,7 +0,0 @@
issueNumber: MDL-81894
notes:
core:
- message: >-
Use server timezone when constructing `\DateTimeImmutable` for the
system `\core\clock` implementation.
type: fixed
@@ -1,5 +0,0 @@
issueNumber: MDL-81903
notes:
core:
- message: Added a new `exception` L2 Namespace to APIs.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-81919
notes:
core:
- message: >
Added a mechanism to support autoloading of legacy class files.
This will help to reduce the number of `require_once` calls in the codebase, and move away from the use of monolithic libraries.
type: improved
-19
View File
@@ -1,19 +0,0 @@
issueNumber: MDL-81919
notes:
core:
- message: >
The following exceptions are now also available in the `\core\exception`
namespace:
- `\coding_exception`
- `\file_serving_exception`
- `\invalid_dataroot_permissions`
- `\invalid_parameter_exception`
- `\invalid_response_exception`
- `\invalid_state_exception`
- `\moodle_exception`
- `\require_login_exception`
- `\require_login_session_timeout_exception`
- `\required_capability_exception`
- `\webservice_parameter_exception`
type: improved
@@ -1,11 +0,0 @@
issueNumber: MDL-81920
notes:
core:
- message: |
The following classes are now also available in the `\core\` namespace and support autoloading:
| Old class name | New class name |
| --- | --- |
| `\emoticon_manager` | `\core\emoticon_manager` |
| `\lang_string` | `\core\lang_string` |
type: improved
@@ -1,5 +0,0 @@
issueNumber: MDL-81924
notes:
core_sms:
- message: A new `\core_sms` subsystem has been created.
type: improved
@@ -1,14 +0,0 @@
issueNumber: MDL-81940
notes:
core:
- message: >-
The following methods have been deprecated, existing usage should switch
to use the secure `\core\encryption::encrypt()` and `\core\encryption::decrypt()` static methods:
- `\rc4encrypt()`
- `\rc4decrypt()`
- `\endecrypt()`
type: deprecated
@@ -1,7 +0,0 @@
issueNumber: MDL-81951
notes:
core_communication:
- message: >-
The `\core_communication\helper::get_enrolled_users_for_course()` method now accepts an additional
argument that can filter only active enrolments.
type: changed
@@ -1,19 +0,0 @@
issueNumber: MDL-81960
notes:
core:
- 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` |
type: improved

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