selectricity
7 years agofix security issue master
Benjamin Mako Hill [Wed, 9 Jan 2013 16:43:27 +0000 (11:43 -0500)]
fix security issue

8 years agoMerge branch 'master' of git://gitorious.org/~ruinar/selectricity/ruinar-selectricity
Benjamin Mako Hill [Sun, 17 Jun 2012 23:23:16 +0000 (19:23 -0400)]
Merge branch 'master' of git://gitorious.org/~ruinar/selectricity/ruinar-selectricity

8 years agoSuppress description of voter-verifiability unless election is verifiable.
C. Scott Ananian [Sat, 22 Jan 2011 08:44:03 +0000 (03:44 -0500)]
Suppress description of voter-verifiability unless election is verifiable.

8 years agoWork around CGI/fCGI bug with Webkit browsers.
C. Scott Ananian [Sat, 22 Jan 2011 19:26:07 +0000 (14:26 -0500)]
Work around CGI/fCGI bug with Webkit browsers.

http://www.google.com/search?q=ruby+rails+FAILSAFE+%22frozen+string%22
for more information.

8 years agoCorrect some help text.
C. Scott Ananian [Sat, 22 Jan 2011 08:43:43 +0000 (03:43 -0500)]
Correct some help text.

8 years agoFix midnight end times.
C. Scott Ananian [Sat, 22 Jan 2011 08:41:43 +0000 (03:41 -0500)]
Fix midnight end times.

8 years agoTurn Borda Bar graph on its side.
C. Scott Ananian [Sat, 22 Jan 2011 08:38:47 +0000 (03:38 -0500)]
Turn Borda Bar graph on its side.

This accomodates longer candidate names and longer candidate lists.

8 years agoAdd links to create new election/quick vote on the account summary screen.
C. Scott Ananian [Sat, 22 Jan 2011 08:42:16 +0000 (03:42 -0500)]
Add links to create new election/quick vote on the account summary screen.

8 years agoFix errors when viewing results as election creator before election close.
C. Scott Ananian [Sat, 22 Jan 2011 08:42:57 +0000 (03:42 -0500)]
Fix errors when viewing results as election creator before election close.

8 years agoMerge branch 'live' of ssh://ephesus.xvm.mit.edu/org/selectricity/selectricity-live
Benjamin Mako Hill [Sun, 17 Jun 2012 22:59:36 +0000 (18:59 -0400)]
Merge branch 'live' of ssh://ephesus.xvm.mit.edu/org/selectricity/selectricity-live

Conflicts:
README
app/controllers/voter_controller.rb
app/views/layouts/_footer.rhtml

8 years agoupdate footer to represent the new C4FCM name
Benjamin Mako Hill [Sun, 17 Jun 2012 22:50:03 +0000 (18:50 -0400)]
update footer to represent the new C4FCM name

8 years agoupdated README with new git repository home
Benjamin Mako Hill [Sun, 17 Jun 2012 22:48:16 +0000 (18:48 -0400)]
updated README with new git repository home

We've moved the main repository from gitorious to projects.mako.cc which is a
better permanent home.

8 years agofix bug/typo in plurality results around candidate.id and candidate_id
Benjamin Mako Hill [Sun, 17 Jun 2012 22:46:32 +0000 (18:46 -0400)]
fix bug/typo in plurality results around candidate.id and candidate_id

8 years agoremoved old debugger code that was accidentally committed
Benjamin Mako Hill [Sun, 17 Jun 2012 22:46:11 +0000 (18:46 -0400)]
removed old debugger code that was accidentally committed

8 years agofix bug that allowed votes with more rankings than candidates to be recorded
Benjamin Mako Hill [Sun, 17 Jun 2012 22:45:25 +0000 (18:45 -0400)]
fix bug that allowed votes with more rankings than candidates to be recorded

8 years agofixed and re-enabled support for memcache in the production site
Benjamin Mako Hill [Sun, 17 Jun 2012 22:42:57 +0000 (18:42 -0400)]
fixed and re-enabled support for memcache in the production site

9 years agoUser summary method is now more secure. Email change method prtects account SQL injec...
justin [Thu, 14 Apr 2011 07:44:08 +0000 (00:44 -0700)]
User summary method is now more secure. Email change method prtects account SQL injection and meta characters, but doesn't do address validation.

9 years agoAdded funcitionality so user can change the email address associated with their accou...
justin [Thu, 14 Apr 2011 06:32:19 +0000 (23:32 -0700)]
Added funcitionality so user can change the email address associated with their account. Don't think it's particular robust, but was implemented via model attribute assignment methods, so carries any of those associated benefits.

9 years agoAdded funcitionality so user can change the email address associated with their accou...
justin [Thu, 14 Apr 2011 06:29:43 +0000 (23:29 -0700)]
Added funcitionality so user can change the email address associated with their account. Don't think it's particular robust, but was implemented via model attribute assignment methods, so carries any of those associated benefits.

9 years agoAdded some minor TODO's for increased user funcitonality. Change email, beautify...
justin [Sat, 5 Mar 2011 23:39:47 +0000 (15:39 -0800)]
Added some minor TODO's for increased user funcitonality. Change email, beautify user dashboard, make is possible to cancel elections that haven't been started but have been created.

9 years agoChanged justin's email in README because mit.edu address is out of date.
justin [Sat, 5 Mar 2011 22:14:27 +0000 (14:14 -0800)]
Changed justin's email in README because mit.edu address is out of date.

