Feature Wiki
Tabs
Check file uniqueness by md5sum
Page Overview
[Hide]Samoila, Oliver [oliver.samoila], 29 January 2025: I understand the desire, but I think this is the wrong way to go. It means a lot of work and a lot of code to create something that can be undermined by the most trivial means - e.g. changes to characters, pixels, cropping, formats, ...
We try to improve uniqueness by applying of DataCollection : Revision of Uniqueness of Field Entries
1 Initial Problem
When adding a media object to a data collection and setting it to unique, the uniqueness in currenly checked by the uploaded filename being unique. This means that by simply uploading a file by changing the filename one can upload the file again. This feature would change this behaviour by checking the content of the Media Object to be unique.
2 Conceptual Summary
For each media object, a md5sum would be computed upon upload and compared to all other md5 sums for the other media object in this data collection.
3 User Interface Modifications
3.1 List of Affected Views
- none
3.2 User Interface Details
3.3 New User Interface Concepts
3.4 Accessibility Implications
4 Technical Information
An additional database field would be needed to store the md5sum. There would be no new dependencies, etc
5 Privacy
No personal data is involved.
6 Security
No new endpoints etc.
7 Contact
- Author of the Request:Seeland, Per Pascal [PerPascalSeeland]
- Maintainer:Seeland, Per Pascal [PerPascalSeeland]
- Implementation of the feature is done by: Seeland, Per Pascal [PerPascalSeeland]
8 Funding
- …
9 Discussion
10 Implementation
{ The maintainer has to give a description of the final implementation and add screenshots if possible. }
Test Cases
- {Test case number linked to Testrail} : {test case title}
Privacy
Information in privacy.md of component: updated on {date} by {user} | no change required
Approval
Approved at {date} by {user}.
Last edited: 29. Jan 2025, 08:28, Samoila, Oliver [oliver.samoila]