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

This commit is contained in:
Vanessa 2024-04-09 08:22:32 +08:00
commit 7fd796caf8
17 changed files with 217 additions and 10 deletions

View file

@ -1058,6 +1058,7 @@
"parentRelation": "Parent - Child",
"openInNewTab": "Open in New Tab",
"help": "Help",
"userGuide": "User Guide",
"paragraphBeginningSpace": "Two empty spaces at the beginning of the paragraph",
"outline": "Outline",
"newFile": "New Doc",

View file

@ -1058,6 +1058,7 @@
"parentRelation": "Padre - Hijo",
"openInNewTab": "Abrir en una nueva pestaña",
"help": "Ayuda",
"userGuide": "User Guide",
"paragraphBeginningSpace": "Dos espacios vacíos al principio del párrafo",
"outline": "Esquema",
"newFile": "Nuevo documento",

View file

@ -1058,6 +1058,7 @@
"parentRelation": "Parent - Enfant",
"openInNewTab": "Ouvrir dans un nouvel onglet",
"help": "Aide",
"userGuide": "User Guide",
"paragraphBeginningSpace": "Deux espaces vides au début du paragraphe",
"outline": "Outline",
"newFile": "Nouveau Doc",

View file

@ -1058,6 +1058,7 @@
"parentRelation": "父子關係",
"openInNewTab": "在新分頁中打開",
"help": "幫助",
"userGuide": "用戶指南",
"paragraphBeginningSpace": "段落開頭空兩格",
"outline": "大綱",
"newFile": "新建文檔",

View file

@ -1058,6 +1058,7 @@
"parentRelation": "父子关系",
"openInNewTab": "在新页签中打开",
"help": "帮助",
"userGuide": "用户指南",
"paragraphBeginningSpace": "段落开头空两格",
"outline": "大纲",
"newFile": "新建文档",

View file

