Skip to content

File upload improvements - #5071

Open
frjo wants to merge 9 commits into
mainfrom
enhancement/file-upload-improvments
Open

frjo wants to merge 9 commits into
mainfrom
enhancement/file-upload-improvments

Conversation

@frjo

@frjo frjo commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

This PR fixes a number of issues with file uploads that made Hypha store duplicated copies of files.

  • Do not copy and rename files that are kept on submission edit.
  • Create utility function like is_own_file and revision_files_to_delete.
  • Do not store report files twice.
  • Fix issue where extra copy of files where stored in /media/submission/None.
  • Only do revision file delete when submission is not compleatly deleted.

@frjo frjo added Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Minor Minor change, used in release drafter labels Nov 24, 2026
@frjo
frjo force-pushed the enhancement/file-upload-improvments branch from 6f15ba6 to a1aec08 Compare November 25, 2026 12:22
@frjo
frjo requested a review from wes-otf November 27, 2026 08:23
@frjo
frjo force-pushed the enhancement/file-upload-improvments branch from a1aec08 to 13c78e5 Compare November 30, 2026 12:54

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Minor Minor change, used in release drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant