Commit Graph

7717 Commits

Author SHA1 Message Date
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
Jeffrey Chen 4ac5a4522f ♻️ Remove attribute data-obj from marketplace package card, add attribute data-name, and query package information from memory https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x88j-wgpr-h22x (#17809) 2026-06-14 10:23:49 +08:00
Daniel 59ecd2f66a ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 09:29:39 +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 1cacffc611 ✨ New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 09:06:48 +08:00
Daniel 374e3386b3 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 22:24:02 +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 1acb2488a6 ✨ New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 21:23:22 +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 5a193d6197 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 17:11:03 +08:00
Daniel b1d4805ed1 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 16:09:55 +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 9d89fdc67e ✨ New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 12:26:49 +08:00
Daniel f4d43bd42b ♻️ 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:18:34 +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
Daniel 012f0003c6 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 09:06:56 +08:00
Daniel 6d6c3b14ac ♻️ 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-12 22:18:07 +08:00
Daniel bdfa91e783 🎨 Avoid long wait when exiting while data repo purge is in progress https://github.com/siyuan-note/siyuan/issues/17711
Signed-off-by: Daniel <845765@qq.com>
2026-06-12 17:00:44 +08:00
Daniel 8569d374b9 🎨 Avoid long wait when exiting while data repo purge is in progress https://github.com/siyuan-note/siyuan/issues/17711
Signed-off-by: Daniel <845765@qq.com>
2026-06-12 16:52:50 +08:00
Daniel 97b5b8e187 ✨ Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Signed-off-by: Daniel <845765@qq.com>
2026-06-12 16:52:49 +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
Daniel 501a0af7e7 ✨ Semantic search using AI embeddings https://github.com/siyuan-note/siyuan/issues/17788
Signed-off-by: Daniel <845765@qq.com>
2026-06-12 14:22:44 +08:00
Daniel 56dd822c08 ⬆️ https://github.com/siyuan-note/siyuan/pull/17844
Signed-off-by: Daniel <845765@qq.com>
2026-06-12 11:52:23 +08:00
Daniel 4f33811f54 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-12 11:16:36 +08:00
Daniel c44df313d9 ✨ Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Signed-off-by: Daniel <845765@qq.com>
2026-06-12 09:18:43 +08:00
Daniel 9373dbc8cd ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 22:04:20 +08:00
Daniel da88f6833e ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 21:27:46 +08:00
Daniel 9ede47c27a ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 21:22:43 +08:00
Daniel bc586ddbeb ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 21:00:09 +08:00
Daniel 2fd484f0de ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 20:37:57 +08:00
Daniel 48d6816263 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 20:32:49 +08:00
Daniel b9859499bf ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 20:14:07 +08:00
Daniel 27c14cd80a ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 19:44:37 +08:00
Daniel c85b954671 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 18:05:52 +08:00
Daniel 77fd235f69 ✨ Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 17:54:30 +08:00
Daniel 7cfb37fc9f ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 09:40:01 +08:00
Daniel cbf89f7088 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-11 08:48:38 +08:00
Daniel fba6cb9a53 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 23:20:08 +08:00
Daniel e32bc2fa7c ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 23:20:03 +08:00
Daniel ff040a63f7 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 23:20:00 +08:00
Daniel 234037ac9f ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 23:19:58 +08:00
Daniel de81d9f72e ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 23:19:53 +08:00
Daniel ac970950f5 ✨ Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 16:54:02 +08:00
Daniel 38a47e401a ✨ Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 16:50:58 +08:00
Daniel b953135400 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 16:50:39 +08:00