0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/data
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
..
db 🐛 fix backup database (#7898) 2017-01-25 20:34:31 +01:00
export 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
import Import from LTS blogs now properly adds tags to posts. (#7926) 2017-01-31 17:50:44 +01:00
importer chore(package): update uuid to version 3.0.0 (#7742) 2017-01-04 17:10:29 +01:00
meta 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
migrations 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
schema 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
slack 🎨 add urlFor('admin') and increase usage of urlFor helper (#7935) 2017-02-02 18:51:35 +00:00
validation Use moment-timezone when using .tz() (#7653) 2016-10-31 14:44:24 +01:00
xml 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00