Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Think about adding an option to permanently delete files #40

Open
jdbocarsly opened this issue Aug 19, 2021 · 1 comment
Open

Think about adding an option to permanently delete files #40

jdbocarsly opened this issue Aug 19, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request priority/low

Comments

@jdbocarsly
Copy link
Member

Currently, there is no way to actually delete a file. When the "x" is pressed next to a file in the webapp, the reference to the file is removed from that sample, but the file itself remains on the server, and the file entry remains in the db.

We should think about whether this is the desired behavior, or in what circumstances we want to actually fully delete files.

This is complicated because of the possibility that a file will be used in multiple samples.

@jdbocarsly jdbocarsly added enhancement New feature or request priority/low labels Aug 19, 2021
@ml-evs
Copy link
Member

ml-evs commented Aug 20, 2021

We should probably have a search index over the files database anyway, so files that were not uploaded as part of that sample can then be attached to other samples. If we store a hash of each file too, we can then quickly check for duplicate files and prevent uploading the same file multiple times.

@ml-evs ml-evs self-assigned this Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/low
Projects
None yet
Development

No branches or pull requests

2 participants