Add countdown audio per presentation
CI / Deploy / PHP 8.4 (push) Failing after 1m18s
CI / Deploy / PHP 8.5 (push) Failing after 2m4s
CI / Deploy / test (push) Failing after 1s
CI / Deploy / deploy (push) Skipped

One audio file per poll (MP3, M4A, OGG, WAV) is uploaded in the admin
settings and looped in the presenter view while a quiz runs. Format is
detected by magic bytes, files are served with a fixed content type,
copied with the poll and swept by images_cleanup.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-21 11:36:01 +01:00
1 parent cad09163d9
commit 2f7a401522
16 files changed
+648 -11

No files matched your search

+2
View File
@@ -113,6 +113,8 @@ Folienbilder landen in `data/uploads` (anderer Ort: `UPLOADS_PATH`), nie unter `
Datensicherung. Voraussetzungen: PHP-Erweiterung `gd` mit WebP sowie `upload_max_filesize` und `post_max_size` passend zu
`IMAGE_MAX_UPLOAD_MB` (Standard 10 MB, PHP-Standard sind nur 2 MB bzw. 8 MB). Dateien ohne Folie (z. B. nach einem Absturz)
entfernt `bin/cake images_cleanup` (`--dry-run` zeigt sie nur an).
Die Quiz-Musik (eine Audiodatei je Präsentation) liegt im selben Verzeichnis; ihre Obergrenze steht in `AUDIO_MAX_UPLOAD_MB`
(Standard 10 MB), auch dafür müssen `upload_max_filesize` und `post_max_size` reichen.
Bei Updates: Code aktualisieren, `composer install --no-dev`, Migrationen und `cache clear_all` wiederholen.