feat: notify configured recipients when something is booked
This commit is contained in:
1 parent
be37fc81f6
commit
d287cb2600
23 files changed
+1014
-1
No files matched your search
@@ -18,7 +18,13 @@ framework:
|
||||
messenger.bus.default: []
|
||||
|
||||
routing:
|
||||
Symfony\Component\Mailer\Messenger\SendEmailMessage: async
|
||||
# Mail is deliberately NOT routed to async. Nothing starts a worker on the server --
|
||||
# deploy.php only stops them -- so a queued SendEmailMessage would be written to
|
||||
# messenger_messages and stay there, with no error anywhere and nobody notified.
|
||||
# Sending happens in the request instead; BookingNotifier catches a transport
|
||||
# failure so it can never fail the booking that triggered it. Route it back here
|
||||
# once a `messenger:consume async` worker actually runs.
|
||||
# Symfony\Component\Mailer\Messenger\SendEmailMessage: async
|
||||
Symfony\Component\Notifier\Message\ChatMessage: async
|
||||
Symfony\Component\Notifier\Message\SmsMessage: async
|
||||
|
||||
|
||||
@@ -2,6 +2,10 @@ twig:
|
||||
file_name_pattern: '*.twig'
|
||||
# One theme for the whole app, so it is registered globally rather than per-template.
|
||||
form_themes: ['forms.html.twig']
|
||||
paths:
|
||||
# Mail templates embed the logo with email.image('@images/logo.png'), which needs the file
|
||||
# on a Twig path -- an asset URL would be a remote image most clients block.
|
||||
'%kernel.project_dir%/assets/images': images
|
||||
|
||||
when@test:
|
||||
twig:
|
||||
|
||||
Reference in new issue
Block a user