Commit Graph

10560 Commits

Author SHA1 Message Date
jxxghp
ec7e4acfba fix(site): route API connectivity checks by site protocol (#7105) 2026-10-20 15:58:27 +08:00
jxxghp
e65e0bbd7b fix(transfer): retain boolean types across dynamic job view 2026-10-20 15:40:55 +08:00
jxxghp
842320a22c fix(site): preserve MTorrent role names and nullable share ratios 2026-10-20 15:39:06 +08:00
jxxghp
84e4abc922 fix(transfer): scope completed torrent cleanup to its own tasks 2026-10-20 15:36:41 +08:00
jxxghp
2c0f1ac976 fix(site): test MTorrent compatible sites through profile API 2026-10-20 15:33:17 +08:00
jxxghp
95606bb915 fix(transfer): keep exact byte size in 115 instant upload receipts 2026-10-20 15:25:04 +08:00
jxxghp
485dc77bc7 Merge pull request #7100 from jxxghp/chore/bump-moviepilot-rust-0.3.9 2026-10-20 14:46:28 +08:00
jxxghp
04e7cebbf7 fix(mediaserver): request production year in Emby projections 2026-10-20 14:04:09 +08:00
jxxghp
8985558932 chore: bump moviepilot-rust to 0.3.9 2026-10-20 05:48:45 +00:00
jxxghp
cdb6560b5f ci: round startup median budgets up to whole seconds 2026-10-20 13:47:44 +08:00
jxxghp
f5e2abce6e Merge pull request #7098 from flipped0119/fix/subtitle-negated-season 2026-10-20 13:34:38 +08:00
jxxghp
a0df4f5fdc Merge pull request #7097 from pcbeingused333/fix/anthropic-setup-default-model 2026-10-20 13:34:22 +08:00
flippedyizheng
4df028d49f fix(metainfo): 副标题中被否定的季集号不再识别为资源季集
与 MoviePilot-Rust 同步 Python 兜底解析:副标题季/集正则增加「不包含/不包括/不含」
否定前缀的反向断言,避免「不包含 第二季」被识别为第 2 季,导致未标季号的第一季合集
命中第二季订阅并将订阅判定完成。补充 Python 兜底解析单测。
2026-10-20 12:51:30 +08:00
jxxghp
1b62418caa fix(transfer): preserve valid u115 overwrite filenames
Keep 115 staging and backup names compatible with its rename API by retaining the target extension and a nonempty basename.

Refs #7093
2026-10-20 12:21:09 +08:00
jxxghp
c732844f46 chore(architecture): sync download notification dependencies 2026-10-20 12:18:59 +08:00
jxxghp
d0f70e45eb fix(music): strip Gazelle slash-separated release specs 2026-10-20 12:10:21 +08:00
jxxghp
80a92ddb29 fix(notification): preserve download template titles 2026-10-20 12:09:05 +08:00
paysen
1f7e91b645 fix(llm): serialize ChatGPT OAuth token refresh (#7092) 2026-10-20 11:25:52 +08:00
jxxghp
c6cfef198c fix(douban): normalize person search image URLs 2026-10-20 07:47:28 +08:00
aiapienthusiast
75ee313f4c feat(llm): add Cheaper Inference provider (#7088) 2026-10-19 23:02:38 +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
jxxghp
c85f9b262f feat(agent): isolate interactive execution from background services (#7083) 2026-10-19 18:12:05 +08:00
秋澪Akimio
8b5e536452 feat(storage): 本地复制优先尝试写时复制(reflink)并支持自动回退 (#7082) 2026-10-19 18:01:22 +08:00
JontyLee
80ce5c1186 fix(music): 重复提交守卫改按整理交付事实判定,单曲移出媒体库不再重投整包 (#7079) 2026-10-19 17:58:52 +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
379c26a300 feat(subscribe): record initial and upgrade download provenance (#7061) 2026-10-19 16:03:21 +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
3fa49db3af chore(release): publish v3.1.8 2026-10-19 13:43:32 +08:00
jxxghp
4f98486e25 fix: restore popular years and safe Transmission selection 2026-10-19 12:17:56 +08:00
Alex Castillo
a8f260b01d fix(setup): 更新 Anthropic 默认模型为 claude-sonnet-4-6
安装向导中 Anthropic 的预设模型 claude-sonnet-4-0 已于 2026-06-15 被
Anthropic 下线,在模型选择处直接回车会写入失效的 LLM_MODEL。改为
claude-sonnet-4-6;当前锁定的 langchain-anthropic 1.4.x 已有该模型的
档案(max_tokens 64000),且该模型默认不开启思考。

回退选择用例改为接受向导给出的默认模型,以覆盖预设值本身。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:04:22 -04: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
Ning Yang
3b4115957f fix(music): honor umask when publishing lyric sidecars (#7065)
歌词临时文件在原子替换前使用与其他刮削文件一致的 0666 & ~UMASK 权限,避免 TXT、LRC 和 Lyricsfile 沿用临时文件的 0600 权限,导致不同 UID 的媒体服务器无法读取。

覆盖写入同样遵循部署权限;保留链接种源保护和失败时清理临时文件的行为。

验证:198 项相关 pytest 回归通过;变更文件 Pylint、Ruff ratchet、mypy ratchet、复杂度 ratchet 和 git diff --check 通过。
2026-10-19 07:31:56 +08:00
jxxghp
05967cdc0f fix(music): sync local covers during automatic transfers (#7064) 2026-10-18 22:04:24 +08:00
DDSRem
e1b703aacc refactor(agent): centralize graph resource ownership (#7062) 2026-10-18 21:49:57 +08:00
DDSRem
54ba4f435b refactor(plugin): share dependency recovery decisions (#7060) 2026-10-18 15:29:31 +08:00
jxxghp
60d2fe418a fix(douban): preserve recommendation lists and page model contracts 2026-10-18 15:08:37 +08:00
jxxghp
9e82e476d2 chore(release): publish v3.1.7 2026-10-18 14:55:22 +08:00
jxxghp
f2b0064449 docs: refresh backend architecture overview 2026-10-18 14:41:04 +08:00
jxxghp
6ec5240b04 docs: streamline agent instructions in English 2026-10-18 14:29:25 +08:00
jxxghp
2d73cbc43e docs: drop process records and internal implementation docs
Keep only install, usage, development-workflow and architecture-boundary
documents; remove the one-off refactor plans, audits and ledgers that had
already served their purpose.

- delete docs/refactor plus the agent API surface audit generator and its
  drift-only tests; the fixed route registry remains the source of truth
- delete internal implementation notes (agent, music, notification, transfer,
  subscription activity, docker startup, V3t runtime governance)
- delete site adapter capture/release shims and the ADR records; external
  links point at MoviePilot-Site-Collector instead
- keep docs/architecture-overview.md and gate its dependency and event
  figures against the generated fixtures
- drop doc-only assertions from the architecture baseline test and retarget
  remaining references at code and rule documents
2026-10-18 14:24:49 +08:00
jxxghp
9edb92620e docs(mcp): rewrite external Agent integration guide 2026-10-18 14:12:01 +08:00
jxxghp
b12c112fe1 chore(types): gate mypy debt as exceptions and require zero new files
mypy 门禁此前只表达“只降不增”,没有把存量债务和新增文件分开:拆包迁移按目录前缀
继承额度,同包后来新增的文件可以吸收旧文件剩余额度;本地缺 types-* 桩包时,
import-untyped 与派生的 no-any-return 会被计成债务增长。

调整后口径分三层:mypy.ini 严格清单必须零错误;基线登记文件是存量例外,按文件 +
错误码设上限;基线未登记的新文件必须零诊断。

- 迁移登记改为 Migration(sources, targets),额度只转给逐一登记的接收文件。
- classify_counts 返回 RatchetDiff,新增文件、存量增长、待固化低水位分组输出。
- 缺少 types-* 时直接报环境错误并要求 uv sync --locked,不写入基线。
- 删除 7 个已消耗的迁移组,其旧路径已不在基线中。

验证:tests/test_mypy_gate.py 与 tests/test_architecture_ci.py 26 passed;
changed-file Pylint 10.00/10;Ruff ratchet、结构复杂度、mypy 严格清单与
mypy ratchet(2881 项存量)通过。
2026-10-18 13:46:37 +08:00
jxxghp
0b3c3faa93 test(community): cover invalidation and background failure recovery 2026-10-18 10:43:39 +08:00
jxxghp
9bcebc2c52 fix(community): prewarm and refresh medal snapshots in background 2026-10-18 10:37:19 +08:00