Create polls based on tickets, or static arguments

Description

The PollMacro plugin adds polling to Trac.

Usage:

The poll data is stored in /tmp by default, but this can be overridden with the base_dir option in the [poll] section of TracIni.

[poll]
base_dir = /opt/trac/polltest/db/

Each voters name is displayed to the right of their choice.

The POLL_VIEW and TICKET_VIEW permission allows users to view the poll's result without the ability to vote. The POLL_VOTE permission allows users to vote.

Bugs/Feature Requests

Existing bugs and feature requests for PollMacro are here.

If you have any issues, create a new ticket.

Download

download:pollmacro

Source

You can check out the source for PollMacro from Subversion at http://trac-hacks.org/svn/pollmacro.

Example

[[Poll(What do you think of the Poll macro?; Cool; Crap)]]

gives:

What do you think of the Poll macro?
  • Cool (athomas, sineer, kparlar, Blackhex, gerryg, mocksoul, alf_igel, matias, aamk, mape, phpxcache, ChrisGreacen, jatyap, earobinson, dietmarw, alerocha, FilipeCorreia, sgissinger, rjollos)
  • Crap (mou)

Change Log

[4103] by athomas on 08/01/08 14:24:10

Applied patch from dietmarw. Thanks! Fixes #3487.

[4092] by athomas on 07/31/08 15:01:17

Branch 0.11 version. Fix some FD leaks, use config.Option, make Wiki formatting work.

[1156] by athomas on 08/19/06 07:43:23

PollMacro:

Skip invalid tickets. Closes #577.

[1155] by athomas on 08/19/06 07:29:25

PollMacro:

Committed fix for Python 2.3, from robert@broofa.com. Closes #594.

[943] by athomas on 06/24/06 13:17:36

PollMacro:

Update for Trac API change.

[843] by athomas on 06/11/06 09:23:35

PollMacro:

Whoops

Author/Contributors

Author: athomas
Contributors: