Commit Graph

23 Commits

Author SHA1 Message Date
zhoukailian
a890bc7f2b feat: add cloud-mail service support 2026-03-26 20:07:21 +08:00
Solo
f4d0327f67 feat: add Codex auth login and export flow
Add Codex Auth support in account management so selected accounts can
complete a Codex-compatible OAuth login flow and export usable auth.json
files.

This commit includes:
- account-management UI entrypoints for Codex Auth login and auth.json download
- backend SSE routes for single-account and batch Codex Auth login execution
- persistence of freshly returned Codex-compatible tokens back into the account database
- Codex auth export support for direct auth.json download and batch zip packaging
- tests covering the Codex Auth login flow and export behavior

The OTP verification failure was caused by manually sending a second OTP after
password verification. The flow now reuses the existing proven login path:
login re-entry, password verification, automatic OTP reception, consent page
handling, workspace selection, and OAuth callback exchange.

Successful logins now also persist workspace_id together with the refreshed
Codex-compatible tokens, making later re-export of auth.json possible without
requiring the browser-downloaded file to still exist locally.

Change-Id: I59df518ef4dc05f8bc52c734dd1b738fcb0b7a4e
2026-03-25 19:55:13 +08:00
kailian zhou
f219750668 Merge branch 'master' into fix/worker-mail-otp-extraction 2026-03-24 17:58:01 +08:00
zhoukailian
107be96166 fix: avoid reading six-digit email domains as OTPs 2026-03-24 17:43:34 +08:00
Mison
3cd08b49c2 docs: add diagnostic tools and final audit report for v5.1 hardening 2026-03-24 12:16:10 +08:00
Mison
5b76619d6f feat(register): enhance workspace extraction and phase status reporting 2026-03-24 12:16:10 +08:00
Mison
67a446aca0 fix(email): resolve Tempmail.lol field drift and OTP anchor race condition 2026-03-24 12:16:10 +08:00
Mison
3c8ba40d2d fix: prevent secondary OTP from hanging 2026-03-24 12:16:10 +08:00
Mison
78f2d0accc Fix registration OTP anchor and batch task state 2026-03-24 12:16:10 +08:00
Mison
b8b1eb72d1 test: finalize restored task coverage 2026-03-24 12:16:09 +08:00
Mison
55acc62fa7 fix: change default port to 15555 2026-03-24 12:16:09 +08:00
Mison
de2c4aa7ab fix: restore protocol baseline, resolve 403/400 registration errors, and fully remove deprecated playwright dependency 2026-03-24 12:16:09 +08:00
Mison
43149ff079 fix(harden): isolate resource cleanup and self-healing flow 2026-03-24 12:16:07 +08:00
Mison
cf571d37c1 fix(logic): isolate atomic batch counters and token sync fields 2026-03-24 12:16:07 +08:00
zhoukailian
1db7642a43 fix: broadcast single task completion status to web ui 2026-03-24 12:15:43 +08:00
zhoukailian
9fdc7a882d fix: route batch websocket fallback by task type 2026-03-24 12:15:21 +08:00
Mison
12c8bb5c6c fix(login): add workspace backoff and cleanup guard 2026-03-24 12:15:21 +08:00
zhoukailian
e7c62579b1 chore: remove proxy management tests 2026-03-24 12:15:21 +08:00
zhoukailian
6ceaf61666 feat: auto disable failed proxies 2026-03-24 12:15:14 +08:00
cnlimiter
a53fe50a0c fix(register): 修复新版本注册流程 2026-03-24 12:14:17 +08:00
shiuing
fbf7e41b25 feat: support proxy_url in CPA auth files 2026-03-20 17:29:49 +08:00
rockxsj
bd348854b5 解决cpa测试通过实际上传失败的问题 2026-03-19 17:57:40 +08:00
rockxsj
91120a2fb4 增加duckmail支持 2026-03-19 16:41:30 +08:00