From 0309359231a8a813866a404355e2b0504d9bb0f3 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Thu, 25 Jun 2026 14:35:24 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20d=C3=A9duplication=20SQLite=20AVANT=20up?= =?UTF-8?q?load=20=E2=80=94=20bloque=20tout=20doublon,=20m=C3=AAme=20s?= =?UTF-8?q?=C3=A9quentiel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Vérifie already_seen() dans la DB SQLite avant chaque upload vers Imago - Si le hash existe déjà → retourne status=duplicate sans re-uploader - Protège contre les doublons séquentiels (pas juste concurrents) - Testé: 1er upload OK (ID 81), 2e upload même fichier → duplicate, 3e fichier différent → OK (ID 82) --- src/frontend/changelog.html | 6 +++--- src/frontend/help.html | 6 +++--- src/frontend/index.html | 2 +- src/server/routes.rs | 21 +++++++++++++++++++++ 4 files changed, 28 insertions(+), 7 deletions(-) diff --git a/src/frontend/changelog.html b/src/frontend/changelog.html index 06a8ac2..0e0ece3 100644 --- a/src/frontend/changelog.html +++ b/src/frontend/changelog.html @@ -3,7 +3,7 @@ -Changelog — imagod-web v0.2.0+build.22-3254c33-dirty +Changelog — imagod-web v0.2.0+build.23-5a2e12d-dirty