Commit graph

721 commits

Author SHA1 Message Date
Bradley M. Kuhn
611142c18f Remove duplicate election_tmp_tokens CREATE:
I added this earlier not realizing it was elsewhere in the file.  However, my
comment is probably useful so I've left it.
2014-02-10 12:17:32 -05:00
Bradley M. Kuhn
ffe0af6767 Symlink README.md to README for gitorious happiness 2014-02-10 12:12:51 -05:00
Bradley M. Kuhn
17d144fbc8 Merge in branch created for forking GNOME Foundation voting system into Conservancy's own system. 2014-02-10 12:11:10 -05:00
Bradley M. Kuhn
07433c6609 Remove GNOME specific text in headers, footers and related places. 2014-02-10 12:09:35 -05:00
Bradley M. Kuhn
2e2dc1f01e Fix typo. 2014-02-10 11:58:23 -05:00
Bradley M. Kuhn
2e7cf50e4c A few formatting fixes, only whitespace changes here. 2014-02-10 11:10:19 -05:00
Bradley M. Kuhn
a2f845a62f Explain the purpose and reasons for this project in the first place. 2014-02-10 11:09:14 -05:00
Bradley M. Kuhn
1797f6be62 Improve textual output for verification page. 2014-02-09 19:06:00 -05:00
Bradley M. Kuhn
f5872caf9d Choice lookup needs to happen here by the info we have,
which is anon_token_id.
This adds the functions and code necessary to do that.
This is probably a bit of a hack.
2014-02-09 19:04:33 -05:00
Bradley M. Kuhn
2deda98022 Correct URL name. 2014-02-09 18:47:20 -05:00
Bradley M. Kuhn
4e29b1d107 Correct variable name;
I suspect that a previous bad cut and paste caused this.
2014-02-09 18:46:54 -05:00
Bradley M. Kuhn
5865715712 Only fail if the lookup when the $anon_token_id is not found. 2014-02-09 18:44:30 -05:00
Bradley M. Kuhn
80c0efa2d9 Create a verification page,
so that voters can see how they voted online before the election actually
ends.
2014-02-09 17:24:32 -05:00
Bradley M. Kuhn
983e846593 Remove text describing GNOME Election,
although this is now as Conservancy specific as it was GNOME specific before.
2014-02-09 17:23:47 -05:00
Bradley M. Kuhn
b65555b2cd SELECT is also needed on election_votes for blt.php to work. 2013-12-18 19:10:57 -05:00
Bradley M. Kuhn
84c9402b81 Fix one other place where an email address is hard-coded. 2013-12-18 19:06:35 -05:00
Bradley M. Kuhn
047e7d98dd Another small formatting fix. 2013-12-18 19:05:03 -05:00
Bradley M. Kuhn
8f85cfe905 Note about how to deal with problems. 2013-12-18 19:04:41 -05:00
Bradley M. Kuhn
a20b46f973 Formatting and whitespace changes in README to make it more markdown-y. 2013-12-18 19:04:25 -05:00
Bradley M. Kuhn
a4a320a6b6 election_tmp_tokens table should be created by schema.sql
This table, which is essential to the election, was not listed in the
schema.sql.  This adds a CREATE TABLE command for it.
2013-12-18 18:55:23 -05:00
Bradley M. Kuhn
dce402d2ad Create election_voters table & adapt code to use it instead of foundationmembers.
foundationmembers was a table specific to the GNOME Foundation.  This new
table, election_voters, allows creation of an electorate based on a list.

README is updated to explain how to use this table.
2013-12-18 18:53:50 -05:00
Bradley M. Kuhn
cf3f3e5180 preference field belongs in election_votes table.
It's clear from the PHP code that there should be an integer field called
'preference' in the election_votes table.  I suspect that at some point there
was an ALTER TABLE done that wasn't reflected in the schema.sql file.
2013-12-18 18:47:16 -05:00
Bradley M. Kuhn
b1d5cc17b6 More details on how to run an election and documentation of setup. 2013-12-18 18:09:12 -05:00
Bradley M. Kuhn
35e87c2c65 Don't refer back to a list; just tell the user they must have election_id.
This is probably not the right long-term solution.  Ideally, I think it'd be
useful if elections could be marked private or public, and elections that are
public would be listed automatically, and private ones wouldn't appear.

