Repository navigation
feat: add user feedback (问题反馈) with email notification - #16
Merged
Merged
Conversation
code2rich
commented
Jul 29, 2026
Owner
- 新增免登录公开接口 POST /api/feedback(IP 限流 10次/15min)
- 反馈写入 feedback 表(migration 028)并发送邮件给管理员
- 收件邮箱优先级:FEEDBACK_EMAIL → 首个 admin 邮箱 → SMTP_FROM
- 落地页页脚 + 工作台设置菜单新增「问题反馈」入口
- 反馈弹窗含类型选择/字数统计/公众号 code2rich 展示区
- 新增环境变量 FEEDBACK_EMAIL(同步 .env.example / docker-compose.yml)
- 集成测试覆盖:校验、写库、category 默认、邮箱回退优先级
- 版本号 1.6.6 → 1.6.7
- 新增免登录公开接口 POST /api/feedback(IP 限流 10次/15min) - 反馈写入 feedback 表(migration 028)并发送邮件给管理员 - 收件邮箱优先级:FEEDBACK_EMAIL → 首个 admin 邮箱 → SMTP_FROM - 落地页页脚 + 工作台设置菜单新增「问题反馈」入口 - 反馈弹窗含类型选择/字数统计/公众号 code2rich 展示区 - 新增环境变量 FEEDBACK_EMAIL(同步 .env.example / docker-compose.yml) - 集成测试覆盖:校验、写库、category 默认、邮箱回退优先级 - 版本号 1.6.6 → 1.6.7
Merge 2cc86d5 (main → feedback-feature) left two stacked copies of the version-upload type check, producing duplicate const declarations (ext, fileId) and an unclosed if block. ESLint failed with 'Identifier fileId has already been declared', breaking PR #16 CI. Drop the stale allowed/includes branch and keep main's clean typeMatches/target.id version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.