Commit Graph

393 Commits

Author SHA1 Message Date
initiatione f8b919e883 Add codex2api as a protocol-first OAuth source
This keeps the existing CPA, SUB2API, and contribution flows intact
while introducing codex2api as a separate source that plugs into
Step 7 and Step 10 through backend APIs instead of page DOM.

The sidepanel now exposes codex2api settings, preserves the built-in
local default through placeholder-only UI, and accepts user-provided
public admin URLs. Step 7 now treats missing or invalid management
secrets as terminal config errors so the flow stops instead of retrying
needlessly.

Constraint: New source must be additive and must not break existing CPA/SUB2API/contribution paths
Rejected: Drive codex2api through admin page button clicks | too brittle against frontend DOM changes
Rejected: Reuse contribution mode as a source surface | violates existing panelMode/runtime-mode boundary
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep codex2api on the protocol path unless its API becomes insufficient; do not add a panel content script without proving the protocol path cannot work
Tested: npm test; targeted codex2api/auth retry loops repeated 40 times; full suite repeated 5 times
Not-tested: Real browser run against a live codex2api instance with a real Admin Secret and OpenAI authorization
2026-04-22 13:57:21 +08:00
sh2001sh e7af5c5c4a Merge remote-tracking branch 'origin/master'
# Conflicts:
#	content/signup-page.js
#	tests/step6-login-state.test.js
2026-04-22 10:06:10 +08:00
QLHazyCoder c35127c5b7 fix: remove hardcoded max run count and adjust fallback risk warning logic 2026-04-22 02:10:07 +08:00
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
sh2001sh 451cedf104 Merge origin/master into master 2026-04-21 16:19:42 +08:00
QLHazyCoder 3718575bff 修复2925号池不能自动登陆问题 2026-04-21 13:31:50 +08:00
sh2001sh b098726a6f feat: add phone verification flow support 2026-04-21 13:17:17 +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
dada2321 5318a0975b Merge branch 'master' into codex/upstream-pr 2026-04-20 16:04:13 +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
dada2321 01477d6bd0 fix: improve step 2 email switch handling 2026-04-19 12:05:24 +08:00
Ryan Liu 45546dcb85 fix: 对齐 126 provider 变更的规范项 2026-04-19 11:57:04 +08:00
Ryan Liu 508fbdc50a feat: add 126 mail provider routing 2026-04-19 11:36:31 +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