Commit Graph

11006 Commits

Author SHA1 Message Date
jxxghp
358fd2bfe5 fix(site): restore clear connectivity test success message 2026-11-24 08:20:42 +08:00
jxxghp
fda8d5cbb3 fix(module): harden service hot-reload isolation, recovery, and health diagnostics (#7569) 2026-11-23 23:55:44 +08:00
jxxghp
dc9b8252f8 test(download): cover TMDB identity conversion fallback and multi-season branches (#7566) 2026-11-23 22:46:27 +08:00
jxxghp
ef96de6518 test(widget): align auth and snapshot clocks in dependency assembly test
Use the real assembled WidgetAuthService instance instead of the frozen-clock fixture auth in test_widget_dependency_assembly_and_absent_capability so credentials issued against wall clock do not expire after 2026-11-23.
2026-11-23 22:38:02 +08:00
jxxghp
b6e0daff0d feat(download): convert manual downloads to TMDB primary identity (#7566)
Reuse cross-source TMDB projection and full recognition across manual download API and interactive messaging paths when RECOGNIZE_SOURCE=themoviedb, preserving TV season/episode/episode_group checks, external ID and origin_media traceability, warning fallback on mismatch, and post-ResourceDownload context sync.
2026-11-23 22:31:52 +08:00
jxxghp
6201565019 feat(music): add automatic album track alignment setting MUSIC_TRACK_MATCH (#7436) 2026-11-23 20:50:25 +08:00
jxxghp
af4bf69aa4 fix(transfer): align preview endpoint with host concurrency and schema export gates 2026-11-23 20:49:17 +08:00
jxxghp
a2fdadeb02 feat(transfer): add name and target directory preview endpoint for recognition test 2026-11-23 20:22:32 +08:00
jxxghp
4c8c45c8c8 fix(messaging): restore traditional media interaction for approved channel members when agent is disabled 2026-11-23 20:08:09 +08:00
flippedyizheng
d5794b6d51 fix(metainfo): override bare-digit episode guess on explicit SxxEyy (#7562) 2026-11-23 19:15:11 +08:00
InfinityPacer
48ebbb78c5 test(llm): cover generic openai and anthropic endpoint model discovery 2026-11-23 18:20:10 +08:00
InfinityPacer
15066d5fe5 feat(llm): add generic anthropic-compatible provider and prune relay catalog 2026-11-23 18:20:10 +08:00
JontyLee
1f3644ada2 feat(agent): add read-only read_log tool (#7273)
* feat(agent): 新增日志只读诊断会话与 read_log 工具

日志页需要一键呼叫智能助手分析日志,且 AI 在用户确认前不得执行修复。
诊断请求通过 diagnostic 标记进入只读会话:工具与中间件按白名单裁剪
(read_log/read_file/query_doctor_report/read_tool_result/update_plan),
并追加诊断提示词;read_log 仅允许读取 LOG_PATH 下的 .log 文件。

* chore(architecture): 复核登记 read_log 工具的类型例外与依赖基线

按既有 async-tool-run 模式为 ReadLogTool.run 登记唯一 override 豁免,
同步依赖基线新增的 11 条边与模块计数,并更新架构总览引用的快照数字。

* refactor(agent): 按评审意见撤除诊断会话侵入,改为提示词软限制

维护者要求智能体保持通用能力、分支场景用提示词约束,不建议在主流程落代码。
本提交将 #7273 中贯穿 schemas、API、WebAgent 流、会话队列与编排器的
diagnostic 只读会话标记、工具/中间件白名单裁剪及对应测试全部撤除,
回到 v3 基线的通用链路;保留与主流程无关的通用 read_log 只读日志工具
及其注册、策略登记、工具测试、文档与架构基线。日志诊断的"只分析、
不执行修复、等确认"约束改由前端提示词表达。

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-23 17:51:04 +08:00
txltedXgod
cb9c7646b9 fix(meta): prioritize Fin episode range over subtitle period label (#7380)
Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-23 17:43:56 +08:00
jxxghp
9640182515 fix(modules): parenthesize multi-exception clauses in plex and ugreen 2026-11-23 17:35:54 +08:00
jxxghp
fa9416d652 Merge pull request #7559 from jxxghp/chore/bump-moviepilot-rust-0.3.15 2026-11-23 17:16:58 +08:00
jxxghp
050e377cd1 chore: bump moviepilot-rust to 0.3.15 2026-11-23 09:14:59 +00:00
flippedyizheng
f4f5930ad5 fix(metainfo): ignore 8-char hex CRC32 checksums in video parsing (#7558)
Strip bracketed 8-character hexadecimal CRC32 checksum tags (containing
both digits and hex letters) and skip unbracketed CRC32 tokens in
MetaVideo so checksums like [B7858E21] are not misparsed as episode E21.

Refs #7557

Co-authored-by: Claude Code <noreply@anthropic.com>
2026-11-23 17:01:08 +08:00
iamchq
778bde05b7 fix(metainfo): preserve single zero title token in python fallback parser (#7556)
* fix(metainfo): keep single zero sequel token in python fallback parser

对齐 jxxghp/MoviePilot-Rust#26(已随 0.3.14 发布):片名结尾的单个 0 在前一个词元
不是纯数字、且后继是季、集或四位年份时必须保留,2.0 音轨分数与 01 序号仍丢弃。
新增 Tokens.prev() 供前驱判定使用,并补充加速器与兜底入口的成对期望值。

* test(metainfo): cover Tokens.prev cursor offset

补上覆盖率棘轮要求:直接断言 cur() 是后继、prev() 是前驱,覆盖空前驱分支。
2026-11-23 16:45:17 +08:00
jxxghp
4406bdafaa test(download): cover pending confirmation branches and sync startup baseline
- 同步 startup-performance-baseline.json 新增 4 个待确认宿主模块的冷导入计数
- 补充电视剧同源/异源待确认扣减与封锁、电影/音乐治理拒绝报告及订阅延迟确认结算回归测试,补齐 batch/selection/completion 存量覆盖率水位

Refs #7551
2026-11-23 15:31:37 +08:00
jxxghp
b22ba45a3c fix(download): guard unconfirmed downloader admissions against duplicate retries
严格区分“下载器明确拒绝”与“添加已受理但任务信息尚未确认”,解决 qBittorrent/rTorrent 异步队列积压导致确认超时后,订阅连续提交多个重复版本且缺少下载历史的问题:

- 新增待确认下载契约、confirm_pending_download 模块能力及 downloadpending 恢复状态表与迁移
- qBittorrent 临时标签轮询超时后按已知 v1/v2 infohash 兜底识别,并三下载器统一支持延迟落地确认与暂停选集补收尾
- 下载链遇到未确认状态时持久化脱敏待确认记录、不计普通失败冷却,并按电影/音乐整体或电视剧季/集精确阻断同目标换源
- 订阅搜索/匹配/刷新与整理扫描前自动核对待确认记录:任务出现后幂等补记下载历史并收敛订阅状态,查询出错绝不误释放,仅超期且明确未找到或被拒绝时释放
- 补齐 20 项回归测试并同步架构、导出清单与数据库技能文档快照

Refs #7551
2026-11-23 15:21:32 +08:00
InfinityPacer
f389af95cf fix(download): skip disabled default downloaders and clarify missing instance errors 2026-11-23 14:55:23 +08:00
jxxghp
a6cf75466f fix(download): project IMDb identity to TMDB when adding downloads
补充 IMDb -> TMDB 身份投影(经 TMDB /find/{imdb_id} 精确查找并补全本地化详情),并在 RECOGNIZE_SOURCE=themoviedb 时于 /api/v1/download/add 将 IMDb 及站点资源自带的非 TMDB 线索优先转换为 TMDB 主身份,转换或识别失败时无污染回退原来源;同步扩展订阅元数据巡检对 IMDb 身份的重试转换。

Refs #7550
2026-11-23 14:45:40 +08:00
jxxghp
68e62a007b test(agent): cover background principal and WebAgent API permission edge cases 2026-11-23 10:46:16 +08:00
jxxghp
448e6a39e4 fix(architecture): satisfy concurrency, ruff, and architecture overview gates 2026-11-23 10:39:56 +08:00
jxxghp
e13da2b8a8 chore(release): publish v3.2.11 2026-11-23 10:32:07 +08:00
jxxghp
63e9ee796f fix(agent): align locale, evaluation harness, complexity, and dependency baseline 2026-11-23 10:32:06 +08:00
jxxghp
cc0ebd9252 feat(agent): enforce real-time per-user permissions for WebAgent and Web chat 2026-11-23 10:20:41 +08:00
jxxghp
e435fea7ab refactor(fanart): extract image language recording helper to satisfy complexity ratchet 2026-11-23 09:31:18 +08:00
jxxghp
2d63975b5b feat(media): record logo_language metadata and expose TMDB_LOCALE in user global settings 2026-11-23 09:22:59 +08:00
jxxghp
f93e134157 fix(database): skip non-integer IDs in PostgreSQL sequence migration 2026-11-23 08:29:51 +08:00
Aditya
14ad316e37 fix(music): strip HDDolby transfer spec tails from slash chains (#7547) 2026-11-23 06:51:06 +08:00
jxxghp
d505f0b620 chore: bump moviepilot-rust to 0.3.14 2026-11-23 01:00:16 +08:00
necrosn
c90d626228 feat(indexer): support ColaPT open API (#7545) 2026-11-23 00:29:11 +08:00
jxxghp
ee33c0c08c chore(release): publish v3.2.10 2026-11-22 22:14:44 +08:00
jxxghp
7db6867cb7 fix(site): trim site UA/header fields and surface invalid header errors (#7535) 2026-11-22 21:41:23 +08:00
flippedyizheng
92c2df0965 fix(meta): confine episode offset replacement to non-greedy locator spans (#7542)
Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-22 21:36:30 +08:00
flippedyizheng
e72870312d fix(rules): preserve caller group_names order in get_rule_group_by_media (#7541)
Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-22 21:33:34 +08:00
jxxghp
7035807a67 fix(mediaserver): align browse modules with architecture, lint, locale, and coverage gates 2026-11-22 21:02:24 +08:00
jxxghp
ba067ba9e2 feat(fanart): fallback to TMDB ID with source=tmdb for TV queries (#7537) 2026-11-22 20:29:40 +08:00
jxxghp
a3f28835cf feat(mediaserver): support BoxSet/Collection libraries and parent_id child browsing 2026-11-22 20:26:36 +08:00
AL Global
3c292530f6 Rename UberLLM to MartLLM (#7536) 2026-11-22 19:03:43 +08:00
jxxghp
bdbaf29429 feat(mediaserver): add unified browse, filter, 3-level detail, track selection, and progress APIs across all media servers 2026-11-22 18:15:47 +08:00
jxxghp
253844192a feat(sdk): expose browser queue status and cancellation contracts (#7532) 2026-11-22 14:27:07 +08:00
jxxghp
1a2fa8e013 fix(fanart): deduplicate missing artwork warnings per media (#7531) 2026-11-22 14:25:08 +08:00
jxxghp
19768ae204 fix(plugin): partition single-repo index fetch gate from full market scan 2026-11-22 14:12:29 +08:00
逗猫
ff84dcdfe2 fix(ugreen): fix dual-mode media lookup, item queries, and session isolation (#7523)
* fix(ugreen): fix dual-mode media lookup, item queries, and session isolation

* fix(ugreen): update stale item_id test and handle 200 fallback status

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-22 13:56:36 +08:00
alexcastgonz
9b4e6b98d6 fix(plugin): normalize nested history values from third-party market indexes (#7534) 2026-11-22 13:37:32 +08:00
Бат-Орших
0ce462c7f3 fix(site): keep multi-level site domains when adding or saving sites (#7533) 2026-11-22 13:36:46 +08:00
jxxghp
820715f79f fix(i18n): add translations for missing WebPush VAPID public key message 2026-11-22 13:00:08 +08:00