Commit Graph

603 Commits

Author SHA1 Message Date
InfinityPacer
15066d5fe5 feat(llm): add generic anthropic-compatible provider and prune relay catalog 2026-11-23 18:20:10 +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
jxxghp
7db6867cb7 fix(site): trim site UA/header fields and surface invalid header errors (#7535) 2026-11-22 21:41:23 +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
19768ae204 fix(plugin): partition single-repo index fetch gate from full market scan 2026-11-22 14:12:29 +08:00
jxxghp
b4a6dd4846 fix(webpush): remove hardcoded VAPID keys and expose runtime public-key API 2026-11-22 12:54:30 +08:00
ChantXu64
b8c3465de6 fix(download): 同一季包已有任务时按目标追加选集,确认受理后再结算 (#7505) 2026-11-21 06:11:05 +08:00
jxxghp
6d9e5f3dc9 fix(indexer): adapt starspace user data and RSS pages (#7495) 2026-11-20 12:08:51 +08:00
ChantXu64
c36382acec feat(media): 详情页按需查找 TMDB 链接 (#7492) 2026-11-20 09:42:12 +08:00
jxxghp
586c64ede1 feat(notification): 统一各渠道图片与文件发送协议 (#7491)
统一插件媒体协议与宿主图片/文件适配,保留路由、说明和既有海报行为;补齐企微智能机器人素材上传,增加跨渠道回归覆盖。
2026-11-20 07:54:37 +08:00
jxxghp
ae0d7686f6 fix(plugin): summarize market index probes per refresh
Refs #7482
2026-11-20 07:35:52 +08:00
Huyvux12
50d41664ee fix: Web 智能助手插件按钮回调被 Agent 选择校验拦截 (#7488) (#7489) 2026-11-20 06:39:09 +08:00
jxxghp
79bd394325 feat(agent): enable central knowledge through laboratory switch 2026-11-19 17:57:38 +08:00
jxxghp
15cc71081e feat(agent): add ephemeral knowledge tools 2026-11-19 17:42:40 +08:00
jxxghp
76036599c5 feat(agent): prepare central knowledge client 2026-11-19 17:42:40 +08:00
jxxghp
378156b1e6 fix(search): verify year evidence for TV alias conflicts 2026-11-19 04:58:20 +08:00
jxxghp
8ff2d5d857 Merge pull request #7459 from ranzhigg/fix/global-series-identity-match 2026-11-19 04:37:05 +08:00
jxxghp
cf108e035e fix(site): separate connectivity from user authentication 2026-11-19 00:54:32 +08:00
ranzhigg
545a879f7a fix: disambiguate yearless TV aliases 2026-11-19 00:54:22 +08:00
jxxghp
d9f64f3043 fix(plugin): fall back from invalid market mirrors (#7464)
* fix(plugin): fall back from invalid market mirrors

* fix(plugin): satisfy market API gates
2026-11-19 00:34:17 +08:00
Huyvux12
ea4d3cadac fix(subscribe): do not treat media library query failure as missing episodes
A single media library read failure made the whole season look missing:
Jellyfin/Emby get_tv_episodes returns (None, None) on failure and
(None, {}) when not found, but media_exists merged both into None, so
get_no_exists_info wrote a whole-season missing marker and the subscribe
chain re-downloaded episodes that were already archived.

Distinguish the two cases with MediaServerQueryError and an opt-in
raise_on_query_failure flag (default off, TV only): the strict path
raises through run_module_strict instead of being swallowed by lenient
dispatch, and the four subscribe entries skip the round without writing
missing state. Plex cannot distinguish failure from not-found and stays
unchanged; movie/music services are unaffected.

Closes #7444
2026-11-17 22:49:15 +00:00
jxxghp
914481ad2d feat(auth): unify notification channel authorization 2026-11-17 01:36:08 +08:00
jxxghp
bb1ced76ce feat(media): 共享并缓存非 TMDB 到 TMDB 的转换关系 (#7440)
* feat(media): reuse shared source to TMDB mappings

* test(media): cover shared target fallback and invalid reports
2026-11-16 22:35:21 +08:00
jxxghp
103589ab87 fix(subscribe): deduplicate subscriptions across media sources 2026-11-16 14:53:57 +08:00
jxxghp
68d4522246 feat(mediaserver): add authorized range streaming 2026-11-15 17:23:42 +08:00
jxxghp
30edd8ec10 fix(transfer): allow one manual AI replan beyond retry budget (#7425) 2026-11-15 08:27:12 +08:00
CHANTXU64
6f8a04abeb fix(subscribe): 手工末集号按实际集号裁剪缺集,整季记账只移除已下载的季
上一提交只在本季从第 1 集起且前段不断号时写出目标集;断号季和累计编号季
仍按缺整季处理,例如订阅 E01–E11 时整包连范围外的 E12 一起提交,
订阅 E13–E18 时含 E13–E24 的整包又因文件数少于末集号被拒。

- 订阅总集数为手工指定时,get_no_exists_info 按季内末集号计算目标范围
  (新增仅限关键字参数 totals_are_episode_numbers,默认行为不变),
  覆盖累计编号与断号;范围内 TMDB 尚未列出的集继续等待补集
- update_no_exists_seasons 只移除本次成功下载的季,不再连带清掉
  其他季的显式缺集
- 非正数总集数按未设置处理,避免空目标切片导致缺集查询中断
- 合并缺集计算的两条分支,get_no_exists_info 复杂度由 23 降到 17,
  同步下调复杂度基线

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 00:39:34 +08:00
jxxghp
8122337427 fix(download): preserve recognized season and episode mapping 2026-11-14 23:35:31 +08:00
jxxghp
b339a7452b fix(transfer): preserve zero episode numbers during offset 2026-11-14 23:23:14 +08:00
jxxghp
ec12c15ecd fix(rss): recover missing and expired site feeds safely 2026-11-14 14:16:41 +08:00
jxxghp
07482e1321 fix(classification): prioritize children's TV categories 2026-11-14 11:11:46 +08:00
jxxghp
8d70d84333 perf(subscription): optimize automatic refresh scheduling 2026-11-14 10:24:22 +08:00
jxxghp
7f5e38abf8 fix(plugin): reduce metadata and icon loading latency (#7407) 2026-11-14 00:58:05 +08:00
flippedyizheng
e9bc8ee2da fix(site): defer long local throttle waits instead of sleeping (#7399) 2026-11-13 12:20:18 +08:00
jxxghp
bbc7795230 fix(filter): migrate legacy rule IDs and diagnose invalid groups
Refs #7383
2026-11-12 13:04:36 +08:00
jxxghp
ad7f4a37ba refactor(indexer): move site-specific protocols into modules 2026-11-12 09:57:27 +08:00
jxxghp
a0e27c4424 feat(indexer): map Piggo resource labels
Resolve site labels from the Piggo catalog and dispatch connectivity, ticket parsing, and throttling through indexer capabilities.
2026-11-12 06:45:16 +08:00
jxxghp
8dc4b08114 fix(indexer): support Piggo laboratory API (#7274) 2026-11-11 18:32:59 +08:00
jxxghp
9323f00510 docs(agent): clarify config safeguards 2026-11-11 13:51:21 +08:00
jxxghp
6bc19a59cc fix(agent): protect plugin config and replay receipts (#7360) 2026-11-11 13:39:35 +08:00
jxxghp
7e1ac758d7 fix(transfer): make lyric suffixes configurable 2026-11-10 19:38:27 +08:00
jxxghp
ab608d45b9 fix(browser): use pre-license CloakBrowser release 2026-11-10 18:26:57 +08:00
jxxghp
a4ccd86d85 fix(torrent): support traditional first-download prompts 2026-11-10 07:05:07 +08:00
jxxghp
252d05767f feat(browser): add queued CloakBrowser watchdog recovery 2026-11-09 17:24:32 +08:00
ChantXu64
4620ceacda feat(mediaserver): 入库查询返回条目所属服务器 (#7332) 2026-11-08 11:56:02 +08:00
jxxghp
8e9e89c636 fix(image): request media thumbnails with identity-aware caching (#7326) 2026-11-07 20:51:05 +08:00
jxxghp
41516bbc29 fix(plugin): cache static resources and rating snapshots (#7324) 2026-11-07 19:44:33 +08:00
InfinityPacer
0851b373d2 fix(rss): update HDChina RSS link discovery for its reopened site
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 01:17:07 +08:00
jxxghp
b3a422818a fix(agent): defer history compatibility imports until detail reads 2026-11-06 22:33:01 +08:00
jxxghp
db07e6ff0f fix(agent): preserve choice receipt timestamps
Refs #7314
2026-11-06 22:23:37 +08:00