Ghost/core/server/data/meta
Katharina Irrgang 0201c431d7 🔥 do not store settings in config (#7924)
* 🎨  🔥  do not store settings in config and make settings cache easier available

- remove remembering settings value in theme config
- if we need a cache value, we are asking the settings cache directly
- instead of settings.getSettingSync we use settings.cache.get

- added TODO:
  - think about moving the settings cache out of api/settings
  - we could create a folder named cache cache/settings
  - this settings cache listens on model changes for settings
  - decoupling

* 🔥  remove timezone from config

- no need to store in overrides config and in defaults settings

* 🎨  context object helper

- replace config.get('theme') by settings cache

* 🎨  replace config.get('theme') by settings.cache.get

* 🎨  adapt tests

* fixes from comments
2017-02-03 13:15:11 +00:00
..
amp_url.js 🎨 add urlFor('admin') and increase usage of urlFor helper (#7935) 2017-02-02 18:51:35 +00:00
asset_url.js 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
author_fb_url.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
author_image.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
author_url.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
canonical_url.js 🎨 add urlFor('admin') and increase usage of urlFor helper (#7935) 2017-02-02 18:51:35 +00:00
context_object.js 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
cover_image.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
creator_url.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
description.js 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
excerpt.js Fix facebook/twitter/schema description 2016-02-18 12:11:46 +00:00
image-dimensions.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
index.js 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
keywords.js Move internal tags out of labs (#7519) 2016-10-10 09:51:03 +01:00
modified_date.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
og_type.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
paginated_url.js 💄 Improve URL consistency, Part 1: urlJoin (#7668) 2016-11-14 14:38:55 +00:00
published_date.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
rss_url.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
schema.js 🎨 escape sameAs for structured data (#7833) 2017-01-10 12:21:37 +00:00
structured_data.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
title.js 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
url.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00