selectricity:selectricity.git
8 years agoadded yaml_db plugin
Benjamin Mako Hill [Thu, 18 Jun 2009 00:54:16 +0000 (20:54 -0400)]
added yaml_db plugin

8 years agofixed up a series of things in prepration for the stress test on friday
Benjamin Mako Hill [Thu, 18 Jun 2009 00:53:40 +0000 (20:53 -0400)]
fixed up a series of things in prepration for the stress test on friday

8 years agofixed a large number of bugs in the software (see wiki) over a days work
Benjamin Mako Hill [Wed, 17 Jun 2009 05:22:34 +0000 (01:22 -0400)]
fixed a large number of bugs in the software (see wiki) over a days work

8 years agoignore temporary files
Benjamin Mako Hill [Tue, 16 Jun 2009 21:11:48 +0000 (17:11 -0400)]
ignore temporary files

8 years agoupdated top the the new version of attachment_fu plugin to work out some
Benjamin Mako Hill [Tue, 16 Jun 2009 21:10:32 +0000 (17:10 -0400)]
updated top the the new version of attachment_fu plugin to work out some
rails 2.2 issues

8 years agoswitched license to agpl-3
Benjamin Mako Hill [Mon, 15 Jun 2009 14:10:22 +0000 (10:10 -0400)]
switched license to agpl-3

8 years agoupdated docs for git
Benjamin Mako Hill [Wed, 10 Jun 2009 14:19:15 +0000 (10:19 -0400)]
updated docs for git

8 years agoupdated the git ignore file
Benjamin Mako Hill [Wed, 10 Jun 2009 14:14:18 +0000 (10:14 -0400)]
updated the git ignore file

8 years agomoved over the git ignore file
Benjamin Mako Hill [Wed, 10 Jun 2009 14:13:19 +0000 (10:13 -0400)]
moved over the git ignore file

8 years agoupdated db schema
<mako@atdot.cc> [Wed, 10 Jun 2009 14:05:40 +0000 (10:05 -0400)]
updated db schema

8 years agofixed up kiosk mode
<mako@atdot.cc> [Mon, 8 Jun 2009 15:45:34 +0000 (11:45 -0400)]
fixed up kiosk mode

8 years agofixed the layout on the account summary page
<mako@atdot.cc> [Sun, 7 Jun 2009 12:48:11 +0000 (08:48 -0400)]
fixed the layout on the account summary page

8 years agoadded first stab at a kiosk mode
<mako@atdot.cc> [Sun, 7 Jun 2009 12:30:52 +0000 (08:30 -0400)]
added first stab at a kiosk mode

8 years agomerge everything back from mainline branch
<mako@atdot.cc> [Sun, 7 Jun 2009 09:44:11 +0000 (05:44 -0400)]
merge everything back from mainline branch

