Commit Graph

76 Commits

Author SHA1 Message Date
Jeffrey Chen
5c674d7249 ♻️ Replace interface{} with any (#17415) 2026-04-05 16:48:32 +08:00
Yuxin Zhao
a6c54a4787 🔒 Improve the security of publish service (#17210)
* 🎨 fix https://github.com/siyuan-note/siyuan/issues/17201

* 🎨 fix /api/block/getBlockDOM, /api/block/getBlockDOMs, /api/block/getBlockDOMWithEmbed, /api/block/getBlockDOMsWithEmbed

* 🎨 fix publish access for /api/file/getFile
2026-03-14 11:05:46 +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
feaa7938ff 🎨 Distinguishing between a referenced definition block that does not exist or one that is not indexed https://github.com/siyuan-note/siyuan/issues/16850
Signed-off-by: Daniel <845765@qq.com>
2026-01-17 18:20:50 +08:00
Daniel
05380060fc 🎨 Distinguishing between a referenced definition block that does not exist or one that is not indexed https://github.com/siyuan-note/siyuan/issues/16850
Signed-off-by: Daniel <845765@qq.com>
2026-01-17 14:54:18 +08:00
Vip
89a6dd6fa9 🧑‍💻 Add internal kernel API /api/block/getBlockKramdowns (#16751) 2026-01-02 11:12:37 +08:00
Daniel
b5c84f2354 🎨 The old version of the application no longer supports opening the new version of the document https://github.com/siyuan-note/siyuan/issues/16505
Signed-off-by: Daniel <845765@qq.com>
2025-12-03 22:03:37 +08:00
Jeffrey Chen
4c2684d11d 🧑‍💻 Add internal kernel API /api/block/getBlockDOMWithEmbed and /api/block/getBlockDOMsWithEmbed (#16237)
* 🎨 Add internal kernel API `/api/block/getBlockDOMWithEmbed` and `/api/block/getBlockDOMsWithEmbed`

fix https://github.com/siyuan-note/siyuan/issues/16021

* 🎨 Add internal kernel API `/api/block/getBlockDOMWithEmbed` and `/api/block/getBlockDOMsWithEmbed`

fix https://github.com/siyuan-note/siyuan/issues/16021
2025-10-29 15:27:19 +08:00
Daniel
3f7421a393 🎨 Add scenes for expanding and collapsing headings https://github.com/siyuan-note/siyuan/issues/15726
Signed-off-by: Daniel <845765@qq.com>
2025-09-15 22:07:53 +08:00
Daniel
2a8b47b518 🎨 Copy/Cut folded heading changed to copy/cut Headings and Bottom Blocks and support multiple headings copy/cut https://github.com/siyuan-note/siyuan/issues/8019 2025-09-06 17:15:42 +08:00
Daniel
8ad3cb00ad 🎨 Copy/Cut folded heading changed to copy/cut Headings and Bottom Blocks and support multiple headings copy/cut https://github.com/siyuan-note/siyuan/issues/8019 2025-09-06 17:11:21 +08:00
Daniel
c55c413365 🎨 Copy/Cut folded heading changed to copy/cut Headings and Bottom Blocks and support multiple headings copy/cut https://github.com/siyuan-note/siyuan/issues/8019 2025-09-06 17:10:43 +08:00
Daniel
561d4cc891 🐛 The insertion position is wrong after converting the list to paragraph block in the floating window https://github.com/siyuan-note/siyuan/issues/15396 2025-08-01 22:52:49 +08:00
Daniel
be684aee76 🐛 The insertion position is wrong after converting the list to paragraph block in the floating window https://github.com/siyuan-note/siyuan/issues/15396 2025-08-01 22:52:49 +08:00
Daniel
0a17b83372 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 2025-06-25 13:15:55 +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
d0dbc9b551 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 https://github.com/siyuan-note/siyuan/pull/15041 2025-06-17 18:00:44 +08:00
Daniel
f4a5bd105f 🧑‍💻 Add kernel API /api/block/getBlockDOMs https://github.com/siyuan-note/siyuan/issues/15004 2025-06-10 17:05:08 +08:00
Daniel
5dab0ecdf6 🎨 When deleting a referenced definition block, a pop-up window will prompt the user https://github.com/siyuan-note/siyuan/issues/13396 2025-03-16 20:11:48 +08:00
Daniel
d1020e3729 🎨 Backlink count at the doc block title including sub-blocks https://github.com/siyuan-note/siyuan/issues/13791 2025-01-13 13:46:24 +08:00
Daniel
558e18f52f 🎨 Backlink count at the doc block title including sub-blocks https://github.com/siyuan-note/siyuan/issues/13791 2025-01-13 12:33:24 +08:00
Daniel
1a991bf20f 🎨 Backlink count at the doc block title including sub-blocks https://github.com/siyuan-note/siyuan/issues/13791 2025-01-12 21:19:27 +08:00
Daniel
34fa102296 🎨 Backlink count at the doc block title including sub-blocks https://github.com/siyuan-note/siyuan/issues/13791 2025-01-12 18:47:47 +08:00
Daniel
c3579b20dd 🎨 Improve list item, super block and blockquote backlink propagation https://github.com/siyuan-note/siyuan/issues/13776 2025-01-11 11:10:58 +08:00
Daniel
f2584745f5 🎨 Improve content stat https://github.com/siyuan-note/siyuan/issues/13627 2024-12-30 15:52:26 +08:00
Daniel
9e2bab6718 🎨 Improve search jump focus block and then exit focus positioning https://github.com/siyuan-note/siyuan/issues/13577 2024-12-25 20:20:05 +08:00
Daniel
11d3516aa7 🎨 Add block content statistics template function statBlock https://github.com/siyuan-note/siyuan/issues/13438 2024-12-12 00:00:28 +08:00
Daniel
04a4a90721 🎨 Improve floating window backlink https://github.com/siyuan-note/siyuan/issues/13371 2024-12-09 10:50:33 +08:00
Daniel
c7746d1399 🎨 Clean code 2024-12-05 08:51:08 +08:00
Daniel
371c64c471 🎨 Improve kernel API /api/block/getBlockKramdown https://github.com/siyuan-note/siyuan/issues/13183 2024-11-20 10:33:42 +08:00
Daniel
8dd0629b9c ♻️ Improve transaction flush 2024-10-22 19:21:04 +08:00
Misuzu2027
7afea33d36 🧑‍💻 siyuan-note#12718 (#12723) 2024-10-07 18:42:01 +08:00
Daniel
8b2c08439f 🎨 Refresh associated blocks after find-replacing and rolling back doc
https://github.com/siyuan-note/siyuan/issues/12439
https://github.com/siyuan-note/siyuan/issues/12438
2024-09-11 17:22:16 +08:00
Oleksandr Redko
b100721fee ♻️ Refactor Go to err != nil, err == nil (#12385) 2024-09-04 09:40:50 +08:00
Daniel
d9a19bb3dc 🎨 https://github.com/siyuan-note/siyuan/issues/11542 2024-05-29 10:20:37 +08:00
Daniel
49bb5d56a4 🎨 Improve block ref text copying https://github.com/siyuan-note/siyuan/issues/11473 2024-05-20 22:55:09 +08:00
Daniel
7d73482cfa 🎨 Add a kernel API /api/block/getBlockTreeInfos https://github.com/siyuan-note/siyuan/issues/11311 2024-05-09 23:20:48 +08:00
Daniel
cf187dddce 🎨 Add two shortcuts for block navigation https://github.com/siyuan-note/siyuan/issues/11193 2024-04-30 21:34:13 +08:00
Daniel
844fa8ef64 🎨 Improve getBlockInfo for reindexing https://github.com/siyuan-note/siyuan/issues/10772 2024-04-02 19:58:03 +08:00
Daniel
095dfc2b35 🧑‍💻 Add internal kernel API /api/block/getBlocksIndexes Fix https://github.com/siyuan-note/siyuan/issues/10608 2024-03-15 19:34:59 +08:00
Daniel
f3574038e2 ♻️ Clean code 2024-03-10 23:27:13 +08:00
Daniel
f1d2fb4147 🎨 Add parameter reloadUI for kernel API /api/block/transferBlockRef https://github.com/siyuan-note/siyuan/issues/10456 2024-02-28 08:47:20 +08:00
Daniel
fac354c23c 🎨 Improve getRefText https://github.com/siyuan-note/siyuan/issues/10259 2024-01-27 10:52:40 +08:00
Daniel
a16fde8ae7 🎨 Add internal kernel API /api/block/getTailChildBlocks https://github.com/siyuan-note/siyuan/issues/9884 2023-12-14 22:56:17 +08:00
Daniel
e54641f2c1 🎨 Support Jump to the next block in the parent level on focus status https://github.com/siyuan-note/siyuan/issues/9527 2023-10-28 11:25:46 +08:00
Daniel
121d33e74d 🎨 Improve handling of copy block ref when including images https://github.com/siyuan-note/siyuan/issues/9317 2023-09-30 17:56:47 +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
eda8da1bbe 🎨 Kernel API transferBlockRef https://github.com/siyuan-note/siyuan/issues/8522 2023-06-13 09:52:41 +08:00
Liang Ding
b3b891338b 🎨 Add kernel API /api/block/getChildBlocks Fix https://github.com/siyuan-note/siyuan/issues/8249 2023-05-13 21:50:32 +08:00
Liang Ding
7a078d3689 🎨 文件系统读取或写入失败时退出内核 https://github.com/siyuan-note/siyuan/issues/7707 2023-03-19 17:12:52 +08:00