0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00
ghost/core/test/integration
kirrg001 853b518a51 Sanitize incoming model relation data
refs #9548

- we always receive date strings from the client in ISO format
- we ensure that we transform these strings into JS dates for comparison
- when the client sends relations, we need to ensure that relations are checked as well
- will only work for the post model for now, because this is the only model which uses `bookshelf-relations`
- added unit tests
- removed some model tests, which do the same
2018-04-05 18:51:58 +02:00
..
api Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
data/importer/importers Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
model Sanitize incoming model relation data 2018-04-05 18:51:58 +02:00
export_spec.js Moved ghost-version to lib 2017-12-14 22:14:55 +01:00
migration_spec.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
site_spec.js 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00
update_check_spec.js 🐛 Fixed showing old release notifications in the about page 2018-01-18 12:19:55 +01:00