Ghost/ghost/admin/app/transforms
Kevin Ansfield 6a9239974f Fixed missing Unsplash icons when API doesn't return an unsplash setting (#865)
closes https://github.com/TryGhost/Ghost/issues/9031

- add a default value `unsplash` value to the `setting` model so that Unsplash is activated when the server doesn't return an `unsplash` setting
- update the `unsplash-settings` transform to always deserialize or serialize to `{isActive: true}` when the value is blank or not parsable
- add acceptance regression test covering API not returning an `unplash` setting
- add unit tests for the `unsplash-settings` transform
2017-09-21 11:13:31 +02:00
..
facebook-url-user.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
json-string.js Guard against blank strings in json-string fields (#840) 2017-08-29 10:03:45 +07:00
moment-date.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
moment-utc.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
navigation-settings.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
raw.js deps: ember-data@2.3.2 2016-01-19 14:36:39 +00:00
slack-settings.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
twitter-url-user.js Upgrade eslint dependencies (#855) 2017-09-11 14:56:11 +07:00
unsplash-settings.js Fixed missing Unsplash icons when API doesn't return an unsplash setting (#865) 2017-09-21 11:13:31 +02:00