Commit Graph

81 Commits

Author SHA1 Message Date
QLHazyCoder 65089db827 feat: 更新README,添加官网/QQ交流群入口,删除无用图片 2026-05-01 12:22:42 +08:00
cnxwzy f9f8df19d3 fix: harden CPA auth flow with API callback/state checks
Move CPA oauth url/callback handling to management API first, persist state/origin runtime keys, and fail fast on invalid callback or missing management auth to reduce flaky panel-driven auth failures.
2026-04-27 19:13:22 +08:00
QLHazyCoder 3f3b59bc38 Merge branch 'dev' 2026-04-26 16:48:26 +08:00
QLHazyCoder 5bdc84710c feat: 更新 README,添加最新交流群链接并删除不再使用的交流群图片 2026-04-26 14:43:53 +08:00
Q3CC 98e7653360 fix: clean up iCloud forward mailbox provider tech debt 2026-04-26 14:21:52 +08:00
markyal 4b7714e209 feat: support 126 mail provider routing and shared NetEase verification flow
- 合并 PR #112 的核心改动:新增 126 邮箱 provider,并复用 163 / 163 VIP 的网页邮箱接码链路
- 本地补充修复:吸收 126 子域名注入与来源识别修正,以及新版 ChatGPT 登录验证码邮件匹配适配
- 影响范围:sidepanel mail provider、background navigation/source routing、content mail polling、相关回归测试
2026-04-25 17:42:23 +08:00
QLHazyCoder 809d146b74 隐藏本地同步为默认开启,调整为接码开关 2026-04-25 16:24:47 +08:00
Ryan Liu 5f1e074e0d merge: sync origin/dev into pr-112 2026-04-24 09:35:07 +08:00
QLHazyCoder ff2ef7bf89 更新文件 2026-04-23 22:45:34 +08:00
QLHazyCoder 7d19d660e6 添加当邮箱服务为自定义邮箱的号池 2026-04-23 21:45:03 +08:00
QLHazyCoder f3aec16dda feat: support custom email pool in the merged dev registration flow
- 吸收 dev 最新 sidepanel 与收码链路改动,保留 Cloudflare Temp Email 独立设置区、贡献模式自动前提醒和 2925 当前账号恢复接线

- 修复生成邮箱辅助层对运行态参数的判断,避免 Gmail 别名与自定义邮箱池误用旧的已保存状态

- 补充自定义邮箱池相关测试与文档,更新 README、项目结构说明和完整链路说明
2026-04-23 20:40:50 +08:00
QLHazyCoder 4a55cf210b feat(signup): 优化步骤 3 收尾阶段的错误处理与日志记录 2026-04-23 15:47:38 +08:00
Ryan Liu 8c37ffc098 merge: 合并 dev 并解决 PR 冲突 2026-04-23 10:09:35 +08:00
Q3CC 1a993e9d6a Merge origin/dev into codex2api source
- resolve the sidepanel contribution-mode test conflict while keeping the new Codex2API assertions\n- update the mail2925 payload test harness for newly added Codex2API and random-subdomain inputs\n- renumber the README quick-start plan headings and strip trailing whitespace from the new tutorial doc
2026-04-22 22:18:09 +08:00
QLHazyCoder d50d8b5305 fix: 优化步骤 9 错误处理,直接报错不再重试认证页 2026-04-22 20:56:49 +08:00
QLHazyCoder 69434d67ee feat: 更新回调方式选项,优化步骤 10 策略选择 2026-04-22 20:09:47 +08:00
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
QLHazyCoder 4128cbda3c fix: 增加2925邮箱登录超时和重试逻辑,优化用户体验 2026-04-22 02:35:13 +08:00
QLHazyCoder cf42dc73fd 2925邮箱添加邮箱接收和发送功能 2026-04-21 23:21:19 +08:00
QLHazyCoder 9228c7080e feat: 优化2925账号池表单,修复步骤7无法识别重试页面bug 2026-04-21 16:39:37 +08:00
QLHazyCoder c04403c302 feat: 优化2925邮箱登录流程,添加登录前清理cookie和等待机制,更新相关文档和测试用例 2026-04-21 01:50:02 +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 4e9acfd2ee feat: 增强认证页恢复逻辑,处理 405 错误页面,更新相关测试 2026-04-20 10:59:53 +08:00
Ryan Liu 45546dcb85 fix: 对齐 126 provider 变更的规范项 2026-04-19 11:57:04 +08:00
QLHazyCoder 1578a3fd66 feat: 在步骤 5 中添加自动勾选“我同意以下所有各项”复选框的逻辑,并更新相关测试 2026-04-19 03:56:56 +08:00
QLHazyCoder 67304bb64c feat: 更新重试逻辑,最多自动点击 5 次以恢复认证页状态 2026-04-19 03:43:00 +08:00
QLHazyCoder afef124856 refactor: 移除网络超时相关逻辑,简化错误处理 2026-04-19 03:28:15 +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
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
QLHazyCoder ccea024f9a 重构更新账号日志功能,添加开发者模式 2026-04-17 18:29:53 +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 1a8cbc143b 补充md文件 2026-04-17 14:37:05 +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 f3526779c5 feat: 在步骤 6 中新增 cookies 清理功能,优化登录流程 2026-04-15 23:33:51 +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
QLHazyCoder b1d5d2d8d4 refactor: 重构第六七步登录验证码职责 2026-04-14 23:50:15 +08:00
QLHazyCoder 56527273d2 Merge branch 'hotmail邮箱支持' into master 2026-04-14 00:40:44 +08:00
QLHazyCoder 9ba958b1a2 添加交流群,修改界面样式,增加步间间隔功能 2026-04-13 20:25:53 +08:00
QLHazyCoder f6b0f5e05c docs: 更新 Hotmail 远程模式服务地址说明 2026-04-13 16:28:12 +08:00
QLHazyCoder e46f861045 将hotmail支持本地和远程两种,远程不一定合适,可能考虑远程需要自行修改适配 2026-04-13 16:28:01 +08:00