POST /admin/cleanupJunk und /admin/cleanupLost löschen unter MongoDB per
deleteMany; brewgitlinks und brewassets blieben als Waisen zurück. Ein
Fork-Hook (server/fork/cleanup) läuft nach erfolgreichem Cleanup und entfernt
Links und Assets ohne Brew. server/admin.api.js bleibt unverändert.
Closes#27
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Panel zeigt bei 503/G10 und 403/G07 einen Hinweis statt sich auszublenden; ohne Login unsichtbar
- Startlog: Info-Zeile bei aktivem Backend (kid, Allowlist), ohne Secrets
- docs/git: Abschnitt Fehlersuche / nachträglich aktivieren
- docs/deploy: compose.yaml-Vorlage für das veröffentlichte Image, Verlinkung aus README/FORK/auth/storage
- Dev-Compose reicht HB_ASSET_* durch
Refs #30
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Die Upstream-Route prüft nur, ob newUsername der eigenen Sitzung gehört,
nicht den alten Namen. Der Fork-Router beantwortet die Route jetzt vorher:
- OIDC-Sitzung: 403 A01 (unverändert)
- ohne Anmeldung: 403
- naturalcrit, HB_NATURALCRIT_RENAME=off (Standard): 403 A02
- naturalcrit, HB_NATURALCRIT_RENAME=signed: nur mit Nachweis oldSession
(nc_session-Token des alten Namens, HS256 mit SECRET), sonst 403 A03
Mit signed startet die App außerhalb lokaler Umgebungen nicht, solange
SECRET der Standardwert ist. server/app.js bleibt unverändert.
ADR 0001: neuer Abschnitt 7, Konfiguration, Tests, Folgen, F14.
Closes#21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Repositories gitConnections/brewGitLinks (Mongo/PG), Krypto, SSRF-Policy mit net.BlockList, git-Client ohne Arbeitskopie, Sync/Konflikte, /api/git/*, Client (Verbindungen, Git-Status, Konfliktdialog), Autosave 60 s für Git-Brews (F6), Tests und Doku.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Dev (Paperclip) <dev-bot@noreply.git.morlana.online>
- M1: Start bricht ab, wenn oidc+naturalcrit aktiv, nicht lokal und Upstream-secret Standard/leer
- M2: README.md wieder mit CRLF (Diff nur +4)
- S1: /auth/oidc/login zeigt interne Fehlertexte nicht mehr an
- S2: http://-Issuer nur bei http://-HB_PUBLIC_URL
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Modul server/fork/auth (Config, Session-Cookie, OIDC-Flow, Kontozuordnung), Einhängen in server/app.js,
Client-Helfer für Login/Logout, PUT /api/user/rename für OIDC-Sessions gesperrt (A01). Tests gegen Mock-IdP.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>