mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-02 14:04:50 +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:
@@ -295,6 +295,39 @@
|
||||
"kanban_comments": "看板评论",
|
||||
"when_kanban_task_commented": "当有人在任务中发表评论时",
|
||||
|
||||
"email_notifications": "邮件通知",
|
||||
"email_notifications_description": "配置用于向团队成员发送邮件通知的 SMTP 设置。",
|
||||
"enable_email_notifications": "启用邮件通知",
|
||||
"enable_email_notifications_description": "当有评论、提及、上传及其他团队活动时发送邮件通知。",
|
||||
"smtp_settings": "SMTP 服务器设置",
|
||||
"smtp_host": "SMTP 主机",
|
||||
"smtp_host_placeholder": "例如 smtp.example.com",
|
||||
"smtp_port": "SMTP 端口",
|
||||
"smtp_username": "用户名",
|
||||
"smtp_username_placeholder": "例如 user@example.com",
|
||||
"smtp_password": "密码",
|
||||
"smtp_password_placeholder": "输入 SMTP 密码",
|
||||
"smtp_password_keep_placeholder": "••••••••(留空以保持当前密码)",
|
||||
"smtp_secure": "SSL / TLS (SMTPS)",
|
||||
"smtp_secure_description": "直接使用 SSL/TLS 连接(通常用于 465 端口)。",
|
||||
"smtp_ignore_cert": "忽略证书错误",
|
||||
"smtp_ignore_cert_description": "允许自签名或未验证的 SSL/TLS 证书。",
|
||||
"sender_settings": "发件人信息",
|
||||
"sender_from": "发件人地址",
|
||||
"sender_from_description": "发件人邮箱地址,例如:“Shumai <noreply@example.com>”。请确保使用您有权使用的邮箱地址进行发送。",
|
||||
"sender_reply_to": "回复地址",
|
||||
"sender_reply_to_description": "通知邮件回复时指向的可选邮箱地址。",
|
||||
"save_and_send_test_email": "保存并发送测试邮件",
|
||||
"send_test_email": "发送测试邮件",
|
||||
"send_test_email_dialog_description": "发件人邮箱地址,例如:“Shumai <noreply@example.com>”。请确保使用您有权使用的邮箱地址进行发送。",
|
||||
"test_email_sent_successfully": "测试邮件发送成功",
|
||||
"failed_to_send_test_email": "发送测试邮件失败",
|
||||
"email_settings_saved": "邮件设置已保存",
|
||||
"failed_to_save_email_settings": "保存邮件设置失败",
|
||||
"failed_to_load_email_settings": "加载邮件设置失败",
|
||||
"smtp_host_required": "必须提供 SMTP 主机",
|
||||
"from_address_required": "必须提供发件人地址",
|
||||
|
||||
"api_tokens": "API 令牌",
|
||||
"api_tokens_description": "生成和管理 API 令牌。这些令牌允许您或您的智能体通过 shumai-cli 运行终端命令。",
|
||||
"developer_settings": "开发者设置",
|
||||
|
||||
Reference in New Issue
Block a user