Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Moderated Edits extension for CKAN 1.4

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 ckanext
Octocat-spinner-32 tests
Octocat-spinner-32 .hgignore
Octocat-spinner-32 .hgtags
Octocat-spinner-32 README.markdown
Octocat-spinner-32 setup.cfg
Octocat-spinner-32 setup.py
Octocat-spinner-32 test.ini
Octocat-spinner-32 who.ini
README.markdown

CKAN Moderated Edits Extension

The moderated edits extension for CKAN adds the ability for all updates to CKAN packages to be moderated.

Current Status: Incomplete

Installation and Activation

To install the plugin, enter your virtualenv and install the source:

$ pip install hg+http://bitbucket.org/okfn/ckanext-moderatededits

This will also register a plugin entry point, so you now should be able to add the following to your CKAN .ini file:

ckan.plugins = moderatededits

After you clear your cache and reload the site, the Moderated Edits plugin and should be available.

Note: Currently requires CKAN branch feature-1141-moderated-edits-ajax

Todo / Roadmap

  • Limit no. revisions shown in the revisions box, maybe show as separate pages with prev/next buttons.
  • Do some JS validation on 'edit summary' field (the revision commit message)
  • Add code to handle package extras

Tests

From the ckanext-moderatededits directory, run:

$ nosetests --ckan
Something went wrong with that request. Please try again.