From 4e61d63f18a6cb5798296bd0873dee65e0b1f879 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:37:34 +0200 Subject: [PATCH 01/13] Update install --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index bc16eeb..ebee447 100644 --- a/scripts/install +++ b/scripts/install @@ -180,6 +180,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" #================================================= # ADD A CONFIGURATION #================================================= +ynh_script_progression --message="Updating database configuration..." +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name + ynh_script_progression --message="Adding app's configuration file..." ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" From 4dcafc7b67362b237a99671724b53e5228345fe7 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:38:47 +0200 Subject: [PATCH 02/13] Update upgrade --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 375258c..55b1f1d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -175,6 +175,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" #================================================= # UPDATE A CONFIG FILE #================================================= +ynh_script_progression --message="Updating database configuration..." +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name + ynh_script_progression --message="Updating a configuration file..." ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" From 4f6a87bbcff53991012ac3d27fcceac158c16121 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:39:36 +0200 Subject: [PATCH 03/13] Update restore --- scripts/restore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 5897951..3caf63e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -43,6 +43,9 @@ ynh_script_progression --message="Restoring the PostgreSQL database..." --weight ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql +ynh_script_progression --message="Updating database configuration..." +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name + #================================================= # RESTORE SYSTEM CONFIGURATIONS #================================================= @@ -83,4 +86,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" --last \ No newline at end of file +ynh_script_progression --message="Restoration completed for $app" --last From 0ad58f427036cfd5c77f46aa4d3080a11c7f8277 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:39:56 +0200 Subject: [PATCH 04/13] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ebee447..ce6d209 100644 --- a/scripts/install +++ b/scripts/install @@ -181,7 +181,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # ADD A CONFIGURATION #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name ynh_script_progression --message="Adding app's configuration file..." From abc9c8e229b502512f4970cfc0e9c80f63e22450 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:40:38 +0200 Subject: [PATCH 05/13] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 55b1f1d..72e753a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -176,7 +176,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # UPDATE A CONFIG FILE #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name ynh_script_progression --message="Updating a configuration file..." From bab5f06fdca3eef3d26bd3d599b559e0e67eac2d Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:41:28 +0200 Subject: [PATCH 06/13] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 8adb176..530b71d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -8,7 +8,7 @@ name = "Penpot" description.en = "Design and prototyping platform" description.fr = "Plateforme de conception et de prototypage" -version = "2.0.2~ynh1" +version = "2.0.2~ynh2" maintainers = ["orhtej2"] From 04bccad487949f14038541cac3f109b6152c43f8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 17 May 2024 18:41:32 +0000 Subject: [PATCH 07/13] 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 75b21fc..d26f158 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It shall NOT be edited by hand. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Shipped version:** 2.0.2~ynh1 +**Shipped version:** 2.0.2~ynh2 ## Screenshots diff --git a/README_es.md b/README_es.md index 56e79f4..8d208c5 100644 --- a/README_es.md +++ b/README_es.md @@ -18,7 +18,7 @@ No se debe editar a mano. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Versión actual:** 2.0.2~ynh1 +**Versión actual:** 2.0.2~ynh2 ## Capturas diff --git a/README_eu.md b/README_eu.md index 582c042..7f42c1d 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Paketatutako bertsioa:** 2.0.2~ynh1 +**Paketatutako bertsioa:** 2.0.2~ynh2 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 55c96ce..900f7ff 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Version incluse :** 2.0.2~ynh1 +**Version incluse :** 2.0.2~ynh2 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 45f8dbd..5849469 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,7 +18,7 @@ NON debe editarse manualmente. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Versión proporcionada:** 2.0.2~ynh1 +**Versión proporcionada:** 2.0.2~ynh2 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 15bcd44..afd1e3d 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -18,7 +18,7 @@ Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**分发版本:** 2.0.2~ynh1 +**分发版本:** 2.0.2~ynh2 ## 截图 From 1d6cf4f1b2027372541d0c18c9e9fc8e5ada254b Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 22:06:14 +0200 Subject: [PATCH 08/13] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ce6d209..fb9979a 100644 --- a/scripts/install +++ b/scripts/install @@ -181,7 +181,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # ADD A CONFIGURATION #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name ynh_script_progression --message="Adding app's configuration file..." From 24cbe57b33fd529f9df82609f19ade8ffa0da6ca Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 22:07:05 +0200 Subject: [PATCH 09/13] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 3caf63e..a019016 100644 --- a/scripts/restore +++ b/scripts/restore @@ -44,7 +44,7 @@ ynh_script_progression --message="Restoring the PostgreSQL database..." --weight ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name #================================================= # RESTORE SYSTEM CONFIGURATIONS From d3d2b136ed92efd1175d08c5126778974522b945 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 22:07:27 +0200 Subject: [PATCH 10/13] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 72e753a..2c5a661 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -176,7 +176,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # UPDATE A CONFIG FILE #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name ynh_script_progression --message="Updating a configuration file..." From 571705348858d89c4a1ac3dd1e64f5c82eeee1ec Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 23:02:05 +0200 Subject: [PATCH 11/13] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index a019016..ec39339 100644 --- a/scripts/restore +++ b/scripts/restore @@ -44,7 +44,7 @@ ynh_script_progression --message="Restoring the PostgreSQL database..." --weight ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database=$db_name #================================================= # RESTORE SYSTEM CONFIGURATIONS From f2c075339b519f26be726a0571e9e23349f3a99e Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 23:02:25 +0200 Subject: [PATCH 12/13] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2c5a661..03ed82e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -176,7 +176,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # UPDATE A CONFIG FILE #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database=$db_name ynh_script_progression --message="Updating a configuration file..." From 42a155bfc2be8d8f3e321ff008a27813aba33986 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 23:02:43 +0200 Subject: [PATCH 13/13] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index fb9979a..b2a0e8f 100644 --- a/scripts/install +++ b/scripts/install @@ -181,7 +181,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # ADD A CONFIGURATION #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database=$db_name ynh_script_progression --message="Adding app's configuration file..."