pp-planer/database/migrations
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
..
0001_01_01_000000_create_users_table.php feat: Laravel 12 scaffolding with Breeze Vue + Docker setup 2026-03-01 19:25:32 +01:00
0001_01_01_000001_create_cache_table.php feat: Laravel 12 scaffolding with Breeze Vue + Docker setup 2026-03-01 19:25:32 +01:00
0001_01_01_000002_create_jobs_table.php feat: Laravel 12 scaffolding with Breeze Vue + Docker setup 2026-03-01 19:25:32 +01:00
2026_03_01_100000_extend_users_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_01_100100_create_services_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_01_100200_create_songs_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_01_100300_create_song_groups_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_01_100400_create_song_slides_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_01_100500_create_song_arrangements_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_01_100600_create_song_arrangement_groups_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_01_100700_create_service_songs_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_01_100800_create_slides_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_01_100900_create_cts_sync_log_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_02_100000_create_api_request_logs_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_02_121522_add_response_body_to_api_request_logs_table.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_02_130249_add_cts_song_id_to_songs_and_service_songs_tables.php style: apply Laravel Pint formatting across codebase 2026-03-02 23:02:03 +01:00
2026_03_02_140000_add_sort_order_to_slides_table.php feat(slides): add sort_order column, bulk delete, and reorder endpoints 2026-03-02 23:02:19 +01:00
2026_03_02_200000_create_settings_table.php feat(settings): add macro configuration infrastructure 2026-03-02 22:00:19 +01:00
2026_03_29_100001_create_service_agenda_items_table.php feat(db): add service_agenda_items table + slides FK migration 2026-03-29 11:34:55 +02:00
2026_03_29_100002_add_service_agenda_item_id_to_slides_table.php feat(db): add service_agenda_items table + slides FK migration 2026-03-29 11:34:55 +02:00
2026_03_29_131045_add_missing_cts_song_id_to_service_songs_table.php feat: add has_agenda flag to services and guard agenda sync 2026-03-29 15:22:32 +02:00
2026_03_29_131359_add_has_agenda_to_services_table.php feat: add has_agenda flag to services and guard agenda sync 2026-03-29 15:22:32 +02:00
2026_05_03_100100_create_labels_table.php fix: rename song_group_id to label_id in Vue, add data-testid to MacroIcon, fix Pint style 2026-05-04 06:33:04 +02:00
2026_05_03_100200_create_macros_tables.php fix: rename song_group_id to label_id in Vue, add data-testid to MacroIcon, fix Pint style 2026-05-04 06:33:04 +02:00
2026_05_03_100300_create_macro_assignments_table.php fix: rename song_group_id to label_id in Vue, add data-testid to MacroIcon, fix Pint style 2026-05-04 06:33:04 +02:00
2026_05_03_100400_create_service_macro_override_tables.php fix: rename song_group_id to label_id in Vue, add data-testid to MacroIcon, fix Pint style 2026-05-04 06:33:04 +02:00
2026_05_03_100500_wipe_legacy_song_data.php fix: rename song_group_id to label_id in Vue, add data-testid to MacroIcon, fix Pint style 2026-05-04 06:33:04 +02:00
2026_05_03_100600_refactor_songs_to_labels.php fix: rename song_group_id to label_id in Vue, add data-testid to MacroIcon, fix Pint style 2026-05-04 06:33:04 +02:00
2026_05_03_100700_migrate_legacy_macro_settings.php fix: rename song_group_id to label_id in Vue, add data-testid to MacroIcon, fix Pint style 2026-05-04 06:33:04 +02:00
2026_05_10_115900_add_image_fields_to_services_table.php feat(service): add image columns and overrides 2026-05-31 00:01:24 +02:00
2026_05_10_115950_add_cover_mode_to_slides_table.php feat(export): background layer on song/sermon slides 2026-05-31 00:37:23 +02:00
2026_05_10_120000_add_imported_from_ccli_to_songs_table.php feat(ccli): add CcliTranslationPairingService 2026-05-10 19:02:10 +02:00
2026_05_31_120000_create_song_sections_and_rescope_slides.php feat(songs): per-song sections + section editing; fix CCLI import bugs 2026-05-31 14:45:47 +02:00
2026_05_31_222211_create_export_pro_files_table.php feat: song pre/postfix, settings overhaul, export & schedule fixes 2026-06-01 08:56:20 +02:00
2026_05_31_223108_add_locked_to_song_sections_table.php feat: song pre/postfix, settings overhaul, export & schedule fixes 2026-06-01 08:56:20 +02:00