Vanessa
9585375961
🎨 https://github.com/siyuan-note/siyuan/pull/16717
2025-12-29 12:29:16 +08:00
Jeffrey Chen
c243fea81c
🎨 Improve error handling and security for plugin data storage methods ( #16717 )
...
- Check if storageName contains path separators to prevent path injection
- saveData and removeData return complete IWebSocketData objects with code, msg, and data fields for result checking
- saveData and removeData immediately modify this.data[storageName] at function start, so even if the operation fails, subsequent use of this.data[storageName] is not affected
- All methods always resolve
2025-12-29 11:01:38 +08:00
Vanessa
8520b02df5
🎨 https://github.com/siyuan-note/siyuan/pull/16676
2025-12-24 21:12:00 +08:00
Jeffrey Chen
a02c616f22
🧑💻 Make hotkey optional for plugin commands ( #16676 )
2025-12-24 20:46:07 +08:00
Vanessa
885bc90bdc
🎨 https://github.com/siyuan-note/siyuan/pull/16679
2025-12-24 11:09:47 +08:00
Jeffrey Chen
25b6b9f679
🐛 Fix getActiveEditor function returning inactive editor ( #16679 )
2025-12-24 11:08:56 +08:00
Vanessa
16cd7e2c0d
🎨 https://github.com/siyuan-note/siyuan/issues/16672
2025-12-23 10:03:43 +08:00
Vanessa
d53f3aa5a0
🎨 https://github.com/siyuan-note/siyuan/issues/16586
2025-12-18 22:42:54 +08:00
Jeffrey Chen
ec881a76af
Fix executing the uninstall method when closing the plugin ( #16522 )
...
* 🐛 Fix executing the uninstall method when closing the plugin
* 后端推送区分插件禁用与卸载
2025-12-13 10:37:05 +08:00
Vanessa
026476144c
🎨 https://github.com/siyuan-note/siyuan/issues/16485
2025-12-03 22:08:49 +08:00
Vanessa
748784554a
🎨 https://github.com/siyuan-note/siyuan/issues/16485
2025-12-03 19:17:37 +08:00
Vanessa
806ca9f213
🎨 https://github.com/siyuan-note/siyuan/issues/16485
2025-12-03 19:09:15 +08:00
Vanessa
7154879ddc
🎨 https://github.com/siyuan-note/siyuan/issues/16485
2025-12-03 17:44:24 +08:00
Vanessa
dee62cfbca
🎨 https://github.com/siyuan-note/siyuan/pull/16472
2025-12-02 17:44:13 +08:00
Vanessa
4433372bee
♻️ https://github.com/siyuan-note/siyuan/pull/16465
2025-12-02 11:00:13 +08:00
Jeffrey Chen
bcdef64d0f
Improve onDataChanged method ( #16472 )
...
* 🐛 Improve onDataChanged method
fix https://github.com/siyuan-note/siyuan/pull/16244
重构、修复插件重启逻辑
重构
比如插件在 onload() 中插入了图标,uninstall 会把图标删除,afterLoadPlugin 又不能执行 onload() 把图标加回来
使用 getElementById
先加载插件样式
避免插入重复的样式
改进插件样式插入位置
* reloadPlugin
2025-12-02 09:57:50 +08:00
Vanessa
17a6efd97e
🎨 https://github.com/siyuan-note/siyuan/pull/16244
2025-11-26 20:53:32 +08:00
Vanessa
370d549a48
🎨 https://github.com/siyuan-note/siyuan/pull/16244
2025-11-26 19:30:42 +08:00
Vanessa
1d1902813d
🎨 https://github.com/siyuan-note/siyuan/pull/16244
2025-11-26 10:26:57 +08:00
Jeffrey Chen
9bfe00cf10
🧑💻 Add onDataChanged method to handle data changes in the plugin ( #16244 )
2025-11-25 16:49:22 +08:00
Jeffrey Chen
33d63127b0
🐛 The plugin was not executed uninstall() when being uninstalled ( #16243 )
...
fix https://github.com/siyuan-note/siyuan/issues/16156
2025-11-02 17:48:24 +08:00
Daniel
b68756261d
🎨 https://github.com/siyuan-note/siyuan/issues/16149
...
Signed-off-by: Daniel <845765@qq.com>
2025-10-20 16:33:22 +08:00
Daniel
b4e10e5704
🎨 https://github.com/siyuan-note/siyuan/issues/16149 https://github.com/siyuan-note/siyuan/issues/16121
...
Signed-off-by: Daniel <845765@qq.com>
2025-10-19 09:57:41 +08:00
Jeffrey Chen
8725e5daa8
🎨 Improve #commonMenu menu ( #16141 )
...
* 改进菜单的 data-name 属性值和选项的 data-id 属性值
fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/16133
* 改进菜单的 data-name 属性值和选项的 data-id 属性值
fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/16133
* 更新数据库排序菜单文案
* 改进菜单的 data-name 属性值和选项的 data-id 属性值
fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/16133
使用正则 (?:get|set)Attribute\("data-name"|new Menu\((?:"|Constants) 来搜索
* 改进菜单的 data-name 属性值和选项的 data-subname 属性值
fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/15075
* 改进菜单的 data-name 属性值和选项的 data-subname 属性值
fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/15075
2025-10-18 10:41:11 +08:00
Jeffrey Chen
517f5c8453
🎨 Hide the separator line in the top bar plugin menu in publish service ( #15809 )
2025-09-09 18:08:21 +08:00
Vanessa
afa74ebb4b
🎨 https://github.com/siyuan-note/siyuan/issues/15771
2025-09-05 17:16:48 +08:00
Vanessa
d48e3d5211
🎨 https://github.com/siyuan-note/siyuan/issues/15771
2025-09-05 11:26:18 +08:00
Vanessa
65b52a2bc6
🎨 https://github.com/siyuan-note/siyuan/issues/15771
2025-09-05 08:59:52 +08:00
Vanessa
7ae90058c3
🎨 https://github.com/siyuan-note/siyuan/issues/15771
2025-09-04 20:48:40 +08:00
Vanessa
e91a37a98b
🎨 https://github.com/siyuan-note/siyuan/issues/15760
2025-09-04 16:38:07 +08:00
Vanessa
d47a8ffe02
🎨 https://github.com/siyuan-note/siyuan/issues/15639
2025-09-04 10:29:54 +08:00
Vanessa
91626c8fb5
🎨 https://github.com/siyuan-note/siyuan/issues/15639
2025-09-03 09:41:42 +08:00
Vanessa
0a079a39ca
🎨 https://github.com/siyuan-note/siyuan/pull/15714
2025-08-29 10:45:36 +08:00
Jeffrey Chen
bf722a142a
🎨 The title of the plugin settings dialog displays the plugin name ( #15714 )
2025-08-29 10:43:24 +08:00
Vanessa
540fe7cfde
🎨 https://github.com/siyuan-note/siyuan/issues/15455
2025-08-21 21:29:26 +08:00
Vanessa
19c5a9952e
🎨 https://github.com/siyuan-note/siyuan/issues/15455
2025-08-21 21:25:16 +08:00
Vanessa
38e7992e1a
🎨 https://github.com/siyuan-note/siyuan/issues/15455
2025-08-21 21:12:16 +08:00
Vanessa
aee4c64006
🎨 https://github.com/siyuan-note/siyuan/issues/15453
2025-08-21 20:33:56 +08:00
Vanessa
e35b203201
🎨 https://github.com/siyuan-note/siyuan/issues/15641
2025-08-21 20:28:35 +08:00
Vanessa
128b9d1f13
🎨 https://github.com/siyuan-note/siyuan/issues/15641
2025-08-21 20:27:51 +08:00
Vanessa
3bd7c92710
🎨 https://github.com/siyuan-note/siyuan/issues/15641
2025-08-21 20:25:10 +08:00
Vanessa
8b21b8fd03
🎨 https://github.com/siyuan-note/siyuan/issues/15641
2025-08-21 13:19:13 +08:00
Vanessa
1c3ebf7f75
🎨 https://github.com/siyuan-note/siyuan/issues/15453
2025-08-20 16:58:10 +08:00
Vanessa
516d9aa52a
🎨 https://github.com/siyuan-note/siyuan/issues/15415
2025-08-20 12:09:37 +08:00
Vanessa
e7c90f4709
🎨 https://github.com/siyuan-note/siyuan/issues/15415
2025-08-20 12:08:47 +08:00
Vanessa
97f74ea172
🎨 https://github.com/siyuan-note/siyuan/issues/15546
2025-08-12 23:26:19 +08:00
Vanessa
98a9635dd3
🎨 https://github.com/siyuan-note/siyuan/issues/15455
2025-08-12 18:20:33 +08:00
Vanessa
e103b5c2f0
🎨 https://github.com/siyuan-note/siyuan/issues/15453
2025-08-12 11:28:22 +08:00
Vanessa
ff29ab920b
🎨 https://github.com/siyuan-note/siyuan/issues/15485
2025-08-10 18:22:01 +08:00
Jeffrey Chen
be3db79688
🎨 Add data-id attribute to the buttons ( #15052 )
...
斜杠菜单中插件添加的选项、顶栏的插件菜单、顶栏的外观模式菜单,修正块引用锚文本的右键菜单
fix https://github.com/siyuan-note/siyuan/issues/12518
2025-07-23 17:53:25 +08:00