Commit Graph

52 Commits

Author SHA1 Message Date
jxxghp
2f38b3040d fix:修复代码兼容性写法 2025-03-23 12:10:21 +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
9cf7547a8c fix(downloader): ensure default downloader config fallback 2024-10-24 19:12:07 +08:00
InfinityPacer
9255c85a85 refactor(module): unify config retrieval logic 2024-10-20 18:56:52 +08:00
jxxghp
363f12ed5a refactor:Module加入执行优先顺序 2024-10-19 19:31:25 +08:00
jxxghp
0d139851af fix 按对象名称组织代码文件 2024-10-12 12:14:49 +08:00
jxxghp
603ab97665 add ModuleType Schema 2024-10-12 11:50:00 +08:00
InfinityPacer
0afdd9056a fix(module): use getters for _instances and _configs in subclasses 2024-10-06 14:38:17 +08:00
InfinityPacer
0593275a62 feat(module): add ServiceBaseHelper for service and instance 2024-09-29 23:46:41 +08:00
InfinityPacer
640a67fc3a fix(module): resolve infinite recursion in get_instance method 2024-09-27 04:12:22 +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
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
a567a8644b add ModuleBases 2024-07-07 07:40:53 +08:00
jxxghp
1a0c4acf1c fix bug 2024-07-06 08:30:09 +08:00
jxxghp
965e40e630 fix message 2024-07-04 18:45:22 +08:00
jxxghp
15a7297099 fix messages 2024-07-02 13:50:41 +08:00
jxxghp
0f57b39345 fix webpush switch 2024-06-09 11:15:35 +08:00
jxxghp
43647e59a4 fix module name 2024-05-16 14:20:18 +08:00
jxxghp
d112f49a69 feat:支持VoceChat 2024-03-06 15:54:40 +08:00
jxxghp
8cb061ff75 feat:模块健康检查 2024-03-06 13:23:51 +08:00
jxxghp
7f6beb2a78 feat SynologyChat 2023-09-22 15:40:23 +08:00
jxxghp
97a4d73e03 更新 __init__.py 2023-07-15 17:53:37 +08:00
jxxghp
6d2f4697b0 feat 多通知渠道支持 2023-07-14 13:05:58 +08:00
jxxghp
7248ce3105 fix module 2023-06-19 11:17:29 +08:00
jxxghp
9b03e44097 split api 2023-06-18 22:31:56 +08:00
jxxghp
104ae59e18 add apis 2023-06-18 15:59:38 +08:00
jxxghp
acdec220f7 fix api 2023-06-17 17:34:18 +08:00
jxxghp
6a5e117f0b add 事件广播 2023-06-16 07:11:14 +08:00
jxxghp
84e4a4a527 add 正在下载查询 2023-06-15 18:10:04 +08:00
jxxghp
0eb789f711 fix arr api 2023-06-14 15:27:54 +08:00
jxxghp
e1f19b2ce0 fix 2023-06-14 12:45:59 +08:00
jxxghp
c06122ff19 fix typing 2023-06-13 23:41:50 +08:00
jxxghp
3d410e6d0b fix 2023-06-13 08:25:57 +08:00
jxxghp
99440d18d2 fix 2023-06-13 07:14:29 +08:00
jxxghp
738335d16c fix webhooks 2023-06-11 20:11:19 +08:00
jxxghp
760f603076 fix transfer 2023-06-11 14:52:23 +08:00
jxxghp
bfa78c5afb fix wechat message 2023-06-10 23:07:26 +08:00
jxxghp
be9c6b0571 fix filter 2023-06-10 20:32:37 +08:00
jxxghp
99bd8aade3 fix bugs 2023-06-10 19:22:40 +08:00
jxxghp
31fe552af4 add transfer notification 2023-06-09 15:52:53 +08:00
jxxghp
dd38428f03 add module function alias 2023-06-09 14:36:54 +08:00
jxxghp
01428e9f8f fix commands 2023-06-09 11:26:53 +08:00
jxxghp
0caac7ac00 fix message 2023-06-08 20:21:59 +08:00
jxxghp
061c16c659 fix bugs 2023-06-07 20:03:53 +08:00
jxxghp
852a255eaf fix bug 2023-06-07 18:28:54 +08:00
jxxghp
cfe90a4522 fix themoviedb scraper 2023-06-06 20:24:04 +08:00
jxxghp
e8178a1f55 fix list_torrents 2023-06-06 10:58:57 +08:00
jxxghp
cc91177b92 fix typing 2023-06-06 10:31:30 +08:00