Commit Graph

184 Commits

Author SHA1 Message Date
QLHazyCoder cf42dc73fd 2925邮箱添加邮箱接收和发送功能 2026-04-21 23:21:19 +08:00
QLHazyCoder 7c20405685 fix(mail2925): 修复验证码轮询与登录态复用逻辑并清理中文文案,重构 sidepanel:统一 Hotmail 和 2925 号池表单交互
- 抽出共享 account-pool-ui helper
- 统一添加账号、取消添加、批量导入交互
- 调整号池列表收起高度与按钮布局
- 补充测试并同步更新项目文档
2026-04-21 18:02:59 +08:00
QLHazyCoder 3718575bff 修复2925号池不能自动登陆问题 2026-04-21 13:31:50 +08:00
QLHazyCoder a4c757617f Merge branch 'dev' 2026-04-21 02:20:39 +08:00
QLHazyCoder 157f49592a feat: 更新贡献昵称逻辑,允许用户留空昵称并调整相关测试用例 2026-04-21 01:55:06 +08:00
QLHazyCoder c04403c302 feat: 优化2925邮箱登录流程,添加登录前清理cookie和等待机制,更新相关文档和测试用例 2026-04-21 01:50:02 +08:00
QLHazyCoder 45b02a7107 feat: 添加sleepWithStop函数到2925邮箱会话管理器,优化登录流程中的重登录机制 2026-04-21 01:11:24 +08:00
QLHazyCoder 6c17ffc7f4 feat: 增强2925邮箱登录流程,添加登录失败处理和超时机制,更新相关文档和测试用例 2026-04-20 23:10:01 +08:00
QLHazyCoder 20146ce3e9 feat: 增强2925邮箱处理逻辑,优化账号切换和停止流程,更新相关测试用例 2026-04-20 21:11:08 +08:00
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