wiki:PollMacro

Version 23 (modified by Ryan J Ollos, 7 years ago) (diff)

Changed person to whom new tickets are assigned. Confirmed to work with 0.12.

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 [download:pollmacro 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, Akinfold, hieroglyph, victorrbravo, rpshaw)
  • Crap (mou, sir_ken)

  • You don't have permission to vote. You may need to login.

Change Log

16266 by rjollos on 2017-02-23 01:43:54
0.4.0dev: Fix regression in r16265
16265 by rjollos on 2017-02-23 00:18:53

0.4.0dev: Make compatible with Trac 1.2

  • Drop support for Trac < 1.0
  • Conform to PEP8
  • Relative path for base_dir is relative to environment conf directory
14825 by rjollos on 2015-07-20 06:47:43
0.3.0dev: Require Trac >= 0.11.
(more)

Author/Contributors

Author: athomas
Maintainer: rjollos
Contributors:

TagIt(macro,athomas,0.8,0.9)?