Skip to content

mukil/dm4-eduzen-reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

DeepaMehta 4 Reviews Module

A DeepaMehta 4 module for users and developers who want to extend a DeepaMehta 4 Topic- resp. Association Type of their choice about a Score, a Good! or a Soso-field.

The plugin provides four type-independent service methods allowing to upvote, downvote or +1 on good or +1 on so-so on any given topic (provided by ID). Regarding which ones you prefer more, just add the corrspending child-topics to the Topic Type definition of your choice and you can start to use the service.

API: REST-Interface

  • GET /review/upvote/{topicId} - writes +1 org.deepamehta.review.score
  • GET /review/downvote/{topicId} - writes -1 on org.deepamehta.review.score
  • GET /review/soso/{topicId} - writes +1 on org.deepamehta.review.soso
  • GET /review/good/{topicId} - writes +1 on org.deepamehta.review.good

Note: This model is not compatible with the dm4-webclient. Simply because the DM Webclient tries sends String values back to the server despite we actually defined a dm4.core.number-Data Type in our model. Make sure your data gets no invariance and therefore instantiate/migrate all your topics of the given type to have stored simple Integer default values (e.g. 0) here.

Download & Installation

Download the latest dm43-eduzen-reviews-Bundle from here.

Place the downloaded file in the bundles folder of your deepamehta installation and restart DeepaMehta.

GNU Public License

This sofware is released under the terms of the GNU General Public License in Version 3.0, 2007.

Icon License

The thumbs icons in use by this plugin (Thumbs Up, Thumbs Down) are both licensed under GPL v2 and were designed by Hylke.

The hashtag icon is licensed under Creative Commons Attribution 3.0 Unported and was designed by Yusuke Kamiyamane.

The smiley icons are licensed under Creative Commons Attribution-Share Alike 3.0 Unported and were designed by The Working Group.

Version History

0.4, Feb 12, 2017

  • Maintenance and bugfix release.
  • Compatible with DeepaMehta 4.8

0.3.7, Dec 06, 2014

  • Compatible with DeepaMehta 4.4
  • Bugifix: worked around data invariance for topics instantiated via dm4-webclient

0.3.6, Nov 17, 2014

  • Compatible with DeepaMehta 4.3

0.3.5, Apr 4, 2014

  • Introduced "So So" and "Good" child-types to just count the degree of appreciation by users towards topics.

0.3.4, Feb 28, 2014

  • Compatible with DeepaMehta 4.2

0.2, May 28, 2013

  • shipping now with a generic PluginService (RESTful + ApplicationService)

0.1, Feb 28, 2013

  • initialization of this plugin.

Author, Malte Reißig, 2013-2014

About

A stupid plugin for counting likes, dislikes and various appreciation levels of users towards topics.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages