Commit Graph
86 Commits
Author SHA1 Message Date
jxxghp 5128ae9e1e refactor: 推进后端分层架构治理 2026-08-18 00:29:14 +08:00
jxxghp 7e851dbfa7 refactor(chain): 处理链功能域 mixin 化,清理未使用导入并根治兼容层循环导入
- ChainBase 拆分为 RecognitionMixin/MessageProcessingMixin/NotificationMixin
- TransferChain 拆分为 7 个功能 mixin(_mixins.py),SubscribeChain 音乐订阅域拆出 _music.py
- 斜杠命令交互四件套收敛为 InteractionChainMixin 委托,会话管理器移至 application 层,chain 层不再 re-export
- 模块基础类收敛到 app/modules/_base(notification/mediaserver 语义重命名)
- 清理 app/chain/__init__.py 24 个未使用导入,修正 49 处测试 patch 目标到实际命名空间
- 兼容层 legacy 符号不再并入 __all__,根治 schemas 初始化反向拉起 application.transfer 的循环导入
- 修复 bangumi 集数为字符串时 set_bangumi_info 抛 TypeError
- 新增重复代码等架构门禁测试;capability 清单校验排除下划线内部目录
2026-08-16 16:30:16 +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
jxxghp 8bf2f601a6 refactor(media): unify source identity and music browsing 2026-08-12 12:56:40 +08:00
jxxghp 1fc255b8a7 fix(music): complete subscription lifecycle 2026-08-10 07:21:06 +08:00
jxxghp 415ccda6a2 feat(v3): enhance music server integration with Navidrome support 2026-08-08 12:57:09 +08:00
InfinityPacer 197a09b2a4 fix(dashboard): distinguish empty media results (#6187) 2026-07-25 14:24:25 +08:00
kuke2733 229824a417 feat(subscribe): merge mediaserver library entries into files info (#6131) 2026-07-16 17:36:56 +08:00
InfinityPacer 893269f8c1 fix(modules): serialize configuration reload lifecycle (#6122) 2026-07-15 17:28:49 +08:00
jxxghp 9eb71c744b feat(mediaserver): add item count retrieval for various media servers 2026-06-29 10:45:10 +08:00
Attente ca5ec8af0f feat(config): 优化配置变更事件处理机制 2025-11-27 23:17:34 +08:00
jxxghp 1f44e13ff0 add reload logging 2025-06-23 10:14:22 +08:00
jxxghp 13f9ea8be4 v2.5.3 2025-06-05 20:28:43 +08:00
jxxghp bbfd8ca3f5 fix Config reload 2025-06-03 23:08:58 +08:00
jxxghp b4ed2880f7 refactor:重构配置热加载 2025-06-03 20:56:21 +08:00
jxxghp 5d188e3877 fix module close 2025-06-03 17:11:44 +08:00
景大侠 20b145c679 继续修复媒体缺失问题 2025-03-30 02:41:24 +08:00
jxxghp f9b0db623d fix cython type error 2025-03-23 21:39:37 +08:00
jxxghp 2f38b3040d fix:修复代码兼容性写法 2025-03-23 12:10:21 +08:00
jxxghp 61d7374d95 fix ide warnings 2024-12-23 16:58:04 +08:00
Aqr-K 825fc35134 feat(modules): 增加子级 type 分类。
- 在 `types` 里,针对各个模块的类型进行子级分类。
- 为每个模块统一添加 `get_subtype` 方法,这样一来,能更精准快速地区分与调用子类的每个模块,又能获取 ModuleType 所规定的分类以及对应存在的子模块类型支持列表,从而有效解决当下调用时需繁琐遍历每个 module 以获取 get_name 或 _channel 的问题。
- 解决因消息渠道前端返回所保存的 type 与后端规定值不一致,而需要频繁调用 _channel 私有方法才能获取分类所可能产生的问题。
2024-12-03 14:57:19 +08:00
InfinityPacer ef20508840 feat(auth): handle service instance retrieval with proper null check 2024-11-30 01:14:36 +08:00
InfinityPacer 589a1765ed feat(auth): support specifying service for authentication 2024-11-30 01:04:48 +08:00
jxxghp 7e6ef04554 fix 优化媒体服务器图片获取性能 #2993 2024-11-05 18:21:08 +08:00
jxxghp 08aa5fe50a fix bug #2993 2024-11-05 10:07:25 +08:00
jxxghp df8531e4d8 fix #2993 格式错误和传参警告 2024-11-03 19:51:43 +08:00
Akimio521 6801032f7a fix: 避免在匿名环境下暴露Plex地址以及Plex Token 2024-11-02 16:18:17 +08:00
Akimio521 a59d73a68a feat(PlexModule): 实现获取媒体服务器最新入库条目的图片 2024-11-02 14:17:52 +08:00
InfinityPacer 874572253c feat(auth): integrate Plex auxiliary authentication support 2024-10-23 20:11:23 +08:00
jxxghp 363f12ed5a refactor:Module加入执行优先顺序 2024-10-19 19:31:25 +08:00
jxxghp de17bc5645 refactor:媒体服务器返回类型 2024-10-19 19:04:16 +08:00
jxxghp 1e4f3e97cd refactor:media_exists 支持指定服务器 2024-10-19 18:17:35 +08:00
jxxghp 603ab97665 add ModuleType Schema 2024-10-12 11:50:00 +08:00
InfinityPacer 828e9ab886 feat(webhook): add support for server_name field in WebhookEventInfo 2024-10-10 22:07:03 +08:00
InfinityPacer 0afdd9056a fix(module): use getters for _instances and _configs in subclasses 2024-10-06 14:38:17 +08:00
InfinityPacer 5de882d788 fix(plex): resolve error in get_webhook_message 2024-10-06 14:26:44 +08:00
InfinityPacer 8317b6b7a2 fix(mediaserver): resolve media_statistic 2024-10-02 13:04:39 +08:00
InfinityPacer 838e17bf6e fix(sync): have module return results directly instead of using yield 2024-09-30 02:59:09 +08:00
InfinityPacer 1add203c0e fix(#2755): refactor pagination and fix media sync DB issue 2024-09-28 00:57:13 +08:00
InfinityPacer 2ce3ddb75a refactor(module): simplify service instantiation with generics 2024-09-27 04:04:56 +08:00
InfinityPacer 5efcd6e6be refactor (module): improve the implementation of base classes 2024-09-26 19:44:35 +08:00
Owen 7c5b4b6202 feat: MediaServerItem新增用户播放状态、mediaserver.items()增加分页参数 2024-09-20 17:57:43 +08:00
jxxghp 2486b9274c fix webhook_parser 2024-09-19 21:09:07 +08:00
jxxghp 53195457c7 fix module test 2024-09-12 15:13:58 +08:00
jxxghp e2436ba94f fix api 2024-09-12 08:24:55 +08:00
jxxghp c3ef3dd7d1 fix 全局变量定义 2024-09-09 22:17:49 +08:00
jxxghp a567a8644b add ModuleBases 2024-07-07 07:40:53 +08:00
jxxghp 15a7297099 fix messages 2024-07-02 13:50:41 +08:00
jxxghp c8fe6e4284 fix downloaders 2024-07-02 11:00:55 +08:00