From: Joachim Filip Bartosik <jbartosik@gmail.com>
To: gentoo-soc@lists.gentoo.org
Subject: [gentoo-soc] Re: Council web app - introduction
Date: Mon, 30 May 2011 19:23:44 +0200 [thread overview]
Message-ID: <4DE3D2A0.80305@gmail.com> (raw)
In-Reply-To: <4DE3D1AB.90203@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2919 bytes --]
(Note: this is c&p from my blog [0])
I’m going to finish work early (first week of August) so I started
working three weeks ago.
Some functionality is ready:
Anyone can view agendas
Agenda has state:
Open – council members and administrators can edit it.
Closed for submissions – when meeting is close and no one
should change agenda.
Meeting ongoing – currently unused.
Old – old agendas, no one can change them.
There is always exactly one agenda in state different then “old”
(that is in open, closed for submissions or meeting ongoing state). cal
this agenda “current agenda”.
There is list of agenda items
Every item has fields for title, description, and discussion(s).
Any registered user can create a new item. Initially item is
not assigned to agenda. There is listing of all unassigned (suggested)
agenda items.
Council members can add it to current agenda. Items added to
agenda don’t appear any more on the suggested agenda items list. They
appear as agenda items for a specific agenda.
Council members can reject it. Rejected items don’t appear
on suggested agenda items list.
For every agenda item there is voting options list.
Anyone can register
Registered user can be marked as administrator
Registered user can be marked as council member
I started work on the IRC bot
When someone says #startmeeting (in addition to everything
MeetBot usually does) it obtains two JSON files containing:
Array of nicks allowed to vote on the meeting
Array of agenda items. Each agenda item is array. First item
of that array is title of agenda item. Second item is array with voting
options for agenda item.
This looks a more complicated then it really is, so here is
an example: suppose current has two two items: ‘What I will eat for
diner’ and ‘Should I walk the dog before or after dinner’. Voting
options for the first one are ‘Pizza’, ‘Sandwiches’ and ‘Nothing’.
Choices for the second one are ‘Yes’ and ‘No’. This results in an array:
[["What I will eat for diner", ["Pizza", "Sandwiches",
"Nothing"]], ["Should I walk the dog before or after dinner", ["Yes",
"No"]]]
Other commands I added are: #nextitem, #previtem (to change
currently discussed item), #startvote, #endvote, #vote(to vote).
When someone issues #endmeeting command bot posts voting results
(JSON with hash mapping agenda item title to hash mapping nick to voting
choice).
For short description of project and sources, read this[1].
[0]
http://ahenobarbi.wordpress.com/2011/05/30/council-application-weekly-report-1/
[1]
http://ahenobarbi.wordpress.com/2011/05/30/council-application-short-introduction/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]
next prev parent reply other threads:[~2011-05-30 17:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-30 17:19 [gentoo-soc] Council web app - introduction Joachim Filip Bartosik
2011-05-30 17:23 ` Joachim Filip Bartosik [this message]
2011-06-07 20:05 ` [gentoo-soc] Council web app - weekly report #2 Joachim Filip Bartosik
2011-06-13 8:46 ` [gentoo-soc] Re: Council web app - weekly report #3 Joachim Filip Bartosik
2011-06-13 13:24 ` Rich Freeman
2011-06-20 9:38 ` [gentoo-soc] Council web app - weekly report #4 Joachim Filip Bartosik
2011-06-28 10:40 ` [gentoo-soc] Council application – weekly report #5 Joachim Filip Bartosik
[not found] ` <4E12EA38.2080007@gmail.com>
2011-07-15 15:26 ` [gentoo-soc] Council application – weekly report #6 Joachim Bartosik
[not found] ` <4E1C536B.6060605@gmail.com>
2011-07-15 15:27 ` [gentoo-soc] Council application – weekly report #7 Joachim Bartosik
2011-07-15 15:34 ` Donnie Berkholz
2011-07-19 12:06 ` [gentoo-soc] Council application – weekly report #8 Joachim Bartosik
2011-07-25 12:50 ` [gentoo-soc] Re: Council web app - introduction Joachim Bartosik
2011-08-01 14:42 ` [gentoo-soc] Council application – weekly report #10 Joachim Bartosik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DE3D2A0.80305@gmail.com \
--to=jbartosik@gmail.com \
--cc=gentoo-soc@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox