Commit Graph

206 Commits

Author SHA1 Message Date
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
Daniel
93422c134d 🎨 Add field disabledInPublish to the code snippet to indicate whether it is disabled in the publish service https://github.com/siyuan-note/siyuan/issues/15806
Signed-off-by: Daniel <845765@qq.com>
2025-09-09 09:18:12 +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
3319ffbb18 🔥 Completely remove Google Analytics https://github.com/siyuan-note/siyuan/issues/15096 2025-06-20 10:20:42 +08:00
Arkady
3631b729ad 🎨 Add DisableGoogleAnalytics field to System struct (#15097) 2025-06-20 09:57:03 +08:00
Daniel
bf20b47250 🎨 Supports configuration of whether to export inline memos https://github.com/siyuan-note/siyuan/issues/14605 2025-04-20 17:27:14 +08:00
Daniel
d3ba886b7a 🎨 Backlink contain children by default 2025-01-05 00:56:37 +08:00
Yingyi / 颖逸
6ee4705e2a 🎨 Support local file system sync & backup (#13663)
* 🎨 Use local file system sync & backup

* ⬆️ dejavu

* 🎨 Add the settings panel of local file system sync & backup

* 📝 Update user guides of local file system sync & backup

* 🎨 Adjust supported runtime environments
2024-12-31 21:06:13 +08:00
Daniel
e6ecfc5cbb 🎨 Support one-click addition of Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13650 2024-12-28 23:36:56 +08:00
Daniel
5fb2b78911 🔥 Remove Sentry reporting diagnostic data https://github.com/siyuan-note/siyuan/issues/13522 2024-12-18 17:10:23 +08:00
Daniel
45a6f7e29d 🎨 Support setting automatic sync interval https://github.com/siyuan-note/siyuan/issues/13448 2024-12-14 12:05:40 +08:00
Daniel
6f87241626 🎨 Improve exporting block ref https://github.com/siyuan-note/siyuan/issues/13331 2024-12-08 18:23:26 +08:00
Daniel
6a442ad85d 🎨 Automatic purge for local data repo https://github.com/siyuan-note/siyuan/issues/13091 2024-11-17 01:33:21 +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
f708e99a74 🎨 The backlink panel no longer displays child-block references https://github.com/siyuan-note/siyuan/issues/12861 2024-10-21 23:41:27 +08:00
Daniel
da84195df3 🎨 Update default block ref export mode to 4 (convert to footnotes) 2024-10-19 12:46:33 +08:00
Daniel
488e87b70b 🎨 WebDAV/S3 data sync and backup support configurable concurrent requests https://github.com/siyuan-note/siyuan/issues/12798 2024-10-16 19:29:11 +08:00
Daniel
d58d967522 🎨 Improve appearance setting theme name display https://github.com/siyuan-note/siyuan/issues/10903 2024-09-26 11:17:27 +08:00
Daniel
29a27c3fc4 ⬆️ Upgrade riff 2024-09-11 11:44:06 +08:00
Oleksandr Redko
b100721fee ♻️ Refactor Go to err != nil, err == nil (#12385) 2024-09-04 09:40:50 +08:00
Daniel
6a3095c56c 🎨 No longer limits the number of dynamically loaded blocks in the editor https://github.com/siyuan-note/siyuan/issues/12359 2024-08-29 16:53:02 +08:00
Daniel
4ff10086ed ♻️ Upgrade to FSRS-5 https://github.com/siyuan-note/siyuan/issues/12344 2024-08-28 18:17:46 +08:00
Yingyi / 颖逸
ba2193403d Support read-only publish service
* 🎨 kernel supports read-only publishing services

* 🐛 Fix authentication vulnerabilities

* 🎨 Protect secret information

* 🎨 Adjust the permission control

* 🎨 Adjust the permission control

* 🎨 Fixed the vulnerability that `getFile` gets file `conf.json`

* 🎨 Add API `/api/setting/setPublish`

* 🎨 Add API `/api/setting/getPublish`

* 🐛 Fixed the issue that PWA-related files could not pass BasicAuth

* 🎨 Add a settings panel for publishing features

* 📝 Add guide for `Publish Service`

* 📝 Update Japanese user guide

* 🎨 Merge fixed static file services
2024-06-12 21:03:51 +08:00