Skip to content

Commit

Permalink
Merge branch 'MDL-49894-master' of git://github.com/jleyva/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Apr 16, 2015
2 parents 9697b3d + 6d28e2c commit 8da277e
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 2 deletions.
10 changes: 10 additions & 0 deletions enrol/upgrade.txt
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
11 changes: 11 additions & 0 deletions files/upgrade.txt
Original file line number Diff line number Diff line change
@@ -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 change: 0 additions & 1 deletion lib/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions mod/assign/upgrade.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion mod/forum/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
'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'
),
Expand Down
2 changes: 2 additions & 0 deletions mod/forum/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ===

Expand Down
6 changes: 6 additions & 0 deletions webservice/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ===

Expand Down

0 comments on commit 8da277e

Please sign in to comment.