diff --git a/README.md b/README.md index daf948e..cdadc1b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Publishing, memberships, subscriptions and newsletters platform -**Shipped version:** 5.24.2~ynh1 +**Shipped version:** 5.26.4~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 624067a..f0747b4 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Plateforme d'édition, d'adhésions, d'abonnements et de newsletters -**Version incluse :** 5.24.2~ynh1 +**Version incluse :** 5.26.4~ynh1 ## Captures d'écran diff --git a/conf/admin.src b/conf/admin.src index 61249e6..6f6a23c 100644 --- a/conf/admin.src +++ b/conf/admin.src @@ -1,4 +1,4 @@ -SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v5.24.2.zip +SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v5.26.4.zip SOURCE_SUM=d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip diff --git a/conf/app.src b/conf/app.src index c097747..5f00201 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.24.2 -SOURCE_SUM=b49e1ba1b252f199be949ca268692f08930b97a26d2dbd3a7d95d9a25340c63c +SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.26.4 +SOURCE_SUM=785ba995dbe68d155d509b8faa77bfd2b7c4d0f49be532b7d76cd73ce541a7da SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/conf/casper.src b/conf/casper.src index a43f03f..1534513 100644 --- a/conf/casper.src +++ b/conf/casper.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/TryGhost/Casper/archive/refs/tags/v5.4.1.zip -SOURCE_SUM=88d7d887a40c671c36011ec19f5fbacc7e640b961fd7f02bc24032355212d0ea +SOURCE_URL=https://github.com/TryGhost/Casper/archive/refs/tags/v5.4.4.zip +SOURCE_SUM=2d8d7d622944844cee8a9d954cbc5d3123196e5214eedc91d586853bdeeb10ff SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index c0ca5e3..977d4a9 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Publishing, memberships, subscriptions and newsletters platform", "fr": "Plateforme d'édition, d'adhésions, d'abonnements et de newsletters" }, - "version": "5.24.2~ynh1", + "version": "5.26.4~ynh1", "url": "https://ghost.org/", "upstream": { "license": "MIT", diff --git a/scripts/install b/scripts/install index d544dde..950a52e 100644 --- a/scripts/install +++ b/scripts/install @@ -108,6 +108,9 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +# Patch https://github.com/YunoHost-Apps/ghost_ynh/issues/199 +ynh_replace_string --match_string=".whereRaw('posts.id" --replace_string=".whereRaw('\`posts\`.id" --target_file="$final_path/ghost/core/core/server/models/post.js" + #================================================= # NGINX CONFIGURATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 290de65..80d876c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -129,6 +129,9 @@ then # Remove the tmp directory securely ynh_secure_remove --file="$tmpdir" + + # Patch https://github.com/YunoHost-Apps/ghost_ynh/issues/199 + ynh_replace_string --match_string=".whereRaw('posts.id" --replace_string=".whereRaw('\`posts\`.id" --target_file="$final_path/ghost/core/core/server/models/post.js" fi chmod 750 "$final_path"