Commit graph

6592 commits

Author SHA1 Message Date
Jeffrey Chen
6419f5c7fb Ensure the API correctly returns an empty array, add deduplication logic, and remove redundant sorting steps when updating fields 2025-11-09 21:57:45 +08:00
Jeffrey Chen
f6217c0b50 Remove RemoveRecentDoc function and its calls from multiple files to streamline document handling 2025-11-09 21:57:45 +08:00
Jeffrey Chen
ddbcacfe81 GetDoc is solely responsible for retrieving document content and does not handle business logic 2025-11-09 21:57:45 +08:00
Jeffrey Chen
92a9214302 Update RecentDoc struct to make timestamp fields optional 2025-11-09 21:57:45 +08:00
Jeffrey Chen
fe87cf521a ♻️ Refactor recent documents handling 2025-11-09 21:57:45 +08:00
Daniel
64b4f38b21
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2025-11-09 15:41:51 +08:00
Daniel
7160aa8b3a
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2025-11-09 15:40:02 +08:00
Daniel
5288f0c631
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-11-09 14:51:29 +08:00
Daniel
d17c1a9ed1
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-11-09 13:56:51 +08:00
Daniel
80e9bee8bd
🎨 https://github.com/siyuan-note/siyuan/issues/16296
Signed-off-by: Daniel <845765@qq.com>
2025-11-09 10:54:11 +08:00
Daniel
c0e947d2ac
🎨 Improve recent doc
Signed-off-by: Daniel <845765@qq.com>
2025-11-08 23:11:02 +08:00
Daniel
9b0a855404
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2025-11-07 21:25:10 +08:00
Daniel
0bea01ad3b
🎨 Add Include time switch to database creation time field and update time field https://github.com/siyuan-note/siyuan/issues/12091
Signed-off-by: Daniel <845765@qq.com>
2025-11-07 21:25:03 +08:00
Daniel
0f055f1f7c
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2025-11-07 10:45:26 +08:00
Daniel
17c18d1c51
🎨 https://ld246.com/article/1762396950091
Signed-off-by: Daniel <845765@qq.com>
2025-11-06 20:51:31 +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
f45f2c7cdb
🎨 Improve av
Signed-off-by: Daniel <845765@qq.com>
2025-11-06 09:14:59 +08:00
Daniel
a756ca2dde
🐛 Image OCR may not work in some cases https://github.com/siyuan-note/siyuan/issues/16287
Signed-off-by: Daniel <845765@qq.com>
2025-11-05 11:29:51 +08:00
Daniel
404068b91b
Database kanban view https://github.com/siyuan-note/siyuan/issues/8873
Signed-off-by: Daniel <845765@qq.com>
2025-11-05 11:22:42 +08:00
Daniel
8ada34f357
Database kanban view https://github.com/siyuan-note/siyuan/issues/8873
Signed-off-by: Daniel <845765@qq.com>
2025-11-05 10:27:45 +08:00
Daniel
bdff7a74c1
Database kanban view https://github.com/siyuan-note/siyuan/issues/8873
Signed-off-by: Daniel <845765@qq.com>
2025-11-04 21:46:20 +08:00
NateSmyth
3525c2b5d9
🎨 Fix kanban attrView followup (#16277)
* fix: more robust fix for kanban empty groups error
- followup for handling of edge cases that cause "Cannot read properties of undefined (reading 'forEach')" error in renderKanban
- always apply preferred group key logic whenever kanban has an empty group key

* 🎨 Clean code

---------

Co-authored-by: D <845765@qq.com>
2025-11-04 12:31:59 +08:00
Daniel
d4c46ebaa2
Database kanban view https://github.com/siyuan-note/siyuan/issues/8873
Signed-off-by: Daniel <845765@qq.com>
2025-11-04 11:07:42 +08:00
NateSmyth
c72f2b0167
🐛 setAttributesViewGroup timing error (#16275)
* fix: "Cannot read properties of undefined (reading 'forEach')" when creating kanban view
- fixed error when `setAttributeViewGroup()` tries to access  `attrView.Views` before kanban view is added

* fix: "Failed to execute 'json' on 'Response': Unexpected end of JSON input" when converting to kanban view
- fixed error where `ChangeAttrViewLayout()` generates groups before new layout type is set, causing data structure mismatch
2025-11-04 10:01:31 +08:00
Daniel
f5a1309481
🎨 https://github.com/siyuan-note/siyuan/pull/16268
Signed-off-by: Daniel <845765@qq.com>
2025-11-03 11:14:58 +08:00
Daniel
7e935ee61f
⬆️ Upgrade lute
Signed-off-by: Daniel <845765@qq.com>
2025-11-03 11:03:03 +08:00
Jeffrey Chen
15674d67f7
🐛 Fix path retrieval in CreateWithMarkdown function (#16268)
fix https://github.com/siyuan-note/siyuan/issues/16026
2025-11-03 11:02:38 +08:00
Daniel
16056c216c
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2025-11-01 16:58:20 +08:00
Daniel
654020ff7d
🎨 Supports converting relative path hyperlinks into document block references after importing Markdown https://github.com/siyuan-note/siyuan/issues/13817
Signed-off-by: Daniel <845765@qq.com>
2025-11-01 16:57:43 +08:00
Jeffrey Chen
a0f5387bb4
🧑‍💻 Improve /api/storage/getRecentDocs (#16257)
fix https://github.com/siyuan-note/siyuan/issues/16256
2025-11-01 10:36:47 +08:00
Daniel
c2157ca060
🎨 Supports converting relative path hyperlinks into document block references after importing Markdown https://github.com/siyuan-note/siyuan/issues/13817
Signed-off-by: Daniel <845765@qq.com>
2025-10-31 19:14:15 +08:00
Daniel
b75c824607
🎨 Supports converting relative path hyperlinks into document block references after importing Markdown https://github.com/siyuan-note/siyuan/issues/13817
Signed-off-by: Daniel <845765@qq.com>
2025-10-31 17:42:36 +08:00
Jeffrey Chen
d76c63a456
🐛 Reset recent-doc.json on unmarshal failure (#16251) 2025-10-31 10:12:56 +08:00
Daniel
debe70b646
🔖 Release v3.3.6
Signed-off-by: Daniel <845765@qq.com>
2025-10-29 16:15:05 +08:00
Daniel
1c952be716
🎨 https://github.com/siyuan-note/siyuan/issues/16233 https://github.com/siyuan-note/siyuan/issues/16121
Signed-off-by: Daniel <845765@qq.com>
2025-10-29 16:10:40 +08:00
Daniel
5e85d895b3
🎨 https://github.com/siyuan-note/siyuan/issues/16233 https://github.com/siyuan-note/siyuan/issues/16121
Signed-off-by: Daniel <845765@qq.com>
2025-10-29 16:01:35 +08:00
Daniel
e5f3fc5e51
🎨 https://github.com/siyuan-note/siyuan/issues/16233 https://github.com/siyuan-note/siyuan/issues/16121
Signed-off-by: Daniel <845765@qq.com>
2025-10-29 16:01:35 +08:00
Jeffrey Chen
4c2684d11d
🧑‍💻 Add internal kernel API /api/block/getBlockDOMWithEmbed and /api/block/getBlockDOMsWithEmbed (#16237)
* 🎨 Add internal kernel API `/api/block/getBlockDOMWithEmbed` and `/api/block/getBlockDOMsWithEmbed`

fix https://github.com/siyuan-note/siyuan/issues/16021

* 🎨 Add internal kernel API `/api/block/getBlockDOMWithEmbed` and `/api/block/getBlockDOMsWithEmbed`

fix https://github.com/siyuan-note/siyuan/issues/16021
2025-10-29 15:27:19 +08:00
Daniel
15fc11e600
🎨 https://github.com/siyuan-note/siyuan/issues/16233 https://github.com/siyuan-note/siyuan/issues/16121
Signed-off-by: Daniel <845765@qq.com>
2025-10-29 10:43:17 +08:00
Daniel
fc4cadfd58
🎨 https://github.com/siyuan-note/siyuan/issues/16206
Signed-off-by: Daniel <845765@qq.com>
2025-10-28 20:44:19 +08:00
Daniel
2567526672
🎨 Improve detection of duplicate insertion of assets https://github.com/siyuan-note/siyuan/issues/16220
Signed-off-by: Daniel <845765@qq.com>
2025-10-28 11:01:53 +08:00
Daniel
920f7e4623
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2025-10-28 11:01:53 +08:00
Jeffrey Chen
90a447f914
🎨 Improve exporting document HTML (#16219)
* 🎨 The browser-side supports exporting document HTML

fix https://github.com/siyuan-note/siyuan/issues/16213

* 修复导出 HTML 时引入资源没有使用相对路径,修复文档导出 HTML/PDF 时缺失图标

fix https://github.com/siyuan-note/siyuan/issues/16217

fix https://github.com/siyuan-note/siyuan/issues/16216 01

* 修复文档导出 HTML/PDF 时冗余图标

fix https://github.com/siyuan-note/siyuan/issues/16216 02
2025-10-28 09:28:56 +08:00
Daniel
d154b05083
🧑‍💻 Add an internal kernel API /api/outline/getDocOutlineAndStorage https://github.com/siyuan-note/siyuan/issues/16206
Signed-off-by: Daniel <845765@qq.com>
2025-10-27 17:14:38 +08:00
Daniel
1f464ca42b
🎨 Improve the database rollup and asset field filtering https://github.com/siyuan-note/siyuan/issues/16126
Signed-off-by: Daniel <845765@qq.com>
2025-10-27 11:31:11 +08:00
Daniel
d5b78df9a3
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2025-10-27 11:30:53 +08:00
Daniel
bc1fe91865
⬆️ Upgrade kernel deps
Signed-off-by: Daniel <845765@qq.com>
2025-10-26 21:52:14 +08:00
Daniel
923f9be756
🎨 Improve get os info for HarmonyOS
Signed-off-by: Daniel <845765@qq.com>
2025-10-26 21:18:51 +08:00
Jeffrey Chen
45381d2575
🎨 Improve embedding block exports (#16205)
fix https://github.com/siyuan-note/siyuan/issues/16200
2025-10-26 18:45:14 +08:00
Daniel
957a928959
🎨 https://github.com/siyuan-note/siyuan/issues/16156
Signed-off-by: Daniel <845765@qq.com>
2025-10-25 17:24:57 +08:00