Saboteur7
16324e7283
Merge pull request #2407 from ayasa520/fix_reloadp
...
fix(plugin): fix reloadp command not taking effect
2024-12-13 15:39:33 +08:00
rikka
2a351ca415
fix(reloadp): clear handlers when reloading plugin to avoid memory leaks
2024-12-05 00:33:00 +08:00
rikka
49b7106d71
fix: Memory leak caused by scanp command due to handler's reference to plugin instance.
...
close #2412
2024-12-03 22:39:56 +08:00
Rikka
c567641c5c
fix(plugin): fix reloadp command not taking effect
...
- Use write_plugin_config() instead of directly modifying plugin_config dict
- Add remove_plugin_config() to clear plugin config before reload
- Update plugins to use pconf() and write_plugin_config() for better config management
2024-12-02 16:38:21 +08:00
13476573407
15e0702329
解决使用scanp重载时会重新生成godcmd的实例,导致auth权限被清空
2024-03-20 10:52:34 +08:00
13476573407
a2bc22c37d
由于使用#scanp和#reloadp扫描插件时,当更新插件以后并不会实现重载新的插件
...
所以取消了已载入的插件判断重载除Godcmd以外的所有插件来实现不需要重启项目即可更新插件
2024-03-18 14:40:01 +08:00
zhayujie
aae9b64833
fix: reduce unnecessary error traceback logs
2023-07-20 14:46:41 +08:00
zhayujie
954e55f4b4
feat: add plugin global config to support docker volumes
2023-07-20 11:36:02 +08:00
lanvent
419a3e518e
feat: make plugin compatible with LINKAI in most cases
2023-06-10 23:42:43 +08:00
lanvent
2133c1d6af
fix(Dockerfile): create /home/noroot directory and change ownership of it
2023-05-09 23:08:20 +08:00
lanvent
618c94edb8
formatting: run precommit on all files
2023-04-22 12:01:29 +08:00
lanvent
2f732e5493
fix: toolhub request_timeout should be str
2023-04-17 12:00:28 +08:00
lanvent
8f72e8c3e6
formatting code
2023-04-17 01:01:02 +08:00
lanvent
4278d2b8ef
feat: add updatep command
2023-04-07 23:31:07 +08:00
lanvent
9aeb60f66d
feat: add replicate to source.json
2023-04-07 15:15:40 +08:00
lanvent
c9306633b2
fix: read source.json with utf-8
2023-04-07 01:15:31 +08:00
lanvent
898aa30b1d
godcmd: add temp passwd
2023-04-06 21:57:02 +08:00
lanvent
8b73a74609
fix: bug when reinstall plugin
2023-04-06 21:54:38 +08:00
lanvent
3c6d42b22e
feat: add installp/uninstallp command
2023-04-06 21:54:38 +08:00
lanvent
5bd9f50818
feat: disable plugin when init failed
2023-04-05 18:05:28 +08:00
lanvent
cc881adda6
Merge Pull Request #686 into master
2023-04-05 04:18:06 +08:00
lanvent
4881f7b01c
fix: use relpath in plugin manager
2023-03-25 23:35:23 +08:00
zhayujie
8c4a62b9c6
fix: use try catch instead of config
2023-03-24 00:59:26 +08:00
zhayujie
c1d1e923cd
feat: add plugins config
2023-03-24 00:22:09 +08:00
lanvent
2568322879
plugin: ignore cases when manage plugins
2023-03-14 18:02:07 +08:00
lanvent
300b7b9687
plugins: support reload plugin
2023-03-14 15:59:52 +08:00
lanvent
1dc3f85a66
plugin: support priority to decide trigger order
2023-03-13 15:32:28 +08:00
lanvent
cb7bf446e3
plugin: godcmd support manage plugins
2023-03-13 01:50:37 +08:00
lanvent
475ada22e7
catch thread exception
2023-03-12 22:49:07 +08:00
lanvent
8847b5b674
create bot when first need
2023-03-12 13:25:23 +08:00
lanvent
73de429af1
import file with the same name as plugin
2023-03-12 12:57:27 +08:00
lanvent
0fcf0824dc
feat: support plugins
2023-03-12 11:53:06 +08:00