1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Merge pull request #208 from YunoHost-Apps/testing

This commit is contained in:
tituspijean 2023-01-06 15:40:24 +01:00 committed by GitHub
commit 7744fa58e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 22 additions and 57 deletions

View file

@ -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: <https://ghost.org/>

View file

@ -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 : <https://ghost.org/>

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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",

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -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');
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -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');
}

View file

@ -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
#=================================================

View file

@ -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"