77 Commits
Author SHA1 Message Date
LNP f508f97909 fix(ci): escape backticks in iOS release notes and avoid tag loop on macOS workflow v1.2.0-ios v1.2.0-macos 2026-11-09 22:30:08 +00:00
LNP 9241b772f9 chore: merge upstream v1.2.0 and preserve iOS & macOS enhancements 2026-11-09 22:05:44 +00:00
WEP-56 ee12e496ce 更新readme版权声明与维护方向 2026-11-09 10:09:07 +08:00
WEP-56 8b3a1ea9a4 readme 2026-11-09 09:58:04 +08:00
WEP-56 79827baa75 feat: add playback control lock and release v1.2.0 2026-11-09 09:53:44 +08:00
WEP 9796a0caf2 Merge pull request #21 from tznthou/fix/macos-adhoc-signing
fix(macos): 打包时对整个 .app 做 ad-hoc 签名
2026-11-09 09:51:13 +08:00
WEP 398f5970d9 Merge pull request #18 from leeguooooo/feat/ios
feat: 支持 iOS(复用移动端界面)
2026-11-09 09:42:19 +08:00
tznthou 4b2e1317c8 fix(macos): 打包时对整个 .app 做 ad-hoc 签名
未设 bundle.macOS.signingIdentity 时,Tauri 不签整个 .app,只剩 Rust
linker 对主执行文件的签名(Sealed Resources=none、Info.plist 未绑定);
universal 构建的 x86_64 slice 连这个签名都没有。

设为 "-"(ad-hoc)后整个 bundle 都会签上:两个 slice 都有
Sealed Resources、Info.plist 已绑定、Identifier 为 bundle id,
codesign --verify --deep --strict 通过。不需要证书或 secret;
ad-hoc 不等于公证。
2026-11-09 09:33:56 +08:00
leeguooooo 13f66e508c fix(ios): 播放页、首页、图文页、我的页移动端判断统一改用 isMobile 2026-11-09 10:08:49 +09:00
leeguooooo 8b85bb1af3 feat: 支持 iOS(复用移动端界面,补 iOS 构建配置与说明) 2026-11-09 10:08:49 +09:00
WEP ad20d10a19 Merge pull request #20 from kkylin-si/security-audit
播放器细节改进:默认静音、进度条定位与后台播放
2026-11-09 08:59:03 +08:00
WEP 79a98f126d Merge pull request #19 from leeguooooo/fix/prefer-ipv6
fix: 解析地址优先 IPv6,避免共享 IPv4 出口被限流时接口 502/503
2026-11-09 08:58:59 +08:00
WEP e2de0d65d7 Merge pull request #17 from leeguooooo/feat/macos-release
ci: 发布流程增加 macOS Universal dmg
2026-11-09 08:58:55 +08:00
kkylin-si 39ce410a1d fix: center macOS window controls from measured metrics
Measure the system traffic light size and default offset with a hidden
probe window, then derive trafficLightPosition.y so the buttons are
vertically centered in the 44pt titlebar. The main window is now created
in setup on macOS (create: false) so the computed position can be passed
to the builder; the config value remains as a fallback.
2026-11-08 10:40:12 -08:00
kkylin-si 6bfe0cdb80 Merge routing-rules into security-audit
Merge 4d51f7c6ed (routing rules) and
5d9701f30c (mute on startup preference).

Resolve conflicts by retaining playback activity/diagnostics and confirmed
security settings state while adding the startup mute preference.

