[AMOS commit] MDL-34290 repository_dropbox reference handling Committed into Git: 2012-08-07 03:26 UTC

[AMOS commit] MDL-34290 repository_dropbox reference handling Committed into Git: 2012-08-07 03:26 UTC

by AMOS bot -
Number of replies: 0
Author: Marina Glancy
MDL-34290 repository_dropbox reference handling
- When Dropbox file is inserted by reference, the shared link is created and stored
- Added a function to fix old references (containing access_key/secret) with the proper ones
- Added support for external links in Dropbox (FILE_EXTERNAL), using the shared link API
- Make sure that repository::get_link() receives reference and not source (other repositories than Dropbox have those fields identical)
- Function get_file_by_reference respects request timeouts, downloads only images (for thumbnail generation),
- Function get_file respects request timeout
- do not use cache_file class (content is cached in moodle filepool if needed)
- added parameter for maximum size of files to cache
- added 'Manage' link for Filepicker
- added user name to
- added user name (if different from current) to 'Original' field
- added/corrected phpdocs


http://git.moodle.org/gw?p=moodle.git;a=commit;h=75dd40b265087300e32722401fb35aeda7406c84
http://github.com/moodle/moodle/commit/75dd40b265087300e32722401fb35aeda7406c84

+ 2.4 en [cachelimit,repository_dropbox]
+ 2.4 en [cachelimit_info,repository_dropbox]
+ 2.4 en [error_cachelimit,repository_dropbox]