106 Commits

Author SHA1 Message Date
Daniel 342e2d43f6 Use FTS5 external content mode for blocks_fts to deduplicate data with blocks https://github.com/siyuan-note/siyuan/issues/17540
Signed-off-by: Daniel <845765@qq.com>
2026-07-03 14:16:20 +08:00
Daniel c075980b59 🎨 CLI supports setting the logging level
Signed-off-by: Daniel <845765@qq.com>
2026-07-03 11:50:38 +08:00
Daniel 1b05057634 🎨 Support setting notification switch https://github.com/siyuan-note/siyuan/issues/11109
Signed-off-by: Daniel <845765@qq.com>
2026-07-02 13:30:57 +08:00
Daniel 4e8486b50d 🎨 Support setting notification switch https://github.com/siyuan-note/siyuan/issues/11109
Signed-off-by: Daniel <845765@qq.com>
2026-07-02 13:16:08 +08:00
Daniel 82eeb755fe 🎨 Support setting notification switch https://github.com/siyuan-note/siyuan/issues/11109
Signed-off-by: Daniel <845765@qq.com>
2026-07-02 09:17:01 +08:00
Daniel 96d77f229f 🎨 https://github.com/siyuan-note/siyuan/issues/17863#issuecomment-4714055684
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 10:09: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
游夏 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 88ae06150d 🎨 Improve indexing
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 12:17:50 +08:00
Jeffrey Chen c20212594d ♻️ Extract IsMobileContainer and replace the mobile ternary judgment (#17661) 2026-05-11 00:03:33 +08:00
Jeffrey Chen 5c674d7249 ♻️ Replace interface{} with any (#17415) 2026-04-05 16:48:32 +08:00
Daniel ad79d83027 🎨 https://github.com/siyuan-note/siyuan/pull/17361
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 18:21:31 +08:00
Jeffrey Chen e6b4c29626 🎨 Improve Linux disk type detection (#17361)
Co-authored-by: D <845765@qq.com>
2026-03-31 18:14:32 +08:00
Daniel 1d44086109 🎨 https://github.com/siyuan-note/siyuan/pull/17361
Signed-off-by: Daniel <845765@qq.com>
2026-03-31 17:48:16 +08:00
Jeffrey Chen 9a62f8ee86 ♻️ Code style: deprecated elements (#17311) 2026-03-22 11:33:45 +08:00
Daniel 22f63e335a 🎨 https://ld246.com/article/1769610715566
Signed-off-by: Daniel <845765@qq.com>
2026-01-28 22:41:49 +08:00
Daniel e1ebb1f151 🎨 Database filtering follows search case sensitive settings https://github.com/siyuan-note/siyuan/issues/16585
Signed-off-by: Daniel <845765@qq.com>
2026-01-17 18:20:50 +08:00
Daniel 111ae00b1c 🎨 Warn users about potential performance issues when running on non-SSD drives https://github.com/siyuan-note/siyuan/issues/16835
Signed-off-by: Daniel <845765@qq.com>
2026-01-15 20:59:19 +08:00
Daniel 2df2f2eb3a 🎨 Warn users about potential performance issues when running on non-SSD drives https://github.com/siyuan-note/siyuan/issues/16835
Signed-off-by: Daniel <845765@qq.com>
2026-01-15 20:55:00 +08:00
Daniel eb13c34fe5 🎨 Alert users when .sy file or database .json exceed 8MB https://github.com/siyuan-note/siyuan/issues/15451 2025-08-24 10:50:03 +08:00
Daniel 89f1887c3b Improve data sync performance for booting https://github.com/siyuan-note/siyuan/issues/13216 2024-11-21 10:59:29 +08:00
Daniel e585263970 🎨 Apps in Chinese mainland app stores no longer provide AI access settings https://github.com/siyuan-note/siyuan/issues/13051 2024-11-07 16:51:59 +08:00
Daniel 56d7a3e2b8 Improve outline panel loading performance https://github.com/siyuan-note/siyuan/issues/12981 2024-10-31 22:39:33 +08:00
Daniel 108dc32098 ♻️ Implement some delayed kernel events using task queues https://github.com/siyuan-note/siyuan/issues/12393 2024-09-05 22:13:28 +08:00
Daniel 09eec52a02 ♻️ Implement some delayed kernel events using task queues https://github.com/siyuan-note/siyuan/issues/12393 2024-09-05 18:07:04 +08:00
Oleksandr Redko b100721fee ♻️ Refactor Go to err != nil, err == nil (#12385) 2024-09-04 09:40:50 +08:00
Daniel e92eac7b63 🎨 Improve cloud disk detect 2024-06-23 20:30:47 +08:00
Daniel b9f269ae85 🎨 Supports disabling Markdown syntax input for some inline elements https://github.com/siyuan-note/siyuan/issues/11141 2024-04-26 12:08:01 +08:00
Daniel a9a12ddc0c 🎨 Logging iCloud path https://ld246.com/article/1706233831340 2024-01-26 11:12:00 +08:00
Daniel 8f9ce6e3f0 ⬆️ Upgrade database table view 2023-12-14 11:54:27 +08:00
Daniel bea32e96d5 🎨 Improve kernel stability by eliminating some data races https://github.com/siyuan-note/siyuan/issues/9842 2023-12-08 13:05:50 +08:00
Daniel b1cea465ac 🎨 Improve file read/write locking https://github.com/siyuan-note/siyuan/issues/9748 2023-12-05 17:51:17 +08:00
Daniel 1e7a45c66d 🐛 The authentication page after startup Alt+M fails https://github.com/siyuan-note/siyuan/issues/9575 2023-11-09 10:52:46 +08:00
Daniel 7d992ce175 Support for searching asset content https://github.com/siyuan-note/siyuan/issues/8874 2023-08-04 12:05:29 +08:00
Daniel 9eeee3965a Support for saving .sy files in the single-line format https://github.com/siyuan-note/siyuan/issues/8712 2023-07-09 22:24:32 +08:00
Daniel b9c35fd0f5 🎨 Update slogan Refactor your thinking https://github.com/siyuan-note/siyuan/issues/8608 2023-06-24 20:39:55 +08:00
Daniel ba50a9fca6 🎨 Update text 2023-06-24 00:05:51 +08:00
Daniel 5a458c9c09 🎨 Update text 2023-06-24 00:03:51 +08:00
Daniel f7d8a02138 🎨 Auto rebuild history database index when indexing failed https://github.com/siyuan-note/siyuan/issues/8543 2023-06-15 10:22:43 +08:00
Daniel a515a4f992 🐛 Pandoc is not initialized in some cases Fix https://github.com/siyuan-note/siyuan/issues/8533 2023-06-15 10:15:13 +08:00
Daniel 6575ee65ed 🎨 Clean code 2023-06-09 22:30:13 +08:00
Liang Ding 40d952e12d 🎨 Partially refresh the interface after data synchronization https://github.com/siyuan-note/siyuan/issues/8098 2023-04-25 18:34:38 +08:00
Liang Ding 9bfc7846cd 🎨 Partially refresh the interface after data synchronization https://github.com/siyuan-note/siyuan/issues/8098 2023-04-25 15:39:57 +08:00
Liang Ding bd2e2c78bc 🎨 Partially refresh the interface after data synchronization https://github.com/siyuan-note/siyuan/issues/8098 2023-04-25 15:35:08 +08:00
Liang Ding 051ddf74ae 🎨 Data snapshot save device ID, name and OS https://github.com/siyuan-note/siyuan/issues/8094 2023-04-24 12:07:39 +08:00
Liang Ding 0d71170331 🐛 Windows 端部分系统上内核崩溃 https://github.com/siyuan-note/siyuan/issues/7806 2023-03-28 19:40:07 +08:00
Liang Ding 55076cc89c 🐛 Windows 端部分系统上内核崩溃 https://github.com/siyuan-note/siyuan/issues/7806 2023-03-28 19:04:49 +08:00
Liang Ding d55af3966d 🐛 Windows 端部分系统上内核崩溃 https://github.com/siyuan-note/siyuan/issues/7806 2023-03-28 18:48:55 +08:00
Liang Ding 6bd9c4cfe4 🔥 启动时移除处于网盘路径下的工作空间 https://github.com/siyuan-note/siyuan/issues/7790 2023-03-28 08:46:44 +08:00
Liang Ding 01d5207679 🎨 改进 Windows 端第三方同步盘检测 Fix https://github.com/siyuan-note/siyuan/issues/7777 2023-03-27 15:43:18 +08:00