diff --git a/README.md b/README.md index 2b2f0e5..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.21.0~ynh1 +**Shipped version:** 5.26.4~ynh1 ## Screenshots @@ -47,6 +47,10 @@ Publishing, memberships, subscriptions and newsletters platform 2. After installation create an **admin account** by visiting `https://domain.tld/ghost/ghost`. If you choose to name your Ghost instance "blog" during YunoHost setup process, then it would be `https://domain.tld/blog/ghost`. This will allow you to continue to setup your admin account and configure your settings. +## :red_circle: Antifeatures + +- **Arbitrary limitations**: Features arbitrary limitations. Please refer to the README. + ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index e9f42e3..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.21.0~ynh1 +**Version incluse :** 5.26.4~ynh1 ## Captures d'écran @@ -46,6 +46,10 @@ Plateforme d'édition, d'adhésions, d'abonnements et de newsletters `sudo yunohost installer l'application https://github.com/YunoHost-Apps/ghost_ynh` 2. Après l'installation, créez un **compte administrateur** en visitant `https://domain.tld/ghost/ghost`. Si vous choisissez de nommer votre instance Ghost "blog" pendant le processus d'installation de YunoHost, alors ce sera "https://domain.tld/blog/ghost". Cela vous permettra de continuer à configurer votre compte administrateur et à configurer vos paramètres. +## :red_circle: Fonctions indésirables + +- **Arbitrary limitations**: Features arbitrary limitations. Please refer to the README. + ## Documentations et ressources * Site officiel de l'app : diff --git a/conf/admin.src b/conf/admin.src index 933d238..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.21.0.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 fffc186..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.21.0 -SOURCE_SUM=179f4762c78ce8247936e7acc2f8e2be6598af0b2d71202cbde8115eb0079103 +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 24ccbc5..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.3.2.zip -SOURCE_SUM=af5e49c5d8efa48afd320b7d2b910cb58ef034a8c200a8e87aac391618bdc128 +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 1b8b080..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.21.0~ynh1", + "version": "5.26.4~ynh1", "url": "https://ghost.org/", "upstream": { "license": "MIT", diff --git a/patches/core/OpenSans-Bold.woff b/patches/core/OpenSans-Bold.woff deleted file mode 100644 index ee2ea79..0000000 Binary files a/patches/core/OpenSans-Bold.woff and /dev/null differ diff --git a/patches/core/OpenSans-Light.woff b/patches/core/OpenSans-Light.woff deleted file mode 100644 index c1ab595..0000000 Binary files a/patches/core/OpenSans-Light.woff and /dev/null differ diff --git a/patches/core/OpenSans.woff b/patches/core/OpenSans.woff deleted file mode 100644 index 2abc3ed..0000000 Binary files a/patches/core/OpenSans.woff and /dev/null differ diff --git a/patches/core/fonts.css b/patches/core/fonts.css deleted file mode 100644 index ec5212a..0000000 --- a/patches/core/fonts.css +++ /dev/null @@ -1,18 +0,0 @@ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 300; - src: local('Open Sans Light'), local('OpenSans-Light'), url(../fonts/OpenSans-Light.woff) format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans.woff) format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 700; - src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.woff) format('woff'); -} diff --git a/patches/theme/NotoSerif-Bold.woff b/patches/theme/NotoSerif-Bold.woff deleted file mode 100644 index 04ecc9c..0000000 Binary files a/patches/theme/NotoSerif-Bold.woff and /dev/null differ diff --git a/patches/theme/NotoSerif-Italic.woff b/patches/theme/NotoSerif-Italic.woff deleted file mode 100644 index 004d361..0000000 Binary files a/patches/theme/NotoSerif-Italic.woff and /dev/null differ diff --git a/patches/theme/NotoSerif.woff b/patches/theme/NotoSerif.woff deleted file mode 100644 index 964e2ef..0000000 Binary files a/patches/theme/NotoSerif.woff and /dev/null differ diff --git a/patches/theme/OpenSans-Bold.woff b/patches/theme/OpenSans-Bold.woff deleted file mode 100644 index ee2ea79..0000000 Binary files a/patches/theme/OpenSans-Bold.woff and /dev/null differ diff --git a/patches/theme/OpenSans.woff b/patches/theme/OpenSans.woff deleted file mode 100644 index 2abc3ed..0000000 Binary files a/patches/theme/OpenSans.woff and /dev/null differ diff --git a/patches/theme/fonts.css b/patches/theme/fonts.css deleted file mode 100644 index 11432dc..0000000 --- a/patches/theme/fonts.css +++ /dev/null @@ -1,31 +0,0 @@ -@font-face { - font-family: 'Noto Serif'; - font-style: normal; - font-weight: 400; - src: local('Noto Serif'), local('NotoSerif'), url('../fonts/NotoSerif.woff') format('woff'); -} -@font-face { - font-family: 'Noto Serif'; - font-style: normal; - font-weight: 700; - src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url('../fonts/NotoSerif-Bold.woff') format('woff'); -} -@font-face { - font-family: 'Noto Serif'; - font-style: italic; - font-weight: 400; - src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url('../fonts/NotoSerif-Italic.woff') format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url('../fonts/OpenSans.woff') format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 700; - src: local('Open Sans Bold'), local('OpenSans-Bold'), url('../fonts/OpenSans-Bold.woff') format('woff'); -} - 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"