Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/dockerimage.yml
#	README.md
#	app/package.json
#	app/src/config/account.ts
  • Loading branch information
appdev committed Jan 26, 2024
2 parents 6a629f1 + 98455e3 commit 0a6a0ef
Show file tree
Hide file tree
Showing 130 changed files with 2,515 additions and 610 deletions.
12 changes: 6 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ Install pnpm: `npm install -g pnpm`

Set the Electron mirror environment variable and install Electron:

* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install [email protected].3 -D`
* macOS/Linux: `ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/ pnpm install [email protected].4 -D`
* Windows:
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
* `pnpm install [email protected].3 -D`
* `SET ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/`
* `pnpm install [email protected].4 -D`

NPM mirror:

* Use npmmirror China mirror repository `pnpm --registry https://r.cnpmjs.org/ i`
* Revert to using official repository `pnpm --registry https://registry.npmjs.org i`
* Use npmmirror China mirror repository `pnpm --registry https://registry.npmmirror.com/ i`
* Revert to using official repository `pnpm --registry https://registry.npmmirror.com i`

</details>

On the desktop, go to the app folder to run:

* `pnpm install [email protected].3 -D`
* `pnpm install [email protected].4 -D`
* `pnpm run dev`
* `pnpm run start`

Expand Down
12 changes: 6 additions & 6 deletions .github/CONTRIBUTING_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@

* macOS/Linux:
```
ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install [email protected].3 -D
ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/ pnpm install [email protected].4 -D
```
* Windows:
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
* `pnpm install [email protected].3 -D`
* `SET ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/`
* `pnpm install [email protected].4 -D`

NPM 镜像:

* 使用 npmmirror 中国镜像仓库 `pnpm --registry https://r.cnpmjs.org/ i`
* 恢复使用官方仓库 `pnpm --registry https://registry.npmjs.org i`
* 使用 npmmirror 中国镜像仓库 `pnpm --registry https://registry.npmmirror.com/ i`
* 恢复使用官方仓库 `pnpm --registry https://registry.npmmirror.com i`
</details>

桌面端进入 app 文件夹运行:

* `pnpm install [email protected].3 -D`
* `pnpm install [email protected].4 -D`
* `pnpm run dev`
* `pnpm run start`

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:

- name: Build the Docker image
run: |
docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t b3log/siyuan:latest -t b3log/siyuan:v2.11.2 .
docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t b3log/siyuan:latest -t b3log/siyuan:v2.12.5 .
18 changes: 10 additions & 8 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,16 @@

