* 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>
* 🎨 improve publish service https://github.com/siyuan-note/siyuan/issues/11928
* fix: change publish access storage
* 🎨 publish access control #16041
* fix: publish access in embed block and search
* fix: multiple lock in pubish service & insert locked content in publish service
* fix: multiple lock
* fix: password in embed block
* fix: locked and forbidden docs in gallery
* fix: dont use publish access block
* fix: attribute view of publish disabled docs
* fix: disable docs in table and gallery
* fix: locked docs in attribute view
* fix: purge publish access
* fix: disable docs in table and gallery groups
* fix: locked and disabled docs in attribute view, outline and preview
* fix: create publish_access.go
* fix: move publish auth to publish_access.go
* fix: tag and ref of locked docs
* fix: backlink of locked docs
* fix: search in locked docs
* fix: search history and asset
* fix: copy to markdown
* fix: hide command panel
* fix: publish access control in mobile
* fix: recent docs of invisible and locked docs
* fix: backlink in mobile
* fix: empty Tab
* fix: get locked and forbidden doc assets and files
* fix: refblock & asset
* fix: disable /api/file/sql in publish mode
* fix: publish access of kanban
* fix: adjustment for review
* fix: /api/filetree/setPublishAccess return error meesage
* fix: move the publishAccess button to the More Menu & revert the fix for barCommand/menuCommand
* fix: hotkey of command panel
* 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
* 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