0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
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
..
adapters Replaced request module with @tryghost/request 2021-06-16 13:16:15 +01:00
api Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
data Added products_benefits table 2021-06-24 17:21:01 +01:00
lib Fix typo in image-size.js 2021-06-22 15:47:41 +01:00
models v4.8.3 2021-06-24 14:00:41 +01:00
public New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
services 🐛 Fixed update notification showing after upgrade 2021-06-28 11:25:04 +04:00
views
web 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
analytics-events.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js
run-update-check.js Move the update-check service to a scheduled job 2021-05-27 17:17:26 +02:00
update-check.js Fixed update check logging when run within a job 2021-06-23 18:38:05 +04:00