Commit Graph

31 Commits

Author SHA1 Message Date
QLHazycoder 1c063dcd32 fix(cpa): clarify multithread callback warning 2026-04-26 09:12:13 +00:00
QLHazyCoder 88ceb79af6 修改登陆及后续逻辑,统一使用一个逻辑 2026-04-26 05:22:36 +08:00
QLHazyCoder 6ad866b962 Plua模式开发 2026-04-26 01:41:40 +08:00
QLHazyCoder 79e917345e feat: 添加浏览器切换所需错误处理,增强步骤 10 的诊断信息 2026-04-22 18:33:54 +08:00
QLHazyCoder e799a79645 feat: 增强 OAuth 认证流程,优化回调状态处理与错误解释 2026-04-22 17:20:17 +08:00
QLHazyCoder 7cb1bda672 feat: 更新 OAuth 流程,调整步骤 6 和步骤 7 的逻辑,添加相关测试 2026-04-19 18:59:32 +08:00
QLHazyCoder cbe9b1fabf 抽取cookie清理逻辑为新的第六步 2026-04-17 15:56:19 +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 93c288a1c2 fix: 支持 Step 9 CPA 成功状态的多语言识别
- 合并 PR #81 的核心改动:将 Step 9 的成功状态识别从单一中文扩展为中文、英文、俄文白名单,并修正一处 background 日志乱码\n- 本地补充修复:无额外代码修复\n- 影响范围:Step 9 的 CPA 状态判定、诊断文案与 background 日志输出
2026-04-16 00:55:07 +08:00
Ruotian Yang 2c9e536559 Fix: 修复 Step 9 本地回调成功状态的多语言识别,以及 log 的乱码问题 2026-04-16 00:44:20 +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
Ruotian Yang cc75714466 修复 Step 9 回调提交按钮的多语言匹配 2026-04-15 00:20:30 +08:00
QLHazyCoder 72a7cb52d4 增加详细日志便于于分析错误。 2026-04-14 18:06:15 +08:00
QLHazyCoder aa48b5e3bf fix(step9): align completion signal handling and extend CPA wait 2026-04-14 01:25:39 +08:00
QLHazyCoder 25cf718c3e merge: integrate hotmail邮箱支持 into dev 2026-04-12 20:10:17 +08:00
QLHazyCoder 3e2457f7c7 fix(oauth): 整合 Step 8/9 回调修复并补充回归测试
- 支持 localhost 和 127.0.0.1 的本地回调识别,同时兼容 /auth/callback 与 /codex/callback
- 修复 Step 8 停止时的监听清理问题,并补充 onCommitted 和 onUpdated 的回调捕获路径
- 修复 Step 9 在本地 CPA 场景下的自动跳过与精确清理逻辑,避免误关正常本地页面
- 补充 Step 8 与 Step 9 的回归测试
2026-04-12 01:54:11 +08:00
QLHazyCoder 372d7d5063 本地检测问题日志代码 2026-04-11 22:10:51 +08:00
QLHazyCoder 1f91f6fcee feat: 更新 OAuth 回调地址验证,支持 127.0.0.1 和 localhost 2026-04-11 16:44:09 +08:00
QLHazyCoder 1198f704d7 Merge PR #10: add Hotmail Graph account pool flow 2026-04-11 13:50:30 +08:00
baiyuechu 8a9d69d325 feat: add hotmail mail api account pool flow 2026-04-11 10:37:43 +08:00
QLHazyCoder 359566131d feat: 增强内容脚本与后台通信,添加 PING 响应和确保脚本就绪的机制 2026-04-11 02:01:36 +08:00
QLHazyCoder bac7113c0c feat: 增强 OAuth 回调地址验证,确保仅接受有效的 localhost 回调 2026-04-11 01:31:43 +08:00
QLHazyCoder e774ab43fc feat: 增强 OAuth 认证流程,添加超时错误处理和重试机制(5次) 2026-04-09 23:57:31 +08:00
QLHazyCoder b1ec4fe35d 统一 CPA 文案并补充许可证 2026-04-09 11:22:39 +08:00
QLHazyCoder dd720d93f1 feat: 优化获取状态徽章元素的逻辑,支持多种选择器以提高兼容性 2026-04-09 09:18:14 +08:00
QLHazyCoder cf3f0f1665 feat: 增强步骤 9 的认证状态检测,确保仅在出现“认证成功!”状态徽标后判定成功,并自动关闭残留 localhost 标签页 2026-04-08 14:57:50 +08:00
QLHazyCoder 96867783dd 翻译界面和日志信息为中文,更新 OAuth 流程中的步骤描述,添加管理密钥输入框和相关功能,增强用户体验,优化 CSS 样式,修复部分逻辑错误,确保自动化流程的稳定性和可用性。 2026-04-08 01:14:22 +08:00
Jimmy 59c9a13edb feat: add DuckDuckGo Email Protection autofill settings
- Implemented a new content script for DuckDuckGo Email autofill functionality.
- Enhanced email polling scripts (mail-163.js, qq-mail.js, signup-page.js, vps-panel.js) to handle user flow interruptions.
- Updated utility functions to manage flow stopping and error handling.
- Introduced a stop button in the side panel for user control over ongoing processes.
- Improved UI elements and styles for better user experience, including new button states and messages.
- Adjusted the side panel to fetch DuckDuckGo email automatically and display it in the input field.
2026-04-05 18:30:16 +08:00
unknown 387e177e00 chore: pre-release cleanup
- Remove dead chatgpt.js (unused — all auth flows go through signup-page.js)
- Remove chatgpt.com from manifest content_scripts
- Fix resetState() to preserve vpsUrl and mailProvider on manual reset
- Add 30s timeout to all tabs.onUpdated listeners (prevent hanging)
- Fix misleading "All runs finished" log when loop breaks early
- Remove stale TODO comment in signup-page.js
- Add disabled styles for .btn-primary and .run-count-input
- Remove unused `indicator` variable in sidepanel.js
- Fix trailing comma in manifest.json
2026-04-05 11:33:42 +08:00
unknown 1c1e589bdc feat: add Auto Run mode for full automated flow
- Background: add step completion waiting (promise-based), autoRun/resumeAutoRun
  chains steps 1→2 (pause for email) → 3→4→5→6→7→8→9 automatically
- Side Panel: add "Auto Run" button and "Continue Auto" bar for email pause point
- signup-page.js: add step 8 handler to click "继续" on OAuth consent page
- Fix all steps to reportComplete before form submit (prevents connection loss on navigation)
- qq-mail.js: fallback after 3 attempts to first matching email
- vps-panel.js: step 9 waits for "认证成功!" status badge
2026-04-05 09:42:17 +08:00
unknown 887709e824 feat: initial implementation of Multi-Page Automation Chrome extension
- manifest.json: MV3 config with sidePanel, tabs, webNavigation, storage, scripting permissions
- background.js: service worker with state management (chrome.storage.session), tab registry,
  message routing, command queue, and step orchestration for all 9 steps
- sidepanel/: persistent side panel UI with 9 step buttons, interlock logic, log area,
  state restore, and reset functionality
- content/utils.js: shared utilities (waitForElement, fillInput, simulateClick, log, report*)
- content/vps-panel.js: VPS panel automation (steps 1, 9)
- content/signup-page.js: OpenAI auth page automation (steps 2, 3, 4-fill, 5)
- content/qq-mail.js: QQ Mail email polling and code extraction (steps 4, 7)
- content/chatgpt.js: ChatGPT login automation (steps 6, 7-fill, 8)
- data/names.js: random English name and birthday generation
2026-04-05 08:59:03 +08:00