Skip to content

WIP - Comments for CKAN urls (datasets, resources, organizations etc).

License

Notifications You must be signed in to change notification settings

imclab/ckanext-comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This extension is a work in progress

ckanext-comments

This CKAN extension allows you to add comments to various things in CKAN (datasets, related items etc)so that users can, well, comment on things.

Installation

Configuration

ckanext-comments has several configuration options that should be set to allow for your required behaviour

# Whether comments should be threaded or not (default: false)
ckan.comments.threaded = true/false

# Whether, only a user's first comment must be moderated  (default: true)
# otherwise ALL comments are moderated.
ckan.comments.moderation.first_only = true/false

# Text for comments that have children and are deleted
ckan.comments.deleted.text = This comment has been deleted

# For spam checking to work, the following two fields must be provided
mollom.public.key = The Mollom public key
mollom.private.key = The Mollom private key.

Testing

To run the tests you should run the following command in the ckanext-comments directory (or use --plugin=comments).

nosetests --ckan --reset-db --with-pylons=test-core.ini ckanext.comments

TODO

  • Moderation queue

About

WIP - Comments for CKAN urls (datasets, resources, organizations etc).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages