Files
Jürgen MummertandClaude Fable 5.1 3aad6aa559 Store the display fields of events as virtual fields
- Move 29 display-only event fields (subtitles, audience, tags, prices,
  price types, organizer) from columns into the jsonData storage; fields
  used for filtering, joins and calculations stay real columns
- Add EventFieldsToVirtualMigration, which copies the values and drops
  the columns on contao:migrate
- Read and write the fields in the import, the preview and the booking
  through EventRowCodec; other bundles' keys in the storage are kept
- Validate prices in a save callback instead of the percent check that
  rejected every price above 100; accept a decimal comma
- Do not report events as changed after a backend save: ignore the
  spelling of HTML entities in teaser and topics and the order of the
  speakers

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 20:42:47 +02:00

49 lines
1.7 KiB
YAML

services:
_defaults:
autowire: true
autoconfigure: true
bind:
$projectDir: '%kernel.project_dir%'
Mummert\ContaoWkSyncBundle\:
resource: '../src/'
exclude:
- '../src/ContaoManager/'
- '../src/ContaoWkSyncBundle.php'
- '../src/EventListener/NotificationCenter/'
- '../src/Booking/NotificationCenterNotifier.php'
- '../src/Category/{Category,CategoryKind}.php'
- '../src/Import/{ImportPlan,PlannedEvent,ImportMessage,WkRow}.php'
- '../src/Booking/{Availability,BookingFields}.php'
- '../src/Inbox/{InboxItem,InboxState}.php'
- '../src/Sync/{CalendarConfig,EventFields}.php'
# Ohne Notification Center werden Anmeldungen gespeichert, aber keine Mails verschickt
Mummert\ContaoWkSyncBundle\Booking\BookingNotifierInterface: '@Mummert\ContaoWkSyncBundle\Booking\NullNotifier'
# Das klassische Backend-Modul wird von Contao ohne Container instanziiert und holt sich diesen Dienst
Mummert\ContaoWkSyncBundle\Backend\WkSyncBackend:
public: true
Mummert\ContaoWkSyncBundle\Booking\BookingAvailability:
public: true
Mummert\ContaoWkSyncBundle\Category\CategoryRepository:
public: true
# Öffentlich, damit Projekt-Skripte und Templates darauf zugreifen können
Mummert\ContaoWkSyncBundle\Booking\EventResolver:
public: true
Mummert\ContaoWkSyncBundle\Booking\BookingTokens:
public: true
Mummert\ContaoWkSyncBundle\Booking\NotificationRouter:
public: true
Mummert\ContaoWkSyncBundle\Sync\CalendarConfigRepository:
public: true
Mummert\ContaoWkSyncBundle\Import\ImportService:
public: true