Skip to content

chore(mise-deps): update dependency typos to v1.51.1 - #19

Closed
renovate[bot] wants to merge 62 commits into
mainfrom
renovate/mise-tools
Closed

renovate[bot] wants to merge 62 commits into
mainfrom
renovate/mise-tools

Conversation

@renovate

@renovate renovate Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
typos tools minor 1.48.0 → 1.51.1

Release Notes

crate-ci/typos (typos)

v1.51.1

Compare Source

Features
  • Add ARM Windows builds

v1.51.0

Compare Source

Fixes
  • Don't correct bimap
Features

v1.50.3

Compare Source

Fixes
  • Don'y panicwhen case-converting non-ASCII corrections

v1.50.2

Compare Source

Fixes
  • Don't panic when files being examined are removed

v1.50.1

Compare Source

Fixes
  • Don't correct asend in Python code

v1.50.0

Compare Source

Features

v1.49.1

Compare Source

Fixes
  • Don't correct the brand name HashiCorp

v1.49.0

Compare Source

Features
  • Updated the dictionary with the July 2026 changes

Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

YewFence and others added 30 commits December 23, 2025 00:51
当视频被人为暂停时,程序会在10秒内自动检测并恢复播放,避免因意外点击导致视频停止。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 修改 ensure_video_playing() 返回视频完整状态信息
- 等待循环现在基于 video.currentTime 判断是否播放完毕
- 暂停后恢复播放不会导致等待时间不足的问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
将所有时间显示从秒数改为友好的时分秒格式(如 12:34 或 1:23:45)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
添加 rich 依赖,使用漂亮的进度条显示视频播放进度,包含旋转动画、进度百分比和已用时间

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 用 locator 定位元素替代 page.evaluate 中的 querySelector
- 简化 JS 代码为简短的箭头函数
- 使用 divmod 优化时间格式化计算
- 分离状态获取和播放操作,逻辑更清晰

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Features  新功能:
Automatic video playback resumption when a video is paused.
视频暂停时自动恢复播放。
Console progress indicator showing elapsed vs total time with live status updates.
控制台进度指示器显示已用时间与总时间,并实时更新状态。
Consistent human-friendly time formatting (H:MM:SS or M:SS) across messages.
消息中采用一致的、便于理解的时间格式(H:MM:SS 或 M:SS)。
Stronger periodic video-state validation with automatic session refresh and clearer timeline statuses (e.g., completed, waiting, remaining).
更强大的周期性视频状态验证,具有自动会话刷新和更清晰的时间线状态(例如,已完成、等待、剩余)。
- 将 BROWSER、HEADLESS、VIDEO_LIST_URL 移至 .env 文件
- 添加 python-dotenv 依赖
- 删除 config_example.py,新增 .env.example
- 更新 .gitignore:忽略 .env,取消忽略 config.py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 推送 v* tag 时自动构建并创建 Release
- 支持手动触发,可指定任意版本构建
- 使用 PyInstaller 打包成单文件可执行程序

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 向 main 分支开 PR 时自动构建
- 构建产物保留 7 天,方便下载测试

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 添加交互式登录方式说明(推荐)
- 更新功能特点列表,补充进度条美化、时间格式优化等新特性
- 添加 rich 依赖说明

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 快速开始改为下载 Release + 配置 .env
- 开发者使用方式移至后面
- 精简 FAQ 和项目结构说明
- 更新 Cookie 获取文档

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
- 添加了目前测试版未测试的说明
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 规范提示措辞
- 增加测试说明
将结束输入的标识改为空行
Feature/cookie login 修正程序输出,简化手动导入Cookies流程为直接粘贴
Feature/logging error handling 优化异常处理/日志打印逻辑

## Summary by CodeRabbit

* **New Features**
  * Centralized logging with rotating file and structured console output
  * Unified exception-context handling for clearer error classification and messages
  * Improved cookie management flows including interactive save/refresh and conversion utilities

