• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nhsuk / nhsuk-content-store / 87 / 1
98%
master: 94%

Build:
Build:
LAST BUILD BRANCH: feature/docker-config
DEFAULT BRANCH: master
Ran 01 Dec 2016 10:33AM UTC
Files 49
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Dec 2016 10:31AM UTC coverage: 98.091%. Remained the same
87.1

push

travis-ci

marcofucci
Implement preview login via the Preview API

The default Wagtail preview logic depends too much on the templating
rendering layer whilst we're using an API approach.

The first attempt, tried to change the default logic by POSTing to
a Frontend url passing through the preview content as a POST param.
This is far from ideal and not very secure.

Hence, this PR restructures the preview logic by disabling the Wagtail
'preview by POST' and requires content designers to always save
the content (and therefore create a revision in background) before
previewing it.

This way, we can preview content using the page id and the specific
revision id via the API.

The Frontend app will pull the preview content using the passed in ids
instead of receiving it via a POST param and is therefore more secure.

925 of 943 relevant lines covered (98.09%)

0.98 hits per line

Source Files on job 87.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 87
  • Travis Job 87.1
  • 7e0df3d3 on github
  • Prev Job for on preview-button (#83.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc