File handling in the object storage has been done using different approaches. Currently there are:
ProposalQAFile.file / ProposalQAFile.md5: using md5 to download files and to hide the object storage URL. Name is generated on the upload and cannot be changed
CallPartFile.file / CallPartFile.name with also CallPartFile.download_link and CallPartFile.filename_with_extension: name can be changed any time in the model, direct URL to the object storage
Need to check: grant management section and its approach (I can't remember having the md5 there)
There are a few ways to represent the file download:
_file_download_link.tmpl (no short version, with the smarter name approach)
_file_to_download.tmpl (with the short version for the grant management, no name approach)
in _questions_answers-detail.tmpl there (line 15) a in-place approach
All of this should be consolidated in one way to retrieve files from the object storage.
File handling in the object storage has been done using different approaches. Currently there are:
There are a few ways to represent the file download:
All of this should be consolidated in one way to retrieve files from the object storage.