Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

kata-csc/ckanext-kata

Repository files navigation

This repository was part of an older version of Etsin which is no longer in use. For the newest version of Etsin, see https://github.com/CSCfi/etsin-finder/

Kata is a CKAN extension for handling metadata of research datasets. It is used in Etsin research data finder.

Installation

You can install the extension with:

pip install -e git://github.com/kata-csc/ckanext-kata.git#egg=ckanext-kata

Requirements

Configuration

Put the following lines under [app:main] in CKAN configuration file

kata.storage.malware_scan = true

kata.is_backup = false

If Google Analytics is on, add

kata.ga_id = [GA ID]

If LDAP is used, add basic LDAP configuration to the aforementioned file:

kata.ldap.enabled = true

kata.ldap.password = [LDAP PASSWORD]

kata.ldap.server = [LDAP SERVER]

kata.ldap.dn = [DN]

kata.ldap.basedn = [BASE DN]

For contact emails following settings apply:

kata.bf = [ENCRYPTION KEY]

To enable reCaptcha set:

kata.contact_captcha = true

Note that this setting requires captcha keys to be set

The email feature can be turned off with:

kata.disable_contact = true