Commit Graph

222 Commits

Author SHA1 Message Date
QLHazyCoder 6652899758 feat: add account run history module and logging functionality
- Implemented `background/account-run-history.js` to persist account run results (success, failure, stop) in `chrome.storage.local` and log to a text file when the local Hotmail helper is enabled.
- Enhanced `background/auto-run-controller.js` and `background/message-router.js` to utilize the new account run record functionality.
- Updated steps in `background/steps/fetch-login-code.js`, `background/steps/fetch-signup-code.js`, and `background/steps/oauth-login.js` to handle retries and logging appropriately.
- Introduced tests for account run history and step retry limits to ensure functionality and reliability.
- Modified documentation to reflect new features and changes in behavior for specific providers (e.g., 2925).
2026-04-17 02:52:26 +08:00
QLHazyCoder e48941806f feat: 添加项目完整链路说明和开发规范文档 2026-04-17 02:01:13 +08:00
QLHazyCoder 3071f94f7c feat: add step definitions module and integrate with sidepanel
- Introduced a new module for step definitions in `data/step-definitions.js` to manage shared step metadata.
- Updated `sidepanel.html` to dynamically render steps based on the new step definitions module.
- Refactored `sidepanel.js` to utilize the step definitions for rendering and managing step statuses.
- Enhanced tests to validate the step definitions module and its integration with the sidepanel.
- Cleaned up existing tests to ensure they align with the new structure and functionality.
2026-04-17 01:39:46 +08:00
QLHazyCoder a0d6d1f050 feat: add verification flow helpers and integrate into background script
- Introduced a new module `verification-flow.js` containing verification flow helpers.
- Updated `background.js` to import and utilize the new verification flow helpers.
- Refactored existing verification-related functions to leverage the new helpers for improved code organization and maintainability.
- Added tests for the verification flow module to ensure proper integration and functionality.
2026-04-17 00:16:40 +08:00
QLHazyCoder 33c5f759d9 feat: refactor user registration steps into modular functions and implement step registry
- Replaced individual step imports with a centralized step registry in background.js
- Created separate modules for each registration step: open-chatgpt, submit-signup-email, fill-password, fetch-signup-code, fill-profile, oauth-login, fetch-login-code, confirm-oauth, platform-verify
- Updated tests to reflect changes in step imports and added new tests for step registry functionality
2026-04-16 23:56:57 +08:00
QLHazyCoder 4f12d67d9f feat: implement multi-step background process for user registration
- Add step 1: Open ChatGPT homepage and prepare for signup.
- Add step 2: Handle email submission and ensure the signup entry page is ready.
- Add step 3: Fill in the password using either a custom or generated password.
- Add step 4: Confirm the registration verification page and handle email verification.
- Add step 5: Generate random user details and handle onboarding redirection.
- Add step 6: Manage OAuth login process and handle login verification.
- Add step 7: Retrieve verification code from email and manage retries.
- Add step 8: Handle consent page interactions and manage callback URLs.
- Add step 9: Submit callback information to CPA or SUB2API based on user settings.
- Implement tests to ensure all steps are correctly imported and functional.
2026-04-16 23:38:43 +08:00
QLHazyCoder f0c3dcda62 没有直接撬 Step 1~9 的核心状态机,而是先把最适合独立的管理器和桥接层拆出来 2026-04-16 23:18:27 +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 39c0d47a14 fix: harden signup recovery for ChatGPT redirects
- 合并 PR #86 的核心改动:补充韩国实名页勾选、405 错误恢复与 ChatGPT 跳转后的引导处理
- 本地补充修复:等待 chatgpt.com 跳转稳定后再接管,并避免已直接进入主页时误判 onboarding 失败
- 影响范围:Step 5 注册资料提交、验证码重发恢复、ChatGPT onboarding 跳过流程
2026-04-16 20:57:37 +08:00
Q3CC af9860d17b fix: harden ChatGPT post-signup recovery 2026-04-16 20:56:06 +08:00
QLHazyCoder 439268b4b7 feat: 新增 isSignupEntryHost 函数以支持 chatgpt.com 和 chat.openai.com 的注册页面识别,更新相关测试用例 2026-04-16 20:21:03 +08:00
crosscc 1fa80e0177 Update .gitignore 2026-04-16 18:03:22 +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 f2f198f55d chore(release): bump version to v10.2.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 17:40:43 +08:00
QLHazyCoder ecfc5ad77a feat: 在步骤 5 中新增年龄输入模式处理,优化用户体验 2026-04-16 16:50:10 +08:00
QLHazyCoder 6670acf68c chore(release): bump version to v10.0.0 2026-04-16 01:13:09 +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 f3526779c5 feat: 在步骤 6 中新增 cookies 清理功能,优化登录流程 2026-04-15 23:33:51 +08:00
QLHazyCoder 544ecb33c2 feat: 新增邮件接收功能,支持配置 Cloudflare Temp Email 收件邮箱 2026-04-15 20:29:35 +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
Q3CC bbf22f2129 docs: update PR review status workflow 2026-04-15 19:03:04 +08:00
Q3CC 189ca9c270 feat: 支持将 iCloud 邮箱作为可轮询验证码来源
- 合并 PR #80 的核心改动:新增 iCloud 邮箱 provider,并接入 iCloud Mail 验证码轮询与详情区读取逻辑
- 本地补充修复:无(本次仅完成审查与目标分支校正,未修改 PR 分支代码)
- 影响范围:background 邮箱调度、manifest 注入、sidepanel 邮箱入口、iCloud Mail content script 与相关测试
2026-04-15 18:57:02 +08:00
honue 1947f8b561 feat: 新增 iCloud 邮箱 provider 2026-04-15 16:44:16 +08:00
QLHazyCoder d144d14091 chore(release): bump version to v9.4.0 2026-04-15 12:41:21 +08:00
QLHazyCoder 0b3333f860 Merge branch 'dev' of https://github.com/QLHazyCoder/codex-oauth-automation-extension into dev 2026-04-15 12:38:55 +08:00
QLHazyCoder 8914d46600 feat: 添加 Gmail 分类支持,优化邮件轮询逻辑 2026-04-15 12:36:50 +08:00
QLHazyCoder 972171f517 Merge branch 'dev' of https://github.com/QLHazyCoder/codex-oauth-automation-extension into dev 2026-04-15 10:28:25 +08:00
QLHazyCoder 37f6453dda feat: 移除邮箱提取和匹配功能,简化目标邮箱匹配逻辑 2026-04-15 10:27:55 +08:00
QLHazyCoder 09ae686970 feat: 添加 CPA 回调模式支持,允许选择第六步或第八步回调 2026-04-15 10:07:31 +08:00
QLHazyCoder 64868e05c1 feat: 添加对 Gmail 邮箱的支持,包括邮箱前缀解析和验证码提取功能 2026-04-15 10:03:20 +08:00
QLHazyCoder 373588dcfe feat: refactor auto run timer functionality with new naming conventions and improved state management 2026-04-15 03:42:14 +08:00
QLHazyCoder 72cbeb6b9b chore(release): bump version to v9.0.0 2026-04-15 02:09:05 +08:00
QLHazyCoder d4f4731bca feat: support direct Microsoft API polling for Hotmail account pool
- 合并 PR #69 的核心改动:为 Hotmail 账号池启用 API 对接模式,并新增微软邮箱 helper 与 token 请求头处理
- 本地补充修复:合并最新 dev 后恢复 INBOX/Junk 逐邮箱夹拉取,以及现有验证码筛选与时间回退逻辑
- 影响范围:background Hotmail 轮询、sidepanel Hotmail 模式切换、microsoft-email helper、Hotmail 相关回归测试
2026-04-15 01:38:12 +08:00
QLHazyCoder fd531165a1 fix: align Hotmail API integration with current dev
- merge the latest dev changes into PR #69 before continuing the review flow
- keep Microsoft API mode while preserving mailbox-by-mailbox polling and verification filters
- update the Hotmail side panel copy and helper coverage for the repaired API path
2026-04-15 01:36:40 +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
QLHazyCoder 93f94e7ec9 修改名字 2026-04-15 00:29:34 +08:00
Ruotian Yang cc75714466 修复 Step 9 回调提交按钮的多语言匹配 2026-04-15 00:20:30 +08:00
QLHazyCoder 9c7cf586e0 Merge branch 'dev' of https://github.com/QLHazyCoder/codex-oauth-automation-extension into dev 2026-04-15 00:17:52 +08:00
QLHazyCoder 49b0b377e6 fix: 修复2925邮箱模式按钮的数据属性名称 2026-04-15 00:17:49 +08:00
QLHazyCoder 30f27e6ad6 chore: 添加对_metadata目录的忽略 2026-04-15 00:15:52 +08:00
笨笨 ca3e8b00f0 Merge pull request #73 from q3cc/codex-luckmail
feat: 接入 LuckMail openai 邮箱购买、复用与管理
2026-04-15 00:10:42 +08:00
笨笨 1731d770af merge: 合并最新 dev(2925 模式选择)并修复测试 mock
- 解决 background.js 3 处冲突:保留 LuckMail 逻辑 + 采用 dev 的 isGeneratedAliasProvider(state) 新 API
- 解决 sidepanel.js 3 处冲突:保留 LuckMail UI + 采用 dev 的 mail2925Mode 参数
- step9 测试补充 normalizeMail2925Mode/getMail2925Mode 提取和 MAIL_2925_MODE 常量
- 全部 76 个测试通过
2026-04-15 00:09:11 +08:00
QLHazyCoder 4fb62e5e1c Merge commit 'f18e6951cd147a3839df51837f3cb296502febfa' into dev
# Conflicts:
#	sidepanel/sidepanel.js
2026-04-15 00:00:24 +08:00
笨笨 69f1419d3d Merge remote-tracking branch 'origin/dev' into codex-luckmail 2026-04-14 23:57:06 +08:00
笨笨 8571f59e99 merge: 合并最新 dev 分支(cloudflare-temp-email + iCloud)
- 解决 background.js / sidepanel.html / sidepanel.js / 测试文件共 24 处冲突
- LuckMail、Cloudflare Temp Email、iCloud 三种邮箱提供商正确共存
- step9 清理范围测试对齐 dev 分支行为(closeTabsByUrlPrefix 排除 OAuth callback URL)
- LuckMail 测试补充 dev 分支新增依赖的 mock
- 全部 76 个测试通过
2026-04-14 23:54:35 +08:00
QLHazyCoder f5abd68a9d Merge commit 'c98715a4bc17b249639a7844ad8561aec261da87' into dev
# Conflicts:
#	sidepanel/sidepanel.js
2026-04-14 23:53:44 +08:00