Skip to content

Feature - File Uniqueness Checks - #2315

Open
Toocky wants to merge 6 commits into
cortezaproject:2024.9.xfrom
Toocky:2024.9.x-feature-file-uniqueness
Open

Toocky wants to merge 6 commits into
cortezaproject:2024.9.xfrom
Toocky:2024.9.x-feature-file-uniqueness

Conversation

@Toocky

@Toocky Toocky commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

The following changes are implemented

when uploading a file it would be good to check the file is unique within its own module or within a specific target module

if there is a duplicate detection then allow a choice of options ie alert with link to existing record, or open in modal or new tab or same tab

i used xxhash for its speed and the fact that it was already in the project

#2314

Changes in the user interface:

in the field options you can choose to enforce uniqueness, and choose what you want to happen on conflict

image

the others are self explanatory the alert appears like this

image

the other option is you can select a different module to validate uniqueness against

image

Checklist when submitting a final (!draft) PR

  • Commits are tidied up, squashed if needed and follow guidelines in CONTRIBUTING.md
  • Code builds
  • All existing tests pass
  • All new critical code is covered by tests
  • PR is linked to the relevant issue(s)
  • Rebased with the target branch

@Toocky
Toocky force-pushed the 2024.9.x-feature-file-uniqueness branch from e4080de to 8373cbf Compare April 13, 2026 23:54
@Fajfa

Fajfa commented May 5, 2026

Copy link
Copy Markdown
Member

@Toocky I would merge this, but for that I'd really like you to clean up the commit history. I would expect one commit per fix/feature. And no merge commits please.

Also if you can remove gitignore for claude and your local dev things.

@Fajfa
Fajfa force-pushed the 2024.9.x branch 2 times, most recently from b8536d1 to b7d6d27 Compare May 21, 2026 14:25
@Fajfa Fajfa linked an issue May 22, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

Stale pull request message

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature - File Uniqueness Checks

2 participants