Commit Graph

274 Commits

Author SHA1 Message Date
Q3CC b5e16277aa Merge pull request #106 from q3cc/master
fix: skip SUB2API proxy when default proxy is empty
2026-04-18 18:43:01 +08:00
Q3CC b5f2ecb99c fix: skip SUB2API proxy when default proxy is empty 2026-04-18 18:41:59 +08:00
QLHazyCoder 82471af931 chore(release): bump version to Pro2.5 2026-04-18 18:10:54 +08:00
QLHazyCoder 7a30c0c584 feat: 增加最大提交尝试次数至7 2026-04-18 18:07:46 +08:00
QLHazyCoder 5e1d89b3c5 feat: 添加版本比较和排序功能,优化获取更新快照的逻辑 2026-04-18 17:40:05 +08:00
QLHazyCoder 8e3e085f3d 重构修改2925获取邮箱 2026-04-18 17:28:43 +08:00
QLHazyCoder 7a4b1e1e12 chore(release): bump version to Pro2.4 2026-04-18 12:25:46 +08:00
QLHazyCoder 9cd932d7d6 Merge branch 'dev' into master 2026-04-18 12:25:05 +08:00
祁连海 5b4b322eac 添加文件 2026-04-18 12:20:25 +08:00
祁连海 e22c36328b feat: 添加手机号认证失败处理逻辑,确保在遇到手机号页面时自动停止授权流程 2026-04-18 12:20:11 +08:00
QLHazyCoder 7290649930 feat: 添加邮件刷新和收件箱链接查找功能,并增加相关测试用例 2026-04-18 12:17:23 +08:00
Q3CC 687bf7f71b feat: keep SUB2API OAuth and account creation on one resolved proxy
- 合并 PR #102 的核心改动:新增可配置的 SUB2API 默认代理,并在 OAuth 链接生成、授权码交换和账号创建之间复用同一个 proxy_id
- 本地补充修复:无额外修复,直接吸收 PR 变更
- 影响范围:SUB2API sidepanel 配置、background 状态传递、sub2api content script、相关测试
2026-04-18 08:55: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 033e76a16f chore(release): bump version to Pro2.0 2026-04-18 01:37:08 +08:00
QLHazyCoder 79a54c78f0 feat: 更新步骤7和步骤8的错误处理逻辑,确保在登录超时报错时不再点击重试,直接回到步骤7重跑 2026-04-18 01:23:47 +08:00
QLHazyCoder 466011d4e5 feat: 更新验证页面逻辑,确保密码重试页面不被视为验证页面,并添加相关测试 2026-04-18 00:29:20 +08:00
祁连海 14a3e9d6b2 feat: 添加手机号页面错误处理逻辑,更新步骤7重试机制及文档说明 2026-04-17 23:46:56 +08:00
祁连海 61a3bb3461 feat: 移除CPA回调相关逻辑,固定为步骤9,更新文档以反映新流程 2026-04-17 23:38:47 +08:00
祁连海 a4c7849a0f Merge branch 'dev' of https://github.com/QLHazyCoder/codex-oauth-automation-extension into dev 2026-04-17 23:29:18 +08:00
祁连海 73f9deb53e feat: 修复停止逻辑 2026-04-17 23:29:10 +08:00
祁连海 adf0cccd77 feat: 更新注册流程,替换确保注册入口页面就绪的逻辑为打开注册标签页,并调整文档描述以反映新逻辑 2026-04-17 23:03:21 +08:00
祁连海 a41fde45c8 feat: 更新邮箱记录模块,支持“停止”状态并优化统计摘要,调整测试用例以反映新逻辑 2026-04-17 22:53:54 +08:00
Q3CC 0c8c1eff89 fix: stop persisting generated signup passwords in session account records
- 合并 PR #100 的核心改动:移除步骤 3 向 state.accounts 写入明文 password 的逻辑
- 本地补充修复:无额外代码修复,仅将目标分支从 master 校正到 dev 并完成审查状态回写
- 影响范围:background/steps/fill-password.js 的账号记录持久化流程
2026-04-17 22:48:23 +08:00
祁连海 00b66d2157 feat: 更新账户运行记录逻辑,支持流程停止状态,优化样式以反映新状态 2026-04-17 22:34:30 +08:00
祁连海 f5b622d272 feat: 增强注册和登录验证码流程,添加步骤标识和日志标签,优化 OAuth 刷新逻辑 2026-04-17 22:30:12 +08:00
tomaioo 32880a1717 fix(security): plaintext passwords are persisted in extension sta
Step 3 appends `{ email, password, createdAt }` directly into `state.accounts` and writes it via `setState`. This stores raw credentials in extension-managed state, increasing impact if extension storage is exposed (local compromise, backup/sync leakage, debug export, or other extension bugs).

Signed-off-by: tomaioo <203048277+tomaioo@users.noreply.github.com>
2026-04-17 05:16:45 -07:00
QLHazyCoder 8f290ed4fc chore(release): bump version to Pro1.0 2026-04-17 19:36:21 +08:00
QLHazyCoder 8f0c8581f9 chore: align version display with Pro release standard 2026-04-17 19:34:10 +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 a827ede6f4 fix: 修复自动运行倒计时逻辑,确保在非等待间隔阶段返回null 2026-04-17 18:44:27 +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 78d6e94213 feat: 增加重试页面恢复逻辑,优化点击后等待时间 2026-04-17 16:09:56 +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 511cfcfcc7 feat: 重构优化2925邮箱和gmail邮箱逻辑 2026-04-17 11:33:02 +08:00
QLHazyCoder 6bd00e9129 feat: 增强注册入口诊断功能,添加对可见操作的识别和筛选 2026-04-17 10:36:58 +08:00
QLHazyCoder 32e3973340 feat: 增加手动停止错误处理,优化自动重启逻辑 2026-04-17 10:14:54 +08:00
QLHazyCoder 1a7ae1dc27 Refactor code structure for improved readability and maintainability 2026-04-17 10:07:53 +08:00
QLHazyCoder 4dc4f65a70 feat: 添加粘性头部样式,优化界面布局和背景效果 2026-04-17 09:52:20 +08:00
QLHazyCoder be3172df63 Implement structure for code changes tracking 2026-04-17 09:43:39 +08:00
QLHazyCoder a54474a3ee chore(release): bump version to v11.0.0 2026-04-17 04:40:09 +08:00
QLHazyCoder 40f9b35409 Merge branch 'dev' 2026-04-17 04:39:06 +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 5a0003af3c feat: 更新步骤 5 文档,修改按钮文本为“完成帐户创建”,优化用户提示信息 2026-04-17 03:41:00 +08:00
QLHazyCoder ce0fe101a3 feat: 优化步骤 5 提交逻辑,点击后立即上报完成状态,避免等待页面结果 2026-04-17 03:39:22 +08:00