Create file constraint and validator; and FileValidationEvent subscriber

Created on 28 August 2023, about 1 year ago
Updated 30 August 2023, about 1 year ago

Problem/Motivation

The file hash dedupe feature should be overhauled now that there's a new system for file validation β†’ .

Steps to reproduce

Proposed resolution

Some services will be used only by the validator and can be removed from the filehash service. The filehash_file_validate() and filehash_validate_dedupe() functions can be removed. FileHash::duplicateLookup() and FileHash::validateDedupe() can be moved to the validator. #upload_validators should use the new constraint ("FileHashDedupe" perhaps).

Remaining tasks

User interface changes

API changes

See above.

Data model changes

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024