Merge branch 'thh-pickfromupstream' into next
authorThomas Hochstein <thh@inter.net>
Wed, 19 Mar 2014 21:15:36 +0000 (22:15 +0100)
committerThomas Hochstein <thh@inter.net>
Wed, 19 Mar 2014 21:15:36 +0000 (22:15 +0100)
* thh-pickfromupstream:
  Fix whitespace and typo.
  Update documentation to 4.12.
  Add correct timestamp to mbox when processing.
  Don't remove empty mailbox files/maildirs.
  Fix UVreadmail.pm
  Add option to compare ballot to sample ballot.
  Documentation: Add votename to UVmenu.

1  2 
UVconfig.pm

diff --combined UVconfig.pm
@@@ -18,7 -18,7 +18,7 @@@ require Exporter
  $VERSION = "0.18";
  
  # Usevote version
- $usevote_version = "UseVoteGer 4.11";
+ $usevote_version = "UseVoteGer 4.12";
  
  sub read_config {
  
@@@ -27,6 -27,7 +27,7 @@@
    # Default configuration options (overwritten in usevote.cfg)
    %config = (votefile             => "votes",
               votename             => "unkonfiguriertes Usevote",
+              sampleballotfile     => "ballot.sample",
               resultfile           => "ergebnis.alle",
               rulefile             => "usevote.rul",
               badaddrfile          => "mailpatterns.cfg",
@@@ -57,6 -58,7 +58,7 @@@
               mailcc               => "",
               sleepcmd             => "sleep 1",
               clearcmd             => "clear",
+              diff                 => "diff",
               pager                => "less",
               pop3                 => 0,
               pop3server           => "localhost",
@@@ -90,9 -92,8 +92,9 @@@
               nein_stimme          => '(N\s*E\s*I\s*N|N|(D\s*A\s*)?G\s*E\s*G\s*E\s*N)',
               enth_stimme          => '(E|E\s*N\s*T\s*H\s*A\s*L\s*T\s*U\s*N\s*G)',
               ann_stimme           => 'A\s*N\s*N\s*U\s*L\s*L\s*I\s*E\s*R\s*U\s*N\s*G',
 +             bdsg_confirm         => 'JA',
               condition1           => '$yes>=2*$no', # twice as many yes as no
 -             condition2           => '$yes>=60',    # min 60 yes votes
 +             condition2           => '$yes>=50',    # min 50 yes votes
               prop_formula         => '$yes/$no',
               tpl_ack_mail         => 'ack-mail',
               tpl_bouncelist       => 'bouncelist',
               tpl_rule_violated    => 'rule-violated',
               begin_divider        => 'Alles vor dieser Zeile bitte loeschen',
               end_divider          => 'Alles nach dieser Zeile bitte loeschen',
 +             ballotintro          => 'WAHLSCHEIN fuer',
               nametext             => 'Dein Realname, falls nicht im FROM-Header:',
               nametext2            => 'Waehlername:',
               addresstext          => 'Waehleradresse:',
This page took 0.013001 seconds and 4 git commands to generate.