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 a126a0d..ba6795a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Lufi with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=lufi) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Lufi 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.* @@ -21,7 +21,7 @@ The administrator of the Lufi instance you use will not be able to see what is i The encryption key part of the URL is a anchor (Cf. [Fragment Identifier](https://en.wikipedia.org/wiki/Fragment_identifier)), that means this part is only processed client-side and does not reach the server. :-) -**Shipped version:** 0.05.21~ynh2 +**Shipped version:** 0.07.0~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..7c7aa53 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,52 @@ + + +# Lufi YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/lufi.svg)](https://dash.yunohost.org/appci/app/lufi) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/lufi.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/lufi.maintain.svg) + +[![Instalatu Lufi YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=lufi) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Lufi YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Lufi stores files and allows you to download them. Is that all? No. All the files are encrypted **by the browser**! It means that your files **never** leave your computer unencrypted. +The administrator of the Lufi instance you use will not be able to see what is in your file, neither will your network administrator, or your ISP. +The encryption key part of the URL is a anchor (Cf. [Fragment Identifier](https://en.wikipedia.org/wiki/Fragment_identifier)), that means this part is only processed client-side and does not reach the server. :-) + + +**Paketatutako bertsioa:** 0.07.0~ynh1 + +**Demoa:** + +## Pantaila-argazkiak + +![Lufi(r)en pantaila-argazkia](./doc/screenshots/screenshot_lufi_1.png) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune 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/lufi_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/lufi_ynh/tree/testing --debug +edo +sudo yunohost app upgrade lufi -u https://github.com/YunoHost-Apps/lufi_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index 7250aed..b6d8cf6 100644 --- a/README_fr.md +++ b/README_fr.md @@ -21,7 +21,7 @@ The administrator of the Lufi instance you use will not be able to see what is i The encryption key part of the URL is a anchor (Cf. [Fragment Identifier](https://en.wikipedia.org/wiki/Fragment_identifier)), that means this part is only processed client-side and does not reach the server. :-) -**Version incluse :** 0.05.21~ynh2 +**Version incluse :** 0.07.0~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index d6b33e7..94f4227 100644 --- a/README_gl.md +++ b/README_gl.md @@ -21,7 +21,7 @@ The administrator of the Lufi instance you use will not be able to see what is i The encryption key part of the URL is a anchor (Cf. [Fragment Identifier](https://en.wikipedia.org/wiki/Fragment_identifier)), that means this part is only processed client-side and does not reach the server. :-) -**Versión proporcionada:** 0.05.21~ynh2 +**Versión proporcionada:** 0.07.0~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..7f23989 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,52 @@ + + +# YunoHost 的 Lufi + +[![集成程度](https://dash.yunohost.org/integration/lufi.svg)](https://dash.yunohost.org/appci/app/lufi) ![工作状态](https://ci-apps.yunohost.org/ci/badges/lufi.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/lufi.maintain.svg) + +[![使用 YunoHost 安装 Lufi](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=lufi) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Lufi。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Lufi stores files and allows you to download them. Is that all? No. All the files are encrypted **by the browser**! It means that your files **never** leave your computer unencrypted. +The administrator of the Lufi instance you use will not be able to see what is in your file, neither will your network administrator, or your ISP. +The encryption key part of the URL is a anchor (Cf. [Fragment Identifier](https://en.wikipedia.org/wiki/Fragment_identifier)), that means this part is only processed client-side and does not reach the server. :-) + + +**分发版本:** 0.07.0~ynh1 + +**演示:** + +## 截图 + +![Lufi 的截图](./doc/screenshots/screenshot_lufi_1.png) + +## 文档与资源 + +- 官方应用网站: +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/lufi_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/lufi_ynh/tree/testing --debug +或 +sudo yunohost app upgrade lufi -u https://github.com/YunoHost-Apps/lufi_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** diff --git a/conf/systemd.service b/conf/systemd.service index 823d03d..29e58a6 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -2,7 +2,7 @@ Description=Lufi: image hosting and sharing service Documentation=https://framagit.org/luc/lufi/wikis/home Requires=network.target -After=network.target +After=network.target postgresql.service [Service] Type=forking diff --git a/manifest.toml b/manifest.toml index aafcf03..4092dfa 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,9 +5,9 @@ name = "Lufi" description.en = "Files and sharing anonymous application" description.fr = "Application de partage de fichiers anonyme" -version = "0.05.21~ynh2" +version = "0.07.0~ynh1" -maintainers = [ "frju365, cyp" ] +maintainers = [ "frju365", "cyp" ] [upstream] license = "AGPL-3.0-or-later" @@ -48,8 +48,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://framagit.org/fiat-tux/hat-softwares/lufi/-/archive/0.05.21/lufi-0.05.21.tar.gz" - sha256 = "a1da42688d82239a9441355ad0e1d773e24d0225edcdc463b425a5032133765a" + url = "https://framagit.org/fiat-tux/hat-softwares/lufi/-/archive/0.07.0/lufi-0.07.0.tar.bz2" + sha256 = "a4d9a960d3542198221926e8781709f4f40dbb2c873cab113013d8f0be101769" autoupdate.strategy = "latest_gitlab_release" [resources.ports] diff --git a/scripts/change_url b/scripts/change_url index 80fb431..3eee1ec 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -18,6 +18,11 @@ ynh_script_progression --message="Stopping a systemd service..." ynh_systemd_action --service_name=$app --action="stop" --log_path="$install_dir/log/production.log" +if [ -f "$install_dir/script/hypnotoad.pid" ]; then + ynh_print_info --message="Removing the PID file..." + ynh_secure_remove --file="$install_dir/script/hypnotoad.pid" +fi + #================================================= # MODIFY URL IN NGINX CONF #=================================================