mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-27 03:14:11 +00:00
feat(notification): add email notification infrastructure, smtp configuration, and periodic background delivery job (#431)
* feat(notification): add email notification support and dedicated workflow * feat(webui): add team email notification settings and test email dialog * refactor(webui): remove redundant card header from email notification settings * fix(notification): prevent sending notification emails to AI agents * feat(notification): display project, avatar, upload time and resolve mention names in notification emails * refactor(notification): remove uploadDebounceSeconds and naive workflow sleep * refactor(notification): remove temporal notification workflow and keep email infrastructure * fix(team): prevent leaking email notification settings and credentials in team settings * feat(notification): add periodic background job for batched email notification delivery * fix(notification): embed avatars and thumbnails as inline cid attachments
This commit is contained in:
+4
-4
File diff suppressed because one or more lines are too long
+16
-1
@@ -4724,7 +4724,8 @@ export const NotificationScalarFieldEnum = {
|
||||
assetId: 'assetId',
|
||||
taskId: 'taskId',
|
||||
kanbanTaskId: 'kanbanTaskId',
|
||||
userId: 'userId'
|
||||
userId: 'userId',
|
||||
emailStatus: 'emailStatus'
|
||||
} as const
|
||||
|
||||
export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum]
|
||||
@@ -5421,6 +5422,20 @@ export type ListEnumNotificationTypeFieldRefInput<$PrismaModel> = FieldRefInputT
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'NotificationEmailStatus'
|
||||
*/
|
||||
export type EnumNotificationEmailStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'NotificationEmailStatus'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'NotificationEmailStatus[]'
|
||||
*/
|
||||
export type ListEnumNotificationEmailStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'NotificationEmailStatus[]'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'TaskType'
|
||||
*/
|
||||
|
||||
@@ -490,7 +490,8 @@ export const NotificationScalarFieldEnum = {
|
||||
assetId: 'assetId',
|
||||
taskId: 'taskId',
|
||||
kanbanTaskId: 'kanbanTaskId',
|
||||
userId: 'userId'
|
||||
userId: 'userId',
|
||||
emailStatus: 'emailStatus'
|
||||
} as const
|
||||
|
||||
export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum]
|
||||
|
||||
Reference in New Issue
Block a user