* **Bug Fixes**
  * Better detection/handling of user-closed browser sessions
  * Hardened cookie validity checks and more robust playback/watch flows

* **Chores**
  * Replaced direct prints with structured logging across the app
YewFence and others added 22 commits September 28, 2026 23:38
导航栏“使用介绍”菜单中的 fsresource 链接同样匹配 URL 模式,会被当作课程视频抓取;按字符串排序后它还会排在第一个。

- 选择器限定为 li.activity 内的链接,排除导航栏等区域
- 按页面顺序去重,播放顺序与课程章节一致
平台依据“我的播放进度”判定视频是否完成(页面提示需达到的比例,如 90%),而原进度条只显示本地视频播放位置,剩余时长也按看完整个视频计算。

- 新增“完成度”进度条与“播放进度”并列:播放进度只反映本地播放位置;完成度以平台要求为基线,达到要求(如 90%)即为 100%,优先读取 .num-bfjd 中的平台进度,读不到时用观看时长估算,并显示“已观看/需观看”时长
- 开始播放时的提示改为“总时长、已观看、剩余、需观看 (90%)”,剩余按需观看时长计算;等待上限仍按视频完整剩余时长加余量,平台标记完成或播放结束时提前退出
- 平台信息读取统一走 _read_platform_text:元素缺失、格式不同或读取出错时返回 None,完成度条保持隐藏、按完整看完计算,不会中断播放;浏览器关闭仍按 BrowserClosedError 退出
- check_video_completed 同样容错,读不到完成标记视为未完成继续播放
- 进度保留一位小数;移除与描述中时间重复的耗时列
- exception_context 公开 is_browser_closed_error 供上述读取复用
按平台信息估算的剩余时长为 0 时会直接跳过等待并提示“视频无需等待”,相当于用估算值代替平台判断完成;等待超时或读不到视频时长时也会提示播放完成。

- 估算的剩余、需观看时长只用于展示,读得到视频时长且进入页面时未完成就始终进入等待循环
- 循环只在平台标记完成或视频播放到结尾时正常结束;等待上限改为视频完整时长加 60 秒,超时时给出警告而不是完成提示
- 读不到视频时长时按默认时间等待后,提示无法确认该链接是否完成
视频播放到结尾时平台可能还没上报最后一批观看时长,此前会直接视为完成;而完成标记显示未完成时,播放完毕并不代表平台认可完成。

- check_video_completed 改为三态:已完成、显示未完成、读不到标记
- 播放到结尾后若标记显示未完成,最多等待 30 秒让平台更新;仍未完成则给出警告,提示稍后手动确认
- 只有读不到完成标记时,才以视频播放完毕为准
原来无论链接有没有确认完成,都按完成计数;中断时也不清楚已处理到哪里。

