|
|
927f235537
|
refactor: 移除邮件功能
发信能力整体下线,唯一的调用方(忘记密码)前端也从来没接过。
- utils/shortcuts.py 删 send_email,连带四个 django.core.mail 相关 import
- account/tasks.py 整个删除,里面只有 send_email_async 一个 actor
- 删 ApplyResetPasswordAPI / ResetPasswordAPI 及其路由、serializer,
User.reset_password_token 和 reset_password_token_expire_time 两个
字段(account/0010)
- 删 SMTPAPI / SMTPTestAPI 及其路由、三个 SMTP serializer、
SysOptions.smtp_config
- account/templates/reset_password_email.html
options/0003 数据迁移删掉库里的 smtp_config 行:_init_option 会为每个
OptionKey 建行,key 从代码里去掉后它会变成孤儿,而且配过 SMTP 的话
value 里存着明文密码。
保留 ResetUserPasswordAPI(管理端直接重置密码,不发信,前端在用)和
User.email(注册要填)。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-05 23:17:48 -06:00 |
|
|
|
3a9ab83ba5
|
style: ruff format 全仓库
行宽 180 下把历史遗留的折行表达式合并,无语义改动。
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
2026-08-05 04:45:26 -06:00 |
|
|
|
57c0572fd9
|
async
|
2026-05-26 21:25:26 -06:00 |
|
|
|
028ea6e5f9
|
fmt
|
2026-04-23 13:57:56 -06:00 |
|
|
|
24ff67ec0c
|
fix
|
2026-03-30 09:34:38 -06:00 |
|
|
|
4168d41a16
|
删除无用代码并且新增流程图相关内容
|
2025-10-11 23:29:56 +08:00 |
|
|
|
0f3f2d256f
|
实时修改设置
|
2025-10-11 13:30:54 +08:00 |
|
|
|
9a90b82364
|
fix
|
2024-11-15 22:03:19 +08:00 |
|
virusdefender
|
f1f2202731
|
bug fix
|
2019-04-01 15:08:45 +08:00 |
|
virusdefender
|
7df98245e4
|
增加部分缓存
|
2019-03-11 17:59:28 +08:00 |
|
virusdefender
|
a52f383930
|
将编译选项修改为数据库存储
|
2019-01-05 14:12:17 +08:00 |
|
virusdefender
|
072364497c
|
new throttling
|
2017-12-24 11:01:33 +08:00 |
|
zema1
|
aa4240790b
|
fix many bugs
|
2017-10-31 16:33:25 +08:00 |
|
virusdefender
|
93bd77d8d8
|
bug fixes
|
2017-10-09 18:55:25 +08:00 |
|
virusdefender
|
9990cf647a
|
使用 SysOptions
|
2017-10-02 03:54:34 +08:00 |
|