Commit Graph
12 Commits
Author SHA1 Message Date
WEP-56 18555dd25b test: 移除硬编码时效 URL,联网测试改为 #[ignore]
media::tests::playlist_rewrite_works 里硬编码了带 auth_key 签名的真实 HLS 地址,
签名于 2026-11-03 18:08 过期后上游返回 403,导致在干净检出上 `cargo test --lib`
稳定失败:

    not a playlist: HTTP 403 Forbidden

cover_decrypt_works 的封面地址同样带时效签名(2026-11-03 20:08 过期),只是那台
CDN 未真正校验才侥幸通过。

- playlist_rewrite_works 改为纯离线测试,用同构 fixture 直接断言 rewrite_playlist
  契约:分片绝对化并保留查询串、#EXT-X-KEY 的 URI 同样走本地代理、不留相对 URI
- 新增 cover_decrypt_roundtrip:用内置 IMG_KEY/IMG_IV 反向构造密文,离线覆盖
  aes_cbc_decrypt -> strip_padding -> image_kind 全链路
- live_play_chain / cover_decrypt_works / mirrors_live / probe_live / diag
  标记 #[ignore],改为 `cargo test --lib -- --ignored` 显式运行
- cover_decrypt_works 的地址改从 HGHUB_TEST_COVER_URL 读取,不再入库
- README 的 Rust 版本对齐 rust-version 1.90;docs/security.md 同步验证命令

验证:cargo test --locked --lib -> 28 passed / 0 failed / 5 ignored
      cargo check --locked --lib -> 通过
2026-11-08 10:42:32 +08:00
kkylin-si 3393a8d26a docs: record security review decisions and validation 2026-11-07 15:48:52 +00:00
kkylin-si 9622b8c7d7 fix(P3-5): align reserved IPv4 screening and verify IPv6 policy 2026-11-07 15:48:01 +00:00
kkylin-si 9d5597b635 fix(P3-3): preserve ordered-list start attributes 2026-11-07 15:48:01 +00:00
kkylin-si 58ec4b56a6 docs(P2-3): explain NAT64 and DNS64 compatibility limits 2026-11-07 15:48:01 +00:00
kkylin-si d3c4094cf2 perf(P2-2): cache validated pinned clients for 30 seconds 2026-11-07 15:48:01 +00:00
kkylin-si 54511e0506 fix(P1-1): open Windows article links without cmd 2026-11-07 15:48:00 +00:00
kkylin-si f6146c3ea3 fix: 加固正文渲染并支持严格安全模式切换 2026-11-07 06:34:41 +00:00
kkylin-si 037f2e52ad fix: 加固正文渲染、网络访问和账号凭据隔离 2026-11-06 18:20:51 -08:00
WEP-56 88eaa811f4 修复部分问题 2026-11-05 10:02:57 +08:00
WEP-56 e8856d1930 fix(player): 图文入口常驻 + 吃瓜帖子互动接口
- 无视频帖的「查看图文详情」不再加载期闪现,改为确认无 video_url 后展示
- 带视频的吃瓜帖在右侧栏常驻「图文」入口,可查看图集正文
- 新增 posts 点赞/收藏/评论命令与文档
2026-11-03 22:24:41 +08:00
WEP-56 ea2bc9a0c8 feat: HGhub 黄果短剧客户端首个开源版本
- Tauri 2 + React 19 + TypeScript + Tailwind 4 双端客户端(Windows / Android)
- 沉浸式竖屏播放页:简介展开、右侧操作栏、选集停靠面板、播放器(倍速/画中画/影院/全屏)
- 分类 / 排行榜 / 搜索 / 收藏 / 观看历史,吃瓜图文与视频混排阅读
- Rust 侧:边缘信封请求、封面 AES 解密、HLS 代理与缓存、会话持久化
2026-11-03 22:16:53 +08:00