9 years agoreferenced mailing list and gitorious (finally?)
Benjamin Mako Hill [Tue, 7 Sep 2010 14:05:28 +0000 (10:05 -0400)]
referenced mailing list and gitorious (finally?)

9 years agoreferenced mailing list and gitorious
Benjamin Mako Hill [Tue, 7 Sep 2010 14:05:28 +0000 (10:05 -0400)]
referenced mailing list and gitorious

9 years agoreferenced mailing list and gitorious
Benjamin Mako Hill [Tue, 7 Sep 2010 14:05:28 +0000 (10:05 -0400)]
referenced mailing list and gitorious

9 years agoreferenced mailing list and gitorious
Benjamin Mako Hill [Tue, 7 Sep 2010 14:05:28 +0000 (10:05 -0400)]
referenced mailing list and gitorious

9 years agoimproved dependency information
Benjamin Mako Hill [Mon, 6 Sep 2010 17:17:41 +0000 (13:17 -0400)]
improved dependency information

9 years agoUpdated readme with better branch information.
Benjamin Mako Hill [Mon, 6 Sep 2010 16:33:29 +0000 (12:33 -0400)]
Updated readme with better branch information.
In particular, there is no need for the live branch any more so I've
removed that and replaced it with information on switching to the live
branch within the repository.

9 years agoLink to source code more prominently.
Benjamin Mako Hill [Mon, 6 Sep 2010 16:36:44 +0000 (12:36 -0400)]
Link to source code more prominently.

I added a more prominent link to the source code.

9 years agomerged in from code from the other master
Benjamin Mako Hill [Mon, 6 Sep 2010 18:32:41 +0000 (14:32 -0400)]
merged in from code from the other master

9 years agoMerge remote branch 'deployment/live' into live
Benjamin Mako Hill [Mon, 6 Sep 2010 18:09:20 +0000 (14:09 -0400)]
Merge remote branch 'deployment/live' into live

9 years agoremoved unnecessary line/
Benjamin Mako Hill [Mon, 6 Sep 2010 18:07:34 +0000 (14:07 -0400)]
removed unnecessary line/

9 years agoMerge remote branch 'remotes/deployment/master' into live
Benjamin Mako Hill [Mon, 6 Sep 2010 17:23:01 +0000 (13:23 -0400)]
Merge remote branch 'remotes/deployment/master' into live

9 years agoimproved dependency information
Benjamin Mako Hill [Mon, 6 Sep 2010 17:17:41 +0000 (13:17 -0400)]
improved dependency information

9 years agoLink to source code more prominently.
Benjamin Mako Hill [Mon, 6 Sep 2010 16:36:44 +0000 (12:36 -0400)]
Link to source code more prominently.

I added a more prominent link to the source code.

9 years agoUpdated readme with better branch information.
Benjamin Mako Hill [Mon, 6 Sep 2010 16:33:29 +0000 (12:33 -0400)]
Updated readme with better branch information.
In particular, there is no need for the live branch any more so I've
removed that and replaced it with information on switching to the live
branch within the repository.

10 years agoadd votemail
Benjamin Mako Hill [Mon, 24 May 2010 21:39:59 +0000 (17:39 -0400)]
add votemail

10 years agofix mispelling in about screen
Benjamin Mako Hill [Wed, 23 Dec 2009 06:46:02 +0000 (01:46 -0500)]
fix mispelling in about screen

10 years agocluster configuration for new machine
Benjamin Mako Hill [Wed, 23 Dec 2009 07:49:27 +0000 (02:49 -0500)]
cluster configuration for new machine

10 years agofix mispelling in about screen
Benjamin Mako Hill [Wed, 23 Dec 2009 06:46:02 +0000 (01:46 -0500)]
fix mispelling in about screen

10 years agofix mispelling in about screen
Benjamin Mako Hill [Wed, 23 Dec 2009 06:46:02 +0000 (01:46 -0500)]
fix mispelling in about screen

10 years agomade the license clear
Benjamin Mako Hill [Wed, 23 Dec 2009 01:49:54 +0000 (20:49 -0500)]
made the license clear

Conflicts:

README

10 years agomade the license clear
Benjamin Mako Hill [Wed, 23 Dec 2009 01:48:39 +0000 (20:48 -0500)]
made the license clear

10 years agoadded a little more installation information
Benjamin Mako Hill [Mon, 16 Nov 2009 19:40:55 +0000 (14:40 -0500)]
added a little more installation information

10 years agomove to agplv3
Benjamin Mako Hill [Mon, 26 Oct 2009 23:34:42 +0000 (19:34 -0400)]
move to agplv3

11 years agoadded new tests and fixtures
Benjamin Mako Hill [Thu, 18 Jun 2009 00:54:47 +0000 (20:54 -0400)]
added new tests and fixtures

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

11 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

11 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

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

11 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

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

11 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

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

11 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

11 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

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

11 years agoupdated and moved ignore file
Benjamin Mako Hill [Wed, 10 Jun 2009 14:04:13 +0000 (10:04 -0400)]
updated and moved ignore file

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

11 years agofix weird bug with showing results from open elections
<mako@atdot.cc> [Mon, 8 Jun 2009 13:06:58 +0000 (09:06 -0400)]
fix weird bug with showing results from open elections

11 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

11 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

11 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

11 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)

11 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

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

11 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

11 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

11 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

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

11 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

11 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

11 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

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

11 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.

11 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

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

11 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.

11 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.

11 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.

11 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.

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

11 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

11 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.

12 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.

12 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.

12 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 :(

12 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.

12 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

12 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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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

Benjamin Mako Hill || Want to submit a patch?