Difference between revisions of "Election software"

From Wikimedia Australia
Jump to navigation Jump to search
(OpaVote)
(→‎Code: Update with remaining files)
Line 16: Line 16:
  
 
index.php handles most of the work. tally.inc is only responsible for calculating and outputting the final result. Other files are used to create the UI elements or load configuration, but have no core executable code.
 
index.php handles most of the work. tally.inc is only responsible for calculating and outputting the final result. Other files are used to create the UI elements or load configuration, but have no core executable code.
 +
 +
Other files are:
 +
 +
* [[Election software/export.php]]: Used to export the results of the election in a format suitable for counting in OpenSTV.
 +
* [[Election software/config.php]]: Has passwords and connection data. Must ''not'' be stored in a web-accessible directory.
 +
 +
HTML is managed by:
 +
 +
* [[Election software/template.inc]]: Basic template wrapping the program's output.
 +
* [[Election software/admin.inc]]: Little bit of HTML for providing an admin menu.
 +
* [[Election software/instructions.inc]]: HTML containing instructions for the user.
 +
* [[Election software/introduction.inc]]: HTML containing an introduction explaining how this works to the end user.
 +
* [[Election software/style.css]]: CSS file.
 +
 +
SQL is also available, including some test data.
 +
 +
* [[Election software/sql]]: Basic template wrapping the program's output.
  
 
==Other options==
 
==Other options==
 
* [http://www.opavote.org/details OpaVote] online election. Code is available via EULA - also could be on the internet
 
* [http://www.opavote.org/details OpaVote] online election. Code is available via EULA - also could be on the internet

Revision as of 14:54, 15 October 2012

Wikimedia Australia originally used memberdb for membership and AGM committee elections. At the April 2011 SGM the rules were amended to require that electronic voting "software source code [must be] available to the public 28 days before the ballot opens."

CiviCRM was implemented in 2010 for CRM and membership, and memberdb was again used at the 2011 AGM for the committee election.

In 2011 user:Bilby published a replacement software package.

After the Meeting:2011 AGM, our election officer and secretary wrote Election Report - 2011-2012 WMAU Committee Nominations and Voting.

Code

The software involves two main files:

index.php handles most of the work. tally.inc is only responsible for calculating and outputting the final result. Other files are used to create the UI elements or load configuration, but have no core executable code.

Other files are:

HTML is managed by:

SQL is also available, including some test data.

Other options

  • OpaVote online election. Code is available via EULA - also could be on the internet