1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00
ghost_ynh/TODO.org
2014-04-07 17:26:56 +02:00

3.7 KiB
Raw Blame History

DONE logs

DONE logrotate config

DONE is_public

DONE auto set up admin section

curl call seems ok but I get a 403 (XSRF ?)

DONE mail in config.js : what's this ?

DONE add to ynh service list

how do i do that ??

DONE reduce size of install tree

admin@yunohost:/home/yunohost.app/ghostblog$ du -sh * 50M ghost

admin@yunohost:/home/yunohost.app/ghostblog$ du -sh ghost/* 4.0K ghost/config.example.js 4.0K ghost/config.js 176K ghost/content 4.5M ghost/core 36K ghost/Gruntfile.js 4.0K ghost/index.js 4.0K ghost/LICENSE 45M ghost/node_modules 4.0K ghost/package.json 8.0K ghost/README.md

DONE check if path contains "ghost", refused by ghost

DONE mysql instead of sqlite

DONE change installation path

DONE change pid file path

let's stay with /var/run/yunohost/ghostblog for the moment

DONE cleanup pid file

DONE check password length (>=8)

DONE download theme police, install locally to avoid google requests

download theme police

//fonts.googleapis.com/css?family=Noto+Serif:400,700,400italic|Open+Sans:700,400"

>

@font-face { font-family: 'Noto Serif'; font-style: normal; font-weight: 400; src: local('Noto Serif'), local('NotoSerif'), url(https://themes.googleusercontent.com/static/fonts/notoserif/v2/eCpfeMZI7q4jLksXVRWPQxsxEYwM7FgeyaSgU71cLG0.woff) format('woff'); } @font-face { font-family: 'Noto Serif'; font-style: normal; font-weight: 700; src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(https://themes.googleusercontent.com/static/fonts/notoserif/v2/lJAvZoKA5NttpPc9yc6lPQFhaRv2pGgT5Kf0An0s4MM.woff) format('woff'); } @font-face { font-family: 'Noto Serif'; font-style: italic; font-weight: 400; src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(https://themes.googleusercontent.com/static/fonts/notoserif/v2/HQXBIwLHsOJCNEQeX9kNz3hCUOGz7vYGh680lGh-uXM.woff) format('woff'); } @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans'), local('OpenSans'), url(https://themes.googleusercontent.com/static/fonts/opensans/v8/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); } @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://themes.googleusercontent.com/static/fonts/opensans/v8/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff'); }

wget de tous ces fichiers dans content/themes/casper/assets/fonts

core/client/assets/fonts /core/server/views/default.hbs

install locally in themes/casper/assets/fonts ?

modify assets/css ?

modify default.hbs

also in core

add client/assets/fonts/OpenSans*

add client/assets/css/fonts.css

admin@yunohost:/var/www/ghostblog/ghost/core$ grep -rn fonts.google *

server/views/user-error.hbs:19: <link rel="stylesheet" type='text/css' href='//fonts.googleapis.com/css?family=Open+Sans:400,300,700'> server/views/default.hbs:30: <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,700">

DONE get rid of ghost.org call

this is in the default blog post, the icon used in the site are taken from the icons.woff font

TODO go multi-instance ?

DONE use shrink to fix dependencies version. cf. https://www.npmjs.org/doc/shrinkwrap.html

TODO implement upgrade

DONE if public, block access to admin section via sso

DONE support installation on root of subdomain

DONE test non-public install

DONE translate manifest

DONE aptitude update

DONE service ynh-ghostblog restart FAIL

DONE move to ghost 0.4.2

DONE expose main site on http, admin on https