Ghost/core/server/services/themes
Kevin Ansfield 59a6f040d2 Fixed custom theme settings being clobbered with duplicate-named themes
refs https://github.com/TryGhost/Team/issues/1149

Ghost allows different themes to have the same `name` value in `package.json` but gives them a custom name based on the zip file used to upload it. The custom theme settings service however was always using the package.json name meaning that when syncing a theme with a duplicate name it was overwriting the settings for all other themes.

- bumped `@tryghost/custom-theme-settings-service` which changes the `.activateTheme()` signature to accept a theme name as the first argument
- updated our calls to `.activateTheme()` to pass Ghost's known theme name as the first argument so we're always syncing with the correct `theme` field value in the `custom_theme_settings` table
2021-10-20 13:25:02 +01:00
..
activate.js Rework the themeService public API 2021-07-07 15:02:02 +01:00
activation-bridge.js Fixed custom theme settings being clobbered with duplicate-named themes 2021-10-20 13:25:02 +01:00
index.js Fixed inconsistent theme settings state after toggling customThemeSettings labs flag 2021-10-04 11:23:46 +01:00
installer.js Removed i18t dependency from installer module 2021-09-03 20:33:28 +04:00
list.js Moved theme service to core/server 2021-04-27 15:14:49 +01:00
loader.js Refactored theme service to use async/await 2021-07-07 12:28:55 +01:00
storage.js Fixed test for overriding active theme 2021-07-11 20:02:32 +01:00
ThemeStorage.js Corrected type declarations in ThemeStorage 2021-09-22 14:16:39 +02:00
to-json.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
validate.js Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00