1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/signaturepdf_ynh.git synced 2024-09-03 20:25:57 +02:00

Merge pull request #2 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-06-11 10:01:34 +02:00 committed by GitHub
commit 3e633d6c48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 35 additions and 35 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Signaturepdf for YunoHost # Signaturepdf for YunoHost
[![Integration level](https://dash.yunohost.org/integration/signaturepdf.svg)](https://dash.yunohost.org/appci/app/signaturepdf) ![](https://ci-apps.yunohost.org/ci/badges/signaturepdf.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/signaturepdf.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/signaturepdf.svg)](https://dash.yunohost.org/appci/app/signaturepdf) ![Working status](https://ci-apps.yunohost.org/ci/badges/signaturepdf.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/signaturepdf.maintain.svg)
[![Install Signaturepdf with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=signaturepdf) [![Install Signaturepdf with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=signaturepdf)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -17,30 +17,31 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Logiciel web libre permettant de signer un PDF. Logiciel web libre permettant de signer un PDF.
**Shipped version:** 1.1.0~ynh1 **Shipped version:** 1.1.1~ynh1
**Demo:** https://pdf.24eme.fr **Demo:** https://pdf.24eme.fr
## Screenshots ## Screenshots
![](./doc/screenshots/screenshot.png) ![Screenshot of Signaturepdf](./doc/screenshots/screenshot.png)
## Documentation and resources ## Documentation and resources
* Official app website: https://pdf.24eme.fr/signature * Official app website: <https://pdf.24eme.fr/signature>
* Upstream app code repository: https://github.com/24eme/signaturepdf * Upstream app code repository: <https://github.com/24eme/signaturepdf>
* YunoHost documentation for this app: https://yunohost.org/app_signaturepdf * YunoHost documentation for this app: <https://yunohost.org/app_signaturepdf>
* Report a bug: https://github.com/YunoHost-Apps/signaturepdf_ynh/issues * Report a bug: <https://github.com/YunoHost-Apps/signaturepdf_ynh/issues>
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing). Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the testing branch, please proceed like that.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing --debug
or or
sudo yunohost app upgrade signaturepdf -u https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing --debug sudo yunohost app upgrade signaturepdf -u https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing --debug
``` ```
**More info regarding app packaging:** https://yunohost.org/packaging_apps **More info regarding app packaging:** <https://yunohost.org/packaging_apps>

View file

@ -1,10 +1,14 @@
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
# Signaturepdf pour YunoHost # Signaturepdf pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/signaturepdf.svg)](https://dash.yunohost.org/appci/app/signaturepdf) ![](https://ci-apps.yunohost.org/ci/badges/signaturepdf.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/signaturepdf.maintain.svg) [![Niveau d'intégration](https://dash.yunohost.org/integration/signaturepdf.svg)](https://dash.yunohost.org/appci/app/signaturepdf) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/signaturepdf.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/signaturepdf.maintain.svg)
[![Installer Signaturepdf avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=signaturepdf) [![Installer Signaturepdf avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=signaturepdf)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer Signaturepdf rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet d'installer Signaturepdf 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.* Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
@ -13,30 +17,31 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Logiciel web libre permettant de signer un PDF. Logiciel web libre permettant de signer un PDF.
**Version incluse :** 1.1.0~ynh1 **Version incluse :** 1.1.1~ynh1
**Démo :** https://pdf.24eme.fr **Démo :** https://pdf.24eme.fr
## Captures d'écran ## Captures d'écran
![](./doc/screenshots/screenshot.png) ![Capture d'écran de Signaturepdf](./doc/screenshots/screenshot.png)
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : https://pdf.24eme.fr/signature * Site officiel de l'app : <https://pdf.24eme.fr/signature>
* Dépôt de code officiel de l'app : https://github.com/24eme/signaturepdf * Dépôt de code officiel de l'app : <https://github.com/24eme/signaturepdf>
* Documentation YunoHost pour cette app : https://yunohost.org/app_signaturepdf * Documentation YunoHost pour cette app : <https://yunohost.org/app_signaturepdf>
* Signaler un bug : https://github.com/YunoHost-Apps/signaturepdf_ynh/issues * Signaler un bug : <https://github.com/YunoHost-Apps/signaturepdf_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing). Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit. Pour essayer la branche testing, procédez comme suit.
```
``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade signaturepdf -u https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing --debug sudo yunohost app upgrade signaturepdf -u https://github.com/YunoHost-Apps/signaturepdf_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps **Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>

View file

@ -5,7 +5,7 @@
is_public=1 is_public=1
; Checks ; Checks
pkg_linter=1 pkg_linter=1
setup_sub_dir=1 setup_sub_dir=0
setup_root=1 setup_root=1
setup_nourl=0 setup_nourl=0
setup_private=1 setup_private=1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/24eme/signaturepdf/archive/refs/tags/1.1.0.tar.gz SOURCE_URL=https://github.com/24eme/signaturepdf/archive/refs/tags/v1.1.1.tar.gz
SOURCE_SUM=da69610c4cf1a2efc51acf5c86afb987c4e12875b166096fcc57a9166e7e7d88 SOURCE_SUM=2c833b7cf517e3f218a766dd03dd25788f878e3e2d89170b586c70264ef0a00e
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -2,13 +2,13 @@
location __PATH__/ { location __PATH__/ {
# Path to source # Path to source
alias __FINALPATH__/public/ ; root __FINALPATH__/public/ ;
index index.php; index index.php;
client_max_body_size 50M; client_max_body_size 50M;
try_files $uri $uri/ index.php; try_files $uri $uri/ /index.php?$query_string;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;

View file

@ -6,7 +6,7 @@
"en": "Free PDF signing software", "en": "Free PDF signing software",
"fr": "Logiciel libre de signature de PDF" "fr": "Logiciel libre de signature de PDF"
}, },
"version": "1.1.0~ynh1", "version": "1.1.1~ynh1",
"url": "https://pdf.24eme.fr/signature", "url": "https://pdf.24eme.fr/signature",
"upstream": { "upstream": {
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
@ -33,12 +33,6 @@
"name": "domain", "name": "domain",
"type": "domain" "type": "domain"
}, },
{
"name": "path",
"type": "path",
"example": "/signaturepdf",
"default": "/signaturepdf"
},
{ {
"name": "is_public", "name": "is_public",
"type": "boolean", "type": "boolean",

View file

@ -7,7 +7,7 @@
YNH_PHP_VERSION="7.4" YNH_PHP_VERSION="7.4"
# dependencies used by the app # dependencies used by the app
pkg_dependencies="librsvg2-bin pdftk imagemagick potrace" pkg_dependencies="php${YNH_PHP_VERSION}-fpm librsvg2-bin pdftk imagemagick potrace"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -25,7 +25,7 @@ ynh_abort_if_errors
#================================================= #=================================================
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
phpversion=$YNH_PHP_VERSION phpversion=$YNH_PHP_VERSION

View file

@ -95,7 +95,7 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#================================================= #=================================================
# REINSTALL DEPENDENCIES # REINSTALL DEPENDENCIES
#================================================= #=================================================
ynh_script_progression --message="Reinstalling dependencies..." --time --weight=9 ynh_script_progression --message="Reinstalling dependencies..." --weight=9
# Define and install dependencies # Define and install dependencies
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies