Commit Graph

6788 Commits

Author SHA1 Message Date
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
Daniel bee38c5a39 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-19 19:58:43 +08:00
Daniel c2adac344c 🎨 https://github.com/siyuan-note/siyuan/issues/16623
Signed-off-by: Daniel <845765@qq.com>
2025-12-19 19:58:33 +08:00
Daniel 4636ee6c3a 🎨 https://github.com/siyuan-note/siyuan/issues/16623
Signed-off-by: Daniel <845765@qq.com>
2025-12-18 18:21:23 +08:00
Daniel 326b5a2d7f ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-18 14:54:03 +08:00
Daniel 0bda505e41 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-18 13:00:43 +08:00
Daniel a6a48e9e81 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-18 12:54:57 +08:00
Daniel acedac5858 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-18 12:42:18 +08:00
Daniel a406567a89 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-17 12:01:46 +08:00
Daniel a5140be670 ⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2025-12-17 09:21:39 +08:00
Jeffrey Chen dc1be6676f 🎨 Improve the fallback logic of the marketplace (#16612) 2025-12-17 07:43:05 +08:00
Daniel 4b1e79bd15 🎨 Improve the behavior of Jump to parent block in lists https://github.com/siyuan-note/siyuan/issues/16516
Signed-off-by: Daniel <845765@qq.com>
2025-12-16 21:14:40 +08:00
Daniel 2dbef55788 🎨 Fix https://github.com/siyuan-note/siyuan/issues/16606
Signed-off-by: Daniel <845765@qq.com>
2025-12-16 20:55:34 +08:00
Jeffrey Chen 5a3ad845d2 🎨 Improve the fallback logic of the marketplace (#16601) 2025-12-16 20:35:15 +08:00
Daniel 7217c66636 🔖 Release v3.5.0
Signed-off-by: Daniel <845765@qq.com>
2025-12-16 16:41:20 +08:00
Daniel a201aebf59 🎨 Query embed blocks support UNION queries https://github.com/siyuan-note/siyuan/issues/16594
Signed-off-by: Daniel <845765@qq.com>
2025-12-16 12:15:28 +08:00
Daniel 3e9bd1547c 🎨 Improve the behavior of Jump to parent block in lists https://github.com/siyuan-note/siyuan/issues/16516
Signed-off-by: Daniel <845765@qq.com>
2025-12-16 11:53:34 +08:00
Daniel 420dc79830 🐛 Fix https://github.com/siyuan-note/siyuan/issues/16593
Signed-off-by: Daniel <845765@qq.com>
2025-12-16 10:47:26 +08:00
Jeffrey Chen e7914f99f6 🎨 Avoid creating empty ocr-texts.json when OCR is disabled (#16597)
- Skip file creation when OCR is disabled, file doesn't exist, and assetsTexts is empty
- Fix potential deadlock by releasing lock when marshal fails
2025-12-16 10:46:38 +08:00
Daniel 55bab22cb6 ⬆️ Upgrade dejavu
Signed-off-by: Daniel <845765@qq.com>
2025-12-15 22:20:46 +08:00
Daniel ec14a66053 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-15 21:57:21 +08:00
Daniel 1764e7c50c ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-15 17:13:44 +08:00
Daniel 35c070a252 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-15 11:51:50 +08:00