Extension Surrey


Extension Basics

Title
Surrey
Name
ckanext-surrey
Type
Public extension
Description
CKAN extension for the City of Surrey with custom CSS, pages, templates, custom licenses, predefined dataset fields, and IP-based access control.
CKAN versions
Download-Url (zip)
Last commit
8 years ago (2018-03-03 18:27:26)
Url to repo
Category
Regional Government Themes


Background Infos

Description (long)
Show details

ckanext-surrey

City of Surrey CKAN extension

CKAN extension development for the implementation of the City of Surrey (https://www.surrey.ca/)

The extension contains the following features: - Add a custom CSS file - Add custom pages (contact & suggest dataset forms + follow page) with implementation of iRoutes - Add public file (images) - Add custom licence - Add predefined extra fields at the dataset level - Support custom templates - Remove ‘organization’ from the facet list and various other places - Allows data managers to designate datasets as public, public w/ limited access to resources, private to organizational users

Prerequisite

Requires stats extension with tracking enabled, and ckanext-pages. Tested with CKAN 2.2.

Installation

pip install -e git+git://github.com/CityofSurrey/ckanext-surrey.git#egg=ckanext-surrey

Add to plugins:

ckan.plugins = ... surrey surreyfacet surreyextrapages

Set licenses_group_url to the custom licence file.

Custom Settings

IP Whitelist via admin panel (IP addresses, IP ranges, or combinations).

Cron Jobs

Hourly tracking update and search-index rebuild; daily email notifications.

License

AGPL-3.0

Version
1.0
Version release date
(not set)
Contact name
City of Surrey
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Requires stats extension with tracking enabled and ckanext-pages. Tested with CKAN 2.2.

Plugins to configure (ckan.ini)
surrey surreyfacet surreyextrapages
CKAN Settings (ckan.ini)
# licenses_group_url = file:///path/to/ckanext-surrey/ckanext/surrey/licences.json
# ckan.tracking_enabled = true
DB migration to be executed
(not set)
<< back to Extensions