From 4fae3feb35d96bc913406913a9449ad54cd8173e Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 2 Sep 2023 18:10:02 +0200 Subject: [PATCH 1/4] Upgrade NodeJS version to 18 --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 3693f10..702e69f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -NODEJS_VERSION=16 +NODEJS_VERSION=18 #================================================= # PERSONAL HELPERS From 3a46e178640acaac058b730a7e33c24fe6d72dc8 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 3 Sep 2023 20:56:29 +0200 Subject: [PATCH 2/4] Bump package version --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 2565650..d3d2509 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Ghost" description.en = "Publishing, memberships, subscriptions and newsletters platform" description.fr = "Plateforme d'édition, d'adhésions, d'abonnements et de newsletters" -version = "5.60.0~ynh1" +version = "5.60.0~ynh2" maintainers = ["Julien Malik"] [upstream] From 8a20d9983a19a819885197b203e3ce24f9246189 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 3 Sep 2023 18:56:53 +0000 Subject: [PATCH 3/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d162fdb..ee71816 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Ghost is a powerful app for new-media creators to publish, share, and grow a bus It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members. -**Shipped version:** 5.60.0~ynh1 +**Shipped version:** 5.60.0~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 018b424..a55ec51 100644 --- a/README_fr.md +++ b/README_fr.md @@ -21,7 +21,7 @@ Ghost is a powerful app for new-media creators to publish, share, and grow a bus It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members. -**Version incluse :** 5.60.0~ynh1 +**Version incluse :** 5.60.0~ynh2 ## Captures d’écran From a6d0fb911bb09d117568bae31931d544aa3f4130 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 3 Sep 2023 21:07:23 +0200 Subject: [PATCH 4/4] Use IPv4 for localhost servers connections --- scripts/install | 4 ++-- scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 210c2e7..bb610f4 100644 --- a/scripts/install +++ b/scripts/install @@ -37,8 +37,8 @@ pushd $install_dir --no-prompt --no-setup-systemd --no-start \ --dir ghost --no-setup-linux-user \ --no-setup-nginx --no-setup-ssl --url http://$domain$path --port $port \ - --db mysql --dbhost localhost --dbuser $db_user --dbpass $db_pwd --dbname $db_name \ - --mail SMTP --mailhost localhost --mailport 465 + --db mysql --dbhost 127.0.0.1 --dbuser $db_user --dbpass $db_pwd --dbname $db_name \ + --mail SMTP --mailhost 127.0.0.1 --mailport 465 # Cleanup cache ynh_secure_remove --file=".cache/yarn" diff --git a/scripts/upgrade b/scripts/upgrade index 16ea596..3fdd90f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -91,8 +91,8 @@ then --no-prompt --no-setup-systemd --no-start \ --dir ghost --no-setup-linux-user \ --no-setup-nginx --no-setup-ssl --url http://$domain$path --port $port \ - --db mysql --dbhost localhost --dbuser $db_user --dbpass $db_pwd --dbname $db_name \ - --mail SMTP --mailhost localhost --mailport 465 + --db mysql --dbhost 127.0.0.1 --dbuser $db_user --dbpass $db_pwd --dbname $db_name \ + --mail SMTP --mailhost 127.0.0.1 --mailport 465 popd # Copy content folder back to the install_dir