Commit Graph

6827 Commits

Author SHA1 Message Date
Daniel cab9a573df 🎨 Clean code https://github.com/siyuan-note/siyuan/pull/16755
Signed-off-by: Daniel <845765@qq.com>
2026-01-02 10:24:32 +08:00
Daniel 171d030c3d ⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2026-01-02 10:18:37 +08:00
Jeffrey Chen 76e23e6716 🎨 Optimize isValidAttrName function performance (#16755) 2026-01-02 10:17:29 +08:00
Daniel 156a28f27d 🎨 Improve export preview mode https://github.com/siyuan-note/siyuan/issues/16732
Signed-off-by: Daniel <845765@qq.com>
2025-12-31 11:32:51 +08:00
Daniel 2fa878fdd6 🎨 https://ld246.com/article/1767111119596
Signed-off-by: Daniel <845765@qq.com>
2025-12-31 09:13:07 +08:00
Daniel 411bc7bf1b 🔖 Release v3.5.2
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 19:06:29 +08:00
Daniel 45465e12ef 🎨 https://github.com/siyuan-note/siyuan/issues/16730
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 17:53:04 +08:00
Daniel cad70aca51 🎨 https://github.com/siyuan-note/siyuan/issues/16730
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 17:46:41 +08:00
Daniel 93aaba92f7 🎨 Improve minimum version requirements for marketplace packages https://github.com/siyuan-note/siyuan/issues/16688
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 17:45:45 +08:00
Daniel 818846025b 🎨 Improve minimum version requirements for marketplace packages https://github.com/siyuan-note/siyuan/issues/16688
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 17:27:23 +08:00
Daniel 2815a482c5 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 15:59:57 +08:00
Daniel b4a2ef1628 ⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 11:55:44 +08:00
Daniel 42b7929786 🎨 Supports configuring the maximum number of Recent documents to be listed https://github.com/siyuan-note/siyuan/issues/16720
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 08:48:45 +08:00
Daniel 96c2093bd8 🎨 Supports configuring the maximum number of Recent documents to be listed https://github.com/siyuan-note/siyuan/issues/16720
Signed-off-by: Daniel <845765@qq.com>
2025-12-29 22:36:56 +08:00
Daniel 827c7a5bf6 🎨 Supports configuring the maximum number of Recent documents to be listed https://github.com/siyuan-note/siyuan/issues/16720
Signed-off-by: Daniel <845765@qq.com>
2025-12-29 22:25:04 +08:00
Daniel ffd4ceb0d9 🎨 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-29 19:35:31 +08:00
Jeffrey Chen 4132736037 📝 fix incorrect function comments (#16719) 2025-12-29 15:52:01 +08:00
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