bericht/api
Eduard Wisch 44a86fa63d
All checks were successful
Deploy bericht / deploy (push) Successful in 1s
feat: API-Endpoints für Phase 4 Block 1
- api/pages.php:
  - DELETE (oder POST ?delete=1) — Seite aus Bericht entfernen
    (source_path wird nur gelöscht wenn unter bericht/work/, damit
     Anhänge von Auftrag/Rechnung nicht mit rausfliegen)
  - POST {note, rotation} — Meta einer Seite updaten
  - POST ?action=signature&bericht_id=X + multipart file= — PNG
    Unterschrift als neue Seite am Bericht anhängen mit
    note='Unterschrift Kunde'
- api/pdf.php — liefert finales PDF oder on-the-fly Preview mit
  JWT-Auth (damit PWA das PDF direkt im <iframe> anzeigen kann)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
[deploy]
2026-04-09 00:54:56 +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
delete_photo.php feat: Phase 4 API — Bericht-Liste, Finalize, Photo-Delete, Voice-Upload 2026-04-09 00:31:38 +02:00
orders.php fix: Foto-Upload hängt an neuestem Entwurf, nicht blind an [0] 2026-04-09 00:44:28 +02:00
pages.php feat: API-Endpoints für Phase 4 Block 1 2026-04-09 00:54:56 +02:00
pdf.php feat: API-Endpoints für Phase 4 Block 1 2026-04-09 00:54:56 +02:00
photo.php fix: photo.php liest Authorization-Header robuster (Apache-kompatibel) 2026-04-08 23:27:26 +02:00
reports.php feat: Phase 4 API — Bericht-Liste, Finalize, Photo-Delete, Voice-Upload 2026-04-09 00:31:38 +02:00
voice.php feat: Phase 4 API — Bericht-Liste, Finalize, Photo-Delete, Voice-Upload 2026-04-09 00:31:38 +02:00