feat: replace email flows with in-app notifications

Add recipient notification detail and filtering, a queued admin composer, and contextual automatic titles. Retire email delivery, obsolete auth routes, newsletter data, and related templates and settings.
This commit is contained in:
2026-09-26 12:23:10 +03:30
parent b706a2d10a
commit 3ec28638d1
54 changed files with 787 additions and 4843 deletions

View File

@@ -9,10 +9,10 @@ class NotificationSchema(Schema):
type: str
title: str
message: str
has_body: bool = False
level: str
created_at: datetime | str
is_seen: bool
delete_on_seen: bool
action_url: str | None = None
entity_type: str | None = None
entity_id: int | str | None = None
@@ -25,6 +25,10 @@ class NotificationListSchema(Schema):
notifications: list[NotificationSchema]
class NotificationDetailSchema(NotificationSchema):
body_markdown: str | None = None
class NotificationSeenIn(Schema):
id: str