Display-Seiten: Betriebszeiten, PIN, Gerätesperre, Sprache und Vorschau
All checks were successful
CI / PHP Lint (push) Successful in 34s
CI / PHP Lint-1 (push) Successful in 39s
CI / Unit Tests & Static Analysis (push) Successful in 38s
CI / PHP Lint (pull_request) Successful in 41s
CI / PHP Lint-1 (pull_request) Successful in 49s
CI / Unit Tests & Static Analysis (pull_request) Successful in 41s

Die Display-Seiten hängen an öffentlichen Links, deshalb bekommen sie
Regler, mit denen sich der Missbrauch begrenzen lässt, und ein paar
Komfortfunktionen für den Betrieb:

- Betriebszeiten je Seite (auch über Mitternacht hinweg); außerhalb
  zeigt die Seite einen Hinweis statt des Buttons
- Optionale PIN von der Rezeption, geprüft mit hash_equals
- Wartezeit je Gerät über ein Cookie, zusätzlich zum globalen Cooldown
- Feste Sprache je Seite, sonst Browsersprache; Gäste können unten
  umschalten
- Reporting zeigt die Ausgabe pro Display-Seite
- Vorschau der Seite direkt in der Administration
- Backup exportiert und importiert die neuen Felder mit

Migration 0007, 16 neue Sprachschlüssel, 7 zusätzliche Tests
(69 Tests, 152 Assertions).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-24 11:21:20 +00:00
parent 88f40a3d21
commit dd8e805e27
28 changed files with 478 additions and 26 deletions

View file

@ -547,6 +547,24 @@ return [
'users_2fa_reset_title' => 'Reset two-factor authentication',
'int_proxy_warning' => 'This request arrived through a proxy, but no trusted proxy is configured. Rate limits and the audit log therefore see the same IP address for every guest ({ip}).',
'int_proxy_suggestion' => 'Suggestion based on this request:',
'kiosk_error_closed' => 'Outside service hours. Please ask at the reception desk.',
'kiosk_error_device' => 'You just received a code. Please wait {seconds} seconds.',
'kiosk_error_pin' => 'The PIN is not correct.',
'kiosk_pin_label' => 'PIN from the reception desk',
'kiosks_schedule' => 'Service hours',
'kiosks_schedule_from' => 'from',
'kiosks_schedule_to' => 'to',
'kiosks_schedule_hint' => 'Empty = around the clock. A window across midnight works.',
'kiosks_device_cooldown' => 'Cooldown per device (seconds)',
'kiosks_device_cooldown_hint' => '0 = off. Stops one person from pulling many codes in a row.',
'kiosks_pin' => 'PIN (optional)',
'kiosks_pin_hint' => 'Guests have to enter the PIN – useful if the screen is freely accessible.',
'kiosks_language' => 'Display language',
'kiosks_language_auto' => 'Automatic (browser language)',
'kiosks_preview' => 'Preview',
'kiosks_preview_hint' => 'This is how the page looks on screen.',
'rep_per_kiosk' => 'Per display page',
'rep_kiosk_none' => 'No codes issued via display pages yet.',
'settings_tab_general' => 'General',
'settings_tab_defaults' => 'Voucher Defaults',
'settings_tab_cron' => 'Cron Sync',