Commit 6d28e2cf authored by Juan Leyva's avatar Juan Leyva
Browse files

MDL-49894 webservices: Add missing API changes in upgrade.txt

parent b235aef0
This files describes API changes in /enrol/* - plugins,
information provided here is intended especially for developers.
=== 2.9 ===
* External function core_enrol_external::get_users_courses now returns additional optional fields:
- summary: Course summary.
- summaryformat: Course summary format.
- format: Course format.
- showgrades: True if grades are shown, otherwise false.
- lang: Forced course language.
- enablecompletion: Control or not via completion and activity settings.
=== 2.8 ===
* enrol_plugin::instance_deleteable() is deprecated and has been replaced by enrol_plugin::can_delete_instance()
......
This files describes API changes in /files/*,
information provided here is intended especially for developers.
=== 2.9 ===
* External function core_files_external::get_files returns additional optional fields:
- timecreated: Time created.
- filesize: File size.
- author: File owner.
- license: File license.
......@@ -17,7 +17,6 @@ information provided here is intended especially for developers.
* For 3rd party plugin specific environment.xml files, it's now possible to specify version independent checks by using the
<PLUGIN name="component_name"> tag instead of the version dependent <MOODLE version="x.y"> one. If the PLUGIN tag is used any
Moodle specific tags will be ignored.
* External function core_files_get_files returns additional fields (timecreated, filesize, author, license)
* html_table: new API for adding captions to tables (new field, $table->caption) and subsequently hiding said captions from sighted users using accesshide (enabled using $table->captionhide).
* The authorization procedure in the mdeploy.php script has been improved. The script
now relies on the main config.php when deploying an available update.
......
This files describes API changes in the assign code.
=== 2.9 ===
* External parameter now returns PARAM_RAW instead of PARAM_TEXT for webservices using feedback comments.
* External function mod_assign_external::get_assignments now returns additional optional fields:
- intro: Assignment intro.
- introformat: Intro format.
- introattachments: Intro attachments files.
=== 2.8 ===
* Some DB changes were made to simplify the SQL required to query the latest attempt.
......
......@@ -42,6 +42,12 @@ This information is intended for authors of webservices, not people writing webs
- core_user_get_users_by_id
- moodle_webservice_get_siteinfo
* External function core_webservice_external::get_site_info now returns additional optional fields:
- advancedfeatures: Array listing Moodle advanced features and if enabled or not.
- usercanmanageownfiles: Whether the my files option is disabled.
- userquota: User storage quota.
- usermaxuploadfilesize: Files upload size limit.
=== 2.7 ===
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment