From 72b33964f6002ef24602ff74d80b876e28f33937 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Mon, 25 Jun 2012 15:48:57 +0800 Subject: [PATCH] MDL-33694 repository: docs about 2.3 changes --- repository/upgrade.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 repository/upgrade.txt diff --git a/repository/upgrade.txt b/repository/upgrade.txt new file mode 100644 index 00000000000..ac82eee8e97 --- /dev/null +++ b/repository/upgrade.txt @@ -0,0 +1,20 @@ +This files describes API changes in /repository/ repository system, +information provided here is intended especially for developers. Full +details of the repository API are available on Moodle docs: +http://docs.moodle.org/dev/Repository_API + +=== 2.3 === + +* instance_config_form() must now be declared static for php5.4 compatibility. + +* get_listing() and search() file metadata details are now now more prominently + displayed in the interface. Dates and timestamos are now able to be sorted on in + the filepicker interface so plugin authors are asked to ensure: + - Dates are defined as UNIX timestamps + - Filesize is an integer in bytes + +* It is recomended to define function get_file_source_info() to provide more rich + infromation about the source of a file. + +* The API was extended to allow repositories can now support external references, please + see http://docs.moodle.org/dev/Repository_API for further details.