Commit Graph

100 Commits

Author SHA1 Message Date
Jeffrey Chen
698ee3d357 ♻️ Improve validation of some JSON parameters (#17412)
* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters

* 🎨 Improve validation of some JSON parameters
2026-04-05 17:03:13 +08:00
Jeffrey Chen
5c674d7249 ♻️ Replace interface{} with any (#17415) 2026-04-05 16:48:32 +08:00
Daniel
a8abfa5ddf ♻️ https://github.com/siyuan-note/siyuan/pull/17307
Signed-off-by: Daniel <845765@qq.com>
2026-03-22 12:26:51 +08:00
Daniel
5ee00907f0 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-qvvf-q994-x79v
Signed-off-by: Daniel <845765@qq.com>
2026-03-14 12:12:32 +08:00
Yuxin Zhao
3facc37df9 Publish service supports document-level access control (#16041)
* 🎨 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
2026-03-12 18:04:01 +08:00
Daniel
3e0dc24ef4 🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2026-03-10 16:31:15 +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
90bcdaa3c2 🎨 Prevent setting access auth code in Docker containers
Signed-off-by: Daniel <845765@qq.com>
2026-01-14 20:29:32 +08:00
Daniel
941e153a4b 🎨 Supports cleaning temporary files https://github.com/siyuan-note/siyuan/issues/16745
Signed-off-by: Daniel <845765@qq.com>
2026-01-09 09:28:09 +08:00
Daniel
00d00b54ef 🐛 Can't switch workspaces on mobile https://github.com/siyuan-note/siyuan/issues/16544
Signed-off-by: Daniel <845765@qq.com>
2025-12-09 12:09:23 +08:00
Daniel
7e6752a8fb 🎨 Manually optimize the data index to reduce space usage and improve performance https://github.com/siyuan-note/siyuan/issues/15663 2025-08-25 10:40:28 +08:00
Daniel
e492b1fa51 🎨 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 2025-06-23 11:03:39 +08:00
Daniel
3319ffbb18 🔥 Completely remove Google Analytics https://github.com/siyuan-note/siyuan/issues/15096 2025-06-20 10:20:42 +08:00
Daniel
289ea3aae0 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 https://github.com/siyuan-note/siyuan/issues/15082 2025-06-19 11:17:03 +08:00
Daniel
e5a634d90c 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 https://github.com/siyuan-note/siyuan/pull/15041 2025-06-16 22:32:36 +08:00
syr1ne
724cddf7cb 🔒 emoji xss fix (#15041) 2025-06-16 22:19:15 +08:00
Daniel
95ae34c7b1 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 2025-06-16 17:01:22 +08:00
Daniel
8fff4b742e 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 2025-06-16 10:31:04 +08:00
Daniel
db18639080 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 2025-06-15 17:06:43 +08:00
Daniel
d0ad863651 🧑‍💻 Add an internal kernel API /api/ui/reloadFiletree https://github.com/siyuan-note/siyuan/issues/14493
Add an internal kernel API `/api/ui/reloadUI` https://github.com/siyuan-note/siyuan/issues/14494
2025-04-01 12:21:37 +08:00
Daniel
4374859e04 🐛 Fix NPE https://ld246.com/article/1739550445065 2025-02-15 18:27:05 +08:00
Daniel
a83d4f2bef 🎨 Improve importing conf https://github.com/siyuan-note/siyuan/issues/13767 2025-01-09 23:09:36 +08:00
Daniel
4b4366268b 🎨 Improve access auth code setting 2025-01-09 11:46:23 +08:00
Daniel
9532edcab0 🎨 Improve import conf https://github.com/siyuan-note/siyuan/issues/13718 2025-01-04 21:32:09 +08:00
Daniel
0802c207cc 🎨 Support for ignoring the prompt to add Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13687 2024-12-31 23:26:48 +08:00
Daniel
c9dc44efd1 🎨 Support one-click addition of Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13650 2024-12-31 23:12:10 +08:00
Daniel
77efc5cca4 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/13658 2024-12-30 23:09:00 +08:00
Daniel
2784511e72 🎨 Support one-click addition of Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13650 2024-12-29 09:54:18 +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
497037465b 🧑‍💻 Add a internal kernel API /api/system/reloadUI https://github.com/siyuan-note/siyuan/issues/13402 2024-12-08 22:21:06 +08:00
Daniel
af434451e0 Improve system font loading https://github.com/siyuan-note/siyuan/issues/13356 2024-12-05 09:01:51 +08:00
Daniel
0b5a83d55f 🎨 Improve system font loading https://github.com/siyuan-note/siyuan/issues/13356 2024-12-05 08:50:54 +08:00
Daniel
041c050d98 🎨 Add a kernel API /api/system/getWorkspaceInfo https://github.com/siyuan-note/siyuan/issues/13300 2024-11-29 11:10:00 +08:00
Daniel
691290a7be 🎨 Add a kernel API /api/system/getWorkspaceInfo https://github.com/siyuan-note/siyuan/issues/13300 2024-11-29 10:56:32 +08:00
Daniel
4a33fa9a29 🎨 The Publishing service no longer support export https://github.com/siyuan-note/siyuan/issues/12928 2024-10-27 12:07:57 +08:00
Daniel
77eb65087c 🎨 Support export and import settings https://github.com/siyuan-note/siyuan/issues/10617 2024-09-26 16:27:48 +08:00
Daniel
694303e5e8 🎨 Support export and import settings https://github.com/siyuan-note/siyuan/issues/10617 2024-09-26 16:18:44 +08:00
Daniel
0c450d9fcd 🎨 Support export and import settings https://github.com/siyuan-note/siyuan/issues/10617 2024-09-26 11:16:47 +08:00
Daniel
2deb986c87 🎨 Support export and import settings https://github.com/siyuan-note/siyuan/issues/10617 2024-09-25 23:44:10 +08:00
Daniel
b2f1e873b7 🎨 Support export and import settings https://github.com/siyuan-note/siyuan/issues/10617 2024-09-25 22:58:45 +08:00
Oleksandr Redko
b100721fee ♻️ Refactor Go to err != nil, err == nil (#12385) 2024-09-04 09:40:50 +08:00
mpcjazz
0b51219f50 Improve emoji search (#11768)
Co-authored-by: mpcjazz <mail@mpcjazz.com>
2024-06-20 11:39:16 +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
Daniel
fa897e91d5 🎨 Support minimize the main window after auto launch on Windows/macOS https://github.com/siyuan-note/siyuan/issues/11145 2024-04-27 13:19:54 +08:00
Daniel
b64a9a3ad2 🎨 Support minimize the main window after auto launch on Windows/macOS https://github.com/siyuan-note/siyuan/issues/11145 2024-04-27 12:12:05 +08:00
Daniel
b72b832007 🐛 Can't switch workspaces on mobile app Fix https://github.com/siyuan-note/siyuan/issues/10654 2024-03-19 23:11:44 +08:00
Daniel
55f2720868 🎨 Improve kernel stability by eliminating some data races https://github.com/siyuan-note/siyuan/issues/9842 2023-12-11 00:15:17 +08:00
Daniel
b1985eac74 🎨 Proxy setting sometimes cancel requests https://github.com/siyuan-note/siyuan/issues/9725 2023-11-24 21:43:37 +08:00