mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
Merge pull request #89 from YunoHost-Apps/testing
Testing - Upgrade to 0.07.0~ynh1
This commit is contained in:
commit
e0597dc9f1
9 changed files with 120 additions and 10 deletions
|
@ -1,6 +1,7 @@
|
||||||
# All available README files by language
|
# All available README files by language
|
||||||
|
|
||||||
- [Read the README in English](README.md)
|
- [Read the README in English](README.md)
|
||||||
|
- [Irakurri README euskaraz](README_eu.md)
|
||||||
- [Lire le README en français](README_fr.md)
|
- [Lire le README en français](README_fr.md)
|
||||||
- [Le o README en galego](README_gl.md)
|
- [Le o README en galego](README_gl.md)
|
||||||
- [Leggi il “README” in italiano](README_it.md)
|
- [阅读中文(简体)的 README](README_zh_Hans.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)
|
[![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.*
|
> *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.*
|
> *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. :-)
|
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:** <https://demo.lufi.io/>
|
**Demo:** <https://demo.lufi.io/>
|
||||||
|
|
||||||
|
|
52
README_eu.md
Normal file
52
README_eu.md
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
<!--
|
||||||
|
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
|
||||||
|
EZ editatu eskuz.
|
||||||
|
-->
|
||||||
|
|
||||||
|
# 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:** <https://demo.lufi.io/>
|
||||||
|
|
||||||
|
## Pantaila-argazkiak
|
||||||
|
|
||||||
|
![Lufi(r)en pantaila-argazkia](./doc/screenshots/screenshot_lufi_1.png)
|
||||||
|
|
||||||
|
## Dokumentazioa eta baliabideak
|
||||||
|
|
||||||
|
- Aplikazioaren webgune ofiziala: <https://git.framasoft.org/luc/lufi>
|
||||||
|
- Administratzaileen dokumentazio ofiziala: <https://framagit.org/luc/lufi/wikis/home>
|
||||||
|
- Jatorrizko aplikazioaren kode-gordailua: <https://framagit.org/fiat-tux/hat-softwares/lufi>
|
||||||
|
- YunoHost Denda: <https://apps.yunohost.org/app/lufi>
|
||||||
|
- Eman errore baten berri: <https://github.com/YunoHost-Apps/lufi_ynh/issues>
|
||||||
|
|
||||||
|
## 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:** <https://yunohost.org/packaging_apps>
|
|
@ -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. :-)
|
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 :** <https://demo.lufi.io/>
|
**Démo :** <https://demo.lufi.io/>
|
||||||
|
|
||||||
|
|
|
@ -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. :-)
|
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:** <https://demo.lufi.io/>
|
**Demo:** <https://demo.lufi.io/>
|
||||||
|
|
||||||
|
|
52
README_zh_Hans.md
Normal file
52
README_zh_Hans.md
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
<!--
|
||||||
|
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
|
||||||
|
请勿手动编辑。
|
||||||
|
-->
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
**演示:** <https://demo.lufi.io/>
|
||||||
|
|
||||||
|
## 截图
|
||||||
|
|
||||||
|
![Lufi 的截图](./doc/screenshots/screenshot_lufi_1.png)
|
||||||
|
|
||||||
|
## 文档与资源
|
||||||
|
|
||||||
|
- 官方应用网站: <https://git.framasoft.org/luc/lufi>
|
||||||
|
- 官方管理文档: <https://framagit.org/luc/lufi/wikis/home>
|
||||||
|
- 上游应用代码库: <https://framagit.org/fiat-tux/hat-softwares/lufi>
|
||||||
|
- YunoHost 商店: <https://apps.yunohost.org/app/lufi>
|
||||||
|
- 报告 bug: <https://github.com/YunoHost-Apps/lufi_ynh/issues>
|
||||||
|
|
||||||
|
## 开发者信息
|
||||||
|
|
||||||
|
请向 [`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
|
||||||
|
```
|
||||||
|
|
||||||
|
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Lufi: image hosting and sharing service
|
Description=Lufi: image hosting and sharing service
|
||||||
Documentation=https://framagit.org/luc/lufi/wikis/home
|
Documentation=https://framagit.org/luc/lufi/wikis/home
|
||||||
Requires=network.target
|
Requires=network.target
|
||||||
After=network.target
|
After=network.target postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
|
|
|
@ -5,9 +5,9 @@ name = "Lufi"
|
||||||
description.en = "Files and sharing anonymous application"
|
description.en = "Files and sharing anonymous application"
|
||||||
description.fr = "Application de partage de fichiers anonyme"
|
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]
|
[upstream]
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
|
@ -48,8 +48,8 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://framagit.org/fiat-tux/hat-softwares/lufi/-/archive/0.05.21/lufi-0.05.21.tar.gz"
|
url = "https://framagit.org/fiat-tux/hat-softwares/lufi/-/archive/0.07.0/lufi-0.07.0.tar.bz2"
|
||||||
sha256 = "a1da42688d82239a9441355ad0e1d773e24d0225edcdc463b425a5032133765a"
|
sha256 = "a4d9a960d3542198221926e8781709f4f40dbb2c873cab113013d8f0be101769"
|
||||||
autoupdate.strategy = "latest_gitlab_release"
|
autoupdate.strategy = "latest_gitlab_release"
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
|
|
|
@ -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"
|
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
|
# MODIFY URL IN NGINX CONF
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue