Commit Graph
56 Commits
Author SHA1 Message Date
jxxghp dd6405389c refactor: route storage module settings through runtime 2026-08-23 03:12:51 +08:00
jxxghp 5128ae9e1e refactor: 推进后端分层架构治理 2026-08-18 00:29:14 +08:00
jxxghp 369d7d6448 refactor: reorganize backend module boundaries 2026-08-14 19:53:33 +08:00
jxxghp 7b3444c366 refactor backend module architecture 2026-08-14 15:45:38 +08:00
Aqr-KandAqr-K a2e70b443d fix(monitor,transfer): 修复 FUSE 挂载无响应导致的监控冻死、整理链锁死与漏件 (#6276)
* wip(v3): 移植监控与整理韧性修复到 v3 基线

包含:监控看门狗隔离/挂载探测、整理队列持久化、文件系统子进程代理、
写入原子化。迁移重挂到 v3 链 8a4c7e1d2f90 -> 7f5c1d2e3a4b -> e3d9f4b7c806。
tmdb 相关测试尚未通过,待定位。

* fix(v3): 修正移植引入的 16 项测试失败

- poller.py:合并时我方保留的行仍用旧变量名 merged_snapshot,而 v3 已统一
  改名为 current_snapshot,导致 NameError 被外层 except 吞掉、快照从未保存
- smb.py:采纳 f-string 拆分写法,恢复 Python 3.11 可解析
- dispatcher 测试:历史查重由 _should_skip_by_history 统一承担,mock 点随之调整
- tmdb 缓存测试:补充 v3 新增的 media_source/media_id 字段
- tmdb 重试测试:为 fake 补充 match_multi/async_match_multi

尚余 3 项与 v3 识别流程的连接失败处理有关,待单独判断。

* fix(v3): 测试适配 v3 的 media_source/media_id 重构

v3 将媒体标识从 tmdbid 统一重构为 media_source + media_id,recognize_media
的 tmdbid 参数已被 **kwargs 静默吞掉——传了也不生效,流程会误降级到名称搜索。
tmdb 重试用例改用新参数后恢复正确路径。

同时修正 fake 的 match_multi 语义:真实实现(tmdbapi.match_multi)吞掉所有
异常并返回 None,连接失败与「未找到」在该路径上本就不可区分,fake 需保持一致。

至此移植引入的 19 项失败全部清零。

---------

Co-authored-by: Aqr-K <Aqr-K@users.noreply.github.com>
2026-08-13 08:19:54 +08:00
okatu-loli 2bf2d89c52 fix(storages): 令牌缓存失效范围限定为当前存储凭据 2026-08-09 14:48:18 +08:00
okatu-loli 7650ec5cef feat(storages): 新增 AList 存储类型 2026-08-09 14:48:18 +08:00
jxxghp 93e907d032 fix: remove openlist directory via fs remove 2026-07-05 17:24:44 +08:00
Album a9b1f7e9c9 fix(alist): support openlist rapid upload headers (#5897) 2026-06-05 06:50:20 +08:00
jxxghp db8363fee1 fix(openlist): request full directory pages 2026-05-26 18:12:10 +08:00
jxxghp fd4d162287 fix: respect OpenList directory path contract 2026-05-20 22:28:38 +08:00
jxxghp 72ead2970c fix: tolerate delayed OpenList metadata 2026-05-20 15:53:56 +08:00
jxxghp 3ec0964a01 fix: handle OpenList delayed transfer metadata 2026-05-20 13:08:45 +08:00
jxxghp ffbe348d66 fix(openlist): paginate Alist directory listings
Fetch all OpenList/AList fs/list pages when using the default per_page=0 to avoid truncating directories at 200 entries. Add an isolated regression test for the auto-pagination behavior.

Fixes #5723
2026-05-07 13:09:28 +08:00
wumode 600b6af876 fix(openlist): transfer queue blocking 2026-03-06 23:21:43 +08:00
DDSRem d2c023081a fix(openList): openList file upload and retrieval errors
fix https://github.com/jxxghp/MoviePilot/issues/5369
fix https://github.com/jxxghp/MoviePilot/issues/5038
2026-02-22 12:05:14 +08:00
jxxghp c1bd2d6cf1 fix:优化下载 2025-09-08 09:50:08 +08:00
wumode 6c10defaa1 fix(Alist): add type hints 2025-09-04 21:08:25 +08:00
wumode b6a76f6f7c fix(Alist): 添加__len__() 2025-09-04 20:47:13 +08:00
jxxghp 918d192c0f OpenList自动延迟重试获取文件项 2025-08-24 19:47:00 +08:00
jxxghp f7cd6eac50 feat:整理手动中止功能 2025-08-24 19:17:41 +08:00
jxxghp 8fac8c5307 fix progress step 2025-08-24 16:33:44 +08:00
jxxghp 2ce1c3bef8 feat:整理进度登记 2025-08-24 12:04:05 +08:00
jxxghp a38b702acc fix alist 2025-08-10 08:46:29 +08:00
jxxghp 418e6bd085 fix cache_clear 2025-08-02 10:29:11 +08:00
wumode 68c29d89c9 refactor: polling_observer 2025-07-27 12:45:57 +08:00
jxxghp 17f4d49731 fix #4594 2025-07-13 14:24:41 +08:00
jxxghp 378777dc7c feat:弱引用单例 2025-07-08 21:29:01 +08:00
jxxghp 97cbd816fe add SMB Storage 2025-07-03 12:31:59 +08:00
jxxghp 8593a6cdd0 refactor:优化目录监控快照 2025-06-30 12:40:37 +08:00
jxxghp 562c1de0c9 aList => OpenList 2025-06-28 08:43:09 +08:00
jxxghp d8a53da8ee auto close RequestUtils 2025-06-27 08:30:57 +08:00
jxxghp 5d188e3877 fix module close 2025-06-03 17:11:44 +08:00
jxxghp e83fe0aabe fix storage logging 2025-03-25 08:34:36 +08:00
jxxghp 63049f61f7 fix typing 2025-03-24 19:14:04 +08:00
jxxghp d502f33041 fix 115 open api 2025-03-24 12:04:23 +08:00
jxxghp 71c29ea5e7 fix ide warnings 2025-03-09 18:35:52 +08:00
WingGao 3c95156ce1 fix: alist不应该缓存失败的结果 2025-02-22 15:05:04 +08:00
jxxghp 43907eea26 fix 2025-02-22 11:12:14 +08:00
Akimio521 8aed2b334e feat: 支持使用永久令牌进行认证 2025-01-25 22:31:53 +08:00
InfinityPacer 11d4f27268 feat(cache): migrate cachetools usage to unified cache backend 2025-01-18 02:12:20 +08:00
jxxghp e7c580d375 fix #3646 2025-01-06 10:28:26 +08:00
coder_wen dcaf3e6678 fix: change alist.py upload api to put, fix big file upload over memory limit #3265 2024-12-16 15:14:16 +08:00
jxxghp 96b3746caa fix alist delete 2024-11-23 21:29:08 +08:00
jxxghp 0a923bced9 fix storage 2024-11-23 12:29:34 +08:00
jxxghp 4f1d3a7572 fix #3180 2024-11-21 12:13:44 +08:00
jxxghp a3172d7503 fix 扫码逻辑与底层模块解耦 2024-11-20 20:17:18 +08:00
jxxghp de94e5d595 fix #3166 2024-11-19 20:12:27 +08:00
jxxghp 4c86a4da5f fix alist token 2024-11-17 14:07:39 +08:00
jxxghp 8dc9acf071 fix 115 2024-11-17 14:03:03 +08:00