Commit Graph
302 Commits
Author SHA1 Message Date
Your Name 22e2ed1508 Clear stale fudai cache when leaving room 2026-06-18 12:44:19 +08:00
Your Name 160b4f1a2d Fix pixel stage finalize details propagation 2026-06-18 12:27:04 +08:00
Your Name 89fb278988 Generalize coupon overlay rejection for fudai detection 2026-06-18 12:18:25 +08:00
Your Name b9c5106f62 Harden fudai icon detection against coupon taps 2026-06-18 11:50:50 +08:00
Your Name b74baef555 fix(packaging): keep distribution minimal 2026-06-18 11:14:04 +08:00
Your Name c97e4edc74 Fix reservation backtracking after failed title verify 2026-06-18 11:06:21 +08:00
Your Name fe1a62e92d Fix fudai live flow state and icon fallback 2026-06-18 10:40:47 +08:00
Your Name b61f766ea6 fix(updater): harden forced startup updates 2026-06-18 08:38:21 +08:00
Your Name 55d38c46ec Fix fudai coupon misclick detection 2026-06-18 08:35:04 +08:00
Your Name d48fa4eec3 Add forced startup updater 2026-06-18 07:57:38 +08:00
Your Name 9ffbe47bdb Improve fudai live flow diagnostics 2026-06-18 04:48:16 +08:00
Your Name 1adaefdce6 Add lightweight fudai flow diagnostics 2026-06-18 03:52:18 +08:00
Your Name 5166678590 Add license key entry to UI 2026-06-17 23:01:21 +08:00
Your Name b1c2128d72 Add local license verification and distribution checks 2026-06-17 22:22:04 +08:00
Your Name 87838daad4 add windows installer packaging workflow 2026-06-09 21:58:35 +08:00
Your Name 207cf0eadb improve fudai ocr debug captures 2026-06-05 15:50:00 +08:00
Your Name 62c84939ee add fudai detail and reservation verdict markers 2026-06-05 15:46:43 +08:00
Your Name 9b03556b7d expose fudai detail thresholds and regions 2026-06-05 15:36:10 +08:00
Your Name 37a2f94486 detect fudai detail body and dacheng task count 2026-06-04 12:27:14 +08:00
Your Name 5e2ca0587b preserve simple and detail logs 2026-06-04 12:05:38 +08:00
Your Name f07fbb305b fix false fudai detail pixel detection 2026-06-04 11:51:12 +08:00
Your Name 1d564000ca add detail OCR performance diagnostics 2026-06-04 11:39:29 +08:00
Your Name dc6ae7d1e4 fix task count digit detection 2026-06-04 11:15:45 +08:00
Your Name 0c77bf9e0e Keep debug capture history for px and overview 2026-06-03 22:46:53 +08:00
Your Name 4797fa046e feat: expose fudai region coordinates in gui 2026-06-03 20:29:10 +08:00
Your Name daf0c49288 统一日志详细度入口 2026-06-03 17:39:53 +08:00
Your Name 198a30dce1 完善新UI适配与日志简化 2026-06-03 12:40:06 +08:00
Your Name 71a9f4a25f 精简简单模式日志输出 2026-06-03 12:15:47 +08:00
Your Name 40f9812ab1 收口像素检测调试图输出 2026-06-03 12:05:27 +08:00
Your Name 3bcb5cb259 优化详情调试标注与截图复用 2026-06-03 11:36:47 +08:00
Your Name 42aa0f214d 修正调试图标注对齐 2026-06-03 10:47:39 +08:00
Your Name e51d37890a 精简像素调试图与日志 2026-06-03 02:11:45 +08:00
Your Name 168ab4e1f8 调整调试图像开关语义 2026-06-03 01:48:02 +08:00
Your Name 098083a354 修正福袋详情调试图与图标检测 2026-06-03 01:34:30 +08:00
Your Name 1d37d57c90 修复福袋详情OCR v2与调试日志 2026-06-03 01:22:13 +08:00
Your Name 147892a144 fix: 根因修复同房三连与映射合并,避免双切房 2026-06-01 21:13:58 +08:00
Your Name 05b9d17951 fix: remove recursive run_once reentry after desktop recovery 2026-06-01 20:58:24 +08:00
Your Name 36e374ef67 refactor: split large modules and harden live-room fudai flow 2026-06-01 18:39:44 +08:00
Your Name c2010084cf fix(fudai): root-fix countdown minute misread with full-line mm:ss priority 2026-06-01 16:37:11 +08:00
Your Name d696f2c974 fix(countdown): harden minute OCR selection and normalization 2026-06-01 15:15:01 +08:00
Your Name 93d950e78f fix: 根治倒计时分钟误识别并统一候选解析策略 2026-06-01 14:48:36 +08:00
Your Name 5a51c951a2 fix(fudai): treat notice text as attended and harden attend/log parsing 2026-06-01 12:33:33 +08:00
Your Name 61dfc1c15c fix: keep parallel OCR stable and add unknown-button fallback 2026-06-01 12:18:21 +08:00
Your Name 3659d5b7da refactor: centralize web gui host/port config in path_config 2026-06-01 07:08:47 +08:00
CodexandClaude Sonnet 4.5 bb90e2983f fix(pil): 补充修复剩余 PIL Image 资源泄漏
覆盖 14 个文件中的 Image.open() 未正确关闭问题:
- fansclub_handler: 5 处(pic/pic_rgb/img 未 close)
- image_ops: 2 处(crop 后 pic 未 close)
- douyin_popups: 2 处(pic.convert 重赋值泄漏原始句柄)
- douyin_fudai: 1 处(open().convert() 链式调用泄漏)
- douyin_robot: 2 处(同上)
- save_files/direct_attend/finder/stage/find_open/detail/_common/ocr_preprocess: 各 1-2 处

