Commit Graph

6810 Commits

Author SHA1 Message Date
Daniel
7d832aaf3b 🎨 Improve template function ISOMonth https://github.com/siyuan-note/siyuan/issues/16718
Signed-off-by: Daniel <845765@qq.com>
2025-12-29 12:46:46 +08:00
Daniel
365f1f15d5 🎨 Improve renameFile api
Signed-off-by: Daniel <845765@qq.com>
2025-12-29 12:23:40 +08:00
Daniel
3c00f5a3d1 🎨 Improve av api https://github.com/siyuan-note/siyuan/issues/16715
Signed-off-by: Daniel <845765@qq.com>
2025-12-29 09:19:24 +08:00
Daniel
1c760a84d9 🎨 https://github.com/siyuan-note/siyuan/issues/16688#issuecomment-3694706501
Signed-off-by: Daniel <845765@qq.com>
2025-12-28 22:16:19 +08:00
Daniel
7dc84e5447 🎨 https://github.com/siyuan-note/siyuan/issues/16664#issuecomment-3694774305
Signed-off-by: Daniel <845765@qq.com>
2025-12-28 22:13:58 +08:00
Daniel
d1b62c1b3e 🎨 https://github.com/siyuan-note/siyuan/issues/16664#issuecomment-3694774305
Signed-off-by: Daniel <845765@qq.com>
2025-12-28 22:13:58 +08:00
Daniel
e557e3bb68 🐛 Unable to switch the publish service between multiple workspaces https://github.com/siyuan-note/siyuan/issues/16587
Signed-off-by: Daniel <845765@qq.com>
2025-12-28 20:43:52 +08:00
Daniel
42608c3dc5 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-28 17:34:25 +08:00
Daniel
7679adf6d5 🎨 Improve auto email link parsing https://github.com/siyuan-note/siyuan/issues/16629
Signed-off-by: Daniel <845765@qq.com>
2025-12-28 16:39:13 +08:00
Daniel
a3548825e3 🐛 Attribute values are not escaped https://github.com/siyuan-note/siyuan/pull/16712 https://github.com/siyuan-note/siyuan/issues/16686
Signed-off-by: Daniel <845765@qq.com>
2025-12-28 15:45:50 +08:00
Daniel
be67b887c3 🐛 Attribute values are not escaped https://github.com/siyuan-note/siyuan/pull/16712 https://github.com/siyuan-note/siyuan/issues/16686
Signed-off-by: Daniel <845765@qq.com>
2025-12-28 15:36:00 +08:00
Daniel
0ebefd6293 🐛 Attribute values are not escaped https://github.com/siyuan-note/siyuan/pull/16712
Signed-off-by: Daniel <845765@qq.com>
2025-12-28 15:32:10 +08:00
Jeffrey Chen
8c00a95d74 🐛 Attribute values are not escaped https://github.com/siyuan-note/siyuan/issues/16686 (#16712) 2025-12-28 15:14:59 +08:00
Daniel
30b4faa65c 🐛 Attribute values are not escaped https://github.com/siyuan-note/siyuan/issues/16686
Signed-off-by: Daniel <845765@qq.com>
2025-12-27 15:10:06 +08:00
Daniel
24a0c91fae 🎨 Improve minimum version requirements for marketplace packages https://github.com/siyuan-note/siyuan/issues/16688
Signed-off-by: Daniel <845765@qq.com>
2025-12-27 13:39:13 +08:00
Daniel
1e13177aae 🎨 Improve minimum version requirements for marketplace packages https://github.com/siyuan-note/siyuan/issues/16688
Signed-off-by: Daniel <845765@qq.com>
2025-12-27 12:49:37 +08:00
Daniel
3f5c0762e8 🎨 Improve minimum version requirements for marketplace packages https://github.com/siyuan-note/siyuan/issues/16688
Signed-off-by: Daniel <845765@qq.com>
2025-12-27 12:41:13 +08:00
Daniel
bc6b382bd1 🐛 The updateBlock API encountered a null pointer error https://github.com/siyuan-note/siyuan/issues/16705
Signed-off-by: Daniel <845765@qq.com>
2025-12-26 22:02:55 +08:00
Daniel
89dc302694 🐛 The updateBlock API encountered a null pointer error https://github.com/siyuan-note/siyuan/issues/16705
Signed-off-by: Daniel <845765@qq.com>
2025-12-26 21:59:15 +08:00
Daniel
a65dcd220f 🔒 Randomly generate the cookie key https://github.com/siyuan-note/siyuan/issues/16690
Signed-off-by: Daniel <845765@qq.com>
2025-12-26 11:21:47 +08:00
Daniel
5db1723bfc 🎨 Improve minimum version requirements for marketplace packages https://github.com/siyuan-note/siyuan/issues/16688
Signed-off-by: Daniel <845765@qq.com>
2025-12-25 22:33:10 +08:00
Daniel
9d169abdd8 🧑‍💻 https://github.com/siyuan-note/siyuan/issues/16654#issuecomment-3688778549
Signed-off-by: Daniel <845765@qq.com>
2025-12-24 17:06:31 +08:00
Daniel
5cf09d8043 🎨 Move supports searching by document block ID https://github.com/siyuan-note/siyuan/issues/16674
Signed-off-by: Daniel <845765@qq.com>
2025-12-23 17:10:41 +08:00
Daniel
6f81350279 🔖 Release v3.5.1
Signed-off-by: Daniel <845765@qq.com>
2025-12-23 10:42:08 +08:00
Daniel
da2f3234c2 🎨 https://github.com/siyuan-note/siyuan/pull/16657#event-21694489068
Signed-off-by: Daniel <845765@qq.com>
2025-12-23 10:20:47 +08:00
Daniel
a8f35a7941 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-23 08:30:57 +08:00
Daniel
08d283d3e1 🎨 Clean code https://github.com/siyuan-note/siyuan/pull/16647
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 17:41:47 +08:00
Jeffrey Chen
64514b4fab Improve the performance of the getCloudUser interface to resolve the lag issue during startup (#16647)
问题:
- /api/setting/getCloudUser 接口在启动时卡顿数百毫秒
- 根本原因:GetUser()、SetUser() 和 Conf.Save() 使用同一个锁,存在锁竞争

解决方案:
1. 将 GetUser() 改为使用读锁(RLock),允许并发读取
2. 将用户数据与配置数据分离,使用独立的 userLock 锁
   - m 锁:保护配置数据的读写(Conf.Save() 使用)
   - userLock 锁:保护用户数据的读写(GetUser() 和 SetUser() 使用)
3. 优化 RefreshUser 函数,先尝试从内存获取用户,避免不必要的文件读取

相关文件:
- kernel/model/conf.go: 添加 userLock,修改 GetUser/SetUser 使用独立锁
- kernel/model/cloud_service.go: 优化 RefreshUser 逻辑
2025-12-22 17:30:40 +08:00
Daniel
33175cad7c 🎨 Fix https://github.com/siyuan-note/siyuan/issues/16667
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 17:10:47 +08:00
Daniel
0eaf3f0f8a 🎨 Fix https://github.com/siyuan-note/siyuan/issues/16664
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 16:52:27 +08:00
Daniel
73307c7baf ⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 16:48:39 +08:00
Daniel
eeed19df23 🐛 Fix https://github.com/siyuan-note/siyuan/issues/16663
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 16:47:18 +08:00
Daniel
c8b4ef6148 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 16:26:48 +08:00
Daniel
efc2cb0b07 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 10:47:57 +08:00
Daniel
bd82eefbf3 🎨 Fix https://github.com/siyuan-note/siyuan/issues/16660
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 10:29:52 +08:00
Daniel
b3e92a800e ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 10:22:07 +08:00
Daniel
9a0b08cdb3 🎨 https://github.com/siyuan-note/siyuan/pull/16657#issuecomment-3680075726
Signed-off-by: Daniel <845765@qq.com>
2025-12-22 10:21:55 +08:00
Jeffrey Chen
2d1618e639 🎨 Element attribute names are uniformly lowercase English letters https://github.com/siyuan-note/siyuan/issues/16604 (#16657)
部分属性名大写字母改为小写

兼容旧版带大写字母的属性名

更新用户指南说明

优化性能

统一前后端验证属性名的逻辑

改进验证属性名格式报错信息
2025-12-22 09:43:12 +08:00
Daniel
1c48345150 🧑‍💻 Fix https://github.com/siyuan-note/siyuan/issues/16654
Signed-off-by: Daniel <845765@qq.com>
2025-12-21 18:42:50 +08:00
Daniel
89952fa8b4 Improve performance for large-scale block deletion/insertion https://github.com/siyuan-note/siyuan/issues/16644
Signed-off-by: Daniel <845765@qq.com>
2025-12-21 18:29:10 +08:00
Daniel
80faba6c75 🎨 Fix https://github.com/siyuan-note/siyuan/issues/16637
Signed-off-by: Daniel <845765@qq.com>
2025-12-21 15:10:31 +08:00
Daniel
5ec41ff6cb 🎨 Improve callout block https://github.com/siyuan-note/siyuan/issues/16607 https://ld246.com/article/1766149237514
Signed-off-by: Daniel <845765@qq.com>
2025-12-21 11:38:14 +08:00
Daniel
97232090fe 🎨 Fix https://github.com/siyuan-note/siyuan/issues/16637
Signed-off-by: Daniel <845765@qq.com>
2025-12-20 20:08:15 +08:00
Daniel
a038421e73 🐛 Data indexing is abnormal after switching workspaces on mobile https://github.com/siyuan-note/siyuan/issues/16646
Signed-off-by: Daniel <845765@qq.com>
2025-12-20 17:26:00 +08:00
Daniel
c07efea8de 🎨 Improve callout block https://github.com/siyuan-note/siyuan/issues/16607
Signed-off-by: Daniel <845765@qq.com>
2025-12-20 12:31:28 +08:00
Daniel
50f00c69d8 🎨 Improve fold heading editing https://github.com/siyuan-note/siyuan/issues/16197
Signed-off-by: Daniel <845765@qq.com>
2025-12-19 22:54:24 +08:00
Daniel
549069a8ee 🎨 Improve callout block https://github.com/siyuan-note/siyuan/issues/16607
Signed-off-by: Daniel <845765@qq.com>
2025-12-19 21:41:15 +08:00
Daniel
184ba32aa4 🎨 Improve callout block https://github.com/siyuan-note/siyuan/issues/16607
Signed-off-by: Daniel <845765@qq.com>
2025-12-19 21:41:14 +08:00
Daniel
bc238a245f 🐛 Fix Built-in Pandoc is not working on Unix-like
Fix https://github.com/siyuan-note/siyuan/issues/16623

Signed-off-by: Daniel <845765@qq.com>
2025-12-19 20:13:57 +08:00
Daniel
43c8ccb96b 🐛 Built-in Pandoc is not working on Unix-like
Fix https://github.com/siyuan-note/siyuan/issues/16623

Signed-off-by: Daniel <845765@qq.com>
2025-12-19 20:08:17 +08:00