mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
75dd40b265
- 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