0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/utils
Rish d5f68dbbc5 Updated serializers/model layer validation using settings type
refs https://github.com/TryGhost/Ghost/issues/10318

- Updates `boolean` serialization in v2/canary serializers to apply only for `boolean` type settings
- Updates `boolean` transformation in model layer `format`/`parse` to check on `boolean` type setting
- Removes error thrown on Read-only setting for settings edit endpoint
- Updates v2/canary input serializers to remove any Read-only settings (using RO flag) to avoid edits
- Added type/group mappings in the importer when pre-migration settings table import data is present
- Updates tests
2020-06-30 17:38:36 +05:30
..
fixtures Updated serializers/model layer validation using settings type 2020-06-30 17:38:36 +05:30
mocks Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
api.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
assertions.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
configUtils.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
index.js Renamed settings keys active_timezone to timezone 2020-06-24 14:11:20 +12:00
urlUtils.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00