diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..a01b345 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # All available README files by language - [Read the README in English](README.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) diff --git a/README.md b/README.md index 656dc77..08e11b0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install LibreSpeed with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=librespeed) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install LibreSpeed 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.* @@ -30,7 +30,7 @@ Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, m - Multiple Points of Test (optional) -**Shipped version:** 5.3.0~ynh1 +**Shipped version:** 5.3.1~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..9bd423c --- /dev/null +++ b/README_eu.md @@ -0,0 +1,62 @@ + + +# LibreSpeed YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/librespeed.svg)](https://dash.yunohost.org/appci/app/librespeed) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/librespeed.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/librespeed.maintain.svg) + +[![Instalatu LibreSpeed YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=librespeed) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek LibreSpeed YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, mobile friendly. Supports PHP, Node, Multiple servers, and more. + +### Features + +- Download +- Upload +- Ping +- Jitter +- IP Address, ISP, distance from server (optional) +- Telemetry (optional) +- Results sharing (optional) +- Multiple Points of Test (optional) + + +**Paketatutako bertsioa:** 5.3.1~ynh1 + +**Demoa:** + +## Pantaila-argazkiak + +![LibreSpeed(r)en pantaila-argazkia](./doc/screenshots/screenshot.png) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Erabiltzaileen dokumentazio ofiziala: +- Administratzaileen dokumentazio ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/librespeed_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/librespeed_ynh/tree/testing --debug +edo +sudo yunohost app upgrade librespeed -u https://github.com/YunoHost-Apps/librespeed_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index 98c4b97..d5df588 100644 --- a/README_fr.md +++ b/README_fr.md @@ -28,7 +28,7 @@ Test de vitesse auto-hébergé pour HTML5 et plus. Configuration facile, exemple - Partage des résultats (facultatif) - Plusieurs points de test (facultatif) -**Version incluse :** 5.3.0~ynh1 +**Version incluse :** 5.3.1~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 1cdbe56..f39cc02 100644 --- a/README_gl.md +++ b/README_gl.md @@ -30,7 +30,7 @@ Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, m - Multiple Points of Test (optional) -**Versión proporcionada:** 5.3.0~ynh1 +**Versión proporcionada:** 5.3.1~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..d04dfe3 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,62 @@ + + +# YunoHost 的 LibreSpeed + +[![集成程度](https://dash.yunohost.org/integration/librespeed.svg)](https://dash.yunohost.org/appci/app/librespeed) ![工作状态](https://ci-apps.yunohost.org/ci/badges/librespeed.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/librespeed.maintain.svg) + +[![使用 YunoHost 安装 LibreSpeed](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=librespeed) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 LibreSpeed。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, mobile friendly. Supports PHP, Node, Multiple servers, and more. + +### Features + +- Download +- Upload +- Ping +- Jitter +- IP Address, ISP, distance from server (optional) +- Telemetry (optional) +- Results sharing (optional) +- Multiple Points of Test (optional) + + +**分发版本:** 5.3.1~ynh1 + +**演示:** + +## 截图 + +![LibreSpeed 的截图](./doc/screenshots/screenshot.png) + +## 文档与资源 + +- 官方应用网站: +- 官方用户文档: +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/librespeed_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/librespeed_ynh/tree/testing --debug +或 +sudo yunohost app upgrade librespeed -u https://github.com/YunoHost-Apps/librespeed_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** diff --git a/manifest.toml b/manifest.toml index 8753871..33360b2 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "LibreSpeed" description.en = "Very lightweight Speedtest" description.fr = "Test de vitesse de connexion très léger" -version = "5.3.0~ynh1" +version = "5.3.1~ynh1" maintainers = ["Augustin Rungeard"] @@ -21,8 +21,11 @@ code = "https://github.com/librespeed/speedtest" yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = false + sso = false + disk = "50M" ram.build = "50M" ram.runtime = "50M" @@ -54,8 +57,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/librespeed/speedtest/archive/refs/tags/5.3.0.tar.gz" - sha256 = "c43a1682caffdb2102eee89e8440d426cd627a79d0106458105be37c6064f935" + url = "https://github.com/librespeed/speedtest/archive/refs/tags/5.3.1.tar.gz" + sha256 = "f43efe474998a4cb337f82d8270ee7f5e60566d310155fd51caf20bfd253b5c1" autoupdate.strategy = "latest_github_tag" [resources.system_user] diff --git a/scripts/install b/scripts/install index 0259ba9..5ac3a5d 100755 --- a/scripts/install +++ b/scripts/install @@ -40,11 +40,11 @@ ynh_mysql_connect_as --user="$db_name" --password="$db_pwd" --database="$db_name #================================================= ynh_script_progression --message="Configuring $app..." --weight=3 -ynh_add_config --template="../conf/telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php" +ynh_add_config --template="telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php" chmod 650 "$install_dir/results/telemetry_settings.php" chown $app:www-data "$install_dir/results/telemetry_settings.php" -ynh_add_config --template="../conf/example-singleServer-full.html" --destination="$install_dir/index.html" +ynh_add_config --template="example-singleServer-full.html" --destination="$install_dir/index.html" chmod 650 "$install_dir/index.html" chown $app:www-data "$install_dir/index.html" diff --git a/scripts/upgrade b/scripts/upgrade index 2e79b38..b18a0b8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,11 +51,11 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Reconfiguring LibreSpeed..." - ynh_add_config --template="../conf/telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php" + ynh_add_config --template="telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php" chmod 650 "$install_dir/results/telemetry_settings.php" chown $app:www-data "$install_dir/results/telemetry_settings.php" - ynh_add_config --template="../conf/example-singleServer-full.html" --destination="$install_dir/index.html" + ynh_add_config --template="example-singleServer-full.html" --destination="$install_dir/index.html" chmod 650 "$install_dir/index.html" chown $app:www-data "$install_dir/index.html" fi