Ghost/core/server/services
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
..
adapter-manager Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
auth Lazily instantiated express-session middleware 2021-07-14 17:19:53 +01:00
bulk-email Fixed segmented email content being sent to all members 2021-09-10 11:36:42 +01:00
email-analytics Swapped to American English spellings 2021-08-09 13:35:01 +04:00
integrations Removed method complexity in integrations API controller 2021-09-16 14:23:48 +03:00
invitations Moved i18n to shared 2021-05-04 13:03:38 +01:00
invites Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
jobs Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
mail Fixed linting issue 2021-09-17 16:51:52 +01:00
mega 🐛 Fixed Outlook incorrect text styling and ' appearing in email content (#13313) 2021-09-17 08:39:29 +01:00
members Passed MemberAnalyticEvent to @tryghost/members-api 2021-09-21 11:42:05 +02:00
notifications Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
permissions Removed usages of new Error & i18n in legacy code 2021-07-01 12:53:06 +01:00
posts Removed i18t dependency from post scheduling service 2021-09-04 07:49:11 +12:00
public-config Added a feature flag to the oauth login feature 2021-07-20 23:16:49 +02:00
route-settings Moved route settings to new server service 2021-06-30 10:58:33 +01:00
settings Refactored secret settings util functions 2021-09-21 23:05:57 +12:00
themes Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00
webhooks Removed method complexity in webhooks API controller 2021-09-17 10:11:23 +03:00
custom-theme-settings.js Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00
limits.js Fixed error when hostLimits are undefined 2021-07-23 20:46:52 +04:00
oembed.js Blocked 0.* IP addresses when making oembed requests 2021-09-14 11:35:14 +01:00
slack.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
users.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
xmlrpc.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00