fix: anti-doublon upload — lock mémoire in-flight + garde click/drag frontend

- Backend: Mutex<HashSet> pour bloquer les uploads concurrents du même hash (409 Conflict)
- Backend: logs tracing pour tracer chaque upload entrant
- Frontend: flag isDragging pour éviter le double déclenchement click+drag
- Dépendance: ajout hex = 0.4 pour log du hash

Corrige le bug où un seul fichier uploadé générait 4 copies sur Imago.
This commit is contained in:
2026-06-25 14:23:55 -04:00
parent 3254c33ae5
commit 5a2e12da01
7 changed files with 58 additions and 9 deletions
+1
View File
@@ -23,6 +23,7 @@ serde_json = "1"
toml = "0.8"
# Hashing
sha2 = "0.10"
hex = "0.4"
# SQLite
rusqlite = { version = "0.32", features = ["bundled"] }
# Logging