Commit graph

20652 commits

Author SHA1 Message Date
Vanessa
b2e021e09b 🎨 https://github.com/siyuan-note/siyuan/issues/16661 2025-12-22 19:21:21 +08:00
Vanessa
b4bcae49f2 🎨 https://github.com/siyuan-note/siyuan/issues/16661 2025-12-22 19:11:40 +08:00
Vanessa
01223c8110 🎨 https://github.com/siyuan-note/siyuan/issues/16669 2025-12-22 18:38:40 +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
Vanessa
04df9b12b2 Merge remote-tracking branch 'origin/dev' into dev 2025-12-22 10:54:47 +08:00
Vanessa
419683fe5a 🎨 https://github.com/siyuan-note/siyuan/issues/16644 2025-12-22 10:54:35 +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
Vanessa
e1f6b83d35 🎨 https://github.com/siyuan-note/siyuan/pull/16535 2025-12-21 21:21:21 +08:00
Jeffrey Chen
ddeb9b784e
🎨 The input box cannot continuously input or delete characters (#16535)
https://github.com/siyuan-note/siyuan/issues/15150
2025-12-21 21:06:53 +08:00
Vanessa
649ab0caf0 🎨 https://github.com/siyuan-note/siyuan/pull/16579 2025-12-21 19:41:57 +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
Jeffrey Chen
6588af2f32
🎨 Fix document opening issue caused by multiple workspaces https://github.com/siyuan-note/siyuan/issues/16559 (#16579) 2025-12-21 18:40:08 +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
Vanessa
7b1a04b332 🎨 https://github.com/siyuan-note/siyuan/issues/16484 2025-12-21 11:28:48 +08:00
Vanessa
c7a001f26c 🎨 https://github.com/siyuan-note/siyuan/issues/16484 2025-12-21 10:59:16 +08:00
Vanessa
903acf43bd 🎨 https://github.com/siyuan-note/siyuan/issues/16197 2025-12-20 21:16:54 +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
Vanessa
6f2ace0c28 🎨 https://github.com/siyuan-note/siyuan/issues/16639 2025-12-20 12:30:29 +08:00
Vanessa
29569e0075 🎨 https://github.com/siyuan-note/siyuan/issues/16641 2025-12-20 12:06:13 +08:00
Vanessa
319db401c2 🎨 https://github.com/siyuan-note/siyuan/issues/16640 2025-12-20 11:23:26 +08:00
Vanessa
02bbd6bffd 🎨 https://github.com/siyuan-note/siyuan/issues/16197 06 2025-12-20 11:18:14 +08:00
Vanessa
fd37c83cfd 🎨 https://github.com/siyuan-note/siyuan/issues/16197 2025-12-20 10:48:31 +08:00
Vanessa
c4404cbbff 🎨 https://github.com/siyuan-note/siyuan/issues/16197 2025-12-20 10:27:55 +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
Jeffrey Chen
dc08f63c19
💄 Improve the right padding of the top bar in the browser environment (#16588) 2025-12-19 21:09:01 +08:00
Daniel
6051ac19ec
📝 Update the user guide Improve callout block https://github.com/siyuan-note/siyuan/issues/16607
Signed-off-by: Daniel <845765@qq.com>
2025-12-19 21:01:28 +08:00
Vanessa
287339c66c 🐛 https://github.com/siyuan-note/siyuan/issues/16630 2025-12-19 20:32:00 +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
Vanessa
f54082cc82 🎨 https://github.com/siyuan-note/siyuan/pull/16599 2025-12-19 12:01:18 +08:00
Jeffrey Chen
979c05eba0
🎨 Marketplace package funding button supports copying non-link text on click (#16599) 2025-12-19 11:34:18 +08:00
Jeffrey Chen
2fb3f5e9d0
🎨 Improve the inline memo and hyperlink tooltip display https://ld246.com/article/1765979871054 (#16625) 2025-12-19 11:07:02 +08:00