8 years agomerged in licensing changes (we'll have to undo this eventually)
<mako@atdot.cc> [Sun, 7 Jun 2009 09:39:45 +0000 (05:39 -0400)]
merged in licensing changes (we'll have to undo this eventually)

8 years agofixed licensing information for selectricity
<mako@atdot.cc> [Sat, 14 Feb 2009 17:27:09 +0000 (12:27 -0500)]
fixed licensing information for selectricity

8 years agomerged from devel
root [Fri, 23 Jan 2009 18:58:28 +0000 (13:58 -0500)]
merged from devel

8 years agocreate new open voter to allow open full elections
<mako@atdot.cc> [Sat, 27 Dec 2008 14:23:11 +0000 (09:23 -0500)]
create new open voter to allow open full elections

8 years agofix bug with token generator
<mako@atdot.cc> [Sat, 27 Dec 2008 13:30:22 +0000 (08:30 -0500)]
fix bug with token generator

8 years agomerged more fixes from devel
<mako@atdot.cc> [Sat, 27 Dec 2008 12:55:15 +0000 (07:55 -0500)]
merged more fixes from devel

8 years agomerged fixes from devel
root [Sat, 27 Dec 2008 12:54:39 +0000 (07:54 -0500)]
merged fixes from devel

8 years agofixed errors with election/class
<mako@atdot.cc> [Fri, 26 Dec 2008 19:39:46 +0000 (14:39 -0500)]
fixed errors with election/class

8 years agofix issue with db schema content version
<mako@atdot.cc> [Fri, 26 Dec 2008 19:37:41 +0000 (14:37 -0500)]
fix issue with db schema content version

8 years agomergec minor changes from live
<mako@atdot.cc> [Fri, 26 Dec 2008 18:28:02 +0000 (13:28 -0500)]
mergec minor changes from live

8 years agominor changes to clustering software
root [Fri, 26 Dec 2008 18:27:17 +0000 (13:27 -0500)]
minor changes to clustering software

8 years agoMajor update of Selectricity to work with Rails 2.2.2 from 1.2!
<mako@atdot.cc> [Fri, 28 Nov 2008 18:35:26 +0000 (13:35 -0500)]
Major update of Selectricity to work with Rails 2.2.2 from 1.2!

This included a large number of changes:

- removal of randarray.rb (features are not in the new version or ruby)
- removal of sparklines plugin and replacement with gemified version of
  sparklines and sparklines_generator
- addition of act_as_list plugin which is no longer in rails
- disabling of all API code because action_web_service is deprecated in
  favor of active_resource (!!!!)
- large number of miscellaneous updates to do the new rails 2ish

I've commented out the new features in the views (i.e., embedded) as
this is going to replace the LIVE version of Selectricity. We should
then test this well, slowly enable the new features, and get the tests i
old_api_code back work with an active_resource interface.

8 years agomerged in changes from live version
<mako@atdot.cc> [Thu, 27 Nov 2008 20:12:03 +0000 (15:12 -0500)]
merged in changes from live version

8 years agofixed colors on graphs
<mako@atdot.cc> [Thu, 27 Nov 2008 20:06:31 +0000 (15:06 -0500)]
fixed colors on graphs

9 years agoAn @edit=true declaration was missing from edit_voters that prevented the voter delet...
<jlsharps@mit.edu> [Mon, 25 Aug 2008 23:36:54 +0000 (19:36 -0400)]
An @edit=true declaration was missing from edit_voters that prevented the voter delete button from appearing. I palced the declaration back in the controller method rather than in the view file, which is different from the new_voters.rhtml file.

9 years agoThe account summary page has been updated, though the number of items displayed is...
<jlsharps@mit.edu> [Mon, 25 Aug 2008 22:43:30 +0000 (18:43 -0400)]
The account summary page has been updated, though the number of items displayed is still one too many. Choose one to eliminate if we want it all to fit within the colored area on the page.

9 years agoConditional that redircts to user profile page if too many elections in control panel...
<jlsharps@mit.edu> [Fri, 22 Aug 2008 22:48:50 +0000 (18:48 -0400)]
Conditional that redircts to user profile page if too many elections in control panel. Coincentally, the user profile needs some work. Removed scroll bar feature from control panel.

9 years agoCorrected typo on the 'show' page for election information.
<jlsharps@mit.edu> [Thu, 21 Aug 2008 18:09:37 +0000 (14:09 -0400)]
Corrected typo on the 'show' page for election information.

9 years agofix spelling error
<mako@atdot.cc> [Thu, 21 Aug 2008 17:15:46 +0000 (13:15 -0400)]
fix spelling error

9 years agofix type in description text
<mako@atdot.cc> [Mon, 18 Aug 2008 20:26:00 +0000 (16:26 -0400)]
fix type in description text

9 years agoScrollbar if someone creates too many electons to fit within defualt given room for...
<jlsharps@mit.edu> [Thu, 17 Jul 2008 21:46:20 +0000 (17:46 -0400)]
Scrollbar if someone creates too many electons to fit within defualt given room for control panel. Doesn't look too good yet.

9 years agoscrollbar appears if two many electons on control panel. ooks pretty nasty.
<jlsharps@mit.edu> [Mon, 30 Jun 2008 03:33:56 +0000 (23:33 -0400)]
scrollbar appears if two many electons on control panel. ooks pretty nasty.

9 years agoStreamlined and made more consistent the code that checks for custom skin uploads...
<jlsharps@mit.edu> [Wed, 4 Jun 2008 23:28:40 +0000 (19:28 -0400)]
Streamlined and made more consistent the code that checks for custom skin uploads. Add theme method is still pretty ugly though.

9 years agoAdded code to check for previously uploaded custom images and delete them, the newly...
<jlsharps@mit.edu> [Wed, 4 Jun 2008 22:07:37 +0000 (18:07 -0400)]
Added code to check for previously uploaded custom images and delete them, the newly uploaded ones can take their places. The code isn't pretty :(

9 years agocustimizable widgets now work for top_bar as well, btu still only with png's.
<jlsharps@mit.edu> [Fri, 30 May 2008 02:48:33 +0000 (22:48 -0400)]
custimizable widgets now work for top_bar as well, btu still only with png's.

9 years agowhoops, committed some errant javascript last time, here removed
<jlsharps@mit.edu> [Fri, 30 May 2008 02:43:34 +0000 (22:43 -0400)]
whoops, committed some errant javascript last time, here removed

9 years agoCustom embeddable code works for png's except for top_bar
<jlsharps@mit.edu> [Fri, 30 May 2008 02:42:46 +0000 (22:42 -0400)]
Custom embeddable code works for png's except for top_bar

9 years agofixed a typo in election controller in the edit_general_information method.
<jlsharps@mit.edu> [Thu, 29 May 2008 21:01:04 +0000 (17:01 -0400)]
fixed a typo in election controller in the edit_general_information method.

9 years agosave! changed to save for add_theme method, and a check to give the election an embed...
<jlsharps@mit.edu> [Thu, 29 May 2008 20:38:15 +0000 (16:38 -0400)]
save! changed to save for add_theme method, and a check to give the election an embed_custom_string was added to the edit method, in case they decide they want to give it a theme later.

9 years agoCan upload images on the edit_general_information page as well, but has no checks...
<jlsharps@mit.edu> [Thu, 29 May 2008 20:34:02 +0000 (16:34 -0400)]
Can upload images on the edit_general_information page as well, but has no checks in palce to make sure there's only one kind of each item.

9 years agoFile upload system for custom skins almost complete.
<jlsharps@mit.edu> [Thu, 29 May 2008 17:06:52 +0000 (13:06 -0400)]
File upload system for custom skins almost complete.

9 years agoIn the middle of adding custom theme supports. Skin_pictures table added to store...
<jlsharps@mit.edu> [Wed, 28 May 2008 17:24:40 +0000 (13:24 -0400)]
In the middle of adding custom theme supports. Skin_pictures table added to store metadata but final method of upload not yet complete.

9 years agominor changes to the election show page, still having trouble figuring out how to...
<jlsharps@mit.edu> [Thu, 22 May 2008 19:50:14 +0000 (15:50 -0400)]
minor changes to the election show page, still having trouble figuring out how to display results early for elections.

9 years agoThe results page should now work for scaling embeddableelections as well.
<jlsharps@mit.edu> [Thu, 22 May 2008 18:29:58 +0000 (14:29 -0400)]
The results page should now work for scaling embeddableelections as well.

9 years agothe embeddable widgets now grow or shrink to accomodate more candidates, there are...
<jlsharps@mit.edu> [Thu, 22 May 2008 17:38:38 +0000 (13:38 -0400)]
the embeddable widgets now grow or shrink to accomodate more candidates, there are no scroll bars.

9 years agoadded numbering back to embeddables, should count correctly no matter how many candid...
<jlsharps@mit.edu> [Tue, 13 May 2008 00:25:32 +0000 (20:25 -0400)]
added numbering back to embeddables, should count correctly no matter how many candidates there are.

9 years agoEmbeddable elctions now scale based on how many candidates in the election there...
<jlsharps@mit.edu> [Mon, 12 May 2008 23:44:22 +0000 (19:44 -0400)]
Embeddable elctions now scale based on how many candidates in the election there are. However, the iframe adds a scroolbar if there's more than 5 candidates, and shows whitespace at the bottom when there's less than five.

9 years agoindividual dark and light weidgets added as .png files, removed psd files
<jlsharps@mit.edu> [Sun, 11 May 2008 01:47:10 +0000 (21:47 -0400)]
individual dark and light weidgets added as .png files, removed psd files

9 years agoAdded individual widgets for embeddable voting to images folder, aboutot start editing.
<jlsharps@mit.edu> [Sun, 11 May 2008 01:12:24 +0000 (21:12 -0400)]
Added individual widgets for embeddable voting to images folder, aboutot start editing.

9 years agoelections marked as viewable will now dispaly a link to their results page while...
<jlsharps@mit.edu> [Fri, 9 May 2008 23:12:17 +0000 (19:12 -0400)]
elections marked as viewable will now dispaly a link to their results page while the election is on going, but not if there haven't been any voters.

9 years agoQuickVotes are now displayed in the control panel list - and you can click on
<jlsharps@mit.edu> [Fri, 9 May 2008 21:31:56 +0000 (17:31 -0400)]
QuickVotes are now displayed in the control panel list - and you can click on
them. They aren't specially marked yet though.

9 years agoAdded a check to make sure a voter has a valid email address before attempting ot...
<jlsharps@mit.edu> [Fri, 9 May 2008 20:56:16 +0000 (16:56 -0400)]
Added a check to make sure a voter has a valid email address before attempting ot e-mail them.

9 years agoOrdered pref tables so that the smallest margin of vicotry appears first and the...
<jlsharps@mit.edu> [Mon, 5 May 2008 23:33:06 +0000 (19:33 -0400)]
Ordered pref tables so that the smallest margin of vicotry appears first and the largest margin of victory appears last.

9 years agotwo minor changes that fix bugs with the quickvote
<mako@atdot.cc> [Fri, 25 Apr 2008 00:08:55 +0000 (20:08 -0400)]
two minor changes that fix bugs with the quickvote

9 years agoFixed minor spelling errors on results pages, tried to fix quickvotes bug but unsucce...
<jlsharps@mit.edu> [Sat, 12 Apr 2008 20:04:29 +0000 (16:04 -0400)]
Fixed minor spelling errors on results pages, tried to fix quickvotes bug but unsuccesful. NO changes made to application and quickvote controller

9 years agoAdded a link to open elections off the election's 'show' page
<jlsharps@mit.edu> [Mon, 31 Mar 2008 22:09:58 +0000 (18:09 -0400)]
Added a link to open elections off the election's 'show' page

9 years agoThe schema file should now be correct
<jlsharps@mit.edu> [Mon, 31 Mar 2008 21:22:29 +0000 (17:22 -0400)]
The schema file should now be correct

9 years agoTODO has been modified to relfect bug changes already delt with. Also, autogenerated...
<jlsharps@mit.edu> [Mon, 31 Mar 2008 21:06:56 +0000 (17:06 -0400)]
TODO has been modified to relfect bug changes already delt with. Also, autogenerated db/schema.rb file for easy reloading of database structure. use 'rake db:schema:load name_of_file'

9 years agomerge from live
<mako@atdot.cc> [Mon, 31 Mar 2008 18:55:53 +0000 (14:55 -0400)]
merge from live

9 years agofix for bug introduces with full versions
<mako@atdot.cc> [Mon, 31 Mar 2008 18:55:32 +0000 (14:55 -0400)]
fix for bug introduces with full versions

9 years agocleaned up minor issues from testing embeddable code
<mako@atdot.cc> [Tue, 19 Feb 2008 14:56:54 +0000 (09:56 -0500)]
cleaned up minor issues from testing embeddable code

9 years agoadded first full working version of embeddable elections
<mako@atdot.cc> [Tue, 19 Feb 2008 14:24:06 +0000 (09:24 -0500)]
added first full working version of embeddable elections

- added several new fields to the database to support unauthenticated,
  embeddable, and early result visible full elections

- modified full election create to allow for proper options and to
  display the full election code

- added new layouts, views, css, and images for embeddable elections

- modified full elections to work with the new form of images in the
  last commit

- fixed several bugs related to vote recording and timestamp,s

9 years agomerged back from production
<mako@atdot.cc> [Mon, 18 Feb 2008 00:55:09 +0000 (19:55 -0500)]
merged back from production

9 years agoadded attachment_fu and made the set of changes
<mako@atdot.cc> [Mon, 18 Feb 2008 01:00:41 +0000 (20:00 -0500)]
added attachment_fu and made the set of changes

9 years agoinput license information so that the work can be under the AGPLv3
<mako@atdot.cc> [Fri, 15 Feb 2008 22:03:55 +0000 (17:03 -0500)]
input license information so that the work can be under the AGPLv3

9 years agoremoved login information (a few people have found it)
<mako@atdot.cc> [Fri, 15 Feb 2008 03:02:12 +0000 (22:02 -0500)]
removed login information (a few people have found it)

9 years agomerged in changes from devel branch
<mako@atdot.cc> [Mon, 11 Feb 2008 15:51:37 +0000 (10:51 -0500)]
merged in changes from devel branch

9 years agomerged changes back from live
<mako@atdot.cc> [Mon, 11 Feb 2008 15:50:53 +0000 (10:50 -0500)]
merged changes back from live

9 years agoadded cluster and production scripts
<mako@atdot.cc> [Mon, 11 Feb 2008 15:49:39 +0000 (10:49 -0500)]
added cluster and production scripts

9 years agofix typos and minor issues
<mako@atdot.cc> [Mon, 11 Feb 2008 15:49:18 +0000 (10:49 -0500)]
fix typos and minor issues

9 years agodisabled mem cache
<mako@atdot.cc> [Mon, 11 Feb 2008 15:48:29 +0000 (10:48 -0500)]
disabled mem cache

9 years agomerged back from live
<mako@atdot.cc> [Mon, 11 Feb 2008 15:47:22 +0000 (10:47 -0500)]
merged back from live

9 years agoadded the ability to add safe html tags to input (i.e., images)
<mako@atdot.cc> [Mon, 11 Feb 2008 15:49:30 +0000 (10:49 -0500)]
added the ability to add safe html tags to input (i.e., images)
- added new white_list_plugin
- changed it so that it is being used for candidate names in quickvotes

9 years agospelling and superficial errors
<mako@atdot.cc> [Mon, 11 Feb 2008 15:48:50 +0000 (10:48 -0500)]
spelling and superficial errors
- created a new todo list with feedback from first full elections
- made spelling and superficial errors based on feedback

9 years agoadded template left out from last committ by accident
<mako@atdot.cc> [Wed, 6 Feb 2008 06:40:23 +0000 (01:40 -0500)]
added template left out from last committ by accident

9 years agomerged in support for full election results
<mako@atdot.cc> [Wed, 6 Feb 2008 06:39:33 +0000 (01:39 -0500)]
merged in support for full election results

9 years agoadded support for results for full elections
<mako@atdot.cc> [Wed, 6 Feb 2008 06:38:47 +0000 (01:38 -0500)]
added support for results for full elections

this included a full details page, a pop-up preferences tables, some
general reorganization of things due to new reusing, and several typo
and bug fixing

9 years agofixed some typos caught in the first usage
<mako@atdot.cc> [Thu, 31 Jan 2008 02:07:15 +0000 (21:07 -0500)]
fixed some typos caught in the first usage

9 years agofirst (mostly) working version of full elections.
<mako@atdot.cc> [Thu, 31 Jan 2008 03:05:21 +0000 (22:05 -0500)]
first (mostly) working version of full elections.

Lots of work, the vast majority of it superficial, to get full election
support ready. The creation is still a little rough and results are not
online yet but everything else is good to go.

9 years agomerged changed in from devel to activate voting in full elections
<mako@atdot.cc> [Thu, 31 Jan 2008 02:06:07 +0000 (21:06 -0500)]
merged changed in from devel to activate voting in full elections

also, fixed some typos in the merged code

9 years agolicensed under the AGPL
<mako@atdot.cc> [Wed, 17 Oct 2007 00:59:09 +0000 (20:59 -0400)]
licensed under the AGPL

9 years agoupdated README file with additional dependency information
<mako@atdot.cc> [Wed, 17 Oct 2007 00:42:50 +0000 (20:42 -0400)]
updated README file with additional dependency information

10 years agomerged changes back from the production version
<mako@atdot.cc> [Wed, 5 Sep 2007 19:56:21 +0000 (15:56 -0400)]
merged changes back from the production version

10 years agofix css malforming very long headers
<mako@atdot.cc> [Wed, 5 Sep 2007 19:58:24 +0000 (15:58 -0400)]
fix css malforming very long headers

10 years agofixed rendering error with css
<mako@atdot.cc> [Wed, 5 Sep 2007 19:21:31 +0000 (15:21 -0400)]
fixed rendering error with css

10 years agonew api key
<mako@atdot.cc> [Wed, 5 Sep 2007 19:20:23 +0000 (15:20 -0400)]
new api key

10 years agoturned off memcache as it was causing trouble
<mako@atdot.cc> [Wed, 5 Sep 2007 19:20:05 +0000 (15:20 -0400)]
turned off memcache as it was causing trouble

10 years agofixed up the results page in a number of ways
<mako@atdot.cc> [Wed, 5 Sep 2007 17:09:46 +0000 (13:09 -0400)]
fixed up the results page in a number of ways

10 years agochanged instance of hyperchad to selectricity
<mako@atdot.cc> [Wed, 5 Sep 2007 16:38:09 +0000 (12:38 -0400)]
changed instance of hyperchad to selectricity

10 years agofixed up the results page in a number of ways
<mako@atdot.cc> [Wed, 5 Sep 2007 16:30:19 +0000 (12:30 -0400)]
fixed up the results page in a number of ways

10 years agominor fixes to the templates
<mako@atdot.cc> [Wed, 5 Sep 2007 16:25:49 +0000 (12:25 -0400)]
minor fixes to the templates

10 years agoadded di logo to thanks page
<mako@atdot.cc> [Wed, 5 Sep 2007 16:05:14 +0000 (12:05 -0400)]
added di logo to thanks page

10 years agofixed recent quickvotes for real
<mako@atdot.cc> [Wed, 5 Sep 2007 16:04:58 +0000 (12:04 -0400)]
fixed recent quickvotes for real

10 years agominor fixes to the templates
<mako@atdot.cc> [Wed, 5 Sep 2007 15:47:31 +0000 (11:47 -0400)]
minor fixes to the templates

10 years agoswap around the recent quickvotes
<mako@atdot.cc> [Wed, 5 Sep 2007 15:47:06 +0000 (11:47 -0400)]
swap around the recent quickvotes

10 years agomerged in some more fixes fromdevel
<mako@atdot.cc> [Wed, 5 Sep 2007 15:47:04 +0000 (11:47 -0400)]
merged in some more fixes fromdevel