Commit Graph

484 Commits

Author SHA1 Message Date
Daniel
b0110bc381 Improve database view performance https://github.com/siyuan-note/siyuan/issues/17830
Signed-off-by: Daniel <845765@qq.com>
2026-06-08 10:03:34 +08:00
Daniel
99eb811b86 Improve database view performance https://github.com/siyuan-note/siyuan/issues/17830
Signed-off-by: Daniel <845765@qq.com>
2026-06-08 09:09:39 +08:00
Daniel
88ae06150d 🎨 Improve indexing
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 12:17:50 +08:00
Daniel
5a02e7b28f Semantic search using AI embeddings https://github.com/siyuan-note/siyuan/issues/17788
Signed-off-by: Daniel <845765@qq.com>
2026-05-31 09:46:42 +08:00
Daniel
08aaaedb13 Semantic search using AI embeddings https://github.com/siyuan-note/siyuan/issues/17788
Signed-off-by: Daniel <845765@qq.com>
2026-05-30 21:04:01 +08:00
Daniel
f57eb24470 🎨 https://github.com/siyuan-note/siyuan/issues/17786
Signed-off-by: Daniel <845765@qq.com>
2026-05-30 10:37:08 +08:00
Jeffrey Chen
eb35db7fbe ♻️ Refactor error messages in SQL statement validation for clarity (#17723) 2026-05-29 09:44:40 +08:00
Daniel
f0488af4b3 🐛 https://github.com/siyuan-note/siyuan/issues/17716
Signed-off-by: Daniel <845765@qq.com>
2026-05-24 21:25:11 +08:00
Daniel
4afa0adfa6 🎨 Improve rebuild index https://github.com/siyuan-note/siyuan/issues/17713
Signed-off-by: Daniel <845765@qq.com>
2026-05-24 21:05:03 +08:00
Jeffrey Chen
0a454d3cb7 🎨 Add read-only mode to /api/query/sql (#17696)
* 🧑‍💻 Add read-only mode to `/api/query/sql`

* 🎨 sql.CheckSingleStatement excludes end-of-line comments
2026-05-18 18:28:31 +08:00
Daniel
d711ede632 🎨 https://github.com/siyuan-note/siyuan/issues/17695
Signed-off-by: Daniel <845765@qq.com>
2026-05-18 11:36:00 +08:00
Daniel
ec0dedcba2 🎨 https://github.com/siyuan-note/siyuan/issues/17695
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 21:31:56 +08:00
Daniel
1987ec3aba 🎨 Improve data indexing stability https://github.com/siyuan-note/siyuan/issues/17610
Signed-off-by: Daniel <845765@qq.com>
2026-05-16 17:53:33 +08:00
Daniel
e4c346b65d 🎨 Improve data indexing stability https://github.com/siyuan-note/siyuan/issues/17610
Signed-off-by: Daniel <845765@qq.com>
2026-05-16 16:59:55 +08:00
Daniel
2e33429a37 🎨 Improve index queue https://github.com/siyuan-note/siyuan/issues/17694
Signed-off-by: Daniel <845765@qq.com>
2026-05-16 14:41:53 +08:00
Daniel
2a5356a236 🎨 Improve index queue
Signed-off-by: Daniel <845765@qq.com>
2026-05-16 14:41:53 +08:00
Daniel
b0177c4aa1 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-13 21:18:21 +08:00
Daniel
b6ba091f7d Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-13 19:55:40 +08:00
Daniel
038dc6e183 🎨 Improve wal queue
Signed-off-by: Daniel <845765@qq.com>
2026-05-10 19:32:03 +08:00
Qiaochu Hu
3071ad22d4 🔒 Use parameterized queries in putStat to prevent SQL injection (#17658)
The putStat function in kernel/sql/stat.go was building SQL queries
via string concatenation instead of using parameterized queries.
While currently only called with hardcoded internal values, this is
a defense-in-depth improvement that prevents future SQL injection
if the function is ever called with user-controlled input.

The execStmtTx helper already supports variadic args, so this is
a straightforward change to use ? placeholders.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 19:24:21 +08:00
Daniel
52b8a7cfed 🎨 add WAL persistence for database index queue to improve data indexing stability https://github.com/siyuan-note/siyuan/issues/17610
Signed-off-by: Daniel <845765@qq.com>
2026-04-29 21:45:55 +08:00
Daniel
de5e7fd2b9 🎨 https://github.com/siyuan-note/siyuan/issues/17592
Signed-off-by: Daniel <845765@qq.com>
2026-04-29 09:28:35 +08:00
Daniel
1ae36f885e 🎨 https://github.com/siyuan-note/siyuan/issues/17545#issuecomment-4293316202
Signed-off-by: Daniel <845765@qq.com>
2026-04-22 11:27:46 +08:00
Jeffrey Chen
1cb44c4d24 🐛 Correct the FTS target table branch of indexNode https://github.com/siyuan-note/siyuan/issues/17536 (#17557) 2026-04-20 23:22:17 +08:00
Daniel
c66018958e 🎨 https://github.com/siyuan-note/siyuan/issues/17545
Signed-off-by: Daniel <845765@qq.com>
2026-04-19 17:34:22 +08:00
Daniel
1486804d67 🎨 https://github.com/siyuan-note/siyuan/issues/17534 https://github.com/siyuan-note/siyuan/issues/17545
Signed-off-by: Daniel <845765@qq.com>
2026-04-19 17:21:55 +08:00
Daniel
2d052a9400 🎨 https://github.com/siyuan-note/siyuan/issues/17536 https://github.com/siyuan-note/siyuan/issues/5889
Signed-off-by: Daniel <845765@qq.com>
2026-04-19 11:42:43 +08:00
Daniel
9fee2993f9 🐛 https://github.com/siyuan-note/siyuan/issues/17537
Signed-off-by: Daniel <845765@qq.com>
2026-04-19 11:23:59 +08:00
Daniel
f5998d84b8 https://github.com/siyuan-note/siyuan/issues/17539
Signed-off-by: Daniel <845765@qq.com>
2026-04-19 10:40:38 +08:00
Daniel
95e96ac41c Improve ristretto NumCounters
Signed-off-by: Daniel <845765@qq.com>
2026-04-15 21:56:43 +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
Jeffrey Chen
f9c5c482b8 🎨 Parameterized label query statements and escaping LIKE wildcards (#17416) 2026-04-06 09:30:04 +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
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
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
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
b3e844ef7c ♻️ Code style: Constant conditions (#17312) 2026-03-22 11:35:05 +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
fdb1e4ac00 ♻️ Code style: Comparing with the equality operator fails on wrapped errors (#17303) 2026-03-22 11:11:25 +08:00
iliya
322477e282 ♻️ kernel/sql/queue_history: refactor time.Now().Sub with time.Since (#17277) 2026-03-21 11:27:47 +08:00
Daniel
6b073623c7 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2026-03-17 20:15:57 +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
a6a56a6442 🎨 https://github.com/siyuan-note/siyuan/issues/17157
Signed-off-by: Daniel <845765@qq.com>
2026-03-13 10:42:42 +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
923d492248 🎨 Fix https://github.com/siyuan-note/siyuan/issues/17191
Signed-off-by: Daniel <845765@qq.com>
2026-03-12 19:17:21 +08:00
Daniel
9a344830b4 🎨 https://github.com/siyuan-note/siyuan/issues/17157#issuecomment-4039704018
Signed-off-by: Daniel <845765@qq.com>
2026-03-12 08:42:08 +08:00