mirror of
https://github.com/moodle/moodle.git
synced 2025-06-02 22:25:04 +02:00
MDL-49894 webservices: Add missing API changes in upgrade.txt
This commit is contained in:
parent
b235aef094
commit
6d28e2cfa6
@ -1,6 +1,16 @@
|
||||
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()
|
||||
|
11
files/upgrade.txt
Normal file
11
files/upgrade.txt
Normal file
@ -0,0 +1,11 @@
|
||||
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.
|
||||
|
@ -1,6 +1,10 @@
|
||||
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 ===
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user