2dbd9a9554
This change set would bring the following new additions to the nextcloud repo: 1. Create a new radio button in filepicker: "Link to file" 2. When user clicks this radio button a warning message would be created, saying this file would become public. Meaning a public link is created in the nextcloud server. 3. Created a sync_reference method to sync the files downloaded from nextcloud server. The sync/refresh time given is 1 day/24 hours. 4. Made sure that when the file is downloaded, we use the file from moodledata file pool. Signed-off-by: Sujith Haridasan <sujith@moodle.com>