From 6bfb7a07b60ebb13d0a133b00f00075bd91e7d96 Mon Sep 17 00:00:00 2001 From: neodk2004 Date: Sat, 18 Jul 2026 18:16:18 +0200 Subject: [PATCH] E-Mail-Versand von SMTP auf mailto-Weiterleitung umgestellt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Server-seitiger SMTP-Versand (Zugangsdaten, /api/email/senden, /api/email/test) vollständig entfernt und durch mailto: ersetzt: PDF wird lokal generiert und heruntergeladen, danach öffnet sich das E-Mail-Programm des Nutzers mit vorausgefülltem Empfänger. Vorbereitung für die Docker-Containerisierung, da dort nur ein Admin (der Betreiber) existiert und die Lösung ohne rollenspezifische Ausnahmen für jedes Konto gleichermassen funktionieren muss. Co-Authored-By: Claude Sonnet 5 --- CLAUDE.md | 15 ++- pflegepilot_alpha_v2/pflegepilot/app.py | 88 +------------- .../pflegepilot/templates/index.html | 107 ++++++++---------- 3 files changed, 61 insertions(+), 149 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 8fa7921..92bc055 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -31,7 +31,7 @@ Default login after first start: `admin` / `admin` (created automatically by `in **Single-file Flask backend, vanilla-JS SPA frontend, zero build tooling.** -- `app.py` — the entire backend: all `/api/*` routes, SQLite access, auth, SMTP email sending, file upload handling. There's no blueprint/module split — everything lives in this one file. +- `app.py` — the entire backend: all `/api/*` routes, SQLite access, auth, file upload handling. There's no blueprint/module split — everything lives in this one file. There is no server-side email sending — see "Email: mailto hand-off, not SMTP" below. - `templates/index.html` — the entire frontend. One Jinja template that is actually a client-rendered SPA: vanilla JS, string-templated HTML, no framework, no bundler. Key conventions in the `