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_VOTE permission allows users to vote. The POLL_VIEW permissions allows users to view the poll's result.

Bugs/Feature Requests

Existing bugs and feature requests for PollMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out the source for PollMacro from Subversion or browse the source.

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, koolhand, ziegenberg, dreamkxd, farialima, lucasrangit)
  • Crap (mou, sir_ken)

Change Log

[8475] by rjollos on 08/28/10 00:27:59

Added 0.12 directory and README instructing user to use 0.11 version with Trac 0.12. Fixes #7562.

[8467] by rjollos on 08/27/10 21:56:30

Add svn:ignore property for .project and .pydevproject`.

[8466] by rjollos on 08/27/10 21:54:43

  • Added new maintainer to setup.py.
  • Removed requirement for TICKET_VIEW permissions in order to view the poll. Fixes #1632.
  • Fixed unicode issue that was preventing more than one poll in some instances. Fixes #4918.

[7195] by otaku42 on 11/27/09 07:00:29

Fix typo in docstring which caused the example to fail with an error message, e.g. on the WikiMacros page. Thanks to cboos for pointing that out.

Author/Contributors

Author: athomas
Maintainer: rjollos
Contributors: