4350 Commits

Author SHA1 Message Date
Jeffrey Chen 8f3b9992c2 🎨 Prevent modification of the data-task attribute https://github.com/siyuan-note/siyuan/issues/17343#issuecomment-4223807048 (#17466) 2026-04-14 08:01:45 +08:00
Jeffrey Chen e9a2dc2e4d Add error details to the abnormal status pop-up window (#17465)
* 🎨 Add error details to the abnormal status pop-up window

* 🎨 Add error details to the abnormal status pop-up window
2026-04-13 21:47:57 +08:00
Daniel da072ce12c 🎨 https://github.com/siyuan-note/siyuan/issues/17476
Signed-off-by: Daniel <845765@qq.com>
2026-04-13 11:26:42 +08:00
Daniel 9b29e5aa49 🎨 https://github.com/siyuan-note/siyuan/issues/17476
Signed-off-by: Daniel <845765@qq.com>
2026-04-13 11:04:24 +08:00
Jeffrey Chen 712ad7b74a ♻️ Encapsulate sorting file read/write functions and add complete file paths to error logs (#17480) 2026-04-13 10:36:05 +08:00
Daniel 46ce401552 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4
Signed-off-by: Daniel <845765@qq.com>
2026-04-10 19:58:49 +08:00
Daniel c1539878c8 ♻️ Move IsSubPath to gulu
Signed-off-by: Daniel <845765@qq.com>
2026-04-10 00:38:50 +08:00
Jeffrey Chen 68dde82a64 🐛 Only validate the name when the S3 bucket name changes https://ld246.com/article/1775665943744 (#17433) 2026-04-09 09:05:24 +08:00
Daniel 7edce5649f 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2026-04-07 17:18:53 +08:00
Jeffrey Chen 698ee3d357 ♻️ Improve validation of some JSON parameters (#17412)
* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters
2026-04-05 17:03:13 +08:00
Jeffrey Chen bb9cb86bd7 🎨 Empty tags are once again displayed in the tag panel (#17408) 2026-04-05 16:59:02 +08:00
Jeffrey Chen 4065982c9a ♻️ Replace errors.New(fmt.Sprintf) with fmt.Errorf (#17414) 2026-04-05 16:50:20 +08:00
Jeffrey Chen 5c674d7249 ♻️ Replace interface{} with any (#17415) 2026-04-05 16:48:32 +08:00
Jeffrey Chen 064754128b ♻️ Replace time.Now().Sub(start) with time.Since(start) (#17401) 2026-04-04 08:48:32 +08:00
Jeffrey Chen 20c1b9b387 🎨 Record the number of CSS and JS code snippets in the log (#17395) 2026-04-03 21:19:05 +08:00
Daniel 8ed60bb7d1 🎨 Improve document deletion https://github.com/siyuan-note/siyuan/issues/17351
Signed-off-by: Daniel <845765@qq.com>
2026-04-02 11:24:57 +08:00
Daniel 1cba71f392 🎨 Improve YAML front-matter tag export https://github.com/siyuan-note/siyuan/issues/17376
Signed-off-by: Daniel <845765@qq.com>
2026-04-02 10:02:20 +08:00
Daniel 7e11a7e74f 🎨 Improve YAML front-matter tag export https://github.com/siyuan-note/siyuan/issues/17376
Signed-off-by: Daniel <845765@qq.com>
2026-04-02 09:34:03 +08:00
Daniel 904b65f6ca 🎨 Improve YAML front-matter tag export https://github.com/siyuan-note/siyuan/issues/17376
Signed-off-by: Daniel <845765@qq.com>
2026-04-01 10:18:32 +08:00
Daniel 985584c7c7 🐛 Images in the database assets fields are not displaying https://github.com/siyuan-note/siyuan/issues/17368
🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526q-4458

Signed-off-by: Daniel <845765@qq.com>
2026-04-01 00:15:18 +08:00
Jeffrey Chen a674b14806 🎨 Empty tags no longer appear in the tag panel https://github.com/siyuan-note/siyuan/issues/17367 (#17369)
Co-authored-by: D <845765@qq.com>
2026-03-31 22:14:00 +08:00
Daniel 52fc9bea6b 🐛 Images in the database assets fields are not displaying https://github.com/siyuan-note/siyuan/issues/17368
🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526q-4458

Signed-off-by: Daniel <845765@qq.com>
2026-03-31 22:05:01 +08:00
Daniel 0fdf00f362 🎨 Empty tags no longer appear in the tag panel https://github.com/siyuan-note/siyuan/issues/17367
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 20:10:42 +08:00
Daniel a9caf1f2c7 🎨 Empty tags no longer appear in the tag panel https://github.com/siyuan-note/siyuan/issues/17367
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 20:10:25 +08:00
Daniel d8e33acb48 🎨 Empty tags no longer appear in the tag panel https://github.com/siyuan-note/siyuan/issues/17367
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 20:02:05 +08:00
Daniel 83bd6acf68 🐛 Escaping issues in attribute panel https://github.com/siyuan-note/siyuan/issues/17345
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 00:10:42 +08:00
Daniel bec2a00f95 🐛 https://github.com/siyuan-note/siyuan/issues/17345
Signed-off-by: Daniel <845765@qq.com>
2026-03-30 18:06:25 +08:00
Daniel 7c3d6b0f1a 🐛 https://github.com/siyuan-note/siyuan/issues/17345
Signed-off-by: Daniel <845765@qq.com>
2026-03-30 18:04:29 +08:00
Daniel 1bc7f556ff 🐛 https://github.com/siyuan-note/siyuan/issues/17345
Signed-off-by: Daniel <845765@qq.com>
2026-03-30 12:10:30 +08:00
Jeffrey Chen 8b9ddfec65 🎨 Improve document data correction logic and performance (#17347)
* 🎨 Improve document data correction logic

* 🎨 Improve document data correction performance
2026-03-30 10:36:01 +08:00
Daniel 918d1bd9f9 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-ff66-236v-p4fg
Signed-off-by: Daniel <845765@qq.com>
2026-03-29 22:23:31 +08:00
Jeffrey Chen ea69c9ab3c 🎨 Add kernel API /api/setting/setIcon (#17326) 2026-03-24 23:00:53 +08:00
Daniel 677063aa44 🎨 https://github.com/siyuan-note/siyuan/issues/17261
Signed-off-by: Daniel <845765@qq.com>
2026-03-22 16:26:19 +08:00
Jeffrey Chen c055028af0 ♻️ Code style: Potential resource leak (#17313)
* ♻️ Code style: Potential resource leak

* 🎨 Still use f.Unlock()

---------

Co-authored-by: D <845765@qq.com>
2026-03-22 12:41:59 +08:00
Daniel a8abfa5ddf ♻️ https://github.com/siyuan-note/siyuan/pull/17307
Signed-off-by: Daniel <845765@qq.com>
2026-03-22 12:26:51 +08:00
Jeffrey Chen 349a8ddc98 ♻️ Code style: unused function (#17307)
* ♻️ Code style: unused function

* Refactor reload handling in processMessage

Refactor reload logic to handle scroll reset and maintain functionality for mobile and non-mobile environments.

* Add ReloadUIResetScroll function to websocket.go

---------

Co-authored-by: D <845765@qq.com>
2026-03-22 12:19:44 +08:00
Jeffrey Chen 71342abe99 ♻️ Code style: Omit explicit types and remove unused (blank identifier) parameters (#17310) 2026-03-22 11:30:20 +08:00
Daniel bd5873559b ♻️ https://github.com/siyuan-note/siyuan/pull/17309
Signed-off-by: Daniel <845765@qq.com>
2026-03-22 11:29:03 +08:00
Jeffrey Chen 8dbe00d634 ♻️ Code style: Unused formal parameters (#17309) 2026-03-22 11:26:39 +08:00
Jeffrey Chen 7ad7fa3cad ♻️ Code style: unused variable (#17306) 2026-03-22 11:20:52 +08:00
Jeffrey Chen fdb1e4ac00 ♻️ Code style: Comparing with the equality operator fails on wrapped errors (#17303) 2026-03-22 11:11:25 +08:00
Jeffrey Chen 5a27e25ca6 ♻️ Code style: Format kernel/model/publish_access.go (#17300) 2026-03-22 11:05:48 +08:00
Jeffrey Chen 60fa7fe545 ♻️ Code style: Adjust comment formatting (#17299) 2026-03-22 11:05:22 +08:00
Daniel 9497f5dc1b 🎨 Supports rolling back a specified file within a data snapshot https://github.com/siyuan-note/siyuan/issues/12355
Signed-off-by: Daniel <845765@qq.com>
2026-03-22 11:03:03 +08:00
Jeffrey Chen fdd7285e90 ♻️ Code style: Redundant else branch (#17298) 2026-03-22 10:50:13 +08:00
Daniel 1667adb1c4 ♻️ min(runtime.NumCPU(), n)
Signed-off-by: Daniel <845765@qq.com>
2026-03-21 11:59:42 +08:00
iliya 717a8e857c ♻️ kernel/model/index: optimizations (#17286)
* kernel/model/carddav: modernize with wg.Go

* kernel/model/carddav: remove unused code
2026-03-21 11:55:47 +08:00
iliya 4597117e56 ♻️ modernize with wg.Go and remove unused code (#17285)
* kernel/model/caldav: modernize with wg.Go

* kernel/model/caldav: remove unused code
2026-03-21 11:55:13 +08:00
iliya 440f9e29ec ♻️ kernel/model/repository: refactor with wg.Go (#17288) 2026-03-21 11:53:35 +08:00
iliya 956bf40c6d ♻️ kernel/model/bazaar: modernize with wg.Go (#17284) 2026-03-21 11:53:03 +08:00