moodle-tool_objectfs
moodle-tool_objectfs copied to clipboard
Object file storage system for Moodle
Objectfs pulls files locally each time when `get_local_path_from_hash()` method gets invoked. This method is used to preview images and get their width, height and mimetype. So even if pre-signed urls...
Much of the complexity is in the objectfs mechanics and separate to which store is in use. It would be good if we implemented a filedir2 store which just shuffled...
We are using GCP S3 compatible interface and files are not being deleted. On https://github.com/catalyst/moodle-tool_objectfs/blob/master/classes/local/store/s3/client.php#L173 unlink is used to delete the file for S3 storage: ```php /** * Deletes a...
Are SCORM files supported by the plugin? The intent of course is to have one repository for SCORM files uploaded via the interface to S3.
It has swapped somewhere along the line and starts at the biggest files and works down 
The Presigned URL testing page should have a test for a Javascript library requesting content from the signed domain, so we can test that cors headers are correctly being set...
There is possibly 2 issues that overlap and make things worse. The first issue is there is some intermittent reason why it cannot connect to s3. This is the root...
ie if the contents of the config starts with ``` -----BEGIN RSA PRIVATE KEY---- ``` then shoun't do the test read from the file system: https://github.com/catalyst/moodle-tool_objectfs/blob/master/classes/local/manager.php#L217
We want a header more or less like this: ```Access-Control-Allow-Origin: $CFG->wwwhost``` https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin