Ghost/core/test/unit
Rishabh Garg 915d5612a1 🐛 Fixed relative image URLs becoming absolute URLs on save (#10025)
closes #10024

- Updated input serializers for posts/tags/users to handle absolute urls conversion

-------
1. Ghost stores relative images urls
2. API V2 returns images with absolute urls
3. Ghost-Admin sends absolute urls back on any save e.g. update user

**Current behavior**: This will override the relative image path in db to absolute, which in turn won't get updated in future if domain or protocol changes for e.g.
**Fix**: On save/update, input serializers converts any absolute image url paths back to relative if the base URL from image fields matches the configured URL
2018-10-18 12:18:47 +01:00
..
adapters Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
api 🐛 Fixed relative image URLs becoming absolute URLs on save (#10025) 2018-10-18 12:18:47 +01:00
apps 🐛 Fixed redirect issue with private sites (#9960) 2018-10-08 16:31:08 +07:00
config Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data Excluded sessions table from exporter (#9961) 2018-10-17 18:29:24 +07:00
helpers 🎨 Added additional parameters to subscribe_form and input_email helpers (#9820) 2018-08-30 17:17:27 +01:00
lib Extended sequence utility 2018-10-03 00:17:45 +02:00
models Respected hasUserPermissions & hasAppPermissions in invite model 2018-10-16 18:00:05 +02:00
public Refactored Ghost SDK unit test 2018-10-05 16:49:46 +02:00
services Refactored config to handle direct calls for specific version (#10012) 2018-10-16 15:20:51 +05:30
web Extended uncapitalise unit tests (#9891) 2018-09-20 22:27:38 +02:00
filters_spec.js Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00