Commit graph

750 commits

Author SHA1 Message Date
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
Tobias Mueller (ideabox)
9af61132e2 vote: 2013: Created candidacy list 2013-05-21 02:12:16 +02:00
Tobias Mueller
ce15e23ab4 vote: Added Tobias Mueller as a candidate 2013-05-08 10:41:26 +02:00
Andrea Veri
80b8030242 Add the the material for the 2013 Spring elections. 2013-05-03 14:03:59 +02:00
Tobias Mueller (ideabox)
d7ba6d1db1 elections2013: Provided the appropriate redirect for section 8.3 of the bylaws 2013-04-07 17:08:39 +02:00
Tobias Mueller (ideabox)
e8a782e30c election/2013: initial setup 2013-04-03 17:02:15 +02:00
Tobias Mueller (ideabox)
915936e69b bylaws: Updated CSS to make the HTML render nicely in Firefox
While the previous version worked in Epiphany, it didn't in Firefox.
This version works in both. And it looks semantically better.
2013-04-02 03:39:23 +02:00
Tobias Mueller (ideabox)
4accb41992 Added memberlist.py, a tool to JSON dump the member list
It has simplejson as a requirement. Python >2.6 ships it by default
IIRC. There is a version of simplejson compatible with Python >2.4.

You also need to have MySQL set up via ~/.my.cnf as the file referenced
in the imports states.
2013-02-06 16:50:00 +01:00
Tobias Mueller
85ede4c945 renewal-script: Make it not mail if there are no members needing renewal 2012-11-23 22:16:58 +01:00
Tobias Mueller
2e9d68fdf8 get_renewees: Order by lastname instead of last renewal date 2012-11-23 21:16:08 +00:00
Tobias Mueller (ideabox)
0f2851ef9f Updated Bylaws as per https://mail.gnome.org/archives/foundation-announce/2012-October/msg00000.html
As announced, this will be our new bylaws. Members did not have
objections, so the proposed changes will be accepted.

The changes themselves were discussed here: https://mail.gnome.org/archives/foundation-list/2012-August/msg00041.html
and a bug report was opened here: https://bugzilla.gnome.org/show_bug.cgi?id=683980
(cf. https://mail.gnome.org/archives/foundation-announce/2012-October/msg00001.html)

The HTML and LaTeX versions were generated using Python's docutils, i.e.
rst2latex and rst2html. The attached default.tex and bylaws.css help to
theme the resulting documents.
2012-11-07 13:24:59 +00:00
Tobias Mueller (ideabox)
c3574fd1ee Bylaws were converted to reStructuredText
This translation allows further modifications. We intend to change the
bylaws and this conversion shall facilitate making diffs and theme the
resulting documents more easily, i.e. HTML with CSS or LaTeX.

This is intended to be the conversion of the current bylaws in PDF
format. Unfortunately, the source of the PDF is not available, hence we
needed to convert from the binary PDF.
2012-11-07 13:20:51 +00:00
Tobias Mueller (ideabox)
2d2d969830 Hopefully fixed the generation of the 2007-10 referendum page 2012-07-16 20:36:48 +02:00
Tobias Mueller (ideabox)
fc5deb231c Added the 2007 referendum on the directors determining the term length
It was a bit messed up as the index.wml pointed to the very same
election twice, i.e. the election_id=1 *was* indeed the 2005-10
referendum. I guess that the plan was, back when the index.wml was
built, to reference the election_id=4, which is the term length
referendum, which didn't have a subfolder back then.
2012-07-16 19:43:49 +02:00
Andrea Veri
e5e01ed51b Add final result's announcement for the 2012 Elections. 2012-06-20 01:18:41 +02:00
Andrea Veri
bab29eebde Import the ballot for the GNOME Foundation 2012 Elections. 2012-06-11 19:19:38 +02:00
Andrea Veri
d80fbef63d Fixed a good bunch of broken urls. 2012-06-11 19:18:54 +02:00
Tobias Mueller
2bfd9dd8ef elections/2012: updated index.wml to link to vote interface
Tokens have been sent so people start to look for the voting interface.
2012-05-27 23:40:03 +02:00
Tobias Mueller
ea94e8e1be elections/2012: Added the list of candidates 2012-05-21 01:48:53 +02:00
Tobias Mueller
460bde8f64 renewal: added a new program to mail the members needing to renew
If you really want to send an email, you can run it with "-s" to not
accidentally flood someone. It reuses some logic from the other program but not nearly as much as I like. But it does the job for now.
2012-05-03 14:46:27 +00:00
Tobias Mueller
e9c889e58b get_renewees: added __str__ and __repr__ to have nice output on screen 2012-05-03 14:40:57 +00:00
Andrea Veri
50a8b19675 Fixed a couple of broken links. 2012-04-19 12:19:14 +02:00