Commit Graph

268 Commits

Author SHA1 Message Date
Daniel efd4ff0f32 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2026-01-09 09:28:28 +08:00
Daniel 549e1faa09 🐛 Multiple workspace access authentication error https://github.com/siyuan-note/siyuan/issues/16786
Signed-off-by: Daniel <845765@qq.com>
2026-01-06 17:38:08 +08:00
Jeffrey Chen 7464a6f951 🎨 Improve desktop auto-update https://github.com/siyuan-note/siyuan/issues/16461 (#16764) 2026-01-03 09:40:24 +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 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
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 ad48451d51 🎨 Improve exit
Signed-off-by: Daniel <845765@qq.com>
2025-12-09 19:31:44 +08:00
Daniel 7d36fbc2f1 🎨 Improve exit
Signed-off-by: Daniel <845765@qq.com>
2025-12-09 16:43:38 +08:00
Daniel 106a679dba 🎨 Improve http server
Signed-off-by: Daniel <845765@qq.com>
2025-12-09 11:02:25 +08:00
Daniel 21dff696cc 🎨 Improve exit on Android
Signed-off-by: Daniel <845765@qq.com>
2025-12-09 10:40:38 +08:00
Daniel 5bef3bf817 🎨 Supports setting the spell check language on desktop https://github.com/siyuan-note/siyuan/issues/16524
Signed-off-by: Daniel <845765@qq.com>
2025-12-08 17:47:46 +08:00
Daniel 2e40a53802 🎨 Supports setting the spell check language on desktop https://github.com/siyuan-note/siyuan/issues/16524
Signed-off-by: Daniel <845765@qq.com>
2025-12-08 17:47:45 +08:00
Daniel 3f8b08fbd4 🎨 Support setting status bar message switch https://github.com/siyuan-note/siyuan/issues/16236
Signed-off-by: Daniel <845765@qq.com>
2025-11-12 22:22:12 +08:00
Daniel 6196173898 🎨 Supports setting newly created sub-documents to be listed last https://github.com/siyuan-note/siyuan/issues/16327
Signed-off-by: Daniel <845765@qq.com>
2025-11-11 10:57:09 +08:00
Jeffrey Chen d14501178d 🎨 Backlink and backmention sort mode persistence (#16291)
fix https://github.com/siyuan-note/siyuan/issues/7764
2025-11-06 09:33:20 +08:00
Daniel ddfc1cbd66 🎨 Improve FSRS weight initialization https://github.com/siyuan-note/siyuan/issues/16181
Signed-off-by: Daniel <845765@qq.com>
2025-10-22 22:08:38 +08:00
Daniel af43929b7a 🎨 https://github.com/siyuan-note/siyuan/issues/16046
Signed-off-by: Daniel <845765@qq.com>
2025-10-10 12:48:40 +08:00
Daniel e36592ab5c 🎨 History Retention Days supports a maximum setting of 3650 https://github.com/siyuan-note/siyuan/issues/15979
Signed-off-by: Daniel <845765@qq.com>
2025-09-29 21:14:44 +08:00
Daniel 7ebf3e4c7a 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2025-09-27 20:09:46 +08:00
Daniel eb13c34fe5 🎨 Alert users when .sy file or database .json exceed 8MB https://github.com/siyuan-note/siyuan/issues/15451 2025-08-24 10:50:03 +08:00
Daniel 0f2e044c7e 🎨 Clean code 2025-07-27 20:26:42 +08:00
Daniel e492b1fa51 🎨 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 2025-06-23 11:03:39 +08:00
Daniel 3319ffbb18 🔥 Completely remove Google Analytics https://github.com/siyuan-note/siyuan/issues/15096 2025-06-20 10:20:42 +08:00
Daniel 526e436fbc 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 https://github.com/siyuan-note/siyuan/pull/15041 2025-06-17 17:00:29 +08:00
Daniel 7d3be24347 🎨 Improve kernel exit 2025-05-26 12:51:45 +08:00
Daniel cd3b35548f 🎨 Trim space in dialynote/block ref/new doc save path https://github.com/siyuan-note/siyuan/issues/14482 2025-03-31 21:33:24 +08:00
Daniel 3ebfdf6c5b 🎨 Improve text https://github.com/siyuan-note/siyuan/issues/14447 2025-03-25 23:57:39 +08:00
Daniel 8495038694 🎨 Improve clear workspace 2025-03-21 09:13:36 +08:00
Daniel 5c2dc99579 🎨 Improve text https://github.com/siyuan-note/siyuan/issues/14292 2025-03-07 12:12:15 +08:00
Daniel 4374859e04 🐛 Fix NPE https://ld246.com/article/1739550445065 2025-02-15 18:27:05 +08:00
Daniel 0658c85b2e 🎨 Improve export preview https://github.com/siyuan-note/siyuan/issues/13857 2025-02-09 11:20:05 +08:00
Daniel b81677bf4b 🎨 Improve export preview https://github.com/siyuan-note/siyuan/issues/13857 2025-02-07 12:00:37 +08:00
Daniel 7612415527 🎨 Improve AccessAuthCode checking https://ld246.com/article/1738206227405 2025-01-30 11:18:49 +08:00
Yingyi / 颖逸 6ee4705e2a 🎨 Support local file system sync & backup (#13663)
* 🎨 Use local file system sync & backup

* ⬆️ dejavu

* 🎨 Add the settings panel of local file system sync & backup

* 📝 Update user guides of local file system sync & backup

* 🎨 Adjust supported runtime environments
2024-12-31 21:06:13 +08:00
Daniel c925f06326 🎨 Improve boot logging for database 2024-12-27 19:50:08 +08:00
Daniel e24a462003 🎨 Improve checking for updates on exit https://github.com/siyuan-note/siyuan/issues/13608 2024-12-25 21:59:10 +08:00
Daniel 5fb2b78911 🔥 Remove Sentry reporting diagnostic data https://github.com/siyuan-note/siyuan/issues/13522 2024-12-18 17:10:23 +08:00
Daniel 45a6f7e29d 🎨 Support setting automatic sync interval https://github.com/siyuan-note/siyuan/issues/13448 2024-12-14 12:05:40 +08:00
Daniel ada8c71ca9 🔊 Add repo key logging https://ld246.com/article/1733660913439 2024-12-08 22:10:35 +08:00
Daniel 6f87241626 🎨 Improve exporting block ref https://github.com/siyuan-note/siyuan/issues/13331 2024-12-08 18:23:26 +08:00
Daniel acbbd8ca5d 🎨 Support HarmonyOS NEXT system https://github.com/siyuan-note/siyuan/issues/13184 2024-11-22 20:23:36 +08:00
Daniel 6a442ad85d 🎨 Automatic purge for local data repo https://github.com/siyuan-note/siyuan/issues/13091 2024-11-17 01:33:21 +08:00
Daniel 7e3e1d03ef 🎨 Apps in Chinese mainland app stores no longer provide AI access settings https://github.com/siyuan-note/siyuan/issues/13051 2024-11-11 11:42:41 +08:00
Daniel 962a9dff56 🎨 Apps in Chinese mainland app stores no longer provide AI access settings https://github.com/siyuan-note/siyuan/issues/13051 2024-11-09 16:34:16 +08:00
Daniel e585263970 🎨 Apps in Chinese mainland app stores no longer provide AI access settings https://github.com/siyuan-note/siyuan/issues/13051 2024-11-07 16:51:59 +08:00
Daniel b32257cf1c 🎨 Improve S3/WebDAV data sync config https://github.com/siyuan-note/siyuan/issues/12923 2024-10-26 22:41:58 +08:00
Daniel 8dd0629b9c ♻️ Improve transaction flush 2024-10-22 19:21:04 +08:00
Daniel 488e87b70b 🎨 WebDAV/S3 data sync and backup support configurable concurrent requests https://github.com/siyuan-note/siyuan/issues/12798 2024-10-16 19:29:11 +08:00