Commit graph

7378 commits

Author SHA1 Message Date
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
Jeffrey Chen
25319d7762
🐛 LoadTreeByData failed https://ld246.com/article/1776010143944 (#17479) 2026-04-13 09:43:37 +08:00
Daniel
996a238d59
🎨 https://github.com/siyuan-note/siyuan/issues/17462
Signed-off-by: Daniel <845765@qq.com>
2026-04-11 22:45:16 +08:00
Daniel
1c92d4d10e
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2026-04-11 22:19:23 +08:00
Daniel
31ca1d779f
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2026-04-11 22:14:33 +08:00
Jeffrey Chen
cce07ff01f
🎨 Improve some file operation APIs https://github.com/siyuan-note/siyuan/issues/17409 (#17460) 2026-04-11 20:22:19 +08:00
Jeffrey Chen
ca38872f11
🧑‍💻 Add kernel API /api/block/batchUpdateTaskListItemMarker https://github.com/siyuan-note/siyuan/issues/17451 (#17461) 2026-04-11 20:06:01 +08:00
Jeffrey Chen
9ba3a9a65d
🎨 Escape marketplace package author name (#17457) 2026-04-11 18:20:49 +08:00
Daniel
31eb761ef3
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2026-04-11 16:08:37 +08:00
Daniel
9fa3c8a2db
🐛 https://github.com/siyuan-note/siyuan/issues/17343#issuecomment-4223974591 https://github.com/siyuan-note/siyuan/issues/4658
Signed-off-by: Daniel <845765@qq.com>
2026-04-10 21:25:42 +08:00
Daniel
0ede0c7ce7
🧑‍💻 Add kernel API /api/block/updateTaskListItemMarker https://github.com/siyuan-note/siyuan/issues/17451
Signed-off-by: Daniel <845765@qq.com>
2026-04-10 21:15:04 +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
3162850e92
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-04-10 17:52:20 +08:00
Daniel
939665d1c1
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-04-10 17:35:48 +08:00
Daniel
06d5ac7bd3
🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7m5h-w69j-qggg
Signed-off-by: Daniel <845765@qq.com>
2026-04-10 17:35:24 +08:00
Daniel
c1539878c8
♻️ Move IsSubPath to gulu
Signed-off-by: Daniel <845765@qq.com>
2026-04-10 00:38:50 +08:00
Daniel
df897f5390
🎨 https://github.com/siyuan-note/siyuan/issues/17440
Signed-off-by: Daniel <845765@qq.com>
2026-04-09 13:28:41 +08:00
Daniel
efed9d1604
🎨 https://github.com/siyuan-note/siyuan/issues/17409
Signed-off-by: Daniel <845765@qq.com>
2026-04-09 12:45:32 +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
aaa1b02ad9
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-04-08 20:07:44 +08:00
Daniel
88575a266a
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-04-08 19:43:51 +08:00
Daniel
e65c2a3ac1
🐛 Default workspace data will be lost on macOS https://github.com/siyuan-note/siyuan/issues/17430
Signed-off-by: Daniel <845765@qq.com>
2026-04-08 19:43:50 +08:00
Daniel
07705b5397
🎨 Change the initial workspace path to ~/Library/Application Support/SiYuan on macOS https://github.com/siyuan-note/siyuan/issues/17095
🐛 Default workspace data will be lost on macOS https://github.com/siyuan-note/siyuan/issues/17430

Signed-off-by: Daniel <845765@qq.com>
2026-04-08 17:33:04 +08:00
Daniel
98cc6ed89e
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2026-04-08 16:42:27 +08:00
Daniel
661234c289
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-04-07 17:24:30 +08:00
Daniel
7edce5649f
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2026-04-07 17:18:53 +08:00
Daniel
2f416e5253
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-04-07 11:56:53 +08:00
Jeffrey Chen
e009b26d97
🧑‍💻 Add kernel API /api/file/workspaceCopyFiles (#17421) 2026-04-07 09:55:36 +08:00
Daniel
235dfb9ae3
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-04-06 21:12:34 +08:00
Jeffrey Chen
f9c5c482b8
🎨 Parameterized label query statements and escaping LIKE wildcards (#17416) 2026-04-06 09:30:04 +08:00
Daniel
b62273eb00
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-04-06 09:21:43 +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
29092a385f
🎨 JsonArg uses ShouldBindJSON and returns more diagnosable errors (#17413) 2026-04-05 16:51:27 +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
209c29cdb0
♻️ Migrate some JSON parameter extraction to util.ParseJsonArgs (#17400) 2026-04-04 08:53:54 +08:00
Jeffrey Chen
9256842fca
♻️ ParseJsonArg adds null value check (#17399) 2026-04-04 08:53:09 +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
7278f4dddb
🎨 https://github.com/siyuan-note/siyuan/issues/17393
Signed-off-by: Daniel <845765@qq.com>
2026-04-03 19:04:03 +08:00
Daniel
571d070de6
🔖 Release v3.6.3
Signed-off-by: Daniel <845765@qq.com>
2026-04-02 15:53:33 +08:00
Daniel
7e7956336f
⬆️ Upgrade lute https://github.com/siyuan-note/siyuan/pull/17378
Signed-off-by: Daniel <845765@qq.com>
2026-04-02 13:42:18 +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
Jeffrey Chen
0ee5fc385f
Improve cloud configuration consistency (#17371)
* 🎨 Improve cloud configuration consistency

* 🎨 Improve cloud configuration consistency

* 🎨 Improve cloud configuration consistency

* 🎨 Improve cloud configuration consistency

* 🎨 Improve cloud configuration consistency

* 🎨 Improve cloud configuration consistency

* 🎨 Improve cloud configuration consistency

* 🎨 Improve cloud configuration consistency
2026-04-02 09:22:04 +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
ca406bccb9
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-04-01 10:05:09 +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
9815ea5226
♻️ Migrate some JSON parameter extraction to util.ParseJsonArgs (#17372) 2026-03-31 23:03:55 +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
ad79d83027
🎨 https://github.com/siyuan-note/siyuan/pull/17361
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 18:21:31 +08:00
Jeffrey Chen
e6b4c29626
🎨 Improve Linux disk type detection (#17361)
Co-authored-by: D <845765@qq.com>
2026-03-31 18:14:32 +08:00
Daniel
1d44086109
🎨 https://github.com/siyuan-note/siyuan/pull/17361
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 17:48:16 +08:00
Daniel
57466c341c
🔖 Release v3.6.2
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 10:02:56 +08:00
Daniel
93817bee2f
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 09:33:22 +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
c060539136
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-03-30 21:24:55 +08:00
Daniel
e602475349
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2026-03-30 20:59:12 +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
Jeffrey Chen
5a4e6b6483
🎨 Bazaar cache invalidates following hash changes (#17320) 2026-03-30 12:16:20 +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
Daniel
f09953afc5
🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-73g7-86qr-jrg3
Signed-off-by: Daniel <845765@qq.com>
2026-03-30 11:11:06 +08:00
Daniel
b941de9a5f
🎨 Clean code https://github.com/siyuan-note/siyuan/pull/17347
Signed-off-by: Daniel <845765@qq.com>
2026-03-30 10:52:35 +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
Jiacheng
5b84279673
🎨 Support auto-convert pasted URL to clickable link format (#17338)
* feat: auto-convert pasted URL to clickable link format (#17337)

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/cdea999d-27c0-4260-a0b4-519e011e6667

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* fix: use angle bracket URL syntax for markdown link safety

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/cdea999d-27c0-4260-a0b4-519e011e6667

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* feat: add pasteURLAutoConvert editor setting to control URL auto-linking

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/1b722c05-e69f-4964-89bb-7f928d5adeb3

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* refactor: reuse setInlineMark for paste URL auto-convert, matching Ctrl+K link handler pattern

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/332d1b44-cebe-45b2-833e-72d7e3253a3d

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* refactor: extract shared resolveLinkDest and genLinkText utility functions

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/316f674d-3ce9-4b40-8711-08edb8af1aec

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* Disable automatic URL conversion on paste

* feat: add stripScheme option to genLinkText - keep scheme for paste, strip for Ctrl+K

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/960eaf33-f873-4709-8e63-8d9b473de4ee

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* Improve link handling in paste function

Refactor link handling in paste function to update range after setting inline mark.

* Fix return statement in paste.ts

* style: fix json tag alignment in Editor struct

* Update app/src/mobile/settings/editor.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(Link): handle URI decoding more safely in genLinkText

Add try-catch block to prevent URI decoding errors and make decoding optional

* feat(editor): add auto URL to link conversion on paste

Implement automatic conversion of pasted URLs to clickable links when the pasteURLAutoConvert setting is enabled. This improves user experience by eliminating the manual step of creating links for pasted URLs. The functionality is extracted into a separate function for better code organization and reuse.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-29 22:40:42 +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
Daniel
f2e6587120
🔨 Update kernel building script
Signed-off-by: Daniel <845765@qq.com>
2026-03-29 16:12:11 +08:00
Daniel
6c88fdb3a0
🎨 a1d2d0f1b0 (r180852112)
Signed-off-by: Daniel <845765@qq.com>
2026-03-28 20:16:29 +08:00
Daniel
c4b41e300e
🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-c77m-r996-jr3q
Signed-off-by: Daniel <845765@qq.com>
2026-03-28 19:40:18 +08:00
Daniel
ebb7dd8511
🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-68p4-j234-43mv
Signed-off-by: Daniel <845765@qq.com>
2026-03-28 19:37:37 +08:00
Daniel
a1d2d0f1b0
🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rx4h-526q-4458
Signed-off-by: Daniel <845765@qq.com>
2026-03-28 19:37:36 +08:00
Jeffrey Chen
ea69c9ab3c
🎨 Add kernel API /api/setting/setIcon (#17326) 2026-03-24 23:00:53 +08:00
Daniel
710548dc68
🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xmw9-6r43-x9ww
Signed-off-by: Daniel <845765@qq.com>
2026-03-23 19:10:25 +08:00
Daniel
b957c769df
🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-34xj-66v3-6j83
Signed-off-by: Daniel <845765@qq.com>
2026-03-23 19:07:24 +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
Daniel
ad66b5c6dd
♻️ https://github.com/siyuan-note/siyuan/pull/17302
Signed-off-by: Daniel <845765@qq.com>
2026-03-22 16:04:00 +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
b3e844ef7c
♻️ Code style: Constant conditions (#17312) 2026-03-22 11:35:05 +08:00
Jeffrey Chen
9a62f8ee86
♻️ Code style: deprecated elements (#17311) 2026-03-22 11:33:45 +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
64fd483ba7
♻️ Code style: Unused constants (#17308) 2026-03-22 11:24:07 +08:00
Jeffrey Chen
7ad7fa3cad
♻️ Code style: unused variable (#17306) 2026-03-22 11:20:52 +08:00
Jeffrey Chen
afb3ad1447
♻️ Code style: Redundant type casting (#17305) 2026-03-22 11:18:52 +08:00
Jeffrey Chen
fb263abded
♻️ Code style: type assertion or type switch on errors fails on wrapped errors (#17304) 2026-03-22 11:15:54 +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
Daniel
669577930a
♻️ https://github.com/siyuan-note/siyuan/pull/17302
Signed-off-by: Daniel <845765@qq.com>
2026-03-22 11:09:55 +08:00
Jeffrey Chen
6d95cd099f
♻️ Code style: The placeholder argument has an incorrect type (#17302) 2026-03-22 11:08:48 +08:00
Jeffrey Chen
bd1d45d437
♻️ Code style: Field assignment without explicit names (#17301) 2026-03-22 11:07:04 +08:00
Jeffrey Chen
5a27e25ca6
♻️ Code style: Format kernel/model/publish_access.go (#17300) 2026-03-22 11:05:48 +08:00