Validation: production build with test typechecking; five headless playback
scenarios; four startup preference cases with security-state regressions;
eight consistent routing targets across Mihomo and sing-box sources.
2026-11-08 15:22:38 +00:00
kkylin-si f5e5acce3f Merge branch 'Minireel:main' into security-audit 2026-11-08 07:05:14 -08:00
kkylin-si e81c304449 Log API attempts and fail fast on terminal errors
Stamp debug logs with RFC 3339 UTC and record business request hosts and outcomes without query data. Stop retrying 404s, auth failures, and policy denials. Home and category pages load independently with retry, unfinished fragment timings stay unknown, and rewritten playlists keep the one-hour cache policy.
2026-11-08 15:02:22 +00:00
WEP-56 a33512a743 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 14:59:35 +00:00
leeguooooo 99d902ffca fix: 解析地址优先 IPv6,避免共享 IPv4 出口被限流时接口 502/503 2026-11-08 22:48:02 +09:00
leeguooooo fd54081d30 docs: 补充 macOS 未签名包的打开方法 2026-11-08 22:32:26 +09:00
leeguooooo 1a2ef06ca2 ci: 发布流程增加 macOS Universal dmg 2026-11-08 22:23:41 +09:00
kkylin-si 9eff9e7281 Ignore local AGENTS instructions 2026-11-08 13:15:31 +00:00
kkylin-si 1bf59a754c Improve playback seeking and diagnostics tests 2026-11-08 13:14:15 +00:00
LNP be877066b6 docs: 完善项目描述与 README (补充 macOS & iOS 功能与安装指南) 并正式发布 iOS Release 2026-11-08 12:18:13 +00:00
LNP a892cb15d6 fix(ios): 修复横屏全屏错位显示封面并借鉴 hghub-ios 优化全屏过渡续播与片尾连播 2026-11-08 11:24:36 +00:00
LNP 2b93b6ec8d feat(ios): single-tap clean mode, double-tap pause, and native landscape orientation 2026-11-08 10:37:42 +00:00
LNP acb2b0f858 fix(ios): stabilize HLS playback & seek, fix video dimensions/fullscreen rotation, and add pinch-to-zoom 2026-11-08 10:02:59 +00:00
kkylin-si 2e441d611e Add playback diagnostics logging 2026-11-08 04:06:26 +00:00
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
WEP 5d25b4f5a5 Merge pull request #12 from kkylin-si/security-audit
fix: 加固正文渲染与网络访问,新增严格安全模式
2026-11-08 10:07:58 +08:00
LNP e35b8adbe0 fix(ios): 激活 custom-protocol 特性并配置生产资源嵌入,防止进入 dev 模式 2026-11-07 22:16:28 +00:00
LNP 18d19b7f9d fix(ci): 升级 @tauri-apps/cli 至 2.12.4 并修复 iOS 免签名打包命令与回退逻辑 v1.1.0-ios 2026-11-07 22:07:57 +00:00
LNP adf106a575 fix(ci): 修复 iOS 自动化脚本 YAML 缩进格式 2026-11-07 22:03:33 +00:00
LNP cdb4e50f8b fix(ci): 修复 iOS 自动化打包缺少 Apple Development Team 导致的构建中断问题 2026-11-07 22:02:32 +00:00
LNP 6616a5e146 feat(ios): 适配 iOS 移动端交互与自动化打包工作流 2026-11-07 21:17:38 +00:00
LNP 7671c739c2 ci: use macos-latest runner v1.1.0-macos 2026-11-07 20:48:55 +00:00
LNP 4061be2966 ci: use macos-13 runner 2026-11-07 20:47:39 +00:00
LNP c3eee624bf ci: add macOS release build workflow 2026-11-07 20:47:07 +00:00
kkylin-si 59b6edaec4 fix: prevent idle seekbar clicks from pausing playback 2026-11-07 16:34:20 +00:00
kkylin-si 3393a8d26a docs: record security review decisions and validation 2026-11-07 15:48:52 +00:00
kkylin-si c1734fd22a fix(P3-8): avoid retrying mutating business requests 2026-11-07 15:48:01 +00:00
kkylin-si f4ce4c40f1 fix(P3-7): redact DNS addresses from diagnostics 2026-11-07 15:48:01 +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 410c2ed0ad test(P3-4): typecheck regression tests during builds 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 e68c9b82f5 fix(P3-2): retain safe HLS date-range metadata 2026-11-07 15:48:01 +00:00
kkylin-si 6dae6530e4 fix(P3-1): rewrite every HLS URI attribute 2026-11-07 15:48:01 +00:00
kkylin-si 19eddf27c4 perf(P2-5): memoize final article sanitization 2026-11-07 15:48:01 +00:00
kkylin-si efbb664a73 fix(P2-4): use persisted backend security mode as authority 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