1
0
Fork 0
Commit Graph

104 Commits

Author SHA1 Message Date
Jonny 2135776343 feat: Disponent und Admin stempeln sich selbst ein und aus
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:24:25 +01:00
Jonny 778827fe1c feat: Personenliste fuer Zuweisung und Filter umfasst alle Einsatzrollen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:23:54 +01:00
Jonny 54bc2f966e fix: Abschlussreview-Befunde der PWA (Progressive Enhancement, veraltetes Absenden, SW-Caching, Icon-Version)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:27:19 +01:00
Jonny 8f1d9d715b feat: Installationshinweis fuer die PWA
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 12:12:35 +01:00
Jonny 6e4b784bf9 fix: fahrtBeginnen lehnt erneutes Absenden ausserhalb des Status zugewiesen ab
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 11:54:56 +01:00
Jonny 906b822250 feat: Eingaben bleiben bei Netzausfall beim Absenden erhalten
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 11:49:51 +01:00
Jonny c7d9131f56 feat: PWA-Manifest pro Firma, Service Worker und Offline-Seite
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 11:40:13 +01:00
Jonny 0a6f51c39b feat: App-Icon-Upload auf der Firmenseite
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 11:35:00 +01:00
Jonny befec482f9 fix: App-Icon-Route Fallback-Kette, Cache nur bei Erfolg, Schrift im Docker-Image
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 11:16:52 +01:00
Jonny eb20d421b6 feat: oeffentliche App-Icon-Route mit Fallback App-Icon -> Logo -> Buchstabe
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 11:14:49 +01:00
Jonny 2d55fd8f52 fix: Kanban-Karte uebernimmt Zuweisung nach Drag, Rollback, replaceState-Schutz, UUID-Normalisierung
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 11:16:35 +02:00
Jonny 29f6c4dec5 feat: Suche und Schnellfilter ueber dem Kanban-Board
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 10:49:52 +02:00
Jonny d6efac689e fix: Audit-Log Fix-Welle (Anzeige, Datensatz-Namen, RLS-Performance, Minors)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 12:20:20 +02:00
Jonny 3cd9bf1403 feat: Audit-Log-Seite mit Filtern, CSV-Export und Navigation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 09:12:32 +02:00
Jonny 18bea21ca8 feat: Akteur am Service-Client und Audit-Eintraege fuer Nutzeraktionen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 08:05:25 +02:00
Jonny c797fe62ec fix: SMTP-SSRF-Schutz, Port-Whitelist, Passwort nur bei gleichem Ziel behalten
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:32:14 +02:00
Jonny 2f886a24df fix: Nutzer nur in aktiver Firma anlegen, /abmelden von Passwortpflicht ausnehmen, Profil fuer Superadmin
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:32:14 +02:00
Jonny aba766ea56 feat: WhatsApp-Empfaenger, SMTP und PDF-Branding pro Firma
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:12:51 +02:00
Jonny 884237ddd1 feat: Plattform-Bereich zum Anlegen und Verwalten von Firmen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 14:03:12 +02:00
Jonny 755c5cb333 feat: SMTP-Absender pro Firma mit verschluesseltem Passwort und Testmail
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 13:58:11 +02:00
Jonny 2e9709fe9a feat: Firmen-Einstellungen mit Kontrastpruefung und Logo-Upload
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 13:48:10 +02:00
Jonny 7579c849fc feat: Nutzerverwaltung ordnet Firma zu und prueft Zielnutzer per RLS
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 10:12:46 +02:00
Jonny b16cc5ee6a fix: DB-Fehler bei Firmenzugang werfen statt als gesperrt zu gelten
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 10:10:35 +02:00
Jonny 61f531552c feat: Firmenzugang beim Login, Branding im Layout, Logo-Route, Superadmin-Navigation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 10:08:37 +02:00
Jonny b3e360f530 fix: PDF-Pfad unterscheidet Fehler von nicht gefunden, sharp lazy, PNG-Alpha weiss, SMTP_SECURE case-insensitive
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 08:34:16 +02:00
Jonny 2787de8445 feat: Outbox-Dispatcher mit Handlern je Ereignis-Art, Protokoll-Mail-Handler
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 08:16:00 +02:00
Jonny 228b7c731c feat: PDF-Erzeugung als gemeinsame Funktion, Fotos fuers Protokoll verkleinert
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 18:53:11 +02:00
Jonny ff201eb2cd fix: Final-Review (FIN maxLength, Labels, Fahrer-Hinweis bei Abweichung, Import-Platzierung)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 12:24:57 +02:00
Jonny c86f4df08f feat: optionaler FIN-Abgleich bei Fahrtbeginn mit Abweichungs-Bestaetigung
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:18:30 +02:00
Jonny 7ea4a5b551 feat: FIN in Fahrzeug-Stammdaten und beim Anlegen im Auftrag erfassen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:05:07 +02:00
Jonny 5f2af33e3e feat: FIN und FIN-Abgleich in Listen, Kanban, Auslastung, Auftragsdetail und PDF anzeigen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 16:58:49 +02:00
Jonny 00f19f4170 fix: login leitet bei Passwortpflicht direkt auf /passwort-aendern, Spec-Sicherheitsabschnitt korrigiert
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-05 11:46:06 +02:00
Jonny 835ce182c8 feat: Admin setzt Passwörter, Passwortänderung auch beim Anlegen erzwungen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-05 11:29:12 +02:00
Jonny 25f0f6c055 feat: Seite /passwort-aendern für die erzwungene Passwortänderung
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-05 11:21:30 +02:00
Jonny abdc4e7f32 feat: Seite /fahrer, Admin und Disponent sehen die Fahrer-Details
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-05 10:14:16 +02:00
Jonny 2cacd33372 feat: Seite /profil, Nutzer pflegt eigene Details
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-05 10:11:12 +02:00
Jonny bd3e5b3d4d feat: Admin pflegt Nutzer-Details in der Nutzerverwaltung
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-05 10:08:40 +02:00
Jonny 2ee9fd591f feat: Statusfilter in der Auftragsliste (Standard: offen, zugewiesen, unterwegs)
Umschalter Aktiv/Alle ueber ?status=alle, serverseitig gefiltert, fuer alle
Rollen. Bei Fahrern wirkt er auf Meine Auftraege; Offene Auftraege bleibt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-02 09:52:54 +02:00
Jonny 1911d9fdbf fix: Review-Findings Fahrerauslastung (alte Schicht, ueberfaellige diese_woche-Auftraege)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-02 08:11:07 +02:00
Jonny 5d5c16f1af fix: Grammatik bei Zaehler offener Auftraege in der Auslastung
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-02 08:01:56 +02:00
Jonny aaaaaf90aa feat: Seite /auslastung mit Tabs Jetzt und Planung
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 21:18:24 +02:00
Jonny 4957a5c7bf fix: Abschluss-Review -- Outbox-Update-Fehler nicht schlucken, event_type-Guard, Route-Hardening, Cron-Secret-Guard, pgTAP fuer claim/Write-Denial
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dimk8Jo64b4wULp2yAzSNh
2026-09-04 00:35:50 +02:00
Jonny 0d5b3ef10b feat: POST /api/notifications/dispatch -- Outbox-Dispatch-Route mit Shared-Secret 2026-09-03 17:43:17 +02:00
Jonny 70fb01dfa1 fix: Abschluss-Review -- Status-Guard fahrtBeenden, PDF-Fehlerbehandlung+Format, Fahrer/Startzeit+Datumsformat im PDF, standalone-Deps, Touch-Target, Thumbnail-Caption, pgTAP
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dimk8Jo64b4wULp2yAzSNh
2026-09-03 16:12:42 +02:00
Jonny f90fe1f347 feat: PDF-Uebergabeprotokoll als Download bereitstellen
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dimk8Jo64b4wULp2yAzSNh
2026-09-03 14:16:59 +02:00
Jonny 5c7b289cb9 feat: digitale Unterschrift und Empfaenger-Name bei Fahrtende erfassen und anzeigen 2026-09-03 12:49:52 +02:00
Jonny 803b726bea feat: pro Schadensfoto eine optionale Freitext-Beschreibung erfassen und anzeigen 2026-09-03 12:42:04 +02:00
Jonny 65bc570962 fix: erstelleNutzer informiert bei Benutzername-Kollision ueber bereits angelegten Account
Wenn nach erfolgreichem auth.admin.createUser() das nachfolgende Update
von profiles.username wegen einer Kollision (23505) fehlschlaegt, zeigte
die Meldung bisher nur "Benutzername bereits vergeben" -- ohne Hinweis,
dass bereits ein Account angelegt wurde. Das las sich wie "nichts ist
passiert, bitte erneut versuchen", ein Retry schlug dann aber mit
"E-Mail bereits registriert" fehl, was die verwaiste Zeile (mit
Platzhalter-Benutzername und Rolle "readonly") weiter verschleierte.
2026-08-21 01:44:54 +02:00
Jonny 59ddfe0b68 fix: service_role Grant fuer profiles-Lookup beim Username-Login + Fehlerbehandlung
Task 7's E2E-Verifikation von Task 6 fand: service_role hatte kein SELECT-Grant
auf public.profiles. Der Username-Login-Lookup in web/app/login/actions.ts laeuft
zwangslaeufig ueber den Service-Role-Client (RLS laesst anonyme profiles-Zugriffe
nicht zu), bekam aber "42501 permission denied for table profiles" -- BYPASSRLS
umgeht nur RLS, nicht die darunterliegende GRANT-Ebene. Der Fehler wurde zusaetzlich
komplett verschluckt (nur `data` destrukturiert, `error` ignoriert), sodass Login
per Benutzername fuer JEDEN Benutzernamen fehlschlug, aber mit der irrefuehrend
plausiblen generischen "nicht gefunden"-Meldung.

- Neue Migration grantet service_role SELECT (und nur SELECT) auf public.profiles.
- login() prueft jetzt den Lookup-Fehler und loggt ihn serverseitig, damit ein
  kuenftiger Regressionsfall (z.B. versehentlich entzogenes Grant) nicht wieder
  lautlos als "Benutzername nicht gefunden" maskiert wird. Die Nutzer-Antwort
  (generische LOGIN_FEHLER-Meldung) bleibt fuer beide Faelle byte-identisch, um
  die Anti-Enumeration-Eigenschaft nicht zu gefaehrden.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCHRPWuV3bd37NJhW2NK6P
2026-08-21 01:15:24 +02:00
Jonny caf72557d5 feat: allow login via username in addition to email 2026-08-21 00:53:40 +02:00