Commit Graph

2291 Commits

Author SHA1 Message Date
jxxghp
6766a0516e fix(transfer): recover legacy 115 receipts and isolate cloud copies
Validate old instant-upload receipts against frozen source bytes and the original cloud file ID before source deletion. Isolate native 115 copies before renaming, verify moved object IDs, and quarantine uncertain native operations instead of replaying them. Require explicit delete success.

Refs #7099
2026-10-20 17:33:51 +08:00
jxxghp
842320a22c fix(site): preserve MTorrent role names and nullable share ratios 2026-10-20 15:39:06 +08:00
jxxghp
95606bb915 fix(transfer): keep exact byte size in 115 instant upload receipts 2026-10-20 15:25:04 +08:00
jxxghp
04e7cebbf7 fix(mediaserver): request production year in Emby projections 2026-10-20 14:04:09 +08:00
jxxghp
c6cfef198c fix(douban): normalize person search image URLs 2026-10-20 07:47:28 +08:00
秋澪Akimio
e3d32e491b feat(storage): 本地复制支持仅限关键字参数 try_reflink 并新增实验室配置项 (#7089) 2026-10-19 22:54:43 +08:00
jxxghp
9f03157977 fix(transfer): ignore timestamps in cleanup identity checks 2026-10-19 19:09:12 +08:00
jxxghp
cfec9497f5 fix(feishu): 补充资源选择卡片的站点、大小和做种数 (#7085)
* fix(feishu): show site size and seeders in torrent cards

* chore(architecture): record Feishu size formatting dependency
2026-10-19 18:47:30 +08:00
GuanAllen
458329b3f7 fix(indexer): 透传 mTorrent、HDDolby、Yema 的站点分类 (#7080)
* fix(indexer): 站点资源页页码归一化并让 mTorrent/HDDolby/Yema 支持分类透传

站点资源页传 1 起始页码,链路按 0 起始处理,mTorrent 再 +1 后请求 pageNumber=2,
导致单页关键词搜索返回空;同时站点页选择的分类没有透传到专站适配器,
Movie/TV 预置分类互相覆盖,分类筛选不生效。

- site.py: page 传入前归一化为 max(page-1, 0)
- indexer: mTorrent/HDDolby/Yema 专站参数补充 cat
- mtorrent.py: search/async_search/__get_params 支持 cat,显式分类优先
- hddolby.py: search/async_search/__get_params 支持 cat,显式分类优先
- yema.py: search/async_search/_prepare_search_requests 支持 cat,显式分类优先

* fix(indexer): preserve browse paging and support category lists

---------

Co-authored-by: GuanAllen <guanyelin@users.noreply.github.com>
Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-10-19 18:33:28 +08:00
秋澪Akimio
8b5e536452 feat(storage): 本地复制优先尝试写时复制(reflink)并支持自动回退 (#7082) 2026-10-19 18:01:22 +08:00
JontyLee
0609ac9e01 fix(download): 复用下载器已有任务时不再重复通知与记录文件明细 (#7078) 2026-10-19 17:56:58 +08:00
jxxghp
6e5c9d0afb fix(storage): 修复 reflink 同存储回退语义与测试稳定性 (#7081)
- transhandler: 恢复同存储 copy/move 的 elif 回退语义,不再在 item 操作未命中后重复调用远端操作
- local: reflink 空源路径直接失败,避免新增 mypy 存量债务
- tests: 管道用例改为模拟克隆,系统用例改用真实能力探测,并新增不支持时严格失败的用例
- mcp: 整理历史模式说明补充 reflink
2026-10-19 17:07:02 +08:00
秋澪Akimio
114c2cebe5 feat(storage): 本地存储增加引用链接(reflink)整理方式 (#7077) 2026-10-19 16:48:41 +08:00
jxxghp
9e02d26292 fix(telegram): omit buttons without valid actions (#7074) 2026-10-19 15:47:28 +08:00
JontyLee
6b107e3538 fix(filemanager): skip subitems that vanish during local listing (#7076)
本地目录列举在枚举子项后逐项 stat,条目在 listdir 与 stat 之间被移动、
删除或成为悬空软链时 FileNotFoundError 会中断整次浏览,使文件管理与
整理链路读取该目录失败。改为逐项容错,仅跳过已消失的条目。

Co-authored-by: jianlin6 <jianlin6@jianlin6-MacBookPro.local>
2026-10-19 14:28:09 +08:00
jxxghp
4f98486e25 fix: restore popular years and safe Transmission selection 2026-10-19 12:17:56 +08:00
Aqr-K
bf4ef4214e perf(mediaserver): add caller-controlled query projections (#7068)
* perf(mediaserver): add caller-controlled query projections

* test(mediaserver): cover query projection option contracts

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-10-19 08:33:45 +08:00
jxxghp
60d2fe418a fix(douban): preserve recommendation lists and page model contracts 2026-10-18 15:08:37 +08:00
DDSRem
e0642eafa7 chore(types): reduce v3 host mypy debt (#7057)
* chore(types): clear AniList endpoint mypy debt

* chore(types): clear Douban endpoint mypy debt

* chore(types): clear recommendation endpoint mypy debt

* chore(types): clear subscription notification mypy debt

* chore(types): clear SDK string compatibility mypy debt

* chore(types): ratchet v3 host mypy across remaining files

* chore(types): reduce v3 host mypy debt and retire ledger

* chore(types): reconcile host snapshot with upstream HTTP pool

* test(types): cover host paths exposed by mypy cleanup
2026-10-18 09:37:49 +08:00
FlameSky
dd371ec4cc fix(wechat): refresh stale or rejected access_token (#7053) 2026-10-18 06:56:30 +08:00
InfinityPacer
8c52755d4e fix(plex): avoid detail reloads for continue watching 2026-10-18 01:40:55 +08:00
jxxghp
f1e09b40d0 fix(types): preserve Plex SDK return contracts 2026-10-17 20:14:11 +08:00
jxxghp
16723f03a4 fix(types): preserve Feishu notification identity boundaries 2026-10-17 20:12:48 +08:00
jxxghp
a03e620c27 fix(types): make Emby response contracts explicit 2026-10-17 20:12:48 +08:00
jxxghp
acfe477c66 fix(types): make Discord callbacks and receipts explicit 2026-10-17 20:12:48 +08:00
jxxghp
74489ca32f fix(types): make ZSpace response contracts explicit 2026-10-17 20:12:48 +08:00
jxxghp
0bde181702 fix(types): make Jellyfin response contracts explicit 2026-10-17 20:12:48 +08:00
jxxghp
bb7f7f7315 fix(types): clarify Ugreen session and media response boundaries 2026-10-17 20:12:48 +08:00
Qinghe Li
85b367527e fix(scraper): align built-in NFO results with text contract (#7049)
* fix(scraper): return NFO text from built-in providers

* test: cover type migration boundaries

* fix: silence dynamic import lint diagnostics

* test: keep coverage policy stable for nfo repair

* fix: preserve merged scraper documentation during conflict repair

---------

Co-authored-by: Derrors <derrors@local>
Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-10-17 19:53:06 +08:00
DDSRem
2de976f6b3 Merge pull request #7050 from DDSRem-Dev/codex-comment-migration
docs: 统一全项目中文注释和结构化契约说明
2026-10-17 19:26:29 +08:00
jxxghp
3c7431b7da fix(types): keep TrimeMedia complexity within gate 2026-10-17 18:29:41 +08:00
jxxghp
2faafe864f fix(types): preserve TMDB client patch seam 2026-10-17 18:29:41 +08:00
jxxghp
5180708e57 fix(types): type TrimeMedia client boundaries 2026-10-17 18:24:12 +08:00
jxxghp
7733dd7832 fix(types): type TMDB module boundaries 2026-10-17 18:24:05 +08:00
jxxghp
967780db88 fix(types): type indexer spider response boundaries 2026-10-17 18:01:20 +08:00
jxxghp
653180c8f0 fix(types): type TMDB API response boundaries 2026-10-17 17:59:13 +08:00
jxxghp
7ea9beacd3 fix(types): guard nullable U115 download stream 2026-10-17 17:40:25 +08:00
jxxghp
a36c3d7de9 Revert "fix(types): narrow U115 storage responses"
This reverts commit c4b7b3760c.
2026-10-17 17:38:34 +08:00
jxxghp
b1b6d82c33 fix(types): guard nullable AliPan streams 2026-10-17 17:17:24 +08:00
jxxghp
d8d73e2708 fix(types): guard nullable storage streams 2026-10-17 17:17:24 +08:00
jxxghp
c4b7b3760c fix(types): narrow U115 storage responses 2026-10-17 17:12:42 +08:00
jxxghp
5a79600eb4 fix(types): preserve optional rTorrent content paths 2026-10-17 16:25:56 +08:00
jxxghp
cefb0b529e fix(types): preserve Douban module response fallbacks 2026-10-17 16:24:41 +08:00
jxxghp
3f8a956321 fix(types): type Douban API response boundaries 2026-10-17 16:23:13 +08:00
jxxghp
136a094055 docs: align touched contracts with Chinese comment rules 2026-10-17 15:54:26 +08:00
jxxghp
727305e77f fix(types): preserve rTorrent module consumer contracts 2026-10-17 15:52:01 +08:00
jxxghp
4593fae19b fix(types): validate rTorrent XML-RPC response shapes 2026-10-17 15:52:01 +08:00
jxxghp
0f02f295e5 fix(types): type QQ bot API response boundaries 2026-10-17 15:23:36 +08:00
jxxghp
4e8ac06aa6 fix(types): type Ugreen API response boundaries 2026-10-17 14:58:49 +08:00
jxxghp
79665fb466 style: normalize TMDB search imports 2026-10-17 14:42:04 +08:00