Commit Graph

2127 Commits

Author SHA1 Message Date
jxxghp
43d50c387f fix(feishu): recover expired streaming cards with bounded retries
Reopen closed CardKit streams once and preserve monotonic sequences across recovery and finalization. Back off failed updates per card while retaining unsent Agent text.

Refs #6984
2026-10-14 12:54:29 +08:00
jxxghp
13a58be2a6 feat(notifications): render structured results by channel capabilities 2026-10-14 08:05:41 +08:00
jxxghp
b82bbcb420 fix(webhook)!: guard unknown movie paths in transfer history
Recover Jellyfin deletion paths from webhook payloads or bounded server-scoped caches. Avoid querying deleted items and preserve TV season/series lookup behavior.

BREAKING CHANGE: Movie and unspecified-type history queries without a destination now return no records unless match_all_versions=True is explicitly requested.

Refs #6988
2026-10-13 23:48:10 +08:00
jxxghp
0c640be189 fix(qqbot): reconnect when the gateway requests a new connection 2026-10-13 07:13:01 +08:00
jxxghp
04126ce63e fix(tmdb): skip image queries for unsupported recognition sources 2026-10-13 07:00:05 +08:00
jxxghp
99ef7e508b fix(indexer): support custom seeding and Unit3D bonus pages 2026-10-12 08:36:19 +08:00
jxxghp
c670432882 fix(transfer): preserve success on size overwrite decline (#6960) 2026-10-11 12:22:10 +08:00
jxxghp
b2dfde5999 fix(bangumi): use HTTPS for calendar covers 2026-10-09 23:54:47 +08:00
freeman
f3ad81b39e style: apply safe ruff auto-fixes and exempt startup late imports
Run `ruff check app tests scripts --fix` with the configured rule set
(E4/E7/E9/F/I): import sorting (I001), f-strings without placeholders
(F541), lambda/variable/unused-import cleanups that ruff marks safe.
Nine files whose only ruff debt sits next to pre-existing pylint
import-resolution errors (lazy exports, sys.path script imports) or
whose "unused" imports are reached through attribute access by tests are
left untouched so the changed-file pylint gate and the benchmark tests
stay green; their diagnostics remain in the baseline.

app/startup/lifecycle/__init__.py and app/main.py import business
modules after cache composition, import-path and stdio setup on purpose
(the source comments document the contract), so declare E402
per-file-ignores for them instead of adding per-line noqa.

Ruff ratchet watermark drops from 498 to 100; sync the baseline fixture
and the optimization checklist figure.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 13:29:09 +08:00
freeman
55d3081497 chore(douban): drop duplicated apikey literal from __post docstring
The POST helper docstring embedded a sample request that repeated the
_api_key2 constant as a hard-coded literal. Keep the key in one place
and describe the request shape instead.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 11:34:32 +08:00
WenGuoyin
e19076f482 feat(indexer): 适配 Milkie 站点搜索与连通测试
- 新增 MilkieSpider:基于 milkie.cc JSON API(x-milkie-auth 认证)的
  种子搜索与浏览,支持关键字分类收敛、服务端翻页、免费因子与
  媒体类型映射,下载链接按 API Key URL 编码拼接
- 注册 SPIDER_PARSER_CLASSES 与专用搜索参数投影
- SiteChain 新增 milkie.cc 连通性测试,401/403 判定 API Key 失效
- 补充 MilkieSpider 单元测试与同步异步参数一致性用例,同步依赖基线
2026-10-08 17:18:10 +08:00
jxxghp
656e2852f7 fix(indexer): paginate keyword results without server page support
Refs #6911
2026-10-08 13:46:57 +08:00
jxxghp
cf889ba7a0 fix(telegram): report persistent polling failures 2026-10-08 13:23:58 +08:00
ChantXu64
e5e2558585 feat(search): 订阅补全逐页搜索、断点续搜与资源页手动分页 (#6907) 2026-10-07 14:40:55 +08:00
jxxghp
43edef140f fix(indexer): fetch TNode current user before requiring an id (#6895) 2026-10-06 07:40:06 +08:00
jxxghp
a8f71f32a8 fix(jellyfin): include collection members in library queries 2026-10-06 07:32:06 +08:00
jxxghp
fa5fa33db1 fix(lyrics): normalize LRCLIB music metadata 2026-10-05 13:10:10 +08:00
LIN student
bdef005588 fix(downloader): 添加种子失败提示改用种子名称
qBittorrent、Transmission、rTorrent 添加任务失败,或添加后查不到任务时,
提示文本直接拼接 content。经过 _get_torrent_info 之后,种子文件的 content
已经是 bytes,于是日志、消息通知和下载失败记录里都会出现整段二进制 repr
(种子较大时有数万字符),失败原因无法阅读。

改为种子文件使用种子名称,磁力链接保留原文。提示前缀不变,现有多语言模板
仍能匹配。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 19:01:22 +08:00
jxxghp
03a285a2a6 fix(wechat): proxy douban notification images 2026-10-04 16:19:58 +08:00
jxxghp
3f206171e7 fix(feishu): apply image referer and proxy policy
Refs #6879
2026-10-04 12:23:08 +08:00
jxxghp
378944aeba fix(indexer): support XML feeds in site search 2026-10-03 23:47:04 +08:00
jxxghp
610ef82270 Merge origin/v3 into PR branch 2026-10-03 09:00:49 +08:00
jxxghp
db4e898005 style(monitor): normalize snapshot imports 2026-10-03 08:47:31 +08:00
jxxghp
66e791603c fix(monitor): type snapshot reconciliation state 2026-10-03 08:43:31 +08:00
jxxghp
cac298fd02 fix(monitor): keep snapshot reconciliation within complexity budget 2026-10-03 08:33:15 +08:00
jxxghp
118e2ef933 fix(notification): align scoped recipient routing 2026-10-03 01:00:21 +08:00
thsrite
33f17fad2e fix(vyo): load servers using the persisted configuration type 2026-10-02 19:33:23 +08:00
jxxghp
97b251ed72 chore(parser): preserve existing ruff baseline 2026-10-02 17:04:41 +08:00
jxxghp
e1d1de1ee7 fix(parser): keep Unit3D username as user id 2026-10-02 17:00:41 +08:00
jxxghp
3726ca078a fix(mediaserver): isolate cached item ids by server (#6850) 2026-10-01 17:07:23 +08:00
ranzhigg
1965cc4de7 perf(monitor): index incremental snapshot reconciliation 2026-10-01 15:49:12 +08:00
jxxghp
ef967e68e7 fix(indexer): satisfy subtitle API type gates 2026-10-01 12:44:03 +08:00
jxxghp
58ec86b586 fix(indexer): use M-Team subtitle search API 2026-10-01 12:29:28 +08:00
jxxghp
e35bedc184 Merge pull request #6843 from cwd0204/fix/smb-snapshot-recovery 2026-09-30 22:23:18 +08:00
freeman
ed0460fc8b fix(smb): keep remote snapshots complete and recoverable 2026-09-30 21:19:41 +08:00
thsrite
4395ddecf2 feat(mediaserver): 内置媒体服务 MediaVault 更名为 Vyo
主项目更名为 Muvyo,内置媒体服务更名为 Vyo。模块目录、文件、类名、模块 ID、枚举、
名称描述、日志与文档统一改为 Vyo;配置类型值 mediavault 保持不变,
已保存的媒体服务器配置无需迁移。
2026-09-30 19:46:09 +08:00
jxxghp
0678a17364 fix(music): reject conflicting recording and album identities 2026-09-30 16:18:09 +08:00
InfinityPacer
4847813ca7 feat(sdk): expose Feishu event long connection to plugins
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:39:30 +08:00
InfinityPacer
437b232773 perf(feishu): replace lark-oapi with lightweight OpenAPI and long-connection clients
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:59:42 +08:00
jxxghp
8fbf1cbe54 feat(music): honor explicitly selected release editions 2026-09-30 14:46:48 +08:00
InfinityPacer
4bd7e3dc04 perf(webpush): send Web Push with http-ece and py-vapid instead of pywebpush
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 13:20:00 +08:00
jxxghp
0833169781 fix(smb): restore multi-share capacity and diagnose unmapped paths 2026-09-30 13:12:25 +08:00
jxxghp
9b054bdf0c feat(music): preserve classical credits and verify performance evidence 2026-09-30 12:55:21 +08:00
jxxghp
72fcd8413a fix(music): verify artist aliases and preserve ambiguous identities 2026-09-30 11:42:23 +08:00
InfinityPacer
fb9d0204b6 perf(telegram): replace pyTelegramBotAPI with a lightweight Bot API client
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 11:36:30 +08:00
jxxghp
ee9fbf2264 feat(smb): mount multiple shares in one storage service 2026-09-30 11:27:24 +08:00
jxxghp
3a5486ae0d feat(music): add bounded source fallback and verified album matching 2026-09-30 10:50:09 +08:00
jxxghp
61e9ef7d8e fix(transfer): organize remote downloads on the SMB server 2026-09-30 10:36:56 +08:00
jxxghp
3a7b0c1efc feat(music): validate bounded fingerprint candidates and recover failed lookups 2026-09-30 07:42:38 +08:00
jxxghp
54591ac50e feat(music): bound recognition requests and make lookup caches recoverable 2026-09-30 05:15:14 +08:00