~tgc/mailman/2.1-da

« back to all changes in this revision

Viewing changes to Mailman/Defaults.py.in

  • Committer: Mark Sapiro
  • Date: 2013-04-07 05:54:18 UTC
  • Revision ID: msapiro@value.net-20130407055418-3ocsw3ajga2vv82l
Defended against buggy web servers that don't include an empty
QUERY_STRING in the CGI environment.  (LP: 1160647)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- python -*-
2
2
 
3
 
# Copyright (C) 1998-2013 by the Free Software Foundation, Inc.
 
3
# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
4
4
#
5
5
# This program is free software; you can redistribute it and/or
6
6
# modify it under the terms of the GNU General Public License
108
108
# expire that many seconds following their last use.
109
109
AUTHENTICATION_COOKIE_LIFETIME = 0
110
110
 
111
 
# The following must be set to Yes to enable the 'author is list' feature.
112
 
# See DEFAULT_FROM_IS_LIST below.
113
 
ALLOW_FROM_IS_LIST = No
114
 
 
115
111
# Form lifetime is set against Cross Site Request Forgery.
116
112
FORM_LIFETIME = hours(1)
117
113
 
251
247
                               '\xbe': '¾',   # > plus high order bit
252
248
                               '\xa2': '¢',   # " plus high order bit
253
249
                              }
254
 
#
255
 
# Shall the admindb held message summary display the grouping and sorting
256
 
# option radio buttons?  Set this in mm_cfg.py to one of the following:
257
 
# SSENDER -> Default to grouped and sorted by sender.
258
 
# SSENDERTIME -> Default to grouped by sender and sorted by time.
259
 
# STIME -> Default to ungrouped and sorted by time.
260
 
DISPLAY_HELD_SUMMARY_SORT_BUTTONS = No
261
250
 
262
251
 
263
252
 
559
548
# footer or scrubbing attachments or even reply-to munging can break these
560
549
# signatures.  It is generally felt that these signatures have value, even if
561
550
# broken and even if the outgoing message is resigned.  However, some sites
562
 
# may wish to remove these headers.  Possible values and meanings are:
563
 
# No, 0, False -> do not remove headers.
564
 
# 1 -> remove headers only if the list's from_is_list setting is 1.
565
 
# Yes, 2, True -> always remove headers.
 
551
# may wish to remove these headers by setting this to Yes.
566
552
REMOVE_DKIM_HEADERS = No
567
553
 
568
554
# All `normal' messages which are delivered to the entire list membership go
594
580
    # (outgoing) path, finally leaving the message in the outgoing queue.
595
581
    'AfterDelivery',
596
582
    'Acknowledge',
597
 
    'WrapMessage',
598
583
    'ToOutgoing',
599
584
    ]
600
585
 
1080
1065
# Send goodbye messages to unsubscribed members?
1081
1066
DEFAULT_SEND_GOODBYE_MSG = Yes
1082
1067
 
1083
 
# The following is a three way setting.
1084
 
# 0 -> Do not rewrite the From: or wrap the message.
1085
 
# 1 -> Rewrite the From: header of posts replacing the posters address with
1086
 
#      that of the list.  Also see REMOVE_DKIM_HEADERS above.
1087
 
# 2 -> Do not modify the From: of the message, but wrap the message in an outer
1088
 
#      message From the list address.
1089
 
DEFAULT_FROM_IS_LIST = 0
1090
 
 
1091
1068
# Wipe sender information, and make it look like the list-admin
1092
1069
# address sends all messages
1093
1070
DEFAULT_ANONYMOUS_LIST = No
1419
1396
ACCEPT = 6
1420
1397
HOLD = 7
1421
1398
 
1422
 
# admindb summary sort button settings.  All must evaluate to True.
1423
 
SSENDER = 1
1424
 
SSENDERTIME = 2
1425
 
STIME = 3
1426
 
 
1427
1399
# Standard text field width
1428
1400
TEXTFIELDWIDTH = 40
1429
1401
 
1543
1515
add_language('es',    _('Spanish (Spain)'),     'iso-8859-1',  'ltr')
1544
1516
add_language('et',    _('Estonian'),            'iso-8859-15', 'ltr')
1545
1517
add_language('eu',    _('Euskara'),             'iso-8859-15', 'ltr') # Basque
1546
 
add_language('fa',    _('Persian'),             'utf-8',       'rtl')
1547
1518
add_language('fi',    _('Finnish'),             'iso-8859-1',  'ltr')
1548
1519
add_language('fr',    _('French'),              'iso-8859-1',  'ltr')
1549
1520
add_language('gl',    _('Galician'),            'utf-8',       'ltr')