Commit graph

266 commits

Author SHA1 Message Date
Vanessa
e2c26cd939 🎨 https://github.com/siyuan-note/siyuan/pull/17167 2026-03-09 17:22:20 +08:00
Daniel
688ba3faf6
🎨 https://github.com/siyuan-note/siyuan/pull/17167
Signed-off-by: Daniel <845765@qq.com>
2026-03-09 17:00:28 +08:00
Daniel
7c0004bfa0
🎨 https://github.com/siyuan-note/siyuan/pull/17167
Signed-off-by: Daniel <845765@qq.com>
2026-03-09 16:47:06 +08:00
Jeffrey Chen
07e74561ff
🎨 Improve sendNotification (#17167) 2026-03-09 16:44:44 +08:00
Vanessa
e514746cd6 🎨 https://github.com/siyuan-note/siyuan/issues/17154 2026-03-07 22:44:23 +08:00
Vanessa
0157866ad7 🎨 https://github.com/siyuan-note/siyuan/issues/17150 2026-03-06 22:16:47 +08:00
Vanessa
96b9891bb5 🎨 https://github.com/siyuan-note/siyuan/issues/17124 2026-03-06 20:46:30 +08:00
Vanessa
285e61d13f 🎨 https://github.com/siyuan-note/siyuan/issues/17150 2026-03-06 20:23:26 +08:00
Vanessa
8c98cc574d 🎨 https://github.com/siyuan-note/siyuan/issues/17140 2026-03-05 22:22:19 +08:00
Vanessa
2d47cb3684 Merge remote-tracking branch 'origin/dev' into dev 2026-03-05 10:57:38 +08:00
Vanessa
48bde74170 🎨 https://github.com/siyuan-note/siyuan/issues/17117 2026-03-05 10:57:24 +08:00
Jeffrey Chen
487e27cb00
♻️ refactor reloadPlugin (#17137) 2026-03-05 10:11:44 +08:00
Vanessa
94f33d6711 🎨 https://github.com/siyuan-note/siyuan/issues/17057 2026-03-02 21:03:51 +08:00
Vanessa
44badcad53 🎨 https://github.com/siyuan-note/siyuan/issues/16618 2026-02-17 12:08:04 +08:00
Vanessa
108bc5b5d5 🎨 https://github.com/siyuan-note/siyuan/issues/16996 2026-02-12 11:06:55 +08:00
Vanessa
b5c652b821 ♻️ https://github.com/siyuan-note/siyuan/pull/17007 2026-02-11 21:14:58 +08:00
Jeffrey Chen
b37d0c1c5b
🎨 Plugin supports saving data in subdirectories (#17007) 2026-02-11 20:48:19 +08:00
Vanessa
0a0d8cf09a 📱 https://github.com/siyuan-note/siyuan/issues/16846 2026-01-17 18:25:29 +08:00
Vanessa
9b18e18bb4 🎨 https://github.com/siyuan-note/siyuan/pull/16717 2025-12-30 14:18:35 +08:00
Vanessa
eb30109d7f 🚨 2025-12-30 12:26:15 +08:00
Daniel
061c065720
🎨 https://github.com/siyuan-note/siyuan/pull/16717
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 12:12:53 +08:00
Vanessa
9fdfa27682 🎨 https://github.com/siyuan-note/siyuan/issues/15818 2025-12-29 13:33:26 +08:00
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