wiki:VotePlugin

Reddit-style voting on Trac resources

Description

This plugin adds a context-navigation entry, that lets users easily vote for a Trac resource, including Wiki pages, tickets, milestones, etc.

If a user has a valid session (created through the Preferences panel) and the VOTE_MODIFY permission, he/she will be able to vote.

Since tracvote-0.2 there are some WikiMacros available in addition to example TracReports on the votes db table.

Bugs/Feature Requests

Existing bugs and feature requests for VotePlugin are here.

If you have any issues, create a new ticket.

defect

39 / 40

enhancement

9 / 10

task

1 / 1

Download

Download the zipped source from here.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Add the following to the [components] section of trac.ini:

[components]
tracvote.* = enabled

Configuration

Configure the list of URL paths to allow voting on in trac.ini. Globs are supported.

[vote]
paths = 

This grants users the VOTE_VIEW and VOTE_MODIFY permission where appropriate.

Notes:

  • VOTE_MODIFY inherits view permission since tracvote-0.1.5.
  • Since tracvote-0.2 a default set of permissions is configured once after creating the Trac database table for this plugin.

Probably you will need to run the following:

trac-admin /path/to/projenv upgrade

You will also need to restart your webserver for the plugin to be available, appear in the list of those installed, have the permissions available, etc.

Example SQL statements for creating useful reports for tickets and wiki pages are included in SqlQueryForReport.txt in the plugin source.

Screenshot

Translation

You've done a new translation? Superb! Contributing your translation is highly appreciated.
You could send it to the plugin's maintainer or contribute to Trac plugin l10n project via Transifex:

Top translations: Trac_Plugin-L10N » voteplugin

http://www.transifex.net/projects/p/Trac_Plugin-L10N/resource/voteplugin/chart/image_png

Kindly provided by https://ds0k0en9abmn1.cloudfront.net/static/charts/images/tx-logo-micro.png

Recent Changes

15442 by rjollos on 2016-03-21 07:18:46
0.5.1dev/l10n: Extract messages

Refs #12708.

15441 by rjollos on 2016-03-21 07:12:20
0.5.1dev: Raise TracError on invalid request path

Fixes #12708.

15435 by rjollos on 2016-03-14 21:57:33
0.5.0: Release 0.5.0

Refs #12595.

(more)

Author/Contributors

Author: athomas
Maintainer: Ryan J Ollos, hasienda
Contributors: k0s, PeterLawrence, cboos, jun66j5

Last modified 8 months ago Last modified on Nov 30, 2015, 8:16:28 PM

Attachments (1)

Download all attachments as: .zip