Initial import.

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@1 d77cda62-7b1a-441a-8d08-c06ad5917f56
mv dev.cfg & ignore

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@2 d77cda62-7b1a-441a-8d08-c06ad5917f56
Small cleanup

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@3 d77cda62-7b1a-441a-8d08-c06ad5917f56
Schema/Model:
+ UserVotes View - returns # of votes a voter has cast for an election
Controller:
+ Handling code for maximum votes per user
+ Weighting for votes
Template:
+ Cheat way of verifing new Controller changes work :)


git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@4 d77cda62-7b1a-441a-8d08-c06ad5917f56
Controllers:
+ /admin/ namespace, we can use a special -1 election to work out mapping for username to admin rights (i.e. certain usergroups such as sysadmin-main)
Templates:
* list.html: move the for loop into <li>


git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@5 d77cda62-7b1a-441a-8d08-c06ad5917f56
Controllers:
* index() only displays elections with an id > 0
* info() now handles 'shortnames'
Templates:
* list.html now handles 'shortnames'


git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@6 d77cda62-7b1a-441a-8d08-c06ad5917f56
Close ticket #2 (Vote confirmation page)


git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@7 d77cda62-7b1a-441a-8d08-c06ad5917f56
Update svn:ignore & start controller for editing

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@8 d77cda62-7b1a-441a-8d08-c06ad5917f56
WIP - Edit Elections

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@9 d77cda62-7b1a-441a-8d08-c06ad5917f56
Implement Range Voting!


git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@10 d77cda62-7b1a-441a-8d08-c06ad5917f56
Comment out the debugger, enable date checks

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@11 d77cda62-7b1a-441a-8d08-c06ad5917f56
SCHEMA CHANGE
Small change to the view 'countvotes'


git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@12 d77cda62-7b1a-441a-8d08-c06ad5917f56
Gaa, handle ValueError for non integers

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@13 d77cda62-7b1a-441a-8d08-c06ad5917f56
More changes...  a results page\!

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@14 d77cda62-7b1a-441a-8d08-c06ad5917f56
Silly mistake

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@15 d77cda62-7b1a-441a-8d08-c06ad5917f56
Add some sanity checking

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@16 d77cda62-7b1a-441a-8d08-c06ad5917f56
Add election and election_started to info's dict so we can disable the form because the election starts, also show results if the election has ended.

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@17 d77cda62-7b1a-441a-8d08-c06ad5917f56
Just some WIP stuff relating to creating elections + string correction

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@18 d77cda62-7b1a-441a-8d08-c06ad5917f56
Close ticket #1 : add default sort order to candidates and to votes

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@19 d77cda62-7b1a-441a-8d08-c06ad5917f56
Some working signs of adding elections... needs A LOT of work

git-svn-id: svn+ssh://svn.fedorahosted.org/svn/elections/trunk@20 d77cda62-7b1a-441a-8d08-c06ad5917f56