Commit Graph

1243 Commits

Author SHA1 Message Date
Daniel ad0b008802 🎨 Add a dialog box for Markdown export parameters https://github.com/siyuan-note/siyuan/issues/17031
Signed-off-by: Daniel <845765@qq.com>
2026-06-25 20:18:51 +08:00
Daniel 0edf26a09f 🎨 Improve ai settings https://github.com/siyuan-note/siyuan/issues/17914
Signed-off-by: Daniel <845765@qq.com>
2026-06-25 16:15:36 +08:00
Daniel 33af4c0a5e 🎨 Improve ai settings https://github.com/siyuan-note/siyuan/issues/17914
Signed-off-by: Daniel <845765@qq.com>
2026-06-25 15:47:19 +08:00
Daniel 922c2fcf0d Supports configuring secrets and variables https://github.com/siyuan-note/siyuan/issues/17933 2026-06-25 09:15:53 +08:00
Daniel 43b700c11b AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-22 11:36:49 +08:00
Daniel d98767f7a3 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-22 08:59:09 +08:00
Daniel c40e9af120 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-22 00:03:54 +08:00
Jeffrey Chen 1fa30d4803 New settings UI (#17675)
* New settings UI

* AI 配置项

* 清理调试代码

* https://github.com/siyuan-note/siyuan/pull/17675#discussion_r3441865530

* https://github.com/siyuan-note/siyuan/pull/17675#discussion_r3441458542

* 还原:修改停靠栏快捷键设置之后不能立即生效 https://github.com/siyuan-note/siyuan/pull/17675#discussion_r3446054676

* 改进条件编译 1

* 改进条件编译 2

* 改进条件编译 1.1

* 改进条件编译 2.1
2026-06-21 08:45:59 +08:00
Daniel db266e7fab 🎨 Improve block op api
Signed-off-by: Daniel <845765@qq.com>
2026-06-20 11:21:15 +08:00
Jeffrey Chen 5e0a1a4be2 ♻️ Change the lang value to comply with RFC 5646 https://github.com/siyuan-note/siyuan/issues/17855 (#17888) 2026-06-19 23:34:31 +08:00
Jeffrey Chen 43b191af75 🎨 Improve AI configuration normalization (#17883) 2026-06-19 07:41:43 +08:00
Daniel d92920d174 🎨 Support database filter composition https://github.com/siyuan-note/siyuan/issues/10550
Signed-off-by: Daniel <845765@qq.com>
2026-06-18 20:41:18 +08:00
Daniel 1b443779c4 🎨 Local HTTPS + HTTP/2 support https://github.com/siyuan-note/siyuan/issues/17822
Signed-off-by: Daniel <845765@qq.com>
2026-06-18 20:35:15 +08:00
Daniel b0e0e7d047 🎨 Support database filter composition https://github.com/siyuan-note/siyuan/issues/10550
Signed-off-by: Daniel <845765@qq.com>
2026-06-18 12:42:23 +08:00
Daniel a264caa3fe 🎨 Improve Cut and Paste https://github.com/siyuan-note/siyuan/pull/17850
Signed-off-by: Daniel <845765@qq.com>
2026-06-17 23:18:23 +08:00
未来方舟 57819eb4f1 🎨 Improve Cut and Paste (#17850)
* attemp 1

* use EcistBlockTrees

* fix the edge case that cut in A, paste in B, undo in a and only done at the second time

---------

Co-authored-by: D <845765@qq.com>
2026-06-17 20:43:00 +08:00
Daniel 03e3f74070 🎨 Support cross-document undo https://github.com/siyuan-note/siyuan/issues/4866
Signed-off-by: Daniel <845765@qq.com>
2026-06-17 19:58:04 +08:00
Daniel 2ca1f179f0 Improve database view performance https://github.com/siyuan-note/siyuan/issues/17830
Signed-off-by: Daniel <845765@qq.com>
2026-06-17 19:55:41 +08:00
Daniel 4553a4319d Improve database view performance https://github.com/siyuan-note/siyuan/issues/17830
Signed-off-by: Daniel <845765@qq.com>
2026-06-17 17:47:50 +08:00
Daniel abe1fe19d5 🎨 Stop exposing the absolute workspace path to browsers https://github.com/siyuan-note/siyuan/issues/17410
Signed-off-by: Daniel <845765@qq.com>
2026-06-17 08:20:17 +08:00
Daniel 01ed71c6f8 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 22:50:56 +08:00
Daniel cc1e706e2a AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 22:28:02 +08:00
Daniel 6b05937217 🎨 Improve booting
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 16:24:49 +08:00
Daniel dbf076ce98 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 11:21:45 +08:00
Daniel b3f25dd5b9 ♻️ Change the lang value to comply with RFC 5646 https://github.com/siyuan-note/siyuan/issues/17855
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 07:56:19 +08:00
Daniel 42a4284448 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-15 23:39:43 +08:00
Daniel 72abd1bfc7 🎨 Improve checkBlockExist https://github.com/siyuan-note/siyuan/issues/17742
Signed-off-by: Daniel <845765@qq.com>
2026-06-15 13:29:48 +08:00
Jeffrey Chen ca0ce7ff2d ♻️ Adjust the AI configuration structure (#17858) 2026-06-15 08:39:01 +08:00
Daniel f0e961537b AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 21:40:44 +08:00
Daniel c1716dacbb New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 20:05:55 +08:00
Daniel 70c6af57d1 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 19:46:20 +08:00
Daniel e97a72cba5 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 18:49:14 +08:00
Daniel a285d9469f AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 17:36:18 +08:00
Daniel 06f4c86ea5 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 17:16:47 +08:00
Daniel 325f68c8b5 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 16:34:34 +08:00
Daniel 7d8c1810a8 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 16:07:13 +08:00
Daniel 0537ff35e3 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 15:35:54 +08:00
Daniel 69a8fba803 ♻️ Change the lang value to comply with RFC 5646 https://github.com/siyuan-note/siyuan/issues/17855
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 14:03:02 +08:00
Daniel 3248a83895 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 10:27:30 +08:00
Daniel 879a85f87e AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 10:26:15 +08:00
Daniel 8ef2669978 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 09:06:54 +08:00
Daniel 307f5b1a60 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 22:19:51 +08:00
Daniel f32f48c720 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 21:57:40 +08:00
Daniel 7b79fc3089 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 20:22:45 +08:00
Daniel ea892bca7e New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 14:34:04 +08:00
Daniel f44610570d AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 14:34:03 +08:00
Daniel 123ed61f76 ♻️ No longer create table blocks_fts_case_insensitive https://github.com/siyuan-note/siyuan/issues/17849
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 12:11:23 +08:00
Daniel 59dc786120 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 12:09:59 +08:00
Daniel 6f320404c1 🎨 Support for opening the user guide on iOS https://github.com/siyuan-note/siyuan/issues/17851
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 09:43:51 +08:00
游夏 36f4e3720e 🎨 Add Simplified/Traditional Chinese sensitivity option (#17846)
*  搜索支持区分繁简选项 Add Simplified/Traditional Chinese sensitivity option for search

新增搜索配置 hanSensitive(区分繁简,默认开启 = 现状行为,命名与语义
向 caseSensitive 对齐)。关闭后简体与繁体可互相检索。

- FTS 层:关闭区分繁简时,blocks_fts / blocks_fts_case_insensitive 建表
  追加 han_insensitive 分词器参数(依赖 88250/go-sqlite3 配套补丁),
  繁体在分词时按单字折叠为简体,token 偏移仍指向原文;
- 切换选项复用区分大小写现有的 FullReindex 流程;
- 高亮:EncloseHighlighting 在关闭区分繁简时将关键字逐字符展开为
  繁简等价字符类(如 诗经 -> [诗詩][经經]),与分词器使用同一份
  OpenCC TSCharacters 映射数据;
- 兼容:旧版本 conf.json 缺 hanSensitive 字段时按既往行为置为开启;
  setSearch 请求未携带该字段(现行前端/第三方调用)时保持当前值,
  避免被零值意外翻转并触发重建索引;
- 遵照配置界面重写计划(#17601),本次不改动设置界面与 i18n,仅添加
  配置数据结构字段与前端类型定义(config.d.ts)。

范围说明:本次仅覆盖块全文搜索(关键字/查询语法)的命中与高亮;
历史/资源文件搜索、数据库属性过滤、虚拟引用、查找替换的替换动作
不在本次范围内(替换保持字节精确以避免误改原文)。

Fixes #13304

* 🐛 add missing util.SearchHanSensitive referenced by highlighting and sql.SetHanSensitive

Copilot 评审指出 util.SearchHanSensitive 未定义导致无法编译:补上该全局
变量(默认 true,与既往行为一致,由 sql.SetHanSensitive 维护),并修正
conf/search.go 的 gofmt 对齐。已在本地以 dev 当前 go.mod(已合并的
88250/go-sqlite3 分词器)完成 go build -tags fts5 与 kernel/search 单测验证。
2026-06-12 15:59:50 +08:00