wiki:PollMacro

Create polls based on tickets or static arguments

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin is a macro that adds polling functionality to Trac.

The usage of this macro can be displayed with: [[MacroList(PollMacro)]].

As an example, the following can be added to a Trac wiki page:

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

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. Relative paths are resolved relative to the environment conf directory.

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

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

The following permissions are added with this plugin:

  • The POLL_VOTE permission allows users to vote.
  • The POLL_VIEW permissions allows users to view the poll's result.

See also: EasyPollMacro

Bugs/Feature Requests

Existing bugs and feature requests for PollMacro are here.

If you have any issues, create a new ticket.

defect

21 / 23

enhancement

2 / 8

task

2 / 2

Download

Download the zipped source from here.

Source

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

Installation

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

Recent Changes

16771 by rjollos on 2017-08-26 03:24:53
TracPoll 0.4.0dev: Add license info
16462 by rjollos on 2017-04-04 07:23:32
0.4.0dev: Use 32-bit hashes for compatibility
16397 by rjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
(more)

Author/Contributors

Author: athomas
Maintainer: none (needsadoption)
Contributors:

Last modified 4 years ago Last modified on May 14, 2020, 12:04:26 AM