Merge branch 'MDL-49894-master' of git://github.com/jleyva/moodle

This commit is contained in:
Dan Poltawski
2015-04-16 16:10:23 +01:00
7 changed files with 35 additions and 2 deletions
+10
View File
@@ -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
View 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.
-1
View File
@@ -18,7 +18,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.
+4
View File
@@ -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.
+2 -1
View File
@@ -40,7 +40,8 @@ $functions = array(
'classname' => 'mod_forum_external',
'methodname' => 'get_forum_discussions',
'classpath' => 'mod/forum/externallib.php',
'description' => 'Returns a list of forum discussions contained within a given set of forums.',
'description' => 'DEPRECATED (use mod_forum_get_forum_discussions_paginated instead):
Returns a list of forum discussions contained within a given set of forums.',
'type' => 'read',
'capabilities' => 'mod/forum:viewdiscussion, mod/forum:viewqandawithoutposting'
),
+2
View File
@@ -32,6 +32,8 @@ information provided here is intended especially for developers.
* forum_get_subscribed_forums
* forum_get_optional_subscribed_forums
* forum_get_potential_subscribers
* External function mod_forum_external::get_forum_discussions has been deprecated.
Use mod_forum_external::get_forum_discussions_paginated instead.
=== 2.6 ===
+6
View File
@@ -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 ===