1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diagramsnet_ynh.git synced 2024-09-03 18:26:33 +02:00
This commit is contained in:
ericgaspar 2021-12-09 10:07:49 +01:00
parent 0b7affcaa2
commit 9e519f3487
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 5 additions and 11 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/jgraph/drawio/archive/v15.6.8.tar.gz SOURCE_URL=https://github.com/jgraph/drawio/archive/v15.9.4.tar.gz
SOURCE_SUM=f8e73c988c8875ab8cd102ebacfa46b6267b9e77215a1cd6510fa1ee138d8293 SOURCE_SUM=fd46757f847929abae9b6b3092c21a4caf027895316a0d0bb1082381ed00cd7e
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

@ -6,11 +6,6 @@ location __PATH__/ {
# See https://github.com/jgraph/drawio # See https://github.com/jgraph/drawio
alias __FINALPATH__/src/main/webapp/; alias __FINALPATH__/src/main/webapp/;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
#client_max_body_size 50M; #client_max_body_size 50M;

View file

@ -6,7 +6,7 @@
"en": "Online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams", "en": "Online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams",
"fr": "Application en ligne qui permet de faire des schémas et du dessin vectoriel" "fr": "Application en ligne qui permet de faire des schémas et du dessin vectoriel"
}, },
"version": "15.6.8~ynh1", "version": "15.9.4~ynh1",
"url": "https://www.diagrams.net/", "url": "https://www.diagrams.net/",
"upstream": { "upstream": {
"license": "Apache-2.0", "license": "Apache-2.0",
@ -21,7 +21,7 @@
"email": "gofannon@riseup.net" "email": "gofannon@riseup.net"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.2.0" "yunohost": ">= 4.3.0"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [

View file

@ -37,8 +37,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#================================================= #=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=2 ynh_script_progression --message="Validating restoration parameters..." --weight=2
test ! -d $final_path \ test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
|| ynh_die --message="There is already a directory: $final_path "
#================================================= #=================================================
# STANDARD RESTORATION STEPS # STANDARD RESTORATION STEPS