feat(notify): Web Push subscriptions and email/push prefs.
CI / test (push) Successful in 7m43s
CI / deploy-ift (push) Successful in 3m33s
CI / e2e-ift (push) Successful in 1m28s
CI / deploy-stage (push) Failing after 3m40s
CI / e2e-stage (push) Has been skipped

Prefs in user.preferences; push_subscription table; VAPID send on
reminder/waitlist. Refs EventHub/EventHubBack#75
This commit is contained in:
2026-08-15 20:19:44 +03:00
parent e86d603f30
commit 12274f9ed0
15 changed files with 729 additions and 9 deletions
+4
View File
@@ -26,6 +26,10 @@ EMAIL_TRANSPORT=auto
EMAIL_API_KEY=
EMAIL_API_PROVIDER=resend
# EMAIL_API_URL=https://api.resend.com/emails
# Web Push (VAPID). Generate: npx web-push generate-vapid-keys
VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
VAPID_SUBJECT=mailto:admin@calentiq.com
# SMTP (пусто SMTP_HOST + нет API key = только лог; пароль не коммитить)
SMTP_HOST=
SMTP_PORT=587
+3
View File
@@ -45,6 +45,9 @@ services:
- EMAIL_API_KEY=${EMAIL_API_KEY:-}
- EMAIL_API_PROVIDER=${EMAIL_API_PROVIDER:-resend}
- EMAIL_API_URL=${EMAIL_API_URL:-}
- VAPID_PUBLIC_KEY=${VAPID_PUBLIC_KEY:-}
- VAPID_PRIVATE_KEY=${VAPID_PRIVATE_KEY:-}
- VAPID_SUBJECT=${VAPID_SUBJECT:-mailto:admin@calentiq.com}
- SMTP_HOST=${SMTP_HOST:-}
- SMTP_PORT=${SMTP_PORT:-587}
- SMTP_USER=${SMTP_USER:-}