0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/test/unit/services
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
..
apps Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
auth Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
mail Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
permissions Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
routing Dynamic Routing Beta: StaticRoutesRouter has to respect the route name 2018-06-26 19:06:42 +02:00
rss Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
settings Dynamic Routing Beta: Added yaml validation for data key 2018-06-24 02:06:58 +02:00
themes Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
url 🐛 Fixed Disqus comments on post preview pages 2018-07-11 00:20:55 +02:00
slack_spec.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
webhooks_spec.js Import lib/common only 2017-12-12 10:28:13 +01:00
xmlrpc_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00