mirror of
https://github.com/YunoHost-Apps/signaturepdf_ynh.git
synced 2024-09-03 20:25:57 +02:00
commit
1d7182789f
9 changed files with 15 additions and 22 deletions
|
@ -16,9 +16,9 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
## Overview
|
||||
|
||||
Logiciel web libre permettant de signer un PDF.
|
||||
Free web software for signing a PDF.
|
||||
|
||||
**Shipped version:** 1.4.0~ynh4
|
||||
**Shipped version:** 1.5.0~ynh1
|
||||
|
||||
**Demo:** https://pdf.24eme.fr
|
||||
|
||||
|
@ -30,7 +30,6 @@ Logiciel web libre permettant de signer un PDF.
|
|||
|
||||
* Official app website: <https://pdf.24eme.fr/signature>
|
||||
* Upstream app code repository: <https://github.com/24eme/signaturepdf>
|
||||
* YunoHost documentation for this app: <https://yunohost.org/app_signaturepdf>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/signaturepdf_ynh/issues>
|
||||
|
||||
## Developer info
|
||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
|||
|
||||
Logiciel web libre permettant de signer un PDF.
|
||||
|
||||
**Version incluse :** 1.4.0~ynh4
|
||||
**Version incluse :** 1.5.0~ynh1
|
||||
|
||||
**Démo :** https://pdf.24eme.fr
|
||||
|
||||
|
@ -30,7 +30,6 @@ Logiciel web libre permettant de signer un PDF.
|
|||
|
||||
* Site officiel de l’app : <https://pdf.24eme.fr/signature>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/24eme/signaturepdf>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_signaturepdf>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/signaturepdf_ynh/issues>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
|
|
@ -1 +1 @@
|
|||
Logiciel web libre permettant de signer un PDF.
|
||||
Free web software for signing a PDF.
|
1
doc/DESCRIPTION_fr.md
Normal file
1
doc/DESCRIPTION_fr.md
Normal file
|
@ -0,0 +1 @@
|
|||
Logiciel web libre permettant de signer un PDF.
|
|
@ -5,7 +5,7 @@ name = "Signaturepdf"
|
|||
description.en = "Sign, stamp, and reorganize PDF files"
|
||||
description.fr = "Signez, tamponnez, et réorganisez des fichiers PDF"
|
||||
|
||||
version = "1.4.0~ynh4"
|
||||
version = "1.5.0~ynh1"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
|
||||
|
@ -35,8 +35,8 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/24eme/signaturepdf/archive/refs/tags/v1.4.0.tar.gz"
|
||||
sha256 = "c9dc70befddfba3126ac2a375bd1ac72aa80e7e288bb1d46cfbe392c6e752e13"
|
||||
url = "https://github.com/24eme/signaturepdf/archive/refs/tags/v1.5.0.tar.gz"
|
||||
sha256 = "8c8a0f255ace3e9f66ebae25474eee3f3e267b816eb25441384a4df69295ba7b"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.system_user]
|
||||
|
@ -49,4 +49,4 @@ ram.runtime = "50M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages ="php8.2-fpm librsvg2-bin pdftk imagemagick potrace"
|
||||
packages ="php8.2-fpm, librsvg2-bin, pdftk, imagemagick, potrace"
|
||||
|
|
|
@ -23,13 +23,13 @@ chown -R $app:www-data "$install_dir"
|
|||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring NGINX web server..." --weight=1
|
||||
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
|
|
|
@ -12,16 +12,11 @@ source /usr/share/yunohost/helpers
|
|||
#=================================================
|
||||
# REMOVE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
|
||||
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
||||
|
||||
# Remove the dedicated NGINX config
|
||||
ynh_remove_nginx_config
|
||||
|
||||
#=================================================
|
||||
# REMOVE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
|
||||
|
||||
# Remove the dedicated PHP-FPM config
|
||||
ynh_remove_fpm_config
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
|||
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
|
@ -33,7 +32,7 @@ chown -R $app:www-data "$data_dir"
|
|||
#=================================================
|
||||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1
|
||||
ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
|
|
|
@ -33,13 +33,13 @@ chown -R $app:www-data "$install_dir"
|
|||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
|
||||
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Reference in a new issue