Update to LibreQR 1.3.0

This commit is contained in:
Miraty 2020-10-31 19:55:37 +01:00
parent 3d96d42f0e
commit ef1913c51c
7 changed files with 80 additions and 45 deletions

View File

@ -1,59 +1,46 @@
# LibreQR pour YunoHost
# LibreQR for YunoHost
[![Integration level](https://dash.yunohost.org/integration/qr.svg)](https://dash.yunohost.org/appci/app/qr)
[![Integration level](https://dash.yunohost.org/integration/qr.svg)](https://dash.yunohost.org/appci/app/qr) ![](https://ci-apps.yunohost.org/ci/badges/qr.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/qr.maintain.svg)
[![Install LibreQR with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=qr)
> *Ce package vous permet d'installer LibreQR rapidement et simplement sur un serveur Yunohost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
*[Lire ce readme en français.](./README_fr.md)*
## Vue d'ensemble
> *This package allows you to install LibreQR 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.*
Un interface Web en PHP pour générer des codes QR.
Fonctionne même sans JavaScript.
## Overview
**Version incluse:** 1.2.0
A Web interface for generating QR codes in PHP.
## Capture d'écran
**Shipped version:** 1.3.0
## Screenshot
![](screenshot.png)
## Démo
## Demo
* [Démo officielle](https://qr.antopie.org)
* [Official demo](https://qr.antopie.org)
## Configuration
Modifiez le fichier /var/www/qr/config.inc.php à votre guise
You can configure this app by editing `/var/www/qr/config.inc.php`.
## Caractéristiques spécifiques YunoHost
## YunoHost specific features
### Support multi-utilisateurs
### Multi-user support
Il n'y a aucune forme d'authentification dans l'application.
* There is no authentication in the app
* The app can be installed multiple time
### Supported architectures
* x86-64b - [![Build Status](https://ci-apps.yunohost.org/ci/logs/qr%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/qr/)
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/qr%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/qr/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/qr%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/qr/)
## Limitations
## Links
* Interface uniquement en français pour l'instant.
## Liens
* Signaler un bug dans le paquet YunoHost : https://code.antopie.org/miraty/qr_ynh/issues
* Signaler un bug dans l'application principale : https://code.antopie.org/miraty/libreqr/issues
* Dépôt de l'application principale : https://code.antopie.org/miraty/libreqr
* Site web de YunoHost : https://yunohost.org
## Informations pour le développement
Merci de faire vos pull request sur la [branche testing](https://code.antopie.org/miraty/qr_ynh/src/branch/testing).
Pour essayer la branche testing, procédez comme suit.
```bash
sudo yunohost app install https://code.antopie.org/miraty/qr_ynh/tree/testing --debug
ou
sudo yunohost app upgrade qr -u https://code.antopie.org/miraty/qr_ynh/tree/testing --debug
```
* Report a bug in this package: <https://code.antopie.org/miraty/qr_ynh/issues>
* Report a bug in LibreQR: <https://code.antopie.org/miraty/libreqr/issues>
* LibreQR repository: <https://code.antopie.org/miraty/libreqr/>
* YunoHost website: <https://yunohost.org/>

46
README_fr.md Executable file
View File

@ -0,0 +1,46 @@
# LibreQR pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/qr.svg)](https://dash.yunohost.org/appci/app/qr) ![](https://ci-apps.yunohost.org/ci/badges/qr.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/qr.maintain.svg)
[![Installer LibreQR avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=qr)
*[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer LibreQR rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.*
## Vue d'ensemble
Une interface Web pour générer des codes QR en PHP.
**Version incluse :** 1.3.0
## Capture d'écran
![](screenshot.png)
## Démo
* [Démo officielle](https://qr.antopie.org)
## Configuration
Vous pouvez configurer cette application en modifiant `/var/www/qr/config.inc.php`.
## Caractéristiques spécifiques YunoHost
### Support multi-utilisateur
* Il n'y a pas d'authentification dans l'application
* L'application peut-être installée plusieurs fois
### Architectures supportées
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/qr%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/qr/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/qr%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/qr/)
## Liens
* Signaler un bug dans ce paquet : <https://code.antopie.org/miraty/qr_ynh/issues>
* Signaler un bug dans LibreQR : <https://code.antopie.org/miraty/libreqr/issues>
* Dépôt de LibreQR : <https://code.antopie.org/miraty/libreqr/>
* Site web de YunoHost : <https://yunohost.org/>

View File

@ -1,5 +1,5 @@
SOURCE_URL=https://libreqr.antopie.org/1.2.0.tar.gz
SOURCE_SUM=ae897291398fddc94c6e2593c3fb6a089d778d3850596bc0407d4f35ebe49d5ed43e522b08853641ae4e7e7851f2d50cf9a3d9f6a7d85c67741abccd7ff527e2
SOURCE_URL=https://libreqr.antopie.org/releases/libreqr-1.3.0.tar.gz
SOURCE_SUM=abdc76774330ec9370e641ca80ba73cfcfe280b615aa40bf5b57326707f2258224fc4d8f751a23f4115a8c4f1cafead39919b6a1bf76938a35005c51eff2a713
SOURCE_SUM_PRG=sha512sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View File

@ -3,10 +3,10 @@
"id": "qr",
"packaging_format": 1,
"description": {
"en": "QR codes generator",
"fr": "Générateur de codes QR"
"en": "Web interface for generating QR codes",
"fr": "Interface Web pour générer des codes QR"
},
"version": "1.2.0~ynh2",
"version": "1.3.0~ynh1",
"url": "https://code.antopie.org/miraty/libreqr",
"license": "AGPL-3.0-or-later",
"maintainer": {

BIN
screenshot.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -135,7 +135,8 @@ ynh_add_fpm_config
# Set permissions to app files
chown -R root:$app $final_path
chmod -R g+w $final_path
chmod -R 750 $final_path
chmod -R 770 $final_path/temp
#=================================================
# SETUP SSOWAT

View File

@ -88,6 +88,7 @@ then
ynh_secure_remove --file="$final_path/parinux.png"
ynh_secure_remove --file="$final_path/phpqrcode"
ynh_secure_remove --file="$final_path/ubuntu-dl.ttf"
ynh_secure_remove --file="$final_path/style.min.css"
fi
#=================================================
@ -127,9 +128,9 @@ ynh_add_fpm_config
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
ynh_backup_if_checksum_is_different --file="$final_path/options.inc.php"
ynh_backup_if_checksum_is_different --file="$final_path/config.inc.php"
# Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum --file="$final_path/options.inc.php"
ynh_store_file_checksum --file="$final_path/config.inc.php"
#=================================================
# GENERIC FINALIZATION