![思源笔记架构设计](https://b3logfile.com/file/2023/05/SiYuan_Arch-Sgu8vXT.png "思源笔记架构设计")

* [bazzar](https://github.com/siyuan-note/bazaar):社区集市
* [dejavu](https://github.com/siyuan-note/dejavu):数据仓库
* [riff](https://github.com/siyuan-note/riff):间隔重复系统
* [petal](https://github.com/siyuan-note/petal):插件 API
* [chrome](https://github.com/siyuan-note/siyuan-chrome):Chrome 扩展
* [lute](https://github.com/88250/lute):结构化的编辑器引擎,支持 Go 和 JavaScript
* [ios](https://github.com/siyuan-note/siyuan-ios): iOS APP
* [android](https://github.com/siyuan-note/siyuan-android): Android APP
| Project | Description | Forks | Stars |
|----------------------------------------------------------|----------------|---------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|
| [lute](https://github.com/88250/lute) | 编辑器引擎 | ![GitHub forks](https://img.shields.io/github/forks/88250/lute) | ![GitHub Repo stars](https://img.shields.io/github/stars/88250/lute) |
| [chrome](https://github.com/siyuan-note/siyuan-chrome) | Chrome/Edge 扩展 | ![GitHub forks](https://img.shields.io/github/forks/siyuan-note/siyuan-chrome) | ![GitHub Repo stars](https://img.shields.io/github/stars/siyuan-note/siyuan-chrome) |
| [bazaar](https://github.com/siyuan-note/bazaar) | 社区集市 | ![GitHub forks](https://img.shields.io/github/forks/siyuan-note/bazaar) | ![GitHub Repo stars](https://img.shields.io/github/stars/siyuan-note/bazaar) |
| [dejavu](https://github.com/siyuan-note/dejavu) | 数据仓库 | ![GitHub forks](https://img.shields.io/github/forks/siyuan-note/dejavu) | ![GitHub Repo stars](https://img.shields.io/github/stars/siyuan-note/dejavu) |
| [petal](https://github.com/siyuan-note/petal) | 插件 API | ![GitHub forks](https://img.shields.io/github/forks/siyuan-note/petal) | ![GitHub Repo stars](https://img.shields.io/github/stars/siyuan-note/petal) |
| [android](https://github.com/siyuan-note/siyuan-android) | Android APP | ![GitHub forks](https://img.shields.io/github/forks/siyuan-note/siyuan-android) | ![GitHub Repo stars](https://img.shields.io/github/stars/siyuan-note/siyuan-android) |
| [ios](https://github.com/siyuan-note/siyuan-ios) | iOS APP | ![GitHub forks](https://img.shields.io/github/forks/siyuan-note/siyuan-ios) | ![GitHub Repo stars](https://img.shields.io/github/stars/siyuan-note/siyuan-ios) |
| [riff](https://github.com/siyuan-note/riff) | 间隔重复 | ![GitHub forks](https://img.shields.io/github/forks/siyuan-note/riff) | ![GitHub Repo stars](https://img.shields.io/github/stars/siyuan-note/riff) |

## 🌟 Star History

Expand Down
14 changes: 13 additions & 1 deletion app/appearance/langs/en_US.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"cloudStoragePurge": "Purge cloud storage",
"cloudStoragePurgeConfirm": "Note:<ul class='fn__list'><li>Please ensure that other devices have paused sync before execution</li><li>The purge operation is very time-consuming, please ensure that the network is stable</li></ul>Are you sure to execute it now?",
"dragFill": "Drag vertically to fill value",
"switchReadonly": "Switch read-only mode",
"original": "Original",
Expand Down Expand Up @@ -851,6 +853,7 @@
"insertBottom": "Open Below the Tab",
"insertRight": "Open Right the Tab",
"account1": "Become a paid member",
"account4": "Upgrade to a subscription member",
"account2": "End-to-end encrypted data sync and backup",
"account3": "Trial Subscription",
"account5": "Cloud assets hosting",
Expand Down Expand Up @@ -1390,6 +1393,15 @@
"220": "Due to a defect in the previous version, the cloud data is corrupted. Please refer to the User Guide-FAQ-Lost Key steps to reset the local data repo and cloud directory",
"221": "The replacement operation is not supported after grouping by document. Please use ungrouping and then replace",
"222": "Data sync is in progress, please wait until data sync is completed and try again",
"223": "Cleaning cloud storage..."
"223": "Purging cloud storage...",
"224": "Listing cloud storage data objects...",
"225": "Listing cloud storage snapshots...",
"226": "Listing cloud storage snapshot references...",
"227": "Downloading cloud storage snapshot...",
"228": "Downloading cloud storage data files...",
"229": "Deleting cloud storage unreferenced snapshots...",
"230": "Deleting cloud storage unreferenced check indexes...",
"231": "Deleting unreferenced data objects in cloud storage...",
"232": "The cloud data storage has been purged. [%d] snapshots and [%d] data objects have been deleted, and a total of [%s] disk space has been released"
}
}
14 changes: 13 additions & 1 deletion app/appearance/langs/es_ES.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"cloudStoragePurge": "Borrar almacenamiento en la nube",
"cloudStoragePurgeConfirm": "Nota:<ul class='fn__list'><li>Asegúrese de que otros dispositivos hayan pausado la sincronización antes de la ejecución</li><li>La operación de purga requiere mucho tiempo; asegúrese de que la red esté estable</li></ul>¿Está seguro de ejecutarla ahora?",
"dragFill": "Arrastra verticalmente para rellenar el valor",
"switchReadonly": "Cambiar modo de sólo lectura",
"original": "Original",
Expand Down Expand Up @@ -851,6 +853,7 @@
"insertBottom": "Abrir debajo de la pestaña",
"insertRight": "Abrir a la derecha la pestaña",
"account1": "Conviértete en miembro pago",
"account4": "Actualizar a miembro suscrito",
"account2": "Copia de seguridad y sincronización de datos cifrados de extremo a extremo",
"account3": "Suscripción de prueba",
"account5": "Alojamiento de activos en la nube",
Expand Down Expand Up @@ -1390,6 +1393,15 @@
"220": "Debido a un defecto en la versión anterior, los datos de la nube están dañados. Consulte los pasos de la User Guide-FAQ-Lost Key para restablecer el repositorio de datos local y el directorio de la nube",
"221": "La operación de reemplazo no es compatible después de agrupar por documento. Utilice desagrupar y luego reemplazar",
"222": "La sincronización de datos está en curso. Espere hasta que se complete la sincronización de datos e inténtelo de nuevo",
"223": "Limpiando el almacenamiento en la nube..."
"223": "Borrar almacenamiento en la nube...",
"224": "Lista de objetos de datos de almacenamiento en la nube...",
"225": "Listado de instantáneas de almacenamiento en la nube...",
"226": "Listado de referencias de instantáneas de almacenamiento en la nube...",
"227": "Descargando instantánea de almacenamiento en la nube...",
"228": "Descargando archivos de datos de almacenamiento en la nube...",
"229": "Eliminando instantáneas sin referencia del almacenamiento en la nube...",
"230": "Eliminando índices de verificación sin referencia del almacenamiento en la nube...",
"231": "Eliminar objetos de datos no referenciados en el almacenamiento en la nube...",
"232": "Se ha eliminado el almacenamiento de datos en la nube. Se han eliminado [%d] instantáneas y [%d] objetos de datos, y se ha liberado un total de [%s] espacio en disco"
}
}
14 changes: 13 additions & 1 deletion app/appearance/langs/fr_FR.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"cloudStoragePurge": "Purger le stockage cloud",
"cloudStoragePurgeConfirm": "Remarque :<ul class='fn__list'><li>Veuillez vous assurer que la synchronisation des autres appareils a été suspendue avant l'exécution</li><li>L'opération de purge prend beaucoup de temps, veuillez vous assurer que le réseau est stable</li></ul>Êtes-vous sûr de l'exécuter maintenant ?",
"dragFill": "Arrastra verticalmente para rellenar el valor",
"switchReadonly": "Changer de mode lecture seule",
"original": "Originale",
Expand Down Expand Up @@ -851,6 +853,7 @@
"insertBottom": "Ouvrir en bas de l'onglet",
"insertRight": "Ouvrir en droit de l'onglet",
"account1": "Devenez membre payant",
"account4": "Mise à niveau vers un Membre abonné",
"account2": "Synchronisation et sauvegarde des données cryptées de bout en bout",
"account3": "Abonnement d'essai",
"account5": "Hébergement d'actifs cloud",
Expand Down Expand Up @@ -1390,6 +1393,15 @@
"220": "En raison d'un défaut dans la version précédente, les données cloud sont corrompues. Veuillez vous référer aux étapes User Guide-FAQ-Lost Key pour réinitialiser le référentiel de données local et le répertoire cloud",
"221": "L'opération de remplacement n'est pas prise en charge après le regroupement par document. Veuillez utiliser le dissociation puis remplacer",
"222": "La synchronisation des données est en cours, veuillez attendre que la synchronisation des données soit terminée et réessayer",
"223": "Nettoyage du stockage cloud..."
"223": "Purger le stockage cloud...",
"224": "Liste des objets de données de stockage cloud...",
"225": "Liste des instantanés de stockage cloud...",
"226": "Liste des références d'instantanés de stockage cloud...",
"227": "Téléchargement de l'instantané de stockage cloud...",
"228": "Téléchargement des fichiers de données de stockage cloud...",
"229": "Suppression des instantanés non référencés du stockage cloud...",
"230": "Suppression des index de vérification non référencés du stockage cloud...",
"231": "Suppression des objets de données non référencés dans le stockage cloud...",
"232": "Le stockage de données cloud a été purgé. [%d] instantanés et [%d] objets de données ont été supprimés, et un total de [%s] espace disque a été libéré"
}
}
14 changes: 13 additions & 1 deletion app/appearance/langs/zh_CHT.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"cloudStoragePurge": "清理雲端儲存",
"cloudStoragePurgeConfirm": "請注意:<ul class='fn__list'><li>執行前請確保其他設備已經暫停同步</li><li>清理作業非常耗時,請確保網路穩定</li></ul>確定現在就執行嗎?",
"dragFill": "下拉填滿資料",
"switchReadonly": "唯讀模式切換",
"original": "原值",
Expand Down Expand Up @@ -851,6 +853,7 @@
"insertBottom": "在分頁下側打開",
"insertRight": "在分頁右側打開",
"account1": "成為付費會員",
"account4": "陞級為訂閱會員",
"account2": "端到端加密資料同步和備份",
"account3": "試用訂閱",
"account5": "雲端圖床服務",
Expand Down Expand Up @@ -1390,6 +1393,15 @@
"220": "由於先前版本的缺陷導致了雲端資料損壞,請參考 用戶指南-常見問題-遺失密鑰 步驟來重置本地資料倉儲和雲端目錄",
"221": "按文檔分組後不支援替換操作,請使用取消分組後再進行替換",
"222": "資料同步中,請等待資料同步完成後再試",
"223": "正在清理雲端儲存..."
"223": "正在清理雲端儲存...",
"224": "正在列出雲端儲存資料物件...",
"225": "正在列出雲端儲存快照...",
"226": "正在列出雲端儲存快照引用...",
"227": "正在下載雲端儲存快照...",
"228": "正在下載雲端儲存資料檔...",
"229": "正在刪除雲端儲存未引用快照...",
"230": "正在刪除雲端儲存未引用校驗快照...",
"231": "正在刪除雲端儲存未引用資料物件...",
"232": "雲端資料儲存清理完畢,已刪除 [%d] 個快照和 [%d] 個資料對象,共釋放 [%s] 磁碟空間"
}
}
14 changes: 13 additions & 1 deletion app/appearance/langs/zh_CN.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"cloudStoragePurge": "清理云端存储",
"cloudStoragePurgeConfirm": "请注意:<ul class='fn__list'><li>执行前请确保其他设备已经暂停同步</li><li>清理操作非常耗时,请确保网络稳定</li></ul> 确定现在就执行吗?",
"dragFill": "下拉填充数据",
"switchReadonly": "只读模式切换",
"original": "原值",
Expand Down Expand Up @@ -851,6 +853,7 @@
"insertBottom": "在页签下侧打开",
"insertRight": "在页签右侧打开",
"account1": "成为付费会员",
"account4": "升级为订阅会员",
"account2": "端到端加密数据同步和备份",
"account3": "试用订阅",
"account5": "云端图床服务",
Expand Down Expand Up @@ -1390,6 +1393,15 @@
"220": "由于之前版本的缺陷导致了云端数据损坏,请参考 用户指南-常见问题-遗失密钥 步骤来重置本地数据仓库和云端目录",
"221": "按文档分组后不支持替换操作,请使用取消分组后再进行替换",
"222": "数据同步中,请等待数据同步完成后再试",
"223": "正在清理云端存储..."
"223": "正在清理云端存储...",
"224": "正在列出云端存储数据对象...",
"225": "正在列出云端存储快照...",
"226": "正在列出云端存储快照引用...",
"227": "正在下载云端存储快照...",
"228": "正在下载云端存储数据文件...",
"229": "正在删除云端存储未引用快照...",
"230": "正在删除云端存储未引用校验快照...",
"231": "正在删除云端存储未引用数据对象...",
"232": "云端数据存储清理完毕,已删除 [%d] 个快照和 [%d] 个数据对象,共释放 [%s] 磁盘空间"
}
}
2 changes: 1 addition & 1 deletion app/appearance/themes/daylight/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@
mix-blend-mode: multiply;
}

.b3-typography div.hljs, .protyle-wysiwyg div.hljs {
.b3-typography .hljs, .protyle-wysiwyg .hljs {
background-color: #f8f9fa;
}
2 changes: 1 addition & 1 deletion app/appx/AppxManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Identity Name="89C2A984.SiYuan"
ProcessorArchitecture="x64"
Publisher="CN=087C656E-C1D9-42D8-8807-CED45A74FC0F"
Version="2.12.3.0"/>
Version="2.12.5.0"/>
<Properties>
<DisplayName>SiYuan</DisplayName>
<PublisherDisplayName>云南链滴科技有限公司</PublisherDisplayName>
Expand Down
48 changes: 48 additions & 0 deletions app/changelogs/v2.12.4/v2.12.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
## Overview

This version improves data sync stability and resolves an issue that caused data loss during data sync on Android 14.

## Changelogs

Below are the detailed changes in this version.

### Enhancement

* [Improve parsing code block pasted from web page](https://github.com/siyuan-note/siyuan/issues/10183)
* [Setting `Esc` as a hotkey is not allowed](https://github.com/siyuan-note/siyuan/issues/10194)
* [Use default icon if marketplace package icon does not exist](https://github.com/siyuan-note/siyuan/issues/10199)
* [Plugins should be reloaded after the data sync](https://github.com/siyuan-note/siyuan/issues/10203)
* [Adjust maximum width of dialog box on the desktop](https://github.com/siyuan-note/siyuan/issues/10211)
* [Adjust the position of the indent and outdent button on the mobile](https://github.com/siyuan-note/siyuan/issues/10213)
* [Improve AI-generated content parsing](https://github.com/siyuan-note/siyuan/issues/10217)
* [Use ⌃0-9 instead of ⌥0-9 in macOS](https://github.com/siyuan-note/siyuan/issues/10218)
* [Improve data sync to prevent an old snapshot to overwrite the new one](https://github.com/siyuan-note/siyuan/issues/10229)
* [Improve search and replace spaces](https://github.com/siyuan-note/siyuan/issues/10231)

### Bugfix

* [Data sync may cause data loss on Android 14](https://github.com/siyuan-note/siyuan/issues/10205)
* [Repeated escaping in preview area when searching for matching doc blocks](https://github.com/siyuan-note/siyuan/issues/10219)
* [Remove invalid requests during boot](https://github.com/siyuan-note/siyuan/pull/10227)
* [Spaced repetition read-only mode is invalid](https://github.com/siyuan-note/siyuan/issues/10230)

### Refactor

* [Simplify retry mechanism to get system version](https://github.com/siyuan-note/siyuan/pull/10198)
* [Upgrade Electron v28.1.4](https://github.com/siyuan-note/siyuan/issues/10223)

### Development

* [Attribute Panel - Database supports adding key and sorting key](https://github.com/siyuan-note/siyuan/issues/10142)
* [Improve database table view select filtering](https://github.com/siyuan-note/siyuan/issues/10193)
* [Unable to update database table view cell under unknown circumstances](https://github.com/siyuan-note/siyuan/issues/10200)
* [Add some database related internal kernel APIs](https://github.com/siyuan-note/siyuan/issues/10201)
* [`Delete` at the end of a block should not delete the next block which is a database table view block](https://github.com/siyuan-note/siyuan/issues/10207)
* [Add or remove the dock plugin should update "window.siyuan.config.uiLayout"](https://github.com/siyuan-note/siyuan/issues/10208)
* [Set the maximum message size of WebSocket broadcast to 128 MiB](https://github.com/siyuan-note/siyuan/pull/10221)
* [Improve database table view asset column name display](https://github.com/siyuan-note/siyuan/issues/10225)

## Download

* [B3log](https://b3log.org/siyuan/en/download.html)
* [GitHub](https://github.com/siyuan-note/siyuan/releases)
Loading

0 comments on commit 0a6a0ef

Please sign in to comment.