feat: dateiaustausch im backend

Dateien als Clip-Art "file": gestreamter Upload mit Größengrenze, Kontingent
pro Benutzer und Mindestreserve an freiem Speicher. Download immer als
Anhang mit sandbox-CSP, Vorschau nur für geprüfte JPEG/PNG/GIF/WebP.
Ablauf nach 1/7/30 Tagen oder nie; der Aufräumjob löscht abgelaufene und
verwaiste Dateien.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dbildhauerandClaude Opus 5.5 committed 2026-10-25 14:01:10 +01:00
1 parent ae334d2248
commit 52a8fd019f
12 files changed
+1027 -11

No files matched your search

+2
View File
@@ -1,5 +1,6 @@
from app.models.base import Base, UTCDateTime, utcnow
from app.models.clip import Clip, ClipKind
from app.models.file import StoredFile
from app.models.login_attempt import LoginAttempt
from app.models.project import PROJECT_COLORS, Project
from app.models.session import UserSession
@@ -13,6 +14,7 @@ __all__ = [
"PROJECT_COLORS",
"Project",
"Role",
"StoredFile",
"UTCDateTime",
"User",
"UserSession",