diff --git a/ALL_README.md b/ALL_README.md index 77b7509..8938aae 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,8 @@ # All available README files by language - [Read the README in English](README.md) +- [Lee el README en español](README_es.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index 92c9ead..a8a4c53 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out - Diagrams.net Integration -**Shipped version:** 24.02.3~ynh1 +**Shipped version:** 24.05~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..5158ea9 --- /dev/null +++ b/README_es.md @@ -0,0 +1,61 @@ + + +# BookStack para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/bookstack.svg)](https://dash.yunohost.org/appci/app/bookstack) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/bookstack.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/bookstack.maintain.svg) + +[![Instalar BookStack con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=bookstack) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarBookStack rapidamente y simplement en un servidor YunoHost.* +> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.* + +## Descripción general + +BookStack is an opinionated wiki system that provides a pleasant and simple out of the box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it but they should not interfere with the core simple user experience. + +### Features + +- Multi-Factor Authentication +- Dark & Light Modes +- LDAP Authentication +- Markdown Editor +- WYSIWYG Editing +- Multi-Lingual +- Diagrams.net Integration + + +**Versión actual:** 24.05~ynh1 + +**Demo:** + +## Capturas + +![Captura de BookStack](./doc/screenshots/screenshot.png) + +## Documentaciones y recursos + +- Sitio web oficial: +- Documentación usuario oficial: +- Documentación administrador oficial: +- Repositorio del código fuente oficial de la aplicación : +- Catálogo YunoHost: +- Reportar un error: + +## Información para desarrolladores + +Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing --debug +o +sudo yunohost app upgrade bookstack -u https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_eu.md b/README_eu.md index d565002..e882177 100644 --- a/README_eu.md +++ b/README_eu.md @@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out - Diagrams.net Integration -**Paketatutako bertsioa:** 24.02.3~ynh1 +**Paketatutako bertsioa:** 24.05~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index ca9e1f4..7ec4456 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,7 +27,7 @@ BookStack est un système wiki simple prête à l'emploi. Les nouveaux utilisate - Multilingue -**Version incluse :** 24.02.3~ynh1 +**Version incluse :** 24.05~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 3279827..c1f5b6b 100644 --- a/README_gl.md +++ b/README_gl.md @@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out - Diagrams.net Integration -**Versión proporcionada:** 24.02.3~ynh1 +**Versión proporcionada:** 24.05~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..6aac286 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,61 @@ + + +# YunoHost 上的 BookStack + +[![集成程度](https://dash.yunohost.org/integration/bookstack.svg)](https://dash.yunohost.org/appci/app/bookstack) ![工作状态](https://ci-apps.yunohost.org/ci/badges/bookstack.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/bookstack.maintain.svg) + +[![使用 YunoHost 安装 BookStack](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=bookstack) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 BookStack。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +BookStack is an opinionated wiki system that provides a pleasant and simple out of the box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it but they should not interfere with the core simple user experience. + +### Features + +- Multi-Factor Authentication +- Dark & Light Modes +- LDAP Authentication +- Markdown Editor +- WYSIWYG Editing +- Multi-Lingual +- Diagrams.net Integration + + +**分发版本:** 24.05~ynh1 + +**演示:** + +## 截图 + +![BookStack 的截图](./doc/screenshots/screenshot.png) + +## 文档与资源 + +- 官方应用网站: +- 官方用户文档: +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing --debug +或 +sudo yunohost app upgrade bookstack -u https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** diff --git a/manifest.toml b/manifest.toml index f56efe6..987915f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "BookStack" description.en = "Platform to create documentation/wiki content" description.fr = "Plateforme pour créer du contenu de documentation/wiki" -version = "24.02.3~ynh1" +version = "24.05~ynh1" maintainers = [] @@ -59,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/BookStackApp/BookStack/archive/refs/tags/v24.02.3.tar.gz" - sha256 = "55e11562e550722bbbf923fc4b80f185213c033a297a16d2037b793c73464980" + url = "https://github.com/BookStackApp/BookStack/archive/refs/tags/v24.05.tar.gz" + sha256 = "12673a0c69ce5cea5ae0b0be568da7a88c8510b9cd9e96e7cdeb4026a355482f" rename = "bookstack.tar.gz" autoupdate.strategy = "latest_github_release" @@ -76,7 +76,7 @@ ram.runtime = "50M" api.auth_header = false [resources.apt] - packages = "mariadb-server, php8.2-curl, php8.2-mysql, php8.2-ldap, php8.2-mbstring, php8.2-tidy, php8.2-xml, php8.2-zip, php8.2-gd" + packages = "mariadb-server, php8.3-curl, php8.3-mysql, php8.3-ldap, php8.3-mbstring, php8.3-tidy, php8.3-xml, php8.3-zip, php8.3-gd" [resources.database] type = "mysql" diff --git a/scripts/upgrade b/scripts/upgrade index e93adcf..5c64503 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,12 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # ENSURE DOWNWARD COMPATIBILITY #================================================= @@ -41,14 +35,10 @@ fi #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=1 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=1 - - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env public/uploads storage/uploads" -fi +# Download, check integrity, uncompress and patch the source from app.src +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env public/uploads storage/uploads" #================================================= # REAPPLY SYSTEM CONFIGURATIONS