Ghost/core/server
Kevin Ansfield 1dc0405803
Added migration to populate settings.{group,flags} (#11954)
refs https://github.com/TryGhost/Ghost/issues/10318

- maps old `settings.type` values to new `settings.type/group` values
  - uses an explicit map so that we don't lose information and can safely roll back even though we're modifying `settings.type` too
  - updates `settings.type` values too to keep code working while we switch to using `settings.group`
- sets the `settings.group` value for all settings which are keeping the same group as their current type
- adapts `settings.type` validations to match new groups
- adds flags to specific settings, both in the migration for existing settings records and in default-settings.json for new settings records
2020-06-24 12:38:18 +01:00
..
adapters Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
api Fixed input serializer for setting's PUT methods in Admin APIs 2020-06-24 22:11:03 +12:00
data Added migration to populate settings.{group,flags} (#11954) 2020-06-24 12:38:18 +01:00
lib Fixed populateImageSizes handling of images in subdir setups 2020-06-23 12:47:20 +01:00
models Added migration to add settings.{group,flags} columns (#11951) 2020-06-24 11:58:15 +01:00
public Renamed members ssr + api endpoints 2020-04-30 19:00:37 +01:00
services Renamed settings key brand.primaryColor to accent_color 2020-06-24 14:18:13 +12:00
translations Added invalid import record errors and counts 2020-06-12 19:59:36 +12:00
views Update default 404 page 2019-07-15 14:47:01 +02:00
web Added API endpoints for disconnecting Stripe 2020-06-18 18:42:20 +02:00
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
index.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00