Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The know-all app
Ruby HTML JavaScript CSS Cucumber Shell
branch: master

Merge pull request #251 from alphagov/tt_contnent_models_bump

Update govuk_content_models to include 'vehicle_recalls_and_faults' artefact
latest commit eb0be5714f
@evilstreak evilstreak authored
Failed to load latest commit information.
app Remove the ability to edit/manage tags
config Request reindex of editions when topics go live.
data Add additional slugs to the migrator
db Cleanup some null users in the database.
doc Convert to a Rails app.
features Remove the ability to edit/manage tags
lib Add a script to redirect a specialist sector
log Convert to a Rails app.
public Remove old dangling symlinks
script Use latest content models
test Remove the ability to edit/manage tags
vendor Switch to using govuk_admin_template layout
.gitignore Script to create shared Panopticon/Publisher DB.
.ruby-version Bump ruby patch version for security fixes
.travis.yml Exclude master from travis builds. Define contributing guide
Gemfile Update govuk_content_models to include 'vehicle_recalls_and_faults ar…
Gemfile.lock Update govuk_content_models to include 'vehicle_recalls_and_faults ar…
LICENCE.txt Correct copyright notice Add section to README on indexing in development
Rakefile Use London timezone, not UTC Convert to a Rails app. should abort on error Add branch build script Kill off some more trailing whitespace.


The GOV.UK content platform has been built with a focus on tools over content. That is manifest in the existence of numerous small applications that provide focussed solutions to specific user needs, or offer a suite of similar but distinct solutions; alongside the 'publisher/frontend' editorial tools there are apps like 'smart answers', 'planners', and so on.

To bring that all together as a single site a single interface was required to attach consistent metadata to the pieces, connect them together as 'related items' and generally have a complete overview of all the solutions/artefacts in the system. That's this app: Panopticon.


Panopticon provides:

  • an admin UI where items can be created and their metadata edited. This is authenticated in conjunction with sign-on-o-tron.
  • a writeable API where applications can register the content they provide. This is authenticated using OAuth2.
  • a read API for retrieving metadata about a given item

Importing organisation tags

Panopticon includes a Rake task to create tags for each organisation from the Whitehall app. To run this in the development environment, the production data source can be used, so that there is no need to have an up-to-date Whitehall database.

PLEK_SERVICE_WHITEHALL_ADMIN_URI= bundle exec rake organisations:import

Indexing artefacts in search

Panopticon includes observers which will index, update or delete records in the search index when an artefact is updated. It expects an instance of Rummager to be present.

Indexing is disabled by default in the development environment. To turn indexing on, set the UPDATE_SEARCH environment variable when starting Panopticon.

Something went wrong with that request. Please try again.