Open
Conversation
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.
统一鉴权与安全基线
``
新增 auth.py
新增首次改密页面 [setup_password.html](https://file+.vscode-resource.vscode- cdn.net/c%3A/Users/KK/.vscode/extensions/openai.chatgpt-26.325.31654-win32-x64/webview/)
API 与 WebSocket 鉴权口径统一。
系统自检能力(含修复中心)
新增 [system_selfcheck.py](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/KK/.vscode/extensions/openai.chatgpt- 26.325.31654-win32-x64/webview/)
新增路由 selfcheck.py
新增页面 selfcheck.html
新增调度 selfcheck_scheduler.py
统一任务中心
新增 tasks.py
将 accounts/payment/selfcheck/auto_team 任务状态、配额、暂停/继续/取消/重试统一管理。
Auto Team 模块
新增后端 auto_team.py
新增前端 auto_team.js 与 auto_team_manage.js
数据库迁移体系引入
新增 Alembic: alembic.ini, README.md, env.py
新增母子标签系统
增加注册类型分母子,方便team进组
新增卡池功能
新增对接上游efun,自动绑卡系统。
邮箱服务扩展
新增 CloudMail 服务 cloudmail.py
测试与 CI 增补
新增测试 test_retry_policy_markers.py, test_security_and_task_routes.py
新增 CI 工作流 .github/workflows/tests.yml
前端请求与轮询稳定性
static/js/app.js, accounts.js, payment.js, utils.js 等做了去重、降噪、超时与并发控制增强。
批量/单任务 WebSocket + 轮询的降级路径更完整(你这轮还修了 batch 模式分流问题)。
注册链路增强
src/core/register.py 变更较大:登录续跑、继续 URL/workspace 缓存、OTP 重试等容错增强。
对不同入口链路(native/abcard/outlook)处理更细。
账号模型与业务语义增强
Account 增加 role_tag/biz_tag/pool_state/priority/last_used_at 等字段(见 models.py)
支持团队池、候选池、阻断池等状态表达。
支付与历史数据保留
BindCardTask 支持账号删除后保留快照邮箱 account_email。
新增审计日志模型 OperationAuditLog,新增 SelfCheckRun 记录。
配置能力扩展
settings.py 增加自检、熔断、自动刷新等配置项。
支持更多运行时调参。
邮箱服务
temp_mail.py 增加 limit 参数降级重试等容错。