@ -0,0 +1,67 @@
## Overview
This version supports the database date field filling the current time by default.
## Changelogs
Below are the detailed changes in this version.
### Enhancement
* [Database date field supports filling the current time by default](https://github.com/siyuan-note/siyuan/issues/10823)
* [Database primary key supports unbinding block](https://github.com/siyuan-note/siyuan/issues/10849)
* [Improve flashcard menu](https://github.com/siyuan-note/siyuan/issues/10857)
* [Refresh the corresponding rollup after deleting rows from the database](https://github.com/siyuan-note/siyuan/issues/10858)
* [Auto verify the database name when clicking the block superscript icon](https://github.com/siyuan-note/siyuan/issues/10861)
* [Improve doc title `Paste as plain text`](https://github.com/siyuan-note/siyuan/issues/10866)
* [Ignore `*` back mentions and virtual references](https://github.com/siyuan-note/siyuan/issues/10873)
* [Improve performance of importing .sy.zip](https://github.com/siyuan-note/siyuan/issues/10874)
* [Support adding database blocks to a database](https://github.com/siyuan-note/siyuan/issues/10876)
* [Improve interaction of the database table view selected cell content](https://github.com/siyuan-note/siyuan/issues/10877)
* [Improve selection of iframe block](https://github.com/siyuan-note/siyuan/issues/10879)
* [Improve database block ref anchor text display](https://github.com/siyuan-note/siyuan/issues/10880)
* [Database select field filters follow option editing changes](https://github.com/siyuan-note/siyuan/issues/10881)
* [Improve database primary key setting](https://github.com/siyuan-note/siyuan/issues/10882)
* [Improve database table view UI](https://github.com/siyuan-note/siyuan/pull/10886)
* [Improve view tab UI in database table view](https://github.com/siyuan-note/siyuan/issues/10887)
* [Improve the cursor style of the scroll bar at the bottom of the database table view](https://github.com/siyuan-note/siyuan/issues/10888)
* [Improve database block text in breadcrumbs](https://github.com/siyuan-note/siyuan/issues/10891)
* [Improve block attributes panel spellcheck](https://github.com/siyuan-note/siyuan/issues/10897)
* [Clicking the document focus will not switch in read-only mode](https://github.com/siyuan-note/siyuan/issues/10898)
* [Improve cursor position after Esc and Del](https://github.com/siyuan-note/siyuan/issues/10899)
* [Support drag widget block](https://github.com/siyuan-note/siyuan/issues/10900)
* [Improve `Show Database Title` item in database view menu](https://github.com/siyuan-note/siyuan/issues/10908)
* [Support adding the current document in the database](https://github.com/siyuan-note/siyuan/issues/10912)
* [Support floating window to open related database when filling in the database relation field](https://github.com/siyuan-note/siyuan/issues/10915)
* [Improve /widget search](https://github.com/siyuan-note/siyuan/issues/10917)
* [Database blocks are included in document word count](https://github.com/siyuan-note/siyuan/issues/10918)
* [Improve remove and duplication of column menu in database table view](https://github.com/siyuan-note/siyuan/issues/10920)
* [Remove rows in database bound to child blocks when deleting parent block](https://github.com/siyuan-note/siyuan/issues/10923)
* [Improv updateing of outlines, backlinks and charts when switching between doc and pdf](https://github.com/siyuan-note/siyuan/issues/10930)
* [Disable outline item dragging when the doc is read-only](https://github.com/siyuan-note/siyuan/issues/10931)
* [`Add to Database` search on database title only](https://github.com/siyuan-note/siyuan/issues/10934)
* [Improve user guide entry](https://github.com/siyuan-note/siyuan/pull/10939)
* [Improve spaces at the beginning of exported paragraphs](https://github.com/siyuan-note/siyuan/issues/10940)
### Bugfix
* [Database relation field `Ctrl+Hover` not open the floating window](https://github.com/siyuan-note/siyuan/issues/10836)
* [Creating a new block may cause the tab to close](https://github.com/siyuan-note/siyuan/issues/10851)
* [Database column width adjustment fails](https://github.com/siyuan-note/siyuan/issues/10865)
* [Database date between filter cannot select the end time](https://github.com/siyuan-note/siyuan/issues/10870)
* [The order after `Enter` at the end of `1\n\n2` is wrong](https://github.com/siyuan-note/siyuan/issues/10901)
* [`Bold+Inline code` causes the content to disappear](https://github.com/siyuan-note/siyuan/issues/10910)
* [Database rollup calculation range anomaly](https://github.com/siyuan-note/siyuan/issues/10913)
* [Cannot open doc via `siyuan://` when startup the application](https://github.com/siyuan-note/siyuan/issues/10937)
* [Unbind the "Hide Window" hotkey exception](https://github.com/siyuan-note/siyuan/issues/10938)
* [`Ctrl+X` followed by `Ctrl+M` cannot call out inline-level formula editing](https://github.com/siyuan-note/siyuan/issues/10941)
### Refactor
* [Upgrade to Electron v28.2.10](https://github.com/siyuan-note/siyuan/issues/10869)
* [Improve outline loading mechanism](https://github.com/siyuan-note/siyuan/issues/10884)
## Download
* [B3log](https://b3log.org/siyuan/en/download.html)
* [GitHub](https://github.com/siyuan-note/siyuan/releases)

View file

@ -0,0 +1,67 @@
## 概述
此版本支援了資料庫日期欄位預設填入目前時間。
## 變更記錄
以下是此版本中的詳細變更。
### 改進功能
* [資料庫日期欄位支援預設填入目前時間](https://github.com/siyuan-note/siyuan/issues/10823)
* [資料庫主鍵支援解綁區塊](https://github.com/siyuan-note/siyuan/issues/10849)
* [改進閃卡選單](https://github.com/siyuan-note/siyuan/issues/10857)
* [從資料庫刪除行後刷新對應的總和](https://github.com/siyuan-note/siyuan/issues/10858)
* [點選區塊上標圖示時自動校驗資料庫名稱](https://github.com/siyuan-note/siyuan/issues/10861)
* [改進文件標題 `貼上為純文字`](https://github.com/siyuan-note/siyuan/issues/10866)
* [忽略 `*` 提及與虛擬引用](https://github.com/siyuan-note/siyuan/issues/10873)
* [提高導入 .sy.zip 的效能](https://github.com/siyuan-note/siyuan/issues/10874)
* [支援新增資料庫區塊](https://github.com/siyuan-note/siyuan/issues/10876)
* [改進資料庫表格視圖選取儲存格內容的互動](https://github.com/siyuan-note/siyuan/issues/10877)
* [改進 iframe 區塊的選擇](https://github.com/siyuan-note/siyuan/issues/10879)
* [改進資料庫區塊引用錨文本顯示](https://github.com/siyuan-note/siyuan/issues/10880)
* [資料庫選擇欄位過濾器跟隨選項編輯變更](https://github.com/siyuan-note/siyuan/issues/10881)
* [改進資料庫主鍵設定](https://github.com/siyuan-note/siyuan/issues/10882)
* [改進資料庫表格視圖介面](https://github.com/siyuan-note/siyuan/pull/10886)
* [改進資料庫表格檢視中的檢視標籤介面](https://github.com/siyuan-note/siyuan/issues/10887)
* [改進資料庫表格視圖底部捲軸的遊標樣式](https://github.com/siyuan-note/siyuan/issues/10888)
* [改進麵包屑中的資料庫區塊文字](https://github.com/siyuan-note/siyuan/issues/10891)
* [改進塊屬性面板拼字檢查](https://github.com/siyuan-note/siyuan/issues/10897)
* [點選文件重點在唯讀模式下不會切換](https://github.com/siyuan-note/siyuan/issues/10898)
* [改進 Esc 和 Del 後的遊標位置](https://github.com/siyuan-note/siyuan/issues/10899)
* [支援拖曳掛件區塊](https://github.com/siyuan-note/siyuan/issues/10900)
* [改進資料庫檢視選單中的 `顯示資料庫標題` 項](https://github.com/siyuan-note/siyuan/issues/10908)
* [支援在資料庫中新增目前文件](https://github.com/siyuan-note/siyuan/issues/10912)
* [支援填充資料庫關係欄位時開啟浮動視窗以開啟相關資料庫](https://github.com/siyuan-note/siyuan/issues/10915)
* [改進 /widget 搜尋](https://github.com/siyuan-note/siyuan/issues/10917)
* [資料庫區塊包含在文件字數統計中](https://github.com/siyuan-note/siyuan/issues/10918)
* [改進資料庫表格檢視中的列選單的刪除和複製](https://github.com/siyuan-note/siyuan/issues/10920)
* [刪除父區塊時刪除綁定到子區塊的資料庫行](https://github.com/siyuan-note/siyuan/issues/10923)
* [在文件和 PDF 之間切換時,改進大綱、反向連結和圖表的更新](https://github.com/siyuan-note/siyuan/issues/10930)
* [當文件為唯讀時停用大綱項拖曳](https://github.com/siyuan-note/siyuan/issues/10931)
* [`加入資料庫` 只在資料庫標題上搜尋](https://github.com/siyuan-note/siyuan/issues/10934)
* [改進使用者指南入口](https://github.com/siyuan-note/siyuan/pull/10939)
* [改進匯出段落開頭的空格](https://github.com/siyuan-note/siyuan/issues/10940)
### 修復缺陷
* [資料庫關聯欄位 `Ctrl+Hover` 不開啟浮動視窗](https://github.com/siyuan-note/siyuan/issues/10836)
* [建立新的區塊可能會導致頁籤關閉](https://github.com/siyuan-note/siyuan/issues/10851)
* [資料庫列寬調整失效](https://github.com/siyuan-note/siyuan/issues/10865)
* [資料庫日期間隔過濾器無法選擇結束時間](https://github.com/siyuan-note/siyuan/issues/10870)
* [`1\n\n2` 結尾處按 `Enter` 後的順序錯誤](https://github.com/siyuan-note/siyuan/issues/10901)
* [`Bold+Inline code` 導致內容消失](https://github.com/siyuan-note/siyuan/issues/10910)
* [資料庫總結計算極差異常](https://github.com/siyuan-note/siyuan/issues/10913)
* [啟動應用程式時無法透過 `siyuan://` 開啟文件](https://github.com/siyuan-note/siyuan/issues/10937)
* [解綁 "隱藏視窗" 快速鍵異常](https://github.com/siyuan-note/siyuan/issues/10938)
* [`Ctrl+X` 後 `Ctrl+M` 無法召喚出行級公式編輯](https://github.com/siyuan-note/siyuan/issues/10941)
### 開發重構
* [升級至 Electron v28.2.10](https://github.com/siyuan-note/siyuan/issues/10869)
* [改進大綱載入機制](https://github.com/siyuan-note/siyuan/issues/10884)
## 下載
* [B3log](https://b3log.org/siyuan/download.html)
* [GitHub](https://github.com/siyuan-note/siyuan/releases)

View file

@ -0,0 +1,67 @@
## 概述
该版本支持了数据库日期字段默认填充当前时间。
## 变更记录
以下是此版本中的详细变更。
### 改进功能
* [数据库日期字段支持默认填充当前时间](https://github.com/siyuan-note/siyuan/issues/10823)
* [数据库主键支持解绑块](https://github.com/siyuan-note/siyuan/issues/10849)
* [改进闪卡菜单](https://github.com/siyuan-note/siyuan/issues/10857)
* [从数据库删除行后刷新相应的汇总](https://github.com/siyuan-note/siyuan/issues/10858)
* [点击块上标图标时自动校验数据库名称](https://github.com/siyuan-note/siyuan/issues/10861)
* [改进文档标题 `粘贴为纯文本`](https://github.com/siyuan-note/siyuan/issues/10866)
* [忽略 `*` 提及和虚拟引用](https://github.com/siyuan-note/siyuan/issues/10873)
* [提高导入 .sy.zip 的性能](https://github.com/siyuan-note/siyuan/issues/10874)
* [支持向数据库添加数据库块](https://github.com/siyuan-note/siyuan/issues/10876)
* [改进数据库表格视图选中单元格内容的交互](https://github.com/siyuan-note/siyuan/issues/10877)
* [改进 iframe 块的选择](https://github.com/siyuan-note/siyuan/issues/10879)
* [改进数据库块引用锚文本显示](https://github.com/siyuan-note/siyuan/issues/10880)
* [数据库选择字段过滤器跟随选项编辑更改](https://github.com/siyuan-note/siyuan/issues/10881)
* [改进数据库主键设置](https://github.com/siyuan-note/siyuan/issues/10882)
* [改进数据库表格视图界面](https://github.com/siyuan-note/siyuan/pull/10886)
* [改进数据库表格视图中的视图选项卡界面](https://github.com/siyuan-note/siyuan/issues/10887)
* [改进数据库表格视图底部滚动条的光标样式](https://github.com/siyuan-note/siyuan/issues/10888)
* [改进面包屑中的数据库块文本](https://github.com/siyuan-note/siyuan/issues/10891)
* [改进块属性面板拼写检查](https://github.com/siyuan-note/siyuan/issues/10897)
* [点击文档焦点在只读模式下不会切换](https://github.com/siyuan-note/siyuan/issues/10898)
* [改进 Esc 和 Del 后的光标位置](https://github.com/siyuan-note/siyuan/issues/10899)
* [支持拖动挂件块](https://github.com/siyuan-note/siyuan/issues/10900)
* [改进数据库视图菜单中的 `显示数据库标题` 项](https://github.com/siyuan-note/siyuan/issues/10908)
* [支持在数据库中添加当前文档](https://github.com/siyuan-note/siyuan/issues/10912)
* [支持填充数据库关系字段时打开浮动窗口以打开相关数据库](https://github.com/siyuan-note/siyuan/issues/10915)
* [改进 /widget 搜索](https://github.com/siyuan-note/siyuan/issues/10917)
* [数据库块包含在文档字数统计中](https://github.com/siyuan-note/siyuan/issues/10918)
* [改进数据库表格视图中的列菜单的删除和复制](https://github.com/siyuan-note/siyuan/issues/10920)
* [删除父块时删除绑定到子块的数据库行](https://github.com/siyuan-note/siyuan/issues/10923)
* [在文档和 PDF 之间切换时,改进大纲、反向链接和图表的更新](https://github.com/siyuan-note/siyuan/issues/10930)
* [当文档为只读时禁用大纲项拖动](https://github.com/siyuan-note/siyuan/issues/10931)
* [`添加到数据库` 只在数据库标题上搜索](https://github.com/siyuan-note/siyuan/issues/10934)
* [改进用户指南入口](https://github.com/siyuan-note/siyuan/pull/10939)
* [改进导出段落开头的空格](https://github.com/siyuan-note/siyuan/issues/10940)
### 修复缺陷
* [数据库关联字段 `Ctrl+Hover` 不打开浮动窗口](https://github.com/siyuan-note/siyuan/issues/10836)
* [创建新的块可能会导致页签关闭](https://github.com/siyuan-note/siyuan/issues/10851)
* [数据库列宽调整失效](https://github.com/siyuan-note/siyuan/issues/10865)
* [数据库日期间隔过滤器无法选择结束时间](https://github.com/siyuan-note/siyuan/issues/10870)
* [`1\n\n2` 结尾处按 `Enter` 后的顺序错误](https://github.com/siyuan-note/siyuan/issues/10901)
* [`Bold+Inline code` 导致内容消失](https://github.com/siyuan-note/siyuan/issues/10910)
* [数据库汇总计算极差异常](https://github.com/siyuan-note/siyuan/issues/10913)
* [启动应用程序时无法通过 `siyuan://` 打开文档](https://github.com/siyuan-note/siyuan/issues/10937)
* [解绑 "隐藏窗口" 快捷键异常](https://github.com/siyuan-note/siyuan/issues/10938)
* [`Ctrl+X` 后 `Ctrl+M` 无法唤出行级公式编辑](https://github.com/siyuan-note/siyuan/issues/10941)
### 开发重构
* [升级到 Electron v28.2.10](https://github.com/siyuan-note/siyuan/issues/10869)
* [改进大纲加载机制](https://github.com/siyuan-note/siyuan/issues/10884)
## 下载
* [B3log](https://b3log.org/siyuan/download.html)
* [GitHub](https://github.com/siyuan-note/siyuan/releases)

View file

@ -187,6 +187,7 @@ export abstract class Constants {
zh_CHT: "20211226090932-5lcq56f",
en_US: "20210808180117-6v0mkxr",
fr_FR: "20210808180117-6v0mkxr",
es_ES: "20210808180117-6v0mkxr",
};
public static readonly QUICK_DECK_ID = "20230218211946-2kw8jgx";

View file

@ -65,7 +65,7 @@ export const initStatus = (isWindow = false) => {
window.siyuan.menus.menu.remove();
window.siyuan.menus.menu.element.setAttribute("data-name", "statusHelp");
window.siyuan.menus.menu.append(new MenuItem({
label: window.siyuan.languages.help,
label: window.siyuan.languages.userGuide,
icon: "iconHelp",
click: () => {
mountHelp();

View file

@ -194,7 +194,7 @@ export const newCenterEmptyTab = (app: App) => {
</div>
<div class="b3-list-item" id="editorEmptyHelp">
<svg class="b3-list-item__graphic"><use xlink:href="#iconHelp"></use></svg>
<span>${window.siyuan.languages.help}</span>
<span>${window.siyuan.languages.userGuide}</span>
</div>
</div>`,
callback(tab: Tab) {

View file

@ -428,7 +428,7 @@ export const workspaceMenu = (app: App, rect: DOMRect) => {
window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);
}
window.siyuan.menus.menu.append(new MenuItem({
label: window.siyuan.languages.help,
label: window.siyuan.languages.userGuide,
icon: "iconHelp",
click: () => {
mountHelp();

View file

@ -110,7 +110,7 @@ export const initRightMenu = (app: App) => {
</div>
<div class="b3-menu__separator"></div>
<div class="b3-menu__item" id="menuHelp">
<svg class="b3-menu__icon"><use xlink:href="#iconHelp"></use></svg><span class="b3-menu__label">${window.siyuan.languages.help}</span>
<svg class="b3-menu__icon"><use xlink:href="#iconHelp"></use></svg><span class="b3-menu__label">${window.siyuan.languages.userGuide}</span>
</div>
<a class="b3-menu__item" href="${"zh_CN" === window.siyuan.config.lang || "zh_CHT" === window.siyuan.config.lang ? "https://ld246.com/article/1649901726096" : "https://liuyun.io/article/1686530886208"}" target="_blank">
<svg class="b3-menu__icon"><use xlink:href="#iconFeedback"></use></svg>

View file

@ -32,7 +32,7 @@ export const setEmpty = (app: App) => {
<svg class="b3-list-item__graphic"><use xlink:href="#iconFilesRoot"></use></svg><span class="fn__space"></span><span class="b3-list-item__text">${window.siyuan.languages.newNotebook}</span>
</div>
<div class="b3-list-item" id="emptyHelp">
<svg class="b3-list-item__graphic"><use xlink:href="#iconHelp"></use></svg><span class="fn__space"></span><span class="b3-list-item__text">${window.siyuan.languages.help}</span>
<svg class="b3-list-item__graphic"><use xlink:href="#iconHelp"></use></svg><span class="fn__space"></span><span class="b3-list-item__text">${window.siyuan.languages.userGuide}</span>
</div>`;
emptyElement.addEventListener("click", (event) => {
let target = event.target as HTMLElement;

File diff suppressed because one or more lines are too long

View file

@ -9,7 +9,7 @@ require (
github.com/88250/clipboard v0.1.5
github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48
github.com/88250/gulu v1.2.3-0.20240324024901-3c1bb82cba30
github.com/88250/lute v1.7.7-0.20240406152030-c259e44d4972
github.com/88250/lute v1.7.7-0.20240408145140-e18ac30cb9f0
github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1
github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4

View file

@ -10,8 +10,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/gulu v1.2.3-0.20240324024901-3c1bb82cba30 h1:IeE4DVRWnVpcbMj7gGZoSMiBWs3h/ihiyOmualS1Mas=
github.com/88250/gulu v1.2.3-0.20240324024901-3c1bb82cba30/go.mod h1:MUfzyfmbPrRDZLqxc7aPrVYveatTHRfoUa5TynPS0i8=
github.com/88250/lute v1.7.7-0.20240406152030-c259e44d4972 h1:+9XWeigIl7gnPIbFQ/PX8LTdIUFjasMywc0/C2fveoM=
github.com/88250/lute v1.7.7-0.20240406152030-c259e44d4972/go.mod h1:VDAzL8b+oCh+e3NAlmwwLzC53ten0rZlS8NboB7ljtk=
github.com/88250/lute v1.7.7-0.20240408145140-e18ac30cb9f0 h1:6kBdaikgEvit+d9f/EfKHu8KDOQDq9l00qtfOnchy4A=
github.com/88250/lute v1.7.7-0.20240408145140-e18ac30cb9f0/go.mod h1:VDAzL8b+oCh+e3NAlmwwLzC53ten0rZlS8NboB7ljtk=
github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c h1:Dl/8S9iLyPMTElnWIBxmjaLiWrkI5P4a21ivwAn5pU0=
github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c/go.mod h1:S5YT38L/GCjVjmB4PB84PymA1qfopjEhfhTNQilLpv4=
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY=