Ghost/core/shared
Kevin Ansfield 04dd409243
Added syncing and theme exposure of custom theme settings (#13354)
refs https://github.com/TryGhost/Team/issues/1070

- added `@tryghost/custom-theme-settings-service` as a dependency
- `core/server/services/custom-theme-settings` creates an instance of the new service passing in the model used for storing the setting keys/values and a cache instance
- requiring `core/shared/services/custom-theme-settings-cache` creates a cache instance, it has no dependencies so can be required anywhere and the first require will initialize the shared instance
- updated the theme activation bridge to trigger the theme settings service to sync the newly activated theme settings and populate the cache
- updated theme validation to pass `labs` through as an option so that we get custom theme settings back as part of the checked theme as that's what is passed to the custom theme settings service
2021-09-23 12:44:39 +01:00
..
config 🔒 Fixed member email change vulnerability 2021-09-23 10:49:30 +01:00
i18n Removed i18t dependency from post scheduling service 2021-09-04 07:49:11 +12:00
settings-cache Swapped to American English spellings 2021-08-09 13:35:01 +04:00
custom-theme-settings-cache.js Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00
express.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
html-to-plaintext.js Added paywall card to mark end of free content preview (#12663) 2021-02-17 23:00:26 +00:00
labs.js Added Offers Alpha flag 2021-09-22 13:20:36 +02:00
sentry.js Fixed the version sent to Sentry 2021-05-17 13:32:56 +02:00
url-utils.js Updated to use config-url-helpers in urlUtils 2021-06-18 21:49:28 +01:00