Ghost/core/server/helpers
Hannah Wolfe 63723aa36a 🎨 Move settings cache & cleanup settings API (#8057)
closes #8037

🔥 Remove API-level default settings population
- This is a relic!
- We ALWAYS populate defaults on server start therefore this code could never run.
- This was a lot of complicated code that wasn't even needed!!

🎨 Move settings cache
- Move settings cache to be its own thing
- Update all references
- Adds TODOs for further cleanup

🎨 Create settings initialisation step
- Create new settings library, which will eventually house more code
- Unify the interface for initialising settings (will be more useful later)
- Reduce number of calls to updateSettingsCache
2017-02-27 16:53:04 +01:00
..
tpl New buttons 🎨 (#8007) 2017-02-16 19:52:32 +00:00
asset.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
author.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
body_class.js 🔥 Remove the deprecated body classes (#7510) 2016-10-10 11:38:12 +02:00
content.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
date.js Use moment-timezone when using .tz() (#7653) 2016-10-31 14:44:24 +01:00
encode.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
excerpt.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
facebook_url.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
foreach.js Move internal tags out of labs (#7519) 2016-10-10 09:51:03 +01:00
get.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
ghost_foot.js Remove auto-inclusion of jQuery via ghost_foot 2015-09-02 13:39:22 +01:00
ghost_head.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
has.js 🎨 configurable logging with bunyan (#7431) 2016-10-04 16:33:43 +01:00
image.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
index.js 🔥 💩 Properly remove pageUrl (#7969) 2017-02-09 20:21:27 +01:00
is.js 🎨 configurable logging with bunyan (#7431) 2016-10-04 16:33:43 +01:00
meta_description.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
meta_title.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
navigation.js urlencode navigation URLs rather than HTML escape (#7836) 2017-01-17 15:55:19 +01:00
page_url.js 🔥 Remove deprecated pageUrl helper (#7509) 2016-10-06 20:47:37 +02:00
pagination.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
plural.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
post_class.js Remove filters from theme helpers (no async) 2015-12-08 14:35:04 +00:00
prev_next.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
tags.js Move internal tags out of labs (#7519) 2016-10-10 09:51:03 +01:00
template.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
title.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
twitter_url.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
url.js urlencode navigation URLs rather than HTML escape (#7836) 2017-01-17 15:55:19 +01:00
utils.js 🎨 replace process.env.NODE_ENV usages by config.get('env') (#7544) 2016-10-11 13:53:52 +01:00