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