Variety of improvements and additions:
author<mako@atdot.cc> <>
Fri, 14 Jul 2006 22:50:49 +0000 (18:50 -0400)
committer<mako@atdot.cc> <>
Fri, 14 Jul 2006 22:50:49 +0000 (18:50 -0400)
commit9abed97635edbac7fb1a687298fff5c5434cdff4
treeb5b18bdb23f0a17b1fdabb329d6686c37ade0df7
parent5a8b533b5abec8dc24674e4ef084b0b9779da8af
Variety of improvements and additions:

 * Much improved list screen for elections.
 * Initial voter-based interface based around tokens.
 * New uniq_token regenerating library.

Left things a little bit unstable including:

 * uniq_token should be refactored to provide only a class method.
 * voter list review page is unwritten
 * rankings are committed to the database but some sort somewhere seems
   to be botching things.
18 files changed:
app/controllers/elections_controller.rb
app/controllers/voter_controller.rb [new file with mode: 0644]
app/helpers/voter_helper.rb [new file with mode: 0644]
app/models/candidate.rb
app/models/election.rb
app/models/ranking.rb [new file with mode: 0644]
app/models/raw_voter_list.rb
app/models/vote.rb [new file with mode: 0644]
app/models/voter.rb
app/models/votes.rb [deleted file]
app/views/elections/list.rhtml
app/views/voter/index.rhtml [new file with mode: 0644]
lib/uniq_token.rb [new file with mode: 0644]
test/fixtures/rankings.yml [moved from test/fixtures/votes.yml with 100% similarity]
test/fixtures/vote.yml [new file with mode: 0644]
test/functional/voter_controller_test.rb [new file with mode: 0644]
test/unit/ranking_test.rb [new file with mode: 0644]
test/unit/vote_test.rb [moved from test/unit/votes_test.rb with 100% similarity]

Benjamin Mako Hill || Want to submit a patch?