wiki:FiveStarVotePlugin

Star rating system for wiki pages and tickets

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin lets users vote for a Trac resource, including Wiki pages, tickets, milestones, by using a five-star rating system. This plugin is a modified version of the VotePlugin, but except for having up and down arrows, this plugin uses a five-star approach to rate resources:

ScreenShot

While it has been forked from VotePlugin code in October 2008, and some bugs fixed (#3298, #3808), current development has pushed VotePlugin ahead significantly. Applying similar changes here too is certainly possible, but merging the code might become the option of choice for improved long-term support.

Bugs/Feature Requests

Existing bugs and feature requests for FiveStarVotePlugin are here.

If you have any issues, create a new ticket.

defect

5 / 5

enhancement

3 / 4

task

1 / 1

Download

Download the zipped source from here.

Source

You can check out FiveStarVotePlugin from here using Subversion, or browse the source with Trac.

Installation

Install the plugin:

$ pip install svn+https://trac-hacks.org/svn/fivestarvoteplugin/1.0

Add the following to the [components] section of trac.ini or enable the plugin though the WebAdmin panel:

[components]
fivestarvote.* = enabled

Configuration

The following option can be specified in trac.ini (default value shown):

[fivestarvote]
paths = '^/$,^/wiki*,^/ticket*'  #List of URL paths to allow voting on. Globs are supported.

Grant users the VOTE_VIEW and VOTE_MODIFY permission where appropriate. VOTE_MODIFY will not work for anonymous users:

trac-admin [trac environment pathname] permission add anonymous VOTE_VIEW
trac-admin [trac environment pathname] permission add authenticated VOTE_MODIFY

You may need to run:

trac-admin [trac environment pathname] upgrade

Recent Changes

17155 by rjollos on 2018-04-24 22:31:51
FiveStarVote 0.2.0dev: Make compatible with Trac 1.2+

  • Trac < 1.0 is no longer supported.
  • Modify context nav HTML per patch by ibboard.

Fixes #6647.

16936 by rjollos on 2017-10-30 23:13:24
FiveStarVote 0.1.1: Conform to PEP8

Refs #6647.

16935 by rjollos on 2017-10-30 23:04:57
FiveStarVote 0.1.1: Don't use $ at global scope

Refs #6647.

(more)

Author/Contributors

Author: davglass
Maintainer: none (needsadoption)
Contributors:

Last modified 4 years ago Last modified on Aug 6, 2020, 6:07:02 PM

Attachments (1)

Download all attachments as: .zip