Ghost/core/test/unit
kirrg001 b335002269 🐛 Fixed Disqus comments on post preview pages
closes #9727

- this is a short term fix to proof that Disqus comments on preview pages no longer appear on other threads
- this is not a full solution to the problem
- the private API still returns /404/, which is right now inconsistent, but not critical in any way
- the url helper will now output the post preview url if you serve a draft/scheduled post
- this should register unique page urls at Disqus and ensure uniquness for threads
  - i still don't understand why the cross posting happens at all, because we also pass an unique identifier to Disqus (the post ID)
- it could be that comments, which are added on the preview page, won't appear on the published urls, because
  the published url !== preview url. I wasn't able to figure this out via testing or reading their docs
2018-07-11 00:20:55 +02:00
..
adapters Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
api 🐛 Koenig - Support schema-less URLs in embed card (#9725) 2018-07-09 10:32:39 +01:00
apps Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
config Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data 🐛 Fixed Disqus comments on post preview pages 2018-07-11 00:20:55 +02:00
helpers 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00
lib 🎨 Koenig - Added ID attributes to heading tags when rendering (#9720) 2018-07-11 00:03:25 +02:00
models Fixed missing defaults in model layer 2018-06-26 16:35:23 +02:00
public Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
services 🐛 Fixed Disqus comments on post preview pages 2018-07-11 00:20:55 +02:00
web Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
filters_spec.js Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00