Commit Graph

314 Commits

Author SHA1 Message Date
Daniel 7edce5649f 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2026-04-07 17:18:53 +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
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
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 fdb1e4ac00 ♻️ Code style: Comparing with the equality operator fails on wrapped errors (#17303) 2026-03-22 11:11:25 +08:00
Jeffrey Chen 60f783a3e8 Support setting document title to empty (#17110)
* 🎨 Support setting document title to empty

* 🎨 Support setting document title to empty

* 🎨 Support setting document title to empty

* 🎨 Support setting document title to empty
2026-03-12 10:47:12 +08:00
Daniel 8c8aaa6a69 🐛 Outdent of list items causes database bind blocks to be deleted https://github.com/siyuan-note/siyuan/issues/17108
Signed-off-by: Daniel <845765@qq.com>
2026-02-27 10:28:37 +08:00
Daniel 89a595f9c6 ⚡ Caching tree data to improve performance and reduce disk read and write operations https://github.com/siyuan-note/siyuan/issues/16961
Signed-off-by: Daniel <845765@qq.com>
2026-02-02 18:25:52 +08:00
Daniel a4059c62bc 🎨 https://github.com/siyuan-note/siyuan/issues/16854#issuecomment-3828689374
Signed-off-by: Daniel <845765@qq.com>
2026-02-01 10:46:21 +08:00
Daniel bbfd732689 🎨 Supports cleaning up unreferenced databases https://github.com/siyuan-note/siyuan/issues/11569
Signed-off-by: Daniel <845765@qq.com>
2026-01-30 00:03:58 +08:00
Jeffrey Chen b0f71123a3 Improve recent documents handling (#16727)
* merge

* Update RecentDoc struct to make timestamp fields optional

* GetDoc is solely responsible for retrieving document content and does not handle business logic

* Remove RemoveRecentDoc function and its calls from multiple files to streamline document handling

* Ensure the API correctly returns an empty array, add deduplication logic, and remove redundant sorting steps when updating fields

* 🎨 Supports configuring the maximum number of `Recent documents` to be listed https://github.com/siyuan-note/siyuan/issues/16720

* merge

* 🎨 Supports configuring the maximum number of `Recent documents` to be listed https://github.com/siyuan-note/siyuan/issues/16720

* 🐛 Fix browsing time not sorted

* 🎨 Supports configuring the maximum number of `Recent documents` to be listed https://github.com/siyuan-note/siyuan/issues/16720

* merge

* remove async

* try catch
2026-01-21 08:52:05 +08:00
Daniel ca179523c3 🎨 https://github.com/siyuan-note/siyuan/issues/13987
Signed-off-by: Daniel <845765@qq.com>
2026-01-09 18:22:08 +08:00
Daniel 5cf09d8043 🎨 Move supports searching by document block ID https://github.com/siyuan-note/siyuan/issues/16674
Signed-off-by: Daniel <845765@qq.com>
2025-12-23 17:10:41 +08:00
Daniel c07efea8de 🎨 Improve callout block https://github.com/siyuan-note/siyuan/issues/16607
Signed-off-by: Daniel <845765@qq.com>
2025-12-20 12:31:28 +08:00
Daniel cb79c4aed6 🐛 Fix https://github.com/siyuan-note/siyuan/issues/16493
Signed-off-by: Daniel <845765@qq.com>
2025-12-04 11:35:49 +08:00
Daniel b5c84f2354 🎨 The old version of the application no longer supports opening the new version of the document https://github.com/siyuan-note/siyuan/issues/16505
Signed-off-by: Daniel <845765@qq.com>
2025-12-03 22:03:37 +08:00
Daniel c917626d47 🎨 Improve searching for move blocks https://github.com/siyuan-note/siyuan/issues/15564#issuecomment-3604599711
Signed-off-by: Daniel <845765@qq.com>
2025-12-03 17:50:48 +08:00
Daniel 190ab07b98 🎨 Improve searching for move blocks
Signed-off-by: Daniel <845765@qq.com>
2025-12-01 18:58:53 +08:00
Daniel a65f46c922 🐛 https://github.com/siyuan-note/siyuan/issues/16463
Signed-off-by: Daniel <845765@qq.com>
2025-11-29 00:02:05 +08:00
Daniel f5b17b2b22 🎨 https://github.com/siyuan-note/siyuan/pull/16449#issuecomment-3581097735
Signed-off-by: Daniel <845765@qq.com>
2025-11-26 20:46:18 +08:00
Daniel 141653cf13 🐛 Importing Markdown failed https://github.com/siyuan-note/siyuan/issues/16451
Signed-off-by: Daniel <845765@qq.com>
2025-11-26 16:43:08 +08:00
Jeffrey Chen 8a1703e34a 🎨 Remove the av-names attribute from block elements (#16424) 2025-11-23 10:45:04 +08:00
Daniel 121e4a8b60 🧑‍💻 Add filetreeSortChanged and notebookSortChanged to eventbus https://github.com/siyuan-note/siyuan/issues/16383
Signed-off-by: Daniel <845765@qq.com>
2025-11-22 21:20:10 +08:00
Daniel f55e575253 🔥 The database-bound block no longer automatically adds to the database after being copied as a replica https://github.com/siyuan-note/siyuan/issues/12294
Signed-off-by: Daniel <845765@qq.com>
2025-11-22 18:46:53 +08:00
Daniel 62bdaf9ec6 🔥 The database-bound block no longer automatically adds to the database after being copied as a replica https://github.com/siyuan-note/siyuan/issues/12294
Signed-off-by: Daniel <845765@qq.com>
2025-11-22 18:28:00 +08:00
Daniel 3f3afb3347 🎨 No longer automatically fills the database view's filter condition values after copying and pasting the bound block https://github.com/siyuan-note/siyuan/issues/12294
Signed-off-by: Daniel <845765@qq.com>
2025-11-22 18:02:08 +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
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
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 1451dbdeeb 🎨 https://github.com/siyuan-note/siyuan/issues/16092
Signed-off-by: Daniel <845765@qq.com>
2025-10-15 10:50:49 +08:00
Daniel fae3323182 🎨 https://github.com/siyuan-note/siyuan/issues/16089
Signed-off-by: Daniel <845765@qq.com>
2025-10-14 17:07:56 +08:00
Daniel 73613836b5 🎨 https://github.com/siyuan-note/siyuan/issues/16026
Signed-off-by: Daniel <845765@qq.com>
2025-10-08 18:01:02 +08:00
Daniel ee4ddf89c1 🎨 Refresh the data in the interface after moving the document https://github.com/siyuan-note/siyuan/issues/15762
Signed-off-by: Daniel <845765@qq.com>
2025-09-10 21:39:14 +08:00
Daniel a4f03191fa 🎨 https://github.com/siyuan-note/siyuan/issues/15777 2025-09-08 10:58:58 +08:00
Daniel 6c1156afc8 🎨 Improve document tree custom sorting stability when creating a notebook or doc https://github.com/siyuan-note/siyuan/issues/15716 2025-08-29 16:20:53 +08:00
Daniel 7b995fd16c 🎨 Improve Add to Database https://github.com/siyuan-note/siyuan/issues/10659 2025-08-26 10:46:41 +08:00
Daniel 8895613f8b 🎨 https://github.com/siyuan-note/siyuan/issues/15669 2025-08-25 10:58:45 +08:00
Daniel d0f350d215 🎨 https://github.com/siyuan-note/siyuan/issues/15669 2025-08-25 10:43:50 +08:00
Daniel 005ae241e9 🎨 Improve Add to Database https://github.com/siyuan-note/siyuan/issues/10659 2025-08-23 11:55:56 +08:00
Daniel 9098b3f874 🎨 Improve duplicate doc 2025-08-05 16:55:48 +08:00
Daniel 95a5b46800 🎨 Improve database field default filling https://github.com/siyuan-note/siyuan/issues/11966 2025-08-02 17:49:30 +08:00
Daniel cff71aa720 🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964 2025-07-27 17:08:22 +08:00
Daniel 7c692e8273 ⚡ Improve pasting performance for large amounts of content https://github.com/siyuan-note/siyuan/issues/15306 2025-07-26 21:24:28 +08:00
Daniel 62d560e7a8 🎨 Improve reference count update after document convert to heading https://github.com/siyuan-note/siyuan/issues/15299 2025-07-17 16:33:22 +08:00
Daniel 0a17b83372 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 2025-06-25 13:15:55 +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 d0dbc9b551 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 https://github.com/siyuan-note/siyuan/pull/15041 2025-06-17 18:00:44 +08:00
Daniel b35e21587b 🎨 Improve doc tree Name Alphabet sorting https://github.com/siyuan-note/siyuan/issues/14773 2025-05-07 17:34:35 +08:00