MDL-34430 qtype essay: upgrade from MDL-31393 needs a progress bar.
[moodle.git] / repository / upgrade.txt
blobac82eee8e974348a6ff228f2e011b67d41ef9d46
1 This files describes API changes in /repository/ repository system,
2 information provided here is intended especially for developers. Full
3 details of the repository API are available on Moodle docs:
4 http://docs.moodle.org/dev/Repository_API
6 === 2.3 ===
8 * instance_config_form() must now be declared static for php5.4 compatibility.
10 * get_listing() and search() file metadata details are now now more prominently
11   displayed in the interface. Dates and timestamos are now able to be sorted on in
12   the filepicker interface so plugin authors are asked to ensure:
13     - Dates are defined as UNIX timestamps
14     - Filesize is an integer in bytes
16 * It is recomended to define function get_file_source_info() to provide more rich
17   infromation about the source of a file.
19 * The API was extended to allow repositories can now support external references, please
20   see http://docs.moodle.org/dev/Repository_API for further details.