Ghost/test/regression/api
Naz d9ddc2db6a Added extra validation for some settings of array type
refs https://github.com/TryGhost/Team/issues/754
refs a7dec233ba

- Additional validation protects from problems like the ones in refed commit from even getting through to the database.
- At the moment only used notificatons and couple more settings to ensure they are arrays when passed into the API. This is to avoid making big change in settings straight away - this is a problematic area which needs cautious approach.
- Ideally in the future the list of settings to check the "array" type (and other types) should be automatically generated based on the default-settings.json (or whatever way we define settings in the db a that moment)
- There's an ugly code-tripplication going on in this change. This is a separate topic that will be addressed once we work on API cleanup.
2021-06-28 14:26:18 +04:00
..
canary Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
v2 Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
v3 Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
admin_spec.js Moved i18n to shared 2021-05-04 13:03:38 +01:00