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 thePreferences panel) and theVOTE_MODIFY
permission, he/she will be able to vote.
Sincetracvote-0.2
there are someWikiMacros available in addition toexample TracReports on thevotes
db table.
See also:FiveStarVotePlugin
Existing bugs and feature requests forVotePlugin arehere.
If you have any issues, create anew ticket.
defect | 42 / 43 | ||
---|---|---|---|
enhancement | 11 / 14 | ||
task | 2 / 2 |
Download the zipped source fromhere.
The plugin is also available onPyPI.
You can check outVotePlugin fromhere using Subversion, orbrowse the source with Trac.
General instructions on installing Trac plugins can be found on theTracPlugins page.
Add the following to the[components]
section of yourtrac.ini file:
[components]tracvote.*=enabled
Configure the list ofURL paths to allow voting. Globs are supported, however not all realms (paths) are supported. Be sure to test the plugin on each path for which voting is allowed.
[vote]paths=/ticket*,/wiki*
This grants users theVOTE_VIEW
andVOTE_MODIFY
permission where appropriate.
Notes:
VOTE_MODIFY
inherits view permission sincetracvote-0.1.5
.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.
ExampleSQL statements for creating useful reports for tickets and wiki pages are included inSqlQueryForReport.txt in the plugin source.
You've done a new translation? Superb! Contributing your translation is highly appreciated.
You could send it to the plugin's maintainer or contribute toTrac plugin l10n projectviaTransifex:
Top translations: Trac_Plugin-L10N »voteplugin
The latest release has been published topypi:TracVote/0.7.0
Fixes#13685.
classifiers
metadataRefs#13685.
Refs#13324.
Author:athomas
Maintainer:Ryan J Ollos
Contributors:k0s,hasienda,PeterLawrence,cboos,jun66j5
Download all attachments as:.zip