Commit Graph

916 Commits

Author SHA1 Message Date
Daniel c1539878c8 ♻️ Move IsSubPath to gulu
Signed-off-by: Daniel <845765@qq.com>
2026-04-10 00:38:50 +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
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 29092a385f 🎨 JsonArg uses ShouldBindJSON and returns more diagnosable errors (#17413) 2026-04-05 16:51:27 +08:00
Jeffrey Chen 5c674d7249 ♻️ Replace interface{} with any (#17415) 2026-04-05 16:48:32 +08:00
Jeffrey Chen 9256842fca ♻️ ParseJsonArg adds null value check (#17399) 2026-04-04 08:53:09 +08:00
Daniel 571d070de6 🔖 Release v3.6.3
Signed-off-by: Daniel <845765@qq.com>
2026-04-02 15:53:33 +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 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
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 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
Jeffrey Chen 5a4e6b6483 🎨 Bazaar cache invalidates following hash changes (#17320) 2026-03-30 12:16:20 +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
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
Daniel 6c88fdb3a0 🎨 https://github.com/siyuan-note/siyuan/commit/a1d2d0f1b02f87a804c84b2d964478dc6c2fb67f#r180852112
Signed-off-by: Daniel <845765@qq.com>
2026-03-28 20:16:29 +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 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 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
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
Jeffrey Chen 60fa7fe545 ♻️ Code style: Adjust comment formatting (#17299) 2026-03-22 11:05:22 +08:00
Jeffrey Chen fdd7285e90 ♻️ Code style: Redundant else branch (#17298) 2026-03-22 10:50:13 +08:00
iliya b77e174066 ♻️ kernel/util/path: remove unnecessary second val from loop (#17279) 2026-03-21 11:44:00 +08:00
iliya 12a21ecdea ♻️ kernel/util/misc: use raw string to avoid escaping more than 1 time (#17278) 2026-03-21 11:40:24 +08:00
iliya c592f9d88a ♻️ kernel/util/working: remove redundant return (#17280) 2026-03-21 11:37:14 +08:00
Daniel 1048a2bc38 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3g9h-9hp4-654v
Signed-off-by: Daniel <845765@qq.com>
2026-03-18 09:37:19 +08:00
Daniel 501571c2d2 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vm69-h85x-8p85
Signed-off-by: Daniel <845765@qq.com>
2026-03-18 09:18:52 +08:00
Jeffrey Chen a69ea3ef0d ♻️ Migrate some JSON parameter extraction to util.ParseJsonArgs (#17244)
v3.6.2
2026-03-18 09:10:39 +08:00
Daniel fe4523fff2 🔖 Release v3.6.1
Signed-off-by: Daniel <845765@qq.com>
2026-03-17 09:25:24 +08:00
Daniel 60e6b12708 🔖 Release v3.6.1
Signed-off-by: Daniel <845765@qq.com>
2026-03-17 09:01:34 +08:00
Daniel ca51c4cf8a 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2026-03-17 08:58:05 +08:00
Jeffrey Chen 3375ee4ab5 🎨 Improve database preview image loading (#17237)
* 🎨 Improve database preview image loading https://github.com/siyuan-note/siyuan/issues/17229

* 🎨 Improve database preview image loading https://github.com/siyuan-note/siyuan/issues/17229

* 🎨 Improve database preview image loading https://github.com/siyuan-note/siyuan/issues/17229
2026-03-17 08:56:58 +08:00
Daniel d01d561875 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4mx9-3c2h-hwhg
Signed-off-by: Daniel <845765@qq.com>
2026-03-16 10:39:23 +08:00
Daniel 294b8b429d 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-fq2j-j8hc-8vw8
Signed-off-by: Daniel <845765@qq.com>
2026-03-16 10:22:14 +08:00
Daniel 1e370e3735 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xp2m-98x8-rpj6
Signed-off-by: Daniel <845765@qq.com>
2026-03-14 19:15:49 +08:00
Daniel 9914fd1d39 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h5vh-m7fg-w5h6
Signed-off-by: Daniel <845765@qq.com>
2026-03-14 11:14:25 +08:00
Daniel fd6526133b 🔖 Release v3.6.0
Signed-off-by: Daniel <845765@qq.com>
2026-03-13 10:49:16 +08:00
Daniel 3ae8b2f3ae 🎨 https://github.com/siyuan-note/siyuan/issues/17157
Signed-off-by: Daniel <845765@qq.com>
2026-03-13 10:15:20 +08:00
Daniel 3f944d0d75 🎨 https://github.com/siyuan-note/siyuan/pull/17196
Signed-off-by: Daniel <845765@qq.com>
2026-03-13 09:09:45 +08:00
konti1334 f0f2bdd2c1 ✨ Broadcast ws-main setBlockAttrs event after API call https://github.com/siyuan-note/siyuan/issues/17179 (#17196)
Co-authored-by: You name <konty@github.com>
2026-03-13 08:56:09 +08:00
Yuxin Zhao 3facc37df9 Publish service supports document-level access control (#16041)
* 🎨 improve publish service https://github.com/siyuan-note/siyuan/issues/11928

* fix: change publish access storage

* 🎨 publish access control #16041

* fix: publish access in embed block and search

* fix: multiple lock in pubish service & insert locked content in publish service

* fix: multiple lock

* fix: password in embed block

* fix: locked and forbidden docs in gallery

* fix: dont use publish access block

* fix: attribute view of publish disabled docs

* fix: disable docs in table and gallery

* fix: locked docs in attribute view

* fix: purge publish access

* fix: disable docs in table and gallery groups

* fix: locked and disabled docs in attribute view, outline and preview

* fix: create publish_access.go

* fix: move publish auth to publish_access.go

* fix: tag and ref of locked docs

* fix: backlink of locked docs

* fix: search in locked docs

* fix: search history and asset

* fix: copy to markdown

* fix: hide command panel

* fix: publish access control in mobile

* fix: recent docs of invisible and locked docs

* fix: backlink in mobile

* fix: empty Tab

* fix: get locked and forbidden doc assets and files

* fix: refblock & asset

* fix: disable /api/file/sql in publish mode

* fix: publish access of kanban

* fix: adjustment for review

* fix: /api/filetree/setPublishAccess return error meesage

* fix: move the publishAccess button to the More Menu & revert the fix for barCommand/menuCommand

* fix: hotkey of command panel
2026-03-12 18:04:01 +08:00
Daniel 40a4c25a78 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2026-03-11 09:10:33 +08:00
Daniel 3e0dc24ef4 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2026-03-10 16:31:15 +08:00