Ghost/core/server/apps
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 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
private-blogging Replace memory spam prevention with brute-express (#7579) 2016-11-08 12:33:19 +01:00
subscribers More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00
dependencies.js Replace fs.exists (deprecated) with fs.stat 2015-03-17 11:49:43 -07:00
index.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
loader.js 🎨 🔦 refactor content paths (images, apps, themes, storage, scheduling) 2016-09-20 15:59:34 +01:00
permissions.js Minor internal apps improvements 2016-04-14 19:05:48 +01:00
proxy.js Minor internal apps improvements 2016-04-14 19:05:48 +01:00
sandbox.js 🔥 remove postgres support 2016-09-20 15:59:34 +01:00