Commit Graph

1350 Commits

Author SHA1 Message Date
jxxghp
f4fa80b702 feat(mediaserver): proxy native playback streams 2026-11-19 01:53:03 +08:00
jxxghp
a8d093c7c0 fix(auth): reject empty normalized site credentials 2026-11-19 01:08:18 +08:00
jxxghp
cf108e035e fix(site): separate connectivity from user authentication 2026-11-19 00:54:32 +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
jxxghp
1206913e07 fix(transfer): 恢复远端已移动未改名的整理任务 (#7454)
* fix(transfer): resume remote moves after partial renames

* test(agent): wait for complete subprocess handshake

* test(classification): allow CI scheduling margin
2026-11-18 18:41:19 +08:00
jxxghp
4020a14280 fix(subscribe): preserve media query failures across HTTP and servers 2026-11-18 17:18:05 +08:00
zhuek
183c8d514b test: sync host architecture baseline with hddolby import
复用 app.foundation.text.parse_bool 后新增 app.modules.indexer.spider.hddolby ->
app.foundation(.text) 两条内部导入边,按 architecture 门禁要求刷新依赖基线,
并同步 docs/architecture-overview.md 的依赖边数(10,329 -> 10,331)。
2026-11-18 13:16:51 +08:00
jxxghp
6a029e600c Merge pull request #7445 from Huyvux12/fix/issue-7444-subscribe-missing-on-media-query-failure 2026-11-18 12:51:24 +08:00
InfinityPacer
e1e2197af7 docs(subscribe): restore subscription lifecycle document
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 11:48:52 +08:00
Huyvux12
b0084dc633 fix(subscribe): keep literal dispatch calls and sync architecture baselines
CI Architecture Contract Gate failed on the first push: the variable
indirection 'dispatch = run_module_strict if ... else run_module' made the
static baseline collector lose the run_module call site for media_exists
(it only records literal self.run_module / async_run_module calls), and
the four new subscribe -> mediaserver import edges plus the new optional
parameter were not yet in the snapshots.

Keep both dispatch routes as literal calls so the baseline keeps
recording the lenient call site (run_module_strict calls are not tracked
by the collector, same as the existing strict sites in storage and
_messaging), and regenerate the host baselines plus the architecture
overview edge count for the intentional changes only:
- dependency-baseline.json: +4 edges (chain.subscribe.* -> mediaserver)
- runtime-contract-baseline.json: media_exists += raise_on_query_failure
- docs/architecture-overview.md: 10,329 -> 10,333 edges
2026-11-18 00:05:49 +00:00
jxxghp
3c8514cc67 feat(mediaserver): provide episode metadata for library search 2026-11-17 20:57:03 +08: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
c8b165537e fix(docker): enable backend native crash diagnostics 2026-11-16 20:15:53 +08:00
jxxghp
103589ab87 fix(subscribe): deduplicate subscriptions across media sources 2026-11-16 14:53:57 +08:00
jxxghp
7a030f5b21 fix(storage): 核验 115 上传回调并隔离不确定结果 (#7434)
* fix(storage): verify 115 upload callbacks before retry

Preserve uncertain completion results for manual review instead of replaying uploads. Refs #7433.

* docs: sync architecture import count
2026-11-16 11:53:10 +08:00
sloth
28e9e2e65b fix(search): 翻页失败时保留已获取的搜索结果 (#7429) 2026-11-16 07:18:17 +08:00
jxxghp
070fc18d58 fix(mediaserver): complete stream API contracts 2026-11-15 17:48:06 +08:00
jxxghp
68d4522246 feat(mediaserver): add authorized range streaming 2026-11-15 17:23:42 +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
CHANTXU64
b56af20366 fix(subscribe): 总集数裁短时整季包只下载订阅范围内的剧集
订阅只要本季前几集(如单集试看 start=1、total=1)且本季完全未入库时,
缺集仍用空列表表示缺整季。首次下载的整包优先因候选优先级为 0 被拒、
回退普通下载后,整季包不选集整包提交,例如只订第 1 集却下载 E01-E21。

- get_no_exists_info 在传入的总集数少于本季集数时写出显式目标集,
  下载链据此走拆包选集;媒体库无此剧和只有其他季两条分支一致
- 总集数存在集数与末集号两种口径,仅在两者一致(本季从第 1 集起、
  前段不断号)时写出目标集,否则保留整季标记,避免订阅被裁成空集而误判完成
- 总集数覆盖整季或大于本季集数时行为不变;插件传入较小 totals 时
  返回值由空列表变为显式集数
- 补充缺集计算与从订阅下载入口到下载器选集的回归用例

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 00:39:34 +08:00
jxxghp
da424ba918 fix(transfer): 完善显式身份识别与重规划技能契约 2026-11-15 00:14:58 +08:00
jxxghp
8122337427 fix(download): preserve recognized season and episode mapping 2026-11-14 23:35:31 +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
jxxghp
2078779397 fix(download): preserve tasks and align episode file selection (#7405)
Keep existing downloads untouched, retain unnumbered attachments and select intersecting episode videos consistently across downloaders.

Refs #7362
2026-11-13 22:26:21 +08:00
jxxghp
4580c8d4c5 fix(indexer): stabilize FluxTorrent API access (#7404)
* fix(indexer): stabilize FluxTorrent API access

* test(indexer): isolate FluxTorrent schema registration
2026-11-13 20:41:34 +08:00
jxxghp
4fa05876f8 fix(music): inherit transfer defaults for final directories (#7403) 2026-11-13 19:42:58 +08:00
jxxghp
dd15f241e3 fix(deps): update Soup Sieve to unblock dependency audit (#7402) 2026-11-13 16:37:27 +08:00
jxxghp
b6b57a30db feat(music): add manual alignment and destination controls (#7401) 2026-11-13 16:17:22 +08:00
jxxghp
d1c34c1b56 fix(storage): repair dangling symlinks during retransfer (#7398)
Preserve atomic replacement and legacy execution-step retries. Refs #7391.
2026-11-13 10:19:57 +08:00
jxxghp
647c5f4da1 fix(transfer): tolerate ctime drift on FUSE mounts (#7397) 2026-11-13 09:41:07 +08:00
gntv456
13d09bc551 docs(architecture): 同步架构总览的导入边数量
契约门禁要求文档中的依赖边数与生成 fixture 一致,随解析器新增
foundation.temporal 依赖更新为 10,123。
2026-11-12 20:50:39 +08:00
InfinityPacer
8580eb2cae fix(testing): wire site protocol and lazy module runtime in prepare_backend 2026-11-12 16:58:08 +08:00
InfinityPacer
410722b0bf docs(rules): streamline 05-architecture and align commit authorization note 2026-11-12 16:14:34 +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
e72830204c fix(download): report indirect ticket failures without blacklisting
换票无响应、HTTP 错误、配方解析失败或无有效地址时,携带脱敏诊断返回“换票失败”并交给 on_failure 上报,不再静默失败或调用 add_invalid。换票所得临时地址返回错误页或非种子内容时标记为“临时下载地址失效”,下一次重新换票;两类失败均使用 1 小时瞬时冷却。直接链接的真实损坏种子仍保留“种子数据有误”和 24 小时黑名单。诊断包含 HTTP 状态、有限错误字段摘要与是否携带 Cookie,并移除凭据和完整签名 URL。

Fixes #7372
2026-11-12 12:50:03 +08:00
jxxghp
8b152b9fb0 chore: merge latest v3 into site protocol refactor 2026-11-12 10:37:22 +08:00
jxxghp
2e495e8129 fix(scraping): honor music album track overwrite policy
按音乐标签覆盖策略对专辑曲目做批次唯一匹配,保留有歧义或身份冲突的标签,并在响应和日志中说明处理结果。

Refs #7368
2026-11-12 09:57:48 +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
b5384dc7ab docs(site): align HDArea resources with version 3.0.32
Refs #7370
2026-11-11 22:14:19 +08:00
jxxghp
18fe2ea387 feat(indexer): support HDArea REST API
Refs #7370
2026-11-11 21:53:16 +08:00
jxxghp
123b201ba9 test(architecture): record Piggo dependency graph 2026-11-11 18:54:37 +08:00
jxxghp
8dc4b08114 fix(indexer): support Piggo laboratory API (#7274) 2026-11-11 18:32:59 +08:00
jxxghp
6bc19a59cc fix(agent): protect plugin config and replay receipts (#7360) 2026-11-11 13:39:35 +08:00
ChantXu64
0200642746 fix(download): 完整覆盖整包只下载订阅范围内的剧集 (#7361) 2026-11-11 13:36:17 +08:00
jxxghp
1ec2bff817 Trae/agent s2h0 df (#7359) 2026-11-11 13:15:46 +08:00