0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
kirrg001 e302be2749 Changed preview controller to support v0.1 and v2
refs #9866

- invent preview api, but only used internally
  - the idea of a preview api is definitiely reaslistic and came up in the past a couple of times
- by that we don't have to differentiate between pages or posts controller
- still support v0.1
- preview controller is not registered for http, only internal handling
2018-10-18 19:41:07 +02: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 Changed entry lookup helper to respect the resource type 2018-10-18 19:41:07 +02: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 Updated blog site components to respect the api version 2018-10-18 19:41:07 +02: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 Changed preview controller to support v0.1 and v2 2018-10-18 19:41:07 +02:00
web Attached api version to res.locals context 2018-10-18 19:41:07 +02:00
filters_spec.js Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00