bericht/api
Eduard Wisch 95701ed2d6
All checks were successful
Deploy bericht / deploy (push) Successful in 1s
feat: api/photo.php — Foto-Auslieferung mit JWT-Auth für PWA
Neuer Endpoint liefert Dateien aus DOL_DATA_ROOT aus, geschützt per
JWT statt Dolibarr-Session. Whitelist auf facture/commande/propal/
bericht. Optional size=small/mini für Thumbs (Dolibarr _small Variante).
CORS-Header damit PWA direkt zugreifen kann.

Die PWA kann damit Anhang-Bilder in der Auftrags-Detail-Ansicht
rendern — vorher nutzte sie document.php was nur mit Session ging
und deshalb im Standalone-Mode leer blieb.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
[deploy]
2026-04-08 23:18:08 +02:00
..
_inc.php feat: Phase 2.3 + 2.4 — REST-API mit JWT-Auth 2026-04-08 22:40:52 +02:00
_jwt.php feat: Phase 2.3 + 2.4 — REST-API mit JWT-Auth 2026-04-08 22:40:52 +02:00
auth.php feat: Phase 2.3 + 2.4 — REST-API mit JWT-Auth 2026-04-08 22:40:52 +02:00
orders.php feat: Phase 2.3 + 2.4 — REST-API mit JWT-Auth 2026-04-08 22:40:52 +02:00
photo.php feat: api/photo.php — Foto-Auslieferung mit JWT-Auth für PWA 2026-04-08 23:18:08 +02:00
reports.php feat: Phase 2.3 + 2.4 — REST-API mit JWT-Auth 2026-04-08 22:40:52 +02:00