From 2f04ef394e106719abdb34cfa943edfca410c916 Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Sun, 5 Jul 2026 22:56:35 +0900 Subject: [PATCH] chore: remove stray superseded API patch cruft MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit backend/api/emails.py.patch2 is a leftover unapplied diff whose change (.zip import support) is already implemented — and superseded — in backend/api/emails.py (normalized filename + .eml/.zip/.mbox). comment.txt is a leftover '@coderabbitai review' trigger committed to the repo root. Both are dead files; removing them. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_017RkKdtHRLG4wSLh6PVsp8J --- backend/api/emails.py.patch2 | 11 ----------- comment.txt | 1 - 2 files changed, 12 deletions(-) delete mode 100644 backend/api/emails.py.patch2 delete mode 100644 comment.txt diff --git a/backend/api/emails.py.patch2 b/backend/api/emails.py.patch2 deleted file mode 100644 index e228ea29d..000000000 --- a/backend/api/emails.py.patch2 +++ /dev/null @@ -1,11 +0,0 @@ ---- backend/api/emails.py -+++ backend/api/emails.py -@@ -494,7 +494,8 @@ - - uploads: list[EmailImportUpload] = [] - for upload in files: -- if not upload.filename or not upload.filename.endswith(".eml"): -+ if not upload.filename or not (upload.filename.endswith(".eml") or upload.filename.endswith(".zip")): - raise HTTPException(status_code=400, detail="invalid_file_type") - - content = await upload.read(MAX_IMPORT_UPLOAD_BYTES + 1) diff --git a/comment.txt b/comment.txt deleted file mode 100644 index 53b210058..000000000 --- a/comment.txt +++ /dev/null @@ -1 +0,0 @@ -@coderabbitai review