Commit Graph

228 Commits

Author SHA1 Message Date
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 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 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 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 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
游夏 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 e0208e875e ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-07 18:10:02 +08:00
Daniel 404a98a5ef ✨ Semantic search using AI embeddings https://github.com/siyuan-note/siyuan/issues/17788
Signed-off-by: Daniel <845765@qq.com>
2026-06-06 23:26:19 +08:00
Daniel d180f0a9ce ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-06 21:46:42 +08:00
Daniel 8335aa7145 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-05 16:20:42 +08:00
Daniel 8f3473a7f0 ✨ AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 17:48:04 +08:00
Daniel 5747fe42f4 ✨ AI Agent panel https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-03 22:57:15 +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 e60093379c ✨ Shorthands on mobile https://github.com/siyuan-note/siyuan/issues/14414#issuecomment-4470321595
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 21:11:51 +08:00
Daniel 38be2cd887 ✨ Shorthands on mobile https://github.com/siyuan-note/siyuan/issues/14414
Signed-off-by: Daniel <845765@qq.com>
2026-05-09 18:33:19 +08:00
Daniel d82036d6e9 🎨 https://github.com/siyuan-note/siyuan/issues/10749#issuecomment-4348873683
Signed-off-by: Daniel <845765@qq.com>
2026-04-30 10:07:05 +08:00
Daniel addaa3bdac 🎨 Automatically adjust editor font weight based on font file https://github.com/siyuan-note/siyuan/issues/10313
Signed-off-by: Daniel <845765@qq.com>
2026-04-30 01:47:56 +08:00
Daniel fbab86b421 🎨 Show default icon label (Default) for built-in icon in settings
Signed-off-by: Daniel <845765@qq.com>
2026-04-29 12:06:32 +08:00
Daniel b3ae783cbd 🎨 New default appearance icon https://github.com/siyuan-note/siyuan/issues/7976
Signed-off-by: Daniel <845765@qq.com>
2026-04-27 12:57:06 +08:00
Jeffrey Chen 5c674d7249 ♻️ Replace interface{} with any (#17415) 2026-04-05 16:48:32 +08:00
Jiacheng 5b84279673 🎨 Support auto-convert pasted URL to clickable link format (#17338)
* feat: auto-convert pasted URL to clickable link format (#17337)

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/cdea999d-27c0-4260-a0b4-519e011e6667

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* fix: use angle bracket URL syntax for markdown link safety

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/cdea999d-27c0-4260-a0b4-519e011e6667

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* feat: add pasteURLAutoConvert editor setting to control URL auto-linking

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/1b722c05-e69f-4964-89bb-7f928d5adeb3

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* refactor: reuse setInlineMark for paste URL auto-convert, matching Ctrl+K link handler pattern

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/332d1b44-cebe-45b2-833e-72d7e3253a3d

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* refactor: extract shared resolveLinkDest and genLinkText utility functions

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/316f674d-3ce9-4b40-8711-08edb8af1aec

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* Disable automatic URL conversion on paste

* feat: add stripScheme option to genLinkText - keep scheme for paste, strip for Ctrl+K

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/960eaf33-f873-4709-8e63-8d9b473de4ee

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* Improve link handling in paste function

Refactor link handling in paste function to update range after setting inline mark.

* Fix return statement in paste.ts

* style: fix json tag alignment in Editor struct

* Update app/src/mobile/settings/editor.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(Link): handle URI decoding more safely in genLinkText

Add try-catch block to prevent URI decoding errors and make decoding optional

* feat(editor): add auto URL to link conversion on paste

Implement automatic conversion of pasted URLs to clickable links when the pasteURLAutoConvert setting is enabled. This improves user experience by eliminating the manual step of creating links for pasted URLs. The functionality is extracted into a separate function for better code organization and reuse.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-29 22:40:42 +08:00
Jeffrey Chen 2739def842 🎨 Support configuring the floating window hover trigger delay (#17123)
* 🎨 Support configuring the floating window hover trigger delay

* 🎨 Support configuring the floating window hover trigger delay
2026-03-02 23:13:02 +08:00
Daniel 4660d50324 🎨 Supports configuring "Do not split screen when certain tabs are open" https://github.com/siyuan-note/siyuan/issues/16833
Signed-off-by: Daniel <845765@qq.com>
2026-02-16 11:47:20 +08:00
Daniel 4257986729 🎨 Improve comment
Signed-off-by: Daniel <845765@qq.com>
2026-02-11 20:29:46 +08:00
Daniel 087fa35e73 🎨 https://github.com/siyuan-note/siyuan/issues/13635#issuecomment-3866491876
Signed-off-by: Daniel <845765@qq.com>
2026-02-08 16:12:37 +08:00
Davide Garberi cff12611c0 🎨 Support HTTPS network serving (#16930)
* Add use TLS for network serving configuration option

* kernel: Implement TLS certificate generation

* kernel: server: Use https for fixed port proxy when needed

* Allow exporting the CA Certificate file

* Implement import and export of CA Certs

* kernel: fixedport: Use the same port for HTTP and HTTPS
2026-01-29 09:41:39 +08:00
Daniel d36e9d7766 Revert "🎨 Implement HTTPS network serving (#16912)"
This reverts commit 43ea6757d5.
2026-01-27 14:16:16 +08:00
Davide Garberi 43ea6757d5 🎨 Implement HTTPS network serving (#16912)
* Add use TLS for network serving configuration option

* kernel: Implement TLS certificate generation

* kernel: server: Use https for fixed port proxy when needed

* Allow exporting the CA Certificate file

* Implement import and export of CA Certs
2026-01-27 12:59:11 +08:00
Daniel cf79a5db32 🎨 New export settings: Include sub-docs, Include related docs https://github.com/siyuan-note/siyuan/issues/13635
Signed-off-by: Daniel <845765@qq.com>
2026-01-18 23:00:19 +08:00
Daniel 6ee0b663e2 🎨 Supports setting Pandoc parameters for export https://github.com/siyuan-note/siyuan/issues/16845
Signed-off-by: Daniel <845765@qq.com>
2026-01-16 23:20:48 +08:00
Daniel 53c24fff2b 🎨 Supports setting Pandoc parameters for export https://github.com/siyuan-note/siyuan/issues/16845
Signed-off-by: Daniel <845765@qq.com>
2026-01-16 22:58:46 +08:00
Daniel 066a9b5192 🎨 Add "Remove ID from asset name" switch to export settings https://github.com/siyuan-note/siyuan/issues/16065
Signed-off-by: Daniel <845765@qq.com>
2026-01-16 21:59:21 +08:00
Daniel 11115da3d0 🔒 Do not execute scripts in assets SVG by default to prevent XSS https://github.com/siyuan-note/siyuan/issues/16844
Signed-off-by: Daniel <845765@qq.com>
2026-01-16 18:11:55 +08:00
Daniel 42b7929786 🎨 Supports configuring the maximum number of Recent documents to be listed https://github.com/siyuan-note/siyuan/issues/16720
Signed-off-by: Daniel <845765@qq.com>
2025-12-30 08:48:45 +08:00
Daniel 96c2093bd8 🎨 Supports configuring the maximum number of Recent documents to be listed https://github.com/siyuan-note/siyuan/issues/16720
Signed-off-by: Daniel <845765@qq.com>
2025-12-29 22:36:56 +08:00
Daniel 827c7a5bf6 🎨 Supports configuring the maximum number of Recent documents to be listed https://github.com/siyuan-note/siyuan/issues/16720
Signed-off-by: Daniel <845765@qq.com>
2025-12-29 22:25:04 +08:00
Daniel 5bef3bf817 🎨 Supports setting the spell check language on desktop https://github.com/siyuan-note/siyuan/issues/16524
Signed-off-by: Daniel <845765@qq.com>
2025-12-08 17:47:46 +08:00
Daniel 2e40a53802 🎨 Supports setting the spell check language on desktop https://github.com/siyuan-note/siyuan/issues/16524
Signed-off-by: Daniel <845765@qq.com>
2025-12-08 17:47:45 +08:00
Daniel 980f6dd0b8 ✨ Callout block https://github.com/siyuan-note/siyuan/issues/16051
Signed-off-by: Daniel <845765@qq.com>
2025-12-06 16:46:33 +08:00
Daniel 362f6ffa05 ✨ Callout block https://github.com/siyuan-note/siyuan/issues/16051
Signed-off-by: Daniel <845765@qq.com>
2025-12-06 16:46:32 +08:00
Daniel 3f8b08fbd4 🎨 Support setting status bar message switch https://github.com/siyuan-note/siyuan/issues/16236
Signed-off-by: Daniel <845765@qq.com>
2025-11-12 22:22:12 +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
Jeffrey Chen d14501178d 🎨 Backlink and backmention sort mode persistence (#16291)
fix https://github.com/siyuan-note/siyuan/issues/7764
2025-11-06 09:33:20 +08:00
Jeffrey Chen 6150e9b7c6 🎨 Record the width of some Protyle elements in the attributes (#15043)
fix https://github.com/siyuan-note/siyuan/issues/15021
2025-10-25 17:16:56 +08:00
Daniel ddfc1cbd66 🎨 Improve FSRS weight initialization https://github.com/siyuan-note/siyuan/issues/16181
Signed-off-by: Daniel <845765@qq.com>
2025-10-22 22:08:38 +08:00
Achuan-2 ee5eb01c52 🎨 The embed block of a heading supports hiding the heading itself 2025-09-25 16:54:01 +08:00
Daniel 4689c1fa18 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2025-09-18 16:38:07 +08:00