stash-box
stash-box copied to clipboard
Add fingerprint input on scene creation in webui
Mostly based this off the urlInput file. Tested working locally.
Resolves #476, which I guess was originally about adding some new hash type but has been edited to just "add fingerprints manually", which is what this does.
Rebased, and fixed formatting (yarn validate now passes)
I strongly disagree with this being the default feature. While I can see a possible use case for this, without some safeguards it opens up a huge vector for abuse.
While Stash requirement is not ideal, it automatically adds certain safeguards like:
- Hash being generated on actual file
- File duration being sent along with the hash
- Using the same algorithm as everyone else
Perhaps the entire “create scene” button in the webui should be configurable via a feature flag in that case? Operators who only want scenes via stash should disable entirely, and those operators who want it enabled will have users who can submit scenes with hashes in the webui.