Commit graph

7 commits

Author SHA1 Message Date
Thomas Hochstein 34809a2a81 Add option to read from Maildir.
Parse a mailbox by virtue of Mail::Box and
add "mailboxtype" to usevote.cfg.

Picked from upstream.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2014-02-15 17:41:54 +01:00
Thomas Hochstein 6422cdc893 Merge branch 'thh-strictbdsg' into next
* thh-strictbdsg:
  Enforce strict response for data protection clause.
2014-02-15 17:30:08 +01:00
Thomas Hochstein d0fda3342c Merge branch 'thh-checkvotename' into next
* thh-checkvotename:
  Display current voting identifier in menu.
  Correctly find $votename.
  Add forgotten template.
  Fix regular expression.
  Check correct voting in ballot.
2014-02-15 17:30:05 +01:00
Thomas Hochstein e651da8b3f Enforce strict response for data protection clause.
The - legally binding - data protection clause demands
an answer of "JA" to show voter agreement for vote
processing. Hence UseVote should only accept "JA"
(in upper or lower case), but not "DAFUER" or some
other synonyms.

* Add bdsg_confirm (regexp) to usevote.cfg
* Change check in uvvote.pl accordingly

Signed-off-by: Thomas Hochstein <thh@inter.net>
2014-02-15 17:24:44 +01:00
Thomas Hochstein b9f5201405 Check correct voting in ballot.
It's possible that ballots get mixed up when
a voter is participating in more than one
voting and sending the ballots manually (by
copying and pasting them into his mail client).

UseVote could - and should! - check that the
ballot belongs to the current voting by comparing
the ballot introduction ("WAHLSCHEIN fuer ...")
with the votename and throw an error if they
don't match.

* Add ballotintro (default: WAHLSCHEIN fuer) and
  tpl_wrong_voting (default: wrong-voting) to
  usevote.cfg
* Add messages to messages.cfg
* Modify ballot and ballot-personal templates
  accordingly
* Add check to uvvote.pl
* Add error handling to UVmenu.pm
* Change UVmenu::menu call in uvcfv.pl due
  to new parameter ($voting)

Signed-off-by: Thomas Hochstein <thh@inter.net>
2012-01-21 15:51:34 +01:00
Thomas Hochstein 8ab6f4b0df Change quorum: 50 "JA" votes are now enough.
See <Umsetzung-regeln-mindeststimmen-07.01.2012@dana.de>.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2012-01-21 09:41:30 +01:00
Thomas Hochstein ac7e2c541a Initial checkin of upstream version 4.09.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-08-16 22:16:26 +02:00