Commit Graph

175 Commits

Author SHA1 Message Date
QLHazyCoder 6783cf02b4 2925邮箱增加账号池功能 2026-04-20 18:56:08 +08:00
QLHazyCoder 4107e4d378 feat: 增强注册流程,处理用户已存在错误,更新相关逻辑和测试用例 2026-04-20 15:08:45 +08:00
QLHazyCoder 8a16d81e01 feat: 添加贡献模式昵称和QQ字段,更新相关逻辑和测试 2026-04-20 13:15:22 +08:00
QLHazyCoder 0d0cf4b2af feat: 更新 OAuth 流程中的日志信息,增强密码缺失时的处理逻辑,添加相关测试 2026-04-20 01:05:09 +08:00
QLHazyCoder da7cddee8f Merge branch 'dev' into master 2026-04-20 00:48:38 +08:00
QLHazyCoder 5aac0ac8fb Merge branch '贡献功能开发' into dev 2026-04-20 00:40:59 +08:00
QLHazyCoder 01849505e4 feat: 添加贡献模式支持,增强状态管理和错误处理逻辑 2026-04-19 23:35:35 +08:00
QLHazyCoder 7cb1bda672 feat: 更新 OAuth 流程,调整步骤 6 和步骤 7 的逻辑,添加相关测试 2026-04-19 18:59:32 +08:00
QLHazyCoder 17e1c672f1 feat: 添加停止记录推断逻辑,支持归一化步骤状态并更新相关测试 2026-04-19 16:54:15 +08:00
QLHazyCoder afef124856 refactor: 移除网络超时相关逻辑,简化错误处理 2026-04-19 03:28:15 +08:00
QLHazyCoder 774ead30f7 feat(sidepanel): implement multi-select and delete functionality for account records
- Added a new feature to allow users to select multiple account records and delete them.
- Introduced a filter system to categorize account records based on their status (success, failed, stopped, retry).
- Enhanced the UI with a toolbar for selection and deletion actions, including a confirmation modal for deletions.
- Updated the CSS for better styling of the new toolbar and selection states.
- Implemented backend support for deleting selected records and syncing the remaining records.
- Added unit tests to ensure the new functionality works as expected.
2026-04-19 01:12:17 +08:00
QLHazyCoder cf794e3fe0 fix: 修复网络超时错误消息中的多余斜杠 2026-04-19 00:18:40 +08:00
QLHazyCoder c994d7ae12 贡献功能开发 2026-04-18 23:51:56 +08:00
QLHazyCoder e601d68b8a Merge branch 'master' into dev 2026-04-18 21:23:47 +08:00
QLHazyCoder 609cdeaeb5 feat: 增强错误处理逻辑,添加 Cloudflare 风控和网络超时拦截提示 2026-04-18 20:54:00 +08:00
Q3CC b5f2ecb99c fix: skip SUB2API proxy when default proxy is empty 2026-04-18 18:41:59 +08:00
祁连海 e22c36328b feat: 添加手机号认证失败处理逻辑,确保在遇到手机号页面时自动停止授权流程 2026-04-18 12:20:11 +08:00
lizhelang 81613b865a Make SUB2API proxy defaults available across panel flows
Expose a configurable default proxy for SUB2API, resolve the proxy once,
persist the proxy_id in state, and reuse it across auth URL generation,
code exchange, and account creation so one OAuth flow stays on one proxy.

Constraint: Upstream GitHub permission is READ, so publication must use a fork PR
Rejected: Push to origin | current GitHub viewer permission does not allow upstream branch publication
Rejected: Resolve proxy independently in later steps | could drift from the proxy chosen at auth URL generation
Confidence: high
Scope-risk: moderate
Reversibility: clean
Tested: npm test passed 183/183
Not-tested: Manual browser extension flow against a live SUB2API deployment
2026-04-18 06:47:24 +08:00
QLHazyCoder 79a54c78f0 feat: 更新步骤7和步骤8的错误处理逻辑,确保在登录超时报错时不再点击重试,直接回到步骤7重跑 2026-04-18 01:23:47 +08:00
祁连海 61a3bb3461 feat: 移除CPA回调相关逻辑,固定为步骤9,更新文档以反映新流程 2026-04-17 23:38:47 +08:00
祁连海 73f9deb53e feat: 修复停止逻辑 2026-04-17 23:29:10 +08:00
祁连海 adf0cccd77 feat: 更新注册流程,替换确保注册入口页面就绪的逻辑为打开注册标签页,并调整文档描述以反映新逻辑 2026-04-17 23:03:21 +08:00
祁连海 00b66d2157 feat: 更新账户运行记录逻辑,支持流程停止状态,优化样式以反映新状态 2026-04-17 22:34:30 +08:00
QLHazyCoder e643573946 feat: 实现步骤跳过逻辑,支持手动跳过步骤 1 时级联跳过步骤 2~5 2026-04-17 19:24:26 +08:00
QLHazyCoder 4add7477d1 feat: 增加 OAuth 流程6分钟超时处理,优化验证码请求时间窗口逻辑 2026-04-17 19:12:06 +08:00
QLHazyCoder ccea024f9a 重构更新账号日志功能,添加开发者模式 2026-04-17 18:29:53 +08:00
QLHazyCoder 3b28845d86 feat: 统一验证码重发次数配置,优化相关逻辑和界面 2026-04-17 17:31:11 +08:00
QLHazyCoder f2a1a4d7bf feat: 增加邮箱重试逻辑,优化步骤4失败后的处理方式 2026-04-17 16:24:25 +08:00
QLHazyCoder cbe9b1fabf 抽取cookie清理逻辑为新的第六步 2026-04-17 15:56:19 +08:00
QLHazyCoder b387ebfa91 feat:重试页面检测和重试点击的逻辑抽取为公共逻辑 2026-04-17 15:16:52 +08:00
QLHazyCoder 511cfcfcc7 feat: 重构优化2925邮箱和gmail邮箱逻辑 2026-04-17 11:33:02 +08:00
QLHazyCoder 32e3973340 feat: 增加手动停止错误处理,优化自动重启逻辑 2026-04-17 10:14:54 +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 1a5f569d16 feat: 添加邮箱验证页面处理逻辑,优化步骤 2 跳过密码步骤的逻辑,更新相关测试用例 2026-04-17 03:54:30 +08:00
QLHazyCoder ce0fe101a3 feat: 优化步骤 5 提交逻辑,点击后立即上报完成状态,避免等待页面结果 2026-04-17 03:39:22 +08:00
QLHazyCoder 17bbfc6394 feat: 添加账号运行历史功能,支持独立配置与文本留档 2026-04-17 03:20:57 +08:00
QLHazyCoder 4a04a09eba feat: 添加账号运行历史功能,包括状态分类和摘要展示 2026-04-17 03:00:22 +08:00
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 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 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 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 93c288a1c2 fix: 支持 Step 9 CPA 成功状态的多语言识别
- 合并 PR #81 的核心改动:将 Step 9 的成功状态识别从单一中文扩展为中文、英文、俄文白名单,并修正一处 background 日志乱码\n- 本地补充修复:无额外代码修复\n- 影响范围:Step 9 的 CPA 状态判定、诊断文案与 background 日志输出
2026-04-16 00:55:07 +08:00