- play_video 返回 VideoResult,分三类:平台确认完成、视频播放完毕(读不到平台标记)、无法确认
- watch_videos 收集所有结果,在 finally 中输出汇总
- 正常结束、Ctrl+C、关闭浏览器或出错时都输出汇总,统计各类结果数量并列出未确认和未处理的链接
- 说明两条进度条的含义:播放进度是本地实时状态,完成度是平台记录的观看进度
- 强调完成判断直接查看平台完成标记,信息行中的估算数据只供参考
- 说明视频播放到结尾后会等待平台确认,避免卡住整个批量
- 说明正常结束和中断时都会输出观看汇总,列出需要手动确认和未处理的链接
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
The 2.3.0 changelog entry records the vedio→video rename, so the word
must stay as written. Scope the allowlist to CHANGELOG.md via a custom
file type so typos still flags "vedio" everywhere else.
- 构建矩阵补上 ubuntu-22.04(老 glibc 基线,覆盖更多发行版)和 Intel macOS(macos-15-intel 标准 runner 标签)
- 可执行文件命名带 os-arch 后缀,Intel Mac 用户不会再误下 arm64 二进制
- macOS/Linux 产物压成 tar.gz 保留执行位,Windows 保持裸 exe
- README 下载章节按芯片列出资产,补充解压、glibc 兼容与 Gatekeeper 隔离说明
- emoji 引用块统一迁移为 GitHub Alerts 彩色卡片,Cookie 指南链接归整为正文
- 「安全与规范」升级为「隐私与安全」:纯本地运行、不保存账号密码、Cookie 明文本地保存、不触碰日常浏览器配置
- 补充 Windows SmartScreen 拦截说明,与 macOS Gatekeeper 提示对称
- Mac 测试说明并入 macOS 下载注意事项,账号锁定警告移至账号密码登录章节
- 顶部新增 CI 状态徽章,反馈章节 emoji 改为 💬
- Flatpak/CDP 高级浏览器配置拆分至 docs/troubleshooting.md,FAQ 保留一句话答案与链接
- 向导不再只在配置缺失时触发,每次启动完整走一遍,.env/同名环境变量中的旧值作为各项默认值,连按回车即可快速启动
- VIDEO_LIST_URL 有旧值时同样作为默认值,且沿用默认值不再重复弹出链接格式警告
- 移除 .env.bak 备份逻辑;配置内容无变化时跳过写入,避免每次启动重写文件
- 同步更新向导测试与 README 中的首次运行说明
RichHandler 和视频进度条原来各用一个 Console。rich 的 Console.file
会绕过 Live 给 stdout 装的代理,直接写真实终端,所以观看视频时打出的
日志 Progress 感知不到,下次重绘会按旧位置擦行,导致日志接在进度条
行尾、部分日志行被覆盖。

现在 logger 模块提供全局 console,RichHandler 和 Progress 都使用它,
rich 会先清掉进度条、输出日志,再重新绘制进度条。
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- 开头一句话定位项目(Playwright 自动刷砺儒云视频)
- 新增真实账号安全红线:连续登录失败锁号 1 小时禁止循环重试;.env/cookies.json 是明文登录态,不得提交外传;出网仅限 Moodle 站点及其登录、视频服务
- 新增运行边界:程序跑在真实账号上,默认不启动 mise run dev、不打开或接管浏览器、不改 .env/cookies.json,实跑交给用户,验证走 mise run check 和测试
- 新增平台行为约定:进度约每 15 秒批量上报、完成以平台标记为准、播完未确认最多等 30 秒跳过,改播放/完成判断逻辑前先读 README 工作流程
flexsections 布局把大部分内容折叠到子章节,主内容区只显示当前章节,
旧选择器 li.activity 只能抓到 34 个视频。
新选择器 #courseindex li.courseindex-item 从左侧目录获取完整列表,
支持军事理论课程这样的 105 个视频的折叠布局。

感谢 https://github.com/ZnLuAr 的反馈

测试已更新以匹配新的选择器逻辑。
扫描结果原来只打印前 5 条链接并提示剩余数量,"示例链接"的说法
在全自动工具里没有意义。改为完整列出所有找到的视频链接,方便
在日志里逐条核对。
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
because I use jj, which do not trigger git hook
and hk do not ship mac intel asset, it will make CI failed
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Ship the Windows build inside a zip archive so that extracting it puts
the executable in its own folder, mirroring the tar.gz flow already used
on macOS and Linux. Update the release workflow artifact names and the
README download instructions to match.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 814becfe-aaa8-4dca-a552-b7edaa73c2cd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@renovate
renovate Bot force-pushed the renovate/mise-tools branch from ecdbf45 to 6a6123c Compare October 10, 2026 07:48
@renovate renovate Bot changed the title chore(mise-deps): update dependency typos to v1.50.3 chore(mise-deps): update dependency typos to v1.51.1 Oct 10, 2026
@YewFence YewFence closed this Oct 10, 2026
@YewFence
YewFence deleted the renovate/mise-tools branch October 10, 2026 12:27
@renovate

renovate Bot commented Oct 10, 2026

Copy link
Copy Markdown
Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (1.51.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant