Commit Graph

229 Commits

Author SHA1 Message Date
QLHazyCoder b387ebfa91 feat:重试页面检测和重试点击的逻辑抽取为公共逻辑 2026-04-17 15:16:52 +08:00
QLHazyCoder 6bd00e9129 feat: 增强注册入口诊断功能,添加对可见操作的识别和筛选 2026-04-17 10:36:58 +08:00
QLHazyCoder 1a7ae1dc27 Refactor code structure for improved readability and maintainability 2026-04-17 10:07:53 +08:00
QLHazyCoder be3172df63 Implement structure for code changes tracking 2026-04-17 09:43:39 +08:00
QLHazyCoder c745405f90 feat: Enhance Step 9 diagnostics and error handling
- Refactor getStatusBadgeEntries to use createStep9Entry for better encapsulation.
- Introduce error visual signals detection in createStep9Entry.
- Add functions to identify OAuth callback timeout failures and step 9 failure texts.
- Update buildStep9StatusDiagnostics to include error visual summaries and handle conflicts between success and failure states.
- Implement new tests for step 9 diagnostics, ensuring correct behavior with success badges and error banners.
- Remove outdated tests related to step 5 onboarding and redirect race conditions.
- Add new tests for auto-run behavior in step 6 restart scenarios.
2026-04-17 04:33:14 +08:00
QLHazyCoder 5a0003af3c feat: 更新步骤 5 文档,修改按钮文本为“完成帐户创建”,优化用户提示信息 2026-04-17 03:41:00 +08:00
QLHazyCoder ce0fe101a3 feat: 优化步骤 5 提交逻辑,点击后立即上报完成状态,避免等待页面结果 2026-04-17 03:39:22 +08:00
QLHazyCoder 7828c196af fix: 规范化 OAuth 授权页面状态处理,更新相关测试用例 2026-04-16 22:18:56 +08:00
QLHazyCoder 8f5d2bc363 Merge branch 'dev' of https://github.com/QLHazyCoder/codex-oauth-automation-extension into dev 2026-04-16 21:11:43 +08:00
Q3CC af9860d17b fix: harden ChatGPT post-signup recovery 2026-04-16 20:56:06 +08:00
crosscc 60bbf5b20c 1
更新:(都只适配的英文界面)
1、韩国IP填写姓名年龄的页面要勾选:i agree....
2、出现405 错误页面自动点击“try again”
3、修复 注册判定:"完成帐户创建" → 页面跳转 chatgpt.com → 内容脚本断开
→ background 捕获通信错误 → 检测标签页 URL 为 chatgpt.com
→ 注入内容脚本 → 点击 Skip (没有完成所有引导,但是也注册成功过了)
2026-04-16 18:00:01 +08:00
QLHazyCoder ecfc5ad77a feat: 在步骤 5 中新增年龄输入模式处理,优化用户体验 2026-04-16 16:50:10 +08:00
QLHazyCoder 93c288a1c2 fix: 支持 Step 9 CPA 成功状态的多语言识别
- 合并 PR #81 的核心改动:将 Step 9 的成功状态识别从单一中文扩展为中文、英文、俄文白名单,并修正一处 background 日志乱码\n- 本地补充修复:无额外代码修复\n- 影响范围:Step 9 的 CPA 状态判定、诊断文案与 background 日志输出
2026-04-16 00:55:07 +08:00
Ruotian Yang 2c9e536559 Fix: 修复 Step 9 本地回调成功状态的多语言识别,以及 log 的乱码问题 2026-04-16 00:44:20 +08:00
QLHazyCoder 49eccd579c Merge branch 'dev' of https://github.com/QLHazyCoder/codex-oauth-automation-extension into dev 2026-04-15 19:27:28 +08:00
QLHazyCoder 6b723c5ef0 Refactor signup process and enhance OAuth handling
- Updated signup-page.js to support additional message types for signup entry and password page readiness.
- Introduced new helper functions for managing signup entry states and filling email/password.
- Enhanced error handling and logging for better debugging during the signup process.
- Modified sub2api-panel.js and vps-panel.js to handle REQUEST_OAUTH_URL messages and improved logging.
- Updated sidepanel.html to reflect changes in button labels for clarity in user actions.
2026-04-15 19:27:24 +08:00
honue 1947f8b561 feat: 新增 iCloud 邮箱 provider 2026-04-15 16:44:16 +08:00
QLHazyCoder 8914d46600 feat: 添加 Gmail 分类支持,优化邮件轮询逻辑 2026-04-15 12:36:50 +08:00
QLHazyCoder 37f6453dda feat: 移除邮箱提取和匹配功能,简化目标邮箱匹配逻辑 2026-04-15 10:27:55 +08:00
QLHazyCoder 64868e05c1 feat: 添加对 Gmail 邮箱的支持,包括邮箱前缀解析和验证码提取功能 2026-04-15 10:03:20 +08:00
QLHazyCoder ac01fcaa3a fix: 更新验证码页面匹配模式以支持多语言 2026-04-15 00:57:55 +08:00
QLHazyCoder 1b4cdc56e4 fix: 支持 Step 9 回调提交按钮的多语言匹配
- 合并 PR #75 的核心改动:将 CPA Step 9 的回调提交按钮匹配从宽泛的“提交”文本收紧为中英俄三种明确文案匹配
- 本地补充修复:无额外代码修复;已按流程将目标分支校正为 dev 并完成审查
- 影响范围:content/vps-panel.js,CPA Step 9 回调提交流程
2026-04-15 00:48:58 +08:00
Ruotian Yang cc75714466 修复 Step 9 回调提交按钮的多语言匹配 2026-04-15 00:20:30 +08:00
QLHazyCoder b1d5d2d8d4 refactor: 重构第六七步登录验证码职责 2026-04-14 23:50:15 +08:00
QLHazyCoder 72a7cb52d4 增加详细日志便于于分析错误。 2026-04-14 18:06:15 +08:00
QLHazyCoder a4aee4dd61 第七步添加检测重试页面会跳第六步的逻辑 2026-04-14 16:47:08 +08:00
QLHazyCoder aa48b5e3bf fix(step9): align completion signal handling and extend CPA wait 2026-04-14 01:25:39 +08:00
QLHazyCoder 1c4ea22dcc feat: support 2925 mail provider in OAuth signup flow
- 合并 PR #37 的核心改动:新增 2925 邮箱选项、步骤 3 自动别名邮箱生成,以及步骤 4/7 的 2925 收件箱轮询
- 本地补充修复:整合侧边栏邮箱登录与邮箱生成显隐冲突,并在离开 2925 或导入配置时清空托管邮箱残留状态
- 影响范围:sidepanel mail provider config、background step orchestration、2925 mail content script
2026-04-13 20:59:19 +08:00
yangshen 42680642c3 适配支持2925邮箱 2026-04-13 11:21:31 +08:00
Isulew 14ebd26e76 fix: 兼容新的 Codex OAuth 同意页结构
- 扩展同意页文案匹配,覆盖新的 Sign in to Codex 提示
- 优先从 OAuth consent form 内定位 Continue 提交按钮
- 用 form action 和按钮状态辅助识别真正的同意页
2026-04-12 23:13:14 +08:00
QLHazyCoder b21901e9e5 feat: integrate SUB2API OAuth flow into dev
- absorb PR #19 by adding SUB2API mode for OAuth link generation and callback account creation
- keep dev-side Hotmail and Cloudflare sidepanel workflows while resolving sidepanel merge conflicts
- avoid duplicate SUB2API side effects by using explicit long single-response timeouts for step 1 and step 9 content-script execution
2026-04-12 20:55:41 +08:00
QLHazyCoder 25cf718c3e merge: integrate hotmail邮箱支持 into dev 2026-04-12 20:10:17 +08:00
QLHazyCoder 4228888cca 添加Cloudflare服务 2026-04-12 19:30:35 +08:00
hisen666 cb449b673e merge: sync latest dev into sub2api branch 2026-04-12 18:28:57 +08:00
hisen666 843d9c6324 merge: sync dev and finalize sub2api localhost callback flow 2026-04-12 16:30:28 +08:00
QLHazyCoder 62664ee862 feat: 增加步骤 7 从步骤 6 重启的错误标记构建逻辑,优化错误处理 2026-04-12 15:28:46 +08:00
QLHazyCoder 74fb0bcc50 feat: 增加步骤 7 登录超时处理逻辑,支持从步骤 6 重新发起验证码流程 2026-04-12 13:53:23 +08:00
hisen666 601958ae97 fix: add default scheduling fields for sub2api accounts 2026-04-12 12:39:06 +08:00
hisen666 b56802f221 Add SUB2API panel mode for auth URL and callback flow 2026-04-12 11:30:40 +08:00
QLHazyCoder 3e2457f7c7 fix(oauth): 整合 Step 8/9 回调修复并补充回归测试
- 支持 localhost 和 127.0.0.1 的本地回调识别,同时兼容 /auth/callback 与 /codex/callback
- 修复 Step 8 停止时的监听清理问题,并补充 onCommitted 和 onUpdated 的回调捕获路径
- 修复 Step 9 在本地 CPA 场景下的自动跳过与精确清理逻辑,避免误关正常本地页面
- 补充 Step 8 与 Step 9 的回归测试
2026-04-12 01:54:11 +08:00
QLHazyCoder 1105e9d4d9 增加更详细的打印日志,便于分析问题 2026-04-11 23:42:33 +08:00
QLHazyCoder 078a5457c5 feat: 实现步骤 8 的状态管理和点击策略,优化 OAuth 授权流程 2026-04-11 23:03:44 +08:00
QLHazyCoder 372d7d5063 本地检测问题日志代码 2026-04-11 22:10:51 +08:00
QLHazyCoder 30fdef9383 feat: 更新邮件删除操作说明,支持通过悬停垃圾桶图标或工具栏删除 2026-04-11 20:26:50 +08:00
QLHazyCoder 28c151d109 feat: 添加邮件清理调度功能,优化邮件删除流程 2026-04-11 20:05:32 +08:00
QLHazyCoder 1f91f6fcee feat: 更新 OAuth 回调地址验证,支持 127.0.0.1 和 localhost 2026-04-11 16:44:09 +08:00
QLHazyCoder 1198f704d7 Merge PR #10: add Hotmail Graph account pool flow 2026-04-11 13:50:30 +08:00
baiyuechu 8a9d69d325 feat: add hotmail mail api account pool flow 2026-04-11 10:37:43 +08:00
QLHazyCoder c14266ee4d feat: 增强内容脚本的加载机制,添加超时与重试逻辑,优化消息监听器的初始化 2026-04-11 02:52:55 +08:00
QLHazyCoder 359566131d feat: 增强内容脚本与后台通信,添加 PING 响应和确保脚本就绪的机制 2026-04-11 02:01:36 +08:00