1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fluxbb_ynh.git synced 2024-09-03 18:36:14 +02:00

Merge pull request #26 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2024-05-15 18:33:22 +02:00 committed by GitHub
commit 84ddd7a41c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 173 additions and 40 deletions

View file

@ -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)
- [Leggi il “README” in italiano](README_it.md)
- [阅读中文(简体)的 README](README_zh_Hans.md)

View file

@ -9,7 +9,7 @@ It shall NOT be edited by hand.
[![Install FluxBB with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fluxbb)
*[Read this README is other languages.](./ALL_README.md)*
*[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install FluxBB quickly and simply on a YunoHost server.*
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
FluxBB is designed as a lighter, faster alternative to some of the traditional feature heavy forum applications. It is easy to use and has a proven track record of stability and security making it an ideal choice of forum for your website.
**Shipped version:** 1.5.11~ynh6
**Shipped version:** 1.5.11~ynh1
**Demo:** <https://fluxbb.org/forums/index.php>

50
README_es.md Normal file
View file

@ -0,0 +1,50 @@
<!--
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
No se debe editar a mano.
-->
# FluxBB para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/fluxbb.svg)](https://dash.yunohost.org/appci/app/fluxbb) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/fluxbb.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/fluxbb.maintain.svg)
[![Instalar FluxBB con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fluxbb)
*[Leer este README en otros idiomas.](./ALL_README.md)*
> *Este paquete le permite instalarFluxBB 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
FluxBB is designed as a lighter, faster alternative to some of the traditional feature heavy forum applications. It is easy to use and has a proven track record of stability and security making it an ideal choice of forum for your website.
**Versión actual:** 1.5.11~ynh1
**Demo:** <https://fluxbb.org/forums/index.php>
## Capturas
![Captura de FluxBB](./doc/screenshots/fluxbb_screenshot.png)
## Documentaciones y recursos
- Sitio web oficial: <https://fluxbb.org/>
- Documentación administrador oficial: <https://fluxbb.org/docs/>
- Repositorio del código fuente oficial de la aplicación : <https://github.com/fluxbb/fluxbb/>
- Catálogo YunoHost: <https://apps.yunohost.org/app/fluxbb>
- Reportar un error: <https://github.com/YunoHost-Apps/fluxbb_ynh/issues>
## Información para desarrolladores
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/fluxbb_ynh/tree/testing
Para probar la rama `testing`, sigue asÍ:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/fluxbb_ynh/tree/testing --debug
o
sudo yunohost app upgrade fluxbb -u https://github.com/YunoHost-Apps/fluxbb_ynh/tree/testing --debug
```
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>

50
README_eu.md Normal file
View file

@ -0,0 +1,50 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# FluxBB YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/fluxbb.svg)](https://dash.yunohost.org/appci/app/fluxbb) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/fluxbb.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/fluxbb.maintain.svg)
[![Instalatu FluxBB YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fluxbb)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek FluxBB YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
FluxBB is designed as a lighter, faster alternative to some of the traditional feature heavy forum applications. It is easy to use and has a proven track record of stability and security making it an ideal choice of forum for your website.
**Paketatutako bertsioa:** 1.5.11~ynh1
**Demoa:** <https://fluxbb.org/forums/index.php>
## Pantaila-argazkiak
![FluxBB(r)en pantaila-argazkia](./doc/screenshots/fluxbb_screenshot.png)
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://fluxbb.org/>
- Administratzaileen dokumentazio ofiziala: <https://fluxbb.org/docs/>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/fluxbb/fluxbb/>
- YunoHost Denda: <https://apps.yunohost.org/app/fluxbb>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/fluxbb_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/fluxbb_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/fluxbb_ynh/tree/testing --debug
edo
sudo yunohost app upgrade fluxbb -u https://github.com/YunoHost-Apps/fluxbb_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
FluxBB est conçu comme une alternative plus légère et plus rapide à certaines des applications traditionnelles de forum lourdes en fonctionnalités. Il est facile à utiliser et a fait ses preuves en matière de stabilité et de sécurité, ce qui en fait un choix de forum idéal pour votre site Web.
**Version incluse:** 1.5.11~ynh6
**Version incluse:** 1.5.11~ynh1
**Démo:** <https://fluxbb.org/forums/index.php>

View file

@ -19,7 +19,7 @@ NON debe editarse manualmente.
FluxBB is designed as a lighter, faster alternative to some of the traditional feature heavy forum applications. It is easy to use and has a proven track record of stability and security making it an ideal choice of forum for your website.
**Versión proporcionada:** 1.5.11~ynh6
**Versión proporcionada:** 1.5.11~ynh1
**Demo:** <https://fluxbb.org/forums/index.php>

50
README_zh_Hans.md Normal file
View file

@ -0,0 +1,50 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 上的 FluxBB
[![集成程度](https://dash.yunohost.org/integration/fluxbb.svg)](https://dash.yunohost.org/appci/app/fluxbb) ![工作状态](https://ci-apps.yunohost.org/ci/badges/fluxbb.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/fluxbb.maintain.svg)
[![使用 YunoHost 安装 FluxBB](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fluxbb)
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 FluxBB。*
> *如果您还没有 YunoHost请参阅[指南](https://yunohost.org/install)了解如何安装它。*
## 概况
FluxBB is designed as a lighter, faster alternative to some of the traditional feature heavy forum applications. It is easy to use and has a proven track record of stability and security making it an ideal choice of forum for your website.
**分发版本:** 1.5.11~ynh1
**演示:** <https://fluxbb.org/forums/index.php>
## 截图
![FluxBB 的截图](./doc/screenshots/fluxbb_screenshot.png)
## 文档与资源
- 官方应用网站: <https://fluxbb.org/>
- 官方管理文档: <https://fluxbb.org/docs/>
- 上游应用代码库: <https://github.com/fluxbb/fluxbb/>
- YunoHost 商店: <https://apps.yunohost.org/app/fluxbb>
- 报告 bug <https://github.com/YunoHost-Apps/fluxbb_ynh/issues>
## 开发者信息
请向 [`testing` 分支](https://github.com/YunoHost-Apps/fluxbb_ynh/tree/testing) 发送拉取请求。
如要尝试 `testing` 分支,请这样操作:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/fluxbb_ynh/tree/testing --debug
sudo yunohost app upgrade fluxbb -u https://github.com/YunoHost-Apps/fluxbb_ynh/tree/testing --debug
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

View file

@ -5,7 +5,7 @@ name = "FluxBB"
description.en = "Fast, light, user-friendly forum software"
description.fr = "Forum de discussions rapide et léger"
version = "1.5.11~ynh6"
version = "1.5.11~ynh1"
maintainers = ["Antoine"]
@ -17,11 +17,14 @@ admindoc = "https://fluxbb.org/docs/"
code = "https://github.com/fluxbb/fluxbb/"
[integration]
yunohost = ">= 11.1.18"
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = false
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
@ -38,8 +41,6 @@ ram.runtime = "50M"
type = "user"
[install.init_main_permission]
help.en = "Visibility of the forum"
help.fr = "La visibilité du forum"
type = "group"
default = "visitors"
@ -60,7 +61,7 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "mariadb-server php7.4-fpm"
packages = "mariadb-server, php7.4-fpm"
[resources.database]
type = "mysql"

View file

@ -34,13 +34,8 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=1
# Create a dedicated nginx config
ynh_add_nginx_config
#=================================================
# PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
# Create a dedicated php-fpm config
ynh_add_fpm_config --usage=low --footprint=low
ynh_add_fpm_config
#=================================================
# SETUP APPLICATION WITH CURL

View file

@ -17,11 +17,6 @@ ynh_script_progression --message="Removing NGINX web server configuration" --wei
# Remove the dedicated nginx config
ynh_remove_nginx_config
#=================================================
# REMOVE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Removing PHP-FPM configuration" --weight=1
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config

View file

@ -10,13 +10,6 @@
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX configuration..." --weight=1
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# RESTORE THE APP MAIN DIR
#=================================================
@ -27,6 +20,13 @@ ynh_restore_file --origin_path="$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# RESTORE THE MYSQL DATABASE
#=================================================
ynh_script_progression --message="Restoring the MySQL database..." --weight=1
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
@ -34,12 +34,7 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weig
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#=================================================
# RESTORE THE MYSQL DATABASE
#=================================================
ynh_script_progression --message="Restoring the MySQL database..." --weight=1
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# GENERIC FINALIZATION

View file

@ -38,13 +38,8 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low
ynh_add_fpm_config
#=================================================
# GENERIC FINALIZATION