From 4ed35439516e266e348d96f9ef1c76887bbf770c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 13 Jun 2024 03:32:26 +0200 Subject: [PATCH 1/5] Upgrade to v24.5.4 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index d8caccb..d337e32 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Diagrams.net" description.en = "Diagram software for making flowcharts, process diagrams, org charts" description.fr = "Application qui permet de faire des schémas et du dessin vectoriel" -version = "24.5.2~ynh1" +version = "24.5.4~ynh1" maintainers = ["Gofannon"] @@ -42,8 +42,8 @@ ram.runtime = "50M" default = "visitors" [resources] [resources.sources.main] - url = "https://github.com/jgraph/drawio/archive/refs/tags/v24.5.2.tar.gz" - sha256 = "b6b4b6e3a5d2344b6df4e096a05a7dbd23747f4fe602c398b73aa2fed68e13bb" + url = "https://github.com/jgraph/drawio/archive/refs/tags/v24.5.4.tar.gz" + sha256 = "663148f31a56c299fe7dd1675e584a03eea10e455f70718f1e22333df701c3c8" autoupdate.strategy = "latest_github_tag" [resources.system_user] From dea8a830f282ed0f48d89e42582981789e514192 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 13 Jun 2024 01:32:29 +0000 Subject: [PATCH 2/5] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5552c84..e0ce68b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**Shipped version:** 24.5.2~ynh1 +**Shipped version:** 24.5.4~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 9308bc4..47a9123 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**Versión actual:** 24.5.2~ynh1 +**Versión actual:** 24.5.4~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index b8bcc04..69d83e7 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**Paketatutako bertsioa:** 24.5.2~ynh1 +**Paketatutako bertsioa:** 24.5.4~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 065d60f..0be8b2c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Application en ligne qui permet de faire des schémas et du dessin vectoriel -**Version incluse :** 24.5.2~ynh1 +**Version incluse :** 24.5.4~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 89d7b82..c0c8307 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**Versión proporcionada:** 24.5.2~ynh1 +**Versión proporcionada:** 24.5.4~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 582b6b3..8c24030 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**分发版本:** 24.5.2~ynh1 +**分发版本:** 24.5.4~ynh1 **演示:** From d4223661b150bfdad2b406603a724d0679b1d81f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 14 Jun 2024 22:06:58 +0200 Subject: [PATCH 3/5] Update upgrade --- scripts/upgrade | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index daf71a6..cb51fce 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,28 +9,18 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=24 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=24 +# Download, check integrity, uncompress and patch the source from app.src +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --full_replace=1 - - # Add "offline" parameter in index.html - # See https://desk.draw.io/support/solutions/articles/16000042546-what-url-parameters-are-supported- - sed_pattern="s/var params = window.location.search.slice(1).split('&');/&\n\t\t\tparams.push(\"offline=1\");/g" - sed -i "$sed_pattern" "$install_dir/src/main/webapp/index.html" -fi +# Add "offline" parameter in index.html +# See https://desk.draw.io/support/solutions/articles/16000042546-what-url-parameters-are-supported- +sed_pattern="s/var params = window.location.search.slice(1).split('&');/&\n\t\t\tparams.push(\"offline=1\");/g" +sed -i "$sed_pattern" "$install_dir/src/main/webapp/index.html" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" From 7e090bc55ac8881b3cab4378f22ea11c22b4e42f Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 18 Jun 2024 03:32:21 +0200 Subject: [PATCH 4/5] Upgrade to v24.5.5 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index d337e32..15d92d9 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Diagrams.net" description.en = "Diagram software for making flowcharts, process diagrams, org charts" description.fr = "Application qui permet de faire des schémas et du dessin vectoriel" -version = "24.5.4~ynh1" +version = "24.5.5~ynh1" maintainers = ["Gofannon"] @@ -42,8 +42,8 @@ ram.runtime = "50M" default = "visitors" [resources] [resources.sources.main] - url = "https://github.com/jgraph/drawio/archive/refs/tags/v24.5.4.tar.gz" - sha256 = "663148f31a56c299fe7dd1675e584a03eea10e455f70718f1e22333df701c3c8" + url = "https://github.com/jgraph/drawio/archive/refs/tags/v24.5.5.tar.gz" + sha256 = "1884213783eaa1fde0086e4ce2f28a4a195bb0e6f5be3b2af5122997ee20de91" autoupdate.strategy = "latest_github_tag" [resources.system_user] From eedb5863123fbec8b962b4d05b80e669260b69e2 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 18 Jun 2024 01:32:24 +0000 Subject: [PATCH 5/5] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e0ce68b..780a8dc 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**Shipped version:** 24.5.4~ynh1 +**Shipped version:** 24.5.5~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 47a9123..53bffad 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**Versión actual:** 24.5.4~ynh1 +**Versión actual:** 24.5.5~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 69d83e7..b0ae0ff 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**Paketatutako bertsioa:** 24.5.4~ynh1 +**Paketatutako bertsioa:** 24.5.5~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 0be8b2c..8e1f478 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Application en ligne qui permet de faire des schémas et du dessin vectoriel -**Version incluse :** 24.5.4~ynh1 +**Version incluse :** 24.5.5~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index c0c8307..b25b14d 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**Versión proporcionada:** 24.5.4~ynh1 +**Versión proporcionada:** 24.5.5~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 8c24030..3600746 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ diagrams.net (formerly draw.io) lets you create a wide range of diagrams, from simple tree and flow diagrams, to highly technical network, rack and electrical diagrams. -**分发版本:** 24.5.4~ynh1 +**分发版本:** 24.5.5~ynh1 **演示:**