Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2025-02-23 14:55:57 +08:00
commit 683751294e
7 changed files with 17 additions and 4 deletions

View File

@ -44,11 +44,13 @@ Below are the detailed changes in this version.
* [Set the workspace path and lang via environment variable](https://github.com/siyuan-note/siyuan/pull/14148) * [Set the workspace path and lang via environment variable](https://github.com/siyuan-note/siyuan/pull/14148)
* [Update outline after rolling back document](https://github.com/siyuan-note/siyuan/issues/14152) * [Update outline after rolling back document](https://github.com/siyuan-note/siyuan/issues/14152)
* [Improve appearance mode switch](https://github.com/siyuan-note/siyuan/issues/14157) * [Improve appearance mode switch](https://github.com/siyuan-note/siyuan/issues/14157)
* [Pasting text with a `>` in the middle no longer creates a blockquote block](https://github.com/siyuan-note/siyuan/issues/14162)
* [Display reference counts after unfolding headings](https://github.com/siyuan-note/siyuan/issues/14169) * [Display reference counts after unfolding headings](https://github.com/siyuan-note/siyuan/issues/14169)
### Bugfix ### Bugfix
* [Inline code exceptions on Windows 10](https://github.com/siyuan-note/siyuan/issues/13824) * [Inline code exceptions on Windows 10](https://github.com/siyuan-note/siyuan/issues/13824)
* [The attribute panel relation field is abnormal](https://github.com/siyuan-note/siyuan/issues/13888)
* [Wrong process name](https://github.com/siyuan-note/siyuan/issues/13903) * [Wrong process name](https://github.com/siyuan-note/siyuan/issues/13903)
* [Lacks the entry to edit mermaid on mobile](https://github.com/siyuan-note/siyuan/issues/13934) * [Lacks the entry to edit mermaid on mobile](https://github.com/siyuan-note/siyuan/issues/13934)
* [Scrollbar style is incorrect](https://github.com/siyuan-note/siyuan/issues/14085) * [Scrollbar style is incorrect](https://github.com/siyuan-note/siyuan/issues/14085)

View File

@ -44,11 +44,13 @@
* [支援透過環境變數設定工作空間路徑和語言](https://github.com/siyuan-note/siyuan/pull/14148) * [支援透過環境變數設定工作空間路徑和語言](https://github.com/siyuan-note/siyuan/pull/14148)
* [回溯文件後更新大綱](https://github.com/siyuan-note/siyuan/issues/14152) * [回溯文件後更新大綱](https://github.com/siyuan-note/siyuan/issues/14152)
* [改良外觀模式切換](https://github.com/siyuan-note/siyuan/issues/14157) * [改良外觀模式切換](https://github.com/siyuan-note/siyuan/issues/14157)
* [貼上中間包含 `>` 的文字時不再建立引述區塊](https://github.com/siyuan-note/siyuan/issues/14162)
* [展開折疊的標題後顯示區塊引用計數](https://github.com/siyuan-note/siyuan/issues/14169) * [展開折疊的標題後顯示區塊引用計數](https://github.com/siyuan-note/siyuan/issues/14169)
### 修復缺陷 ### 修復缺陷
* [Windows 10 上的行級程式碼異常](https://github.com/siyuan-note/siyuan/issues/13824) * [Windows 10 上的行級程式碼異常](https://github.com/siyuan-note/siyuan/issues/13824)
* [屬性面板關聯欄位異常](https://github.com/siyuan-note/siyuan/issues/13888)
* [錯誤的進程名稱](https://github.com/siyuan-note/siyuan/issues/13903) * [錯誤的進程名稱](https://github.com/siyuan-note/siyuan/issues/13903)
* [行動端缺少編輯 Mermaid 的入口](https://github.com/siyuan-note/siyuan/issues/13934) * [行動端缺少編輯 Mermaid 的入口](https://github.com/siyuan-note/siyuan/issues/13934)
* [捲軸樣式不正確](https://github.com/siyuan-note/siyuan/issues/14085) * [捲軸樣式不正確](https://github.com/siyuan-note/siyuan/issues/14085)

View File

@ -44,11 +44,13 @@
* [支持通过环境变量设置工作空间路径和语言](https://github.com/siyuan-note/siyuan/pull/14148) * [支持通过环境变量设置工作空间路径和语言](https://github.com/siyuan-note/siyuan/pull/14148)
* [回滚文档后更新大纲](https://github.com/siyuan-note/siyuan/issues/14152) * [回滚文档后更新大纲](https://github.com/siyuan-note/siyuan/issues/14152)
* [改进外观模式切换](https://github.com/siyuan-note/siyuan/issues/14157) * [改进外观模式切换](https://github.com/siyuan-note/siyuan/issues/14157)
* [粘贴中间包含 `>` 的文本时不再创建引述块](https://github.com/siyuan-note/siyuan/issues/14162)
* [展开折叠的标题后显示块引用计数](https://github.com/siyuan-note/siyuan/issues/14169) * [展开折叠的标题后显示块引用计数](https://github.com/siyuan-note/siyuan/issues/14169)
### 修复缺陷 ### 修复缺陷
* [Windows 10 上的行级代码异常](https://github.com/siyuan-note/siyuan/issues/13824) * [Windows 10 上的行级代码异常](https://github.com/siyuan-note/siyuan/issues/13824)
* [属性面板关联字段异常](https://github.com/siyuan-note/siyuan/issues/13888)
* [错误的进程名](https://github.com/siyuan-note/siyuan/issues/13903) * [错误的进程名](https://github.com/siyuan-note/siyuan/issues/13903)
* [移动端缺少编辑 Mermaid 的入口](https://github.com/siyuan-note/siyuan/issues/13934) * [移动端缺少编辑 Mermaid 的入口](https://github.com/siyuan-note/siyuan/issues/13934)
* [滚动条样式不正确](https://github.com/siyuan-note/siyuan/issues/14085) * [滚动条样式不正确](https://github.com/siyuan-note/siyuan/issues/14085)

File diff suppressed because one or more lines are too long

View File

@ -78,6 +78,13 @@ func extensionCopy(c *gin.Context) {
continue continue
} }
} }
if strings.Contains(oName, "%") {
unescaped, _ := url.PathUnescape(oName)
if "" != unescaped {
oName = unescaped
}
}
u, _ := url.Parse(oName) u, _ := url.Parse(oName)
if "" == u.Path { if "" == u.Path {
continue continue

View File

@ -10,7 +10,7 @@ require (
github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48 github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48
github.com/88250/go-humanize v0.0.0-20240424102817-4f78fac47ea7 github.com/88250/go-humanize v0.0.0-20240424102817-4f78fac47ea7
github.com/88250/gulu v1.2.3-0.20241212012748-c4dc08fe45ec github.com/88250/gulu v1.2.3-0.20241212012748-c4dc08fe45ec
github.com/88250/lute v1.7.7-0.20250217041919-58a466e777a4 github.com/88250/lute v1.7.7-0.20250223032430-d9f7c2451f59
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1
github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4 github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4
github.com/ConradIrwin/font v0.2.1 github.com/ConradIrwin/font v0.2.1

View File

@ -14,8 +14,8 @@ github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950 h1:Pa5hMiBceT
github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
github.com/88250/gulu v1.2.3-0.20241212012748-c4dc08fe45ec h1:YsUSpByWJP+x8C+IT+C3QlFvU7ZQ6+E95SFd9+zy6QU= github.com/88250/gulu v1.2.3-0.20241212012748-c4dc08fe45ec h1:YsUSpByWJP+x8C+IT+C3QlFvU7ZQ6+E95SFd9+zy6QU=
github.com/88250/gulu v1.2.3-0.20241212012748-c4dc08fe45ec/go.mod h1:c8uVw25vW2W4dhJ/j4iYsX5H1hc19spim266jO5x2hU= github.com/88250/gulu v1.2.3-0.20241212012748-c4dc08fe45ec/go.mod h1:c8uVw25vW2W4dhJ/j4iYsX5H1hc19spim266jO5x2hU=
github.com/88250/lute v1.7.7-0.20250217041919-58a466e777a4 h1:6+lg4V6VIZpGUPPIRlDoVeVgfiKo0KW7CUE0318iFiE= github.com/88250/lute v1.7.7-0.20250223032430-d9f7c2451f59 h1:mnT05Pm5mYYiFVkulWQn4+epbBNQ74dRa5B72F4QhJM=
github.com/88250/lute v1.7.7-0.20250217041919-58a466e777a4/go.mod h1:WYyUw//5yVw9BJnoVjx7rI/3szsISxNZCYGOqTIrV0o= github.com/88250/lute v1.7.7-0.20250223032430-d9f7c2451f59/go.mod h1:WYyUw//5yVw9BJnoVjx7rI/3szsISxNZCYGOqTIrV0o=
github.com/88250/pdfcpu v0.3.14-0.20241201033812-5a93b7586a01 h1:AcFe63RXjIh1XtX/dc4Es3U8bYKjlEkvavHd1nFBOHM= github.com/88250/pdfcpu v0.3.14-0.20241201033812-5a93b7586a01 h1:AcFe63RXjIh1XtX/dc4Es3U8bYKjlEkvavHd1nFBOHM=
github.com/88250/pdfcpu v0.3.14-0.20241201033812-5a93b7586a01/go.mod h1:fVfOloBzs2+W2VJCCbq60XIxc3yJHAZ0Gahv1oO0gyI= github.com/88250/pdfcpu v0.3.14-0.20241201033812-5a93b7586a01/go.mod h1:fVfOloBzs2+W2VJCCbq60XIxc3yJHAZ0Gahv1oO0gyI=
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY= github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY=