MDL-28666 Extends repository to support references
authorDongsheng Cai <dongsheng@moodle.com>
Fri, 11 May 2012 20:14:53 +0000 (04:14 +0800)
committerMarina Glancy <marina@moodle.com>
Mon, 21 May 2012 03:57:51 +0000 (11:57 +0800)
commit6723372514e0bf8b44b945b4a625ac43e08dc382
tree678fd1f5bcb66eaf18192e601f008ba907fc8a90
parent4f7f2a8828c346f9770554864089fcf1bbcf4bc6
MDL-28666 Extends repository to support references

1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
61 files changed:
admin/repository.php
admin/repositoryinstance.php
backup/backupfilesedit_form.php
backup/moodle2/backup_stepslib.php
backup/moodle2/restore_stepslib.php
backup/util/dbops/backup_controller_dbops.class.php
backup/util/dbops/restore_dbops.class.php
backup/util/helper/backup_file_manager.class.php
backup/util/helper/backup_general_helper.class.php
backup/util/ui/backup_ui_stage.class.php
backup/util/ui/renderer.php
blocks/private_files/edit.php
files/coursefilesedit_form.php
lang/en/backup.php
lang/en/error.php
lang/en/repository.php
lib/cronlib.php
lib/db/install.xml
lib/db/upgrade.php
lib/filelib.php
lib/filestorage/file_exceptions.php
lib/filestorage/file_storage.php
lib/filestorage/stored_file.php
lib/filestorage/tests/file_storage_test.php
lib/form/editor.php
lib/form/filemanager.php
lib/form/filepicker.php
lib/outputrequirementslib.php
lib/tests/filelib_test.php
lib/tests/repositorylib_test.php [deleted file]
mod/folder/edit.php
mod/folder/mod_form.php
mod/resource/mod_form.php
mod/wiki/filesedit.php
mod/workshop/submission.php
repository/alfresco/lib.php
repository/boxnet/lib.php
repository/coursefiles/lib.php
repository/dropbox/lib.php
repository/dropbox/locallib.php
repository/filepicker.js
repository/filesystem/lib.php
repository/flickr/lib.php
repository/flickr_public/lib.php
repository/googledocs/lib.php
repository/lib.php
repository/local/lib.php
repository/merlot/lib.php
repository/picasa/lib.php
repository/recent/lib.php
repository/repository_ajax.php
repository/s3/lib.php
repository/tests/repository_test.php [new file with mode: 0644]
repository/upload/lib.php
repository/url/lib.php
repository/user/lib.php
repository/webdav/lib.php
repository/wikimedia/lib.php
repository/youtube/lib.php
user/filesedit.php
version.php