Link to previously uploaded file
Currently you can upload a file in many places, but I would like to have the same file associated with many different tasks, comments, and discussions. Right now you have to upload the same file to each item you would like to attach it to. That file then gets duplicated (and triplicated, and...) in the Files app, rendering that app essentially useless because of all of the clutter. I would like to be able to upload a file (and specify a version number) once, either via attachment to some freedcamp item or directly in the Files app, and then be able to provide a link to that file (with the correct version number) in freedcamp items that would take the user to the document in the Files app where they could view it. There wouldn't need to be any distinction between which files were actually uploaded to an item and which were only linked. When you click the "upload file" button I would like to choose to search through files already uploaded to freedcamp or ones on my computer that have not yet been uploaded.
For now we do it this way - we grab a link to a file from Files like https://freedcamp.com/Freedcamp_LxR/Freedcamp_Devel_yOf/files/versions/1386121 and post it to a comment as a link but it is a workaround and time consuming one. I agree - it needs to be fixed.
Jarrod Braun commented
Agreed. That solution would work, though I think it would be helpful to be able to choose to link to a previously uploaded (or previously linked) file. For example, if there are 300 files in my google drive it is somewhat cumbersome to go through all of those each time I want to link to a particular file. But if I could look through a list of only files that have been uploaded or linked to in the freedcamp project, I am immediately only searching through files relevant to the project and not having to sort through hundreds of other files from other projects or personal files.
To be clear, I would like the functionality to work like this:
1. Post several comment (or tasks or other items that allows file uploading/linking) and link or upload a particular file for the first time to each comment/task/etc. A different file is upload/linked to each comment/task/etc.
2. Post other file-compatible item and choose to see a list of files associated with the current project (the files in step 1) to link to, without creating another instance of the file in the Files app.
Really, I just don't want the Files app to be cluttered with so many redundant files. Other than linking to files already in the Files app I'm not sure from a programming perspective how Freedcamp would be able to decide if a file had already been uploaded and not create a duplicate in the Files app. Perhaps same file name ask for new version number?
Jarrod Braun commented
Almost forgot: I would like for the google drive module to have these same features, as uploading from google drive presents the same issues as what I originally described when uploading files locally.