统一修复模式:分离 open 与 convert,try/finally 确保原始句柄关闭。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 22:49:50 +08:00
CodexandClaude Sonnet 4.5 c3746b0207 fix(pil): 修复 PIL Image 资源泄漏
Image.open() 后未 close() 导致文件句柄泄漏,用 _raw + try/finally 模式修复。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 22:42:22 +08:00
CodexandClaude Sonnet 4.5 96fdc96f24 refactor(cleanup): 移除剩余死代码模块
- 删除 douyin/utils/douyin_text_utils.py 及其测试
- 移除 performance_tracker.py 中未使用的 track_function 方法
- 移除 param_usage_tracer.py 中未使用的 stop_tracing / is_enabled
- 清理 bin/run_cli.py 和 tests/test_imports.py 中的残留引用

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 21:58:41 +08:00
CodexandClaude Sonnet 4.5 c4544489ac refactor(coords): 提取点击坐标常量,消除硬编码
在 coords.py 添加 DETAIL_OUTSIDE_CLICK、PARTICIPATE_BTN_CLICK、
FANSCLUB_JOIN_CLICK、FANSCLUB_JOIN_FALLBACK_CLICK 常量,
替换 fudai_attend/fansclub_handler/join_decision 中的硬编码坐标。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 21:20:17 +08:00
CodexandClaude Sonnet 4.5 d19d5bfc56 refactor(cleanup): 移除 logging 模块死代码
- unified_logger.py: 删除 5 个从未使用的装饰器/函数
- internal_loggers.py: 删除 3 个未使用方法和工厂函数
- action_logger.py: 删除 3 个未使用方法
- log_formatter.py: 删除 6 个未使用格式化函数(保留 GUI 依赖的 4 个)
- 同步更新 __init__.py 和测试文件

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 21:04:35 +08:00
CodexandClaude Sonnet 4.5 703da834fb fix(security): 修复 shell 注入风险和类型转换未捕获问题
- path_config.py: find_executable Unix 回退路径使用 shlex.quote 防注入
- underlying_operations.py: try_set_ime IME ID 使用 shlex.quote 防注入
- screenshot_direct.py: 环境变量 float/int 转换添加 try/except 容错
- device_select.py: 用户输入 int() 转换添加 try/except 容错
- read_once.py / image_acquirer.py / detail_verifier.py: PIL Image 添加 close()
- detector.py: 移除 return 后不可达死代码
- optimized_entry.py: 统一返回值类型 int,失败时返回 0
- read_once.py: 移除 try/except 中重复的相同代码

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 20:50:26 +08:00