pp-planer/app/Http/Controllers
Thorsten Bus e33418f716 feat: song pre/postfix, settings overhaul, export & schedule fixes
Resolves a batch of bugs and feature requests across songs, services,
settings and export:

Songs & sections
- Every song now carries permanent, empty, locked PREFIX (COPYRIGHT) and
  POSTFIX (BLANK) sections, deduplicated on import; locked sections cannot
  be edited or deleted via UI or API.
- Song edit modal: explicit Speichern/Schließen with dirty-tracking,
  editable section headline (combobox + custom values), and a fix for the
  419 CSRF errors after CCLI "Importieren & Bearbeiten" (token read fresh
  per request).
- CCLI bookmarklet "Importieren & Bearbeiten" now opens the edit dialog.

Service schedule & arrangements
- Fixed assigned songs showing no sections (slides loaded for all
  arrangements, not just the default).
- Added "Song entfernen / neu zuordnen" to reassign an assigned song.
- Worship-leader arrangement is created/selected lazily when the
  arrangement dialog opens (only when not user-overridden); the leader is
  resolved from the "Lobpreis" agenda item, and manual create/clone names
  are prefixed with the leader name.

Navigation
- "/" redirects to the next upcoming service's edit page (or the list).
- Service titles link to the edit page.

Settings
- Renamed "Makro-Import"/"Label-Import" menu items; fixed drag-and-drop
  imports (were downloading the dropped file); added label-import hint;
  made the panel scrollable.
- Nametag now uses a single MacroPicker; added song prefix/postfix label
  defaults (COPYRIGHT #24B34C / BLANK #000000); new "Export-Dateien" menu
  to upload prefix/postfix .pro files added to every export.

Export
- Filenames/playlist names are date-first ("YYYY-MM-DD <Title>").
- Keyvisual slide only for the first content-less item after real content;
  all other content-less items render as headlines.
- New "Vorschau herunterladen" for non-finalized services (filename and
  import name prefixed "Vorschau" with export timestamp).
- Uploaded prefix/postfix .pro files wrap every export.

Tests updated to the new behavior; full suite green (569 passed).
2026-06-01 08:56:20 +02:00
..
ApiLogController.php feat(logs): store and lazy-load actual API response body in request log 2026-03-02 13:25:45 +01:00
ArrangementController.php feat(songs): per-song sections + section editing; fix CCLI import bugs 2026-05-31 14:45:47 +02:00
AuthController.php feat(auth): add dummy test login for local dev + update env for Herd 2026-03-01 22:33:29 +01:00
BookmarkletController.php feat(songs): per-song sections + section editing; fix CCLI import bugs 2026-05-31 14:45:47 +02:00
CcliPasteController.php feat(ccli): add CcliPasteController endpoints 2026-05-11 09:23:11 +02:00
Controller.php feat: Laravel 12 scaffolding with Breeze Vue + Docker setup 2026-03-01 19:25:32 +01:00
ExportProFileController.php feat: song pre/postfix, settings overhaul, export & schedule fixes 2026-06-01 08:56:20 +02:00
LabelImportController.php feat(controllers): add macro/label import + global assignment + service override controllers and routes 2026-05-03 23:17:04 +02:00
MacroAssignmentController.php feat(controllers): add macro/label import + global assignment + service override controllers and routes 2026-05-03 23:17:04 +02:00
MacroImportController.php feat(controllers): add macro/label import + global assignment + service override controllers and routes 2026-05-03 23:17:04 +02:00
ProFileController.php feat: song pre/postfix, settings overhaul, export & schedule fixes 2026-06-01 08:56:20 +02:00
ServiceController.php feat: song pre/postfix, settings overhaul, export & schedule fixes 2026-06-01 08:56:20 +02:00
ServiceImageController.php feat(service): keyvisual/background upload + scope choice 2026-05-31 00:15:08 +02:00
ServiceMacroOverrideController.php feat(controllers): add macro/label import + global assignment + service override controllers and routes 2026-05-03 23:17:04 +02:00
ServiceSongController.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
SettingsController.php feat: song pre/postfix, settings overhaul, export & schedule fixes 2026-06-01 08:56:20 +02:00
SlideController.php feat(export): background layer on song/sermon slides 2026-05-31 00:37:23 +02:00
SongController.php feat: song pre/postfix, settings overhaul, export & schedule fixes 2026-06-01 08:56:20 +02:00
SongPdfController.php feat(songs): per-song sections + section editing; fix CCLI import bugs 2026-05-31 14:45:47 +02:00
SongSectionController.php feat: song pre/postfix, settings overhaul, export & schedule fixes 2026-06-01 08:56:20 +02:00
SyncController.php add better errorhandling for cts sync 2026-03-29 15:24:13 +02:00
TranslationController.php feat(songs): per-song sections + section editing; fix CCLI import bugs 2026-05-31 14:45:47 +02:00