An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Doc in the user guide no longer supports one-click sending to the community Fix https://github.com/siyuan-note/siyuan/issues/8388
Daniel486c082c7de0
diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.jsonindex 607e0fd9f3..e5c1ab103b 100644--- a/app/appearance/langs/en_US.json+++ b/app/appearance/langs/en_US.json@@ -1158,6 +1158,7 @@"200": "Global search response time is slow, it is recommended to add type filtering or keywords to narrow the search scope","201": "Failed to purge data repo: %s","202": "Cleaning data repo...",- "203": "The data repo is purged, [%d] snapshots and [%d] data objects have been deleted, and a total of [%s] disk space has been released"+ "203": "The data repo is purged, [%d] snapshots and [%d] data objects have been deleted, and a total of [%s] disk space has been released",+ "204": "The doc in the user guide does not support sharing to the community"}}diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.jsonindex 82c95d148b..2b8c1cd3e6 100644--- a/app/appearance/langs/es_ES.json+++ b/app/appearance/langs/es_ES.json@@ -1158,6 +1158,7 @@"200": "El tiempo de respuesta de b\u00fasqueda global es lento, se recomienda agregar filtros de tipo o palabras clave para reducir el alcance de b\u00fasqueda","201": "Error al purgar el repositorio de datos: %s","202": "Limpiando repositorio de datos...",- "203": "El repositorio de datos se purgó, [%d] instantáneas y [%d] objetos de datos se eliminaron y se liberó un total de [%s] espacio en disco"+ "203": "El repositorio de datos se purgó, [%d] instantáneas y [%d] objetos de datos se eliminaron y se liberó un total de [%s] espacio en disco",+ "204": "La documentación en la guía del usuario no permite compartir con la comunidad"}}diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.jsonindex b501630f9d..d73ca29a4b 100644--- a/app/appearance/langs/fr_FR.json+++ b/app/appearance/langs/fr_FR.json@@ -1158,6 +1158,7 @@"200": "Le temps de réponse de la recherche globale est lent, il est recommandé d'ajouter un filtrage de type ou des mots-clés pour restreindre la portée de la recherche","201": "Échec de la purge du référentiel de données : %s","202": "Nettoyage du référentiel de données...",- "203": "Le référentiel de données est 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é"+ "203": "Le référentiel de données est 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é",+ "204": "La documentation du guide de l'utilisateur ne prend pas en charge le partage avec la communauté"}}diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.jsonindex a4c6fcff24..fc61ac8198 100644--- a/app/appearance/langs/zh_CHT.json+++ b/app/appearance/langs/zh_CHT.json@@ -1158,6 +1158,7 @@"200": "全局搜索響應時間較慢,建議增加類型過濾或者增加關鍵字以縮小搜索範圍","201": "清理數據倉庫失敗:%s","202": "正在清理數據倉庫...",- "203": "數據倉庫清理完畢,已刪除 [%d] 個快照和 [%d] 個數據對象,共釋放 [%s] 磁盤空間"+ "203": "數據倉庫清理完畢,已刪除 [%d] 個快照和 [%d] 個數據對象,共釋放 [%s] 磁盤空間",+ "204": "用戶指南中的文檔不支持分享到社區"}}diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.jsonindex a134eefb12..f70b1002c1 100644--- a/app/appearance/langs/zh_CN.json+++ b/app/appearance/langs/zh_CN.json@@ -1160,6 +1160,7 @@"200": "全局搜索响应时间较慢,建议增加类型过滤或者增加关键字以缩小搜索范围","201": "清理数据仓库失败:%s","202": "正在清理数据仓库...",- "203": "数据仓库清理完毕,已删除 [%d] 个快照和 [%d] 个数据对象,共释放 [%s] 磁盘空间"+ "203": "数据仓库清理完毕,已删除 [%d] 个快照和 [%d] 个数据对象,共释放 [%s] 磁盘空间",+ "204": "用户指南中的文档不支持分享到社区"}}diff --git a/kernel/model/export.go b/kernel/model/export.goindex 2e529443f3..ffde590cba 100644--- a/kernel/model/export.go+++ b/kernel/model/export.go@@ -59,6 +59,10 @@ func Export2Liandi(id string) (err error) {return}+ if IsUserGuide(tree.Box) {+ return errors.New(Conf.Language(204))+ }+sqlAssets := sql.QueryRootBlockAssets(id)err = uploadAssets2Cloud(sqlAssets, bizTypeExport2Liandi)if nil != err {