It seems there are some remnants in the code that make it look like someone
was going to make a step 0, which would list the elections from the database,
but that was never done.

So, I've hard-coded what I wanted here, in hopes someone else comes along and
does it up right.
2013-12-18 17:33:06 -05:00
Bradley M. Kuhn
f3fab42403 Make variables for name of committee running election and its email address.
GNOME's Election committee was previously hard-code here, but the code is
more reusable if it is no longer hard-coded.  The variables still default to
GNOME's details, but can be overridden with the configuration file.
2013-12-18 17:26:15 -05:00
Bradley M. Kuhn
3fe51fca2d Begin details of GRANTs needed for proper operation here. 2013-12-18 17:09:49 -05:00
Bradley M. Kuhn
78bef629e3 Better error message here. 2013-12-18 17:09:12 -05:00
Bradley M. Kuhn
ae66e56a59 Note format of file. 2013-12-18 17:09:04 -05:00
Tobias Mueller (ideabox)
45efacd1a2 Releasing the bin/ scripts under GPLv3+ 2013-12-18 15:44:26 -05:00
Bradley M. Kuhn
e41f84406e Add mysql command to create tables. 2013-12-18 15:43:58 -05:00
Bradley M. Kuhn
032e932d35 First two steps of setting up one's own instance of just the voting part. 2013-12-18 15:42:29 -05:00
Bradley M. Kuhn
6008db6237 Properly format schema.sql for MySQL & drop tables first.
With this change, schema.sql can be run directly from the mysql command line,
with a command such as:
$ mysql -u root -p -D dbname < .../vote/include/schema.sql
2013-12-18 15:38:02 -05:00
Tobias Mueller (ideabox)
486163628c Releasing the bin/ scripts under GPLv3+ 2013-12-18 20:15:44 +01:00
Bradley M. Kuhn
2b47703a0c Remove reference to GNOME elections committee. 2013-12-18 13:57:42 -05:00
Bradley M. Kuhn
9365117edd No longer reference removed directories. 2013-12-18 13:14:03 -05:00
Bradley M. Kuhn
e1c74e6acc Remove records of old GNOME Foundation Elections pre-2013.
We're going to use this to run Conservancy project elections in future, and
as such we don't need records of old GNOME elections.

I'm leaving 2013 to use as a template.
2013-12-17 13:23:19 -05:00
Bradley M. Kuhn
9061eca876 Remove references to things other than the vote stuff in configure scripts. 2013-12-17 13:19:12 -05:00
Bradley M. Kuhn
a298ac56de I'm the maintainer of this fork of the GNOME voting stuff. 2013-12-17 13:15:57 -05:00
Bradley M. Kuhn
65888b9b5d Remove foundation.gnome.org directory entirely. 2013-12-17 13:15:18 -05:00
Bradley M. Kuhn
8dde472f6c foundation.gnome.org not needed in this case, as only using this for voting. 2013-12-17 13:14:33 -05:00
Bradley M. Kuhn
196ab37386 Removing this Makefile.am, as I'm moving the voting one back one directory. 2013-12-17 13:14:00 -05:00
Bradley M. Kuhn
eaa2a96cfa Remove a few additional files not needed to use this only for voting. 2013-12-17 13:13:16 -05:00
Bradley M. Kuhn
a14e97622d Remove everything that's actually the GNOME website.
I'm only going to use this for voting.
2013-12-17 13:09:55 -05:00
Tobias Mueller (ideabox)
d1fa3fa6ea Rephrased renewal mail to not mention renewal as we don't do renewals 2013-08-06 12:31:06 +02:00
Andrea Veri
4e6d8b2ec9 Here too. 2013-07-25 11:32:35 +02:00
Andrea Veri
42e4f9a938 Convert all the relevant URLs to https. 2013-07-25 11:17:14 +02:00
Tobias Mueller
e9d7254a20 vote: Added the votes for 2013 2013-06-12 12:21:47 +02:00
Andrea Veri
cd23f5b441 Publish the election results for the 2013 election. 2013-06-10 17:42:00 +02:00
Tobias Mueller
4a60aefcbd vote: Made the link to the 2013 votes visible 2013-06-10 11:01:26 +02:00
Tobias Mueller (ideabox)
d9f315eb17 vote: 2013: Made candidates visible 2013-05-21 02:13:51 +02:00