← Index
NYTProf Performance Profile   « line view »
For /usr/local/libexec/sympa/task_manager-debug.pl
  Run on Tue Jun 1 22:32:51 2021
Reported on Tue Jun 1 22:35:11 2021

Filename/usr/local/libexec/sympa/Sympa/ListOpt.pm
StatementsExecuted 0 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
0000s0sSympa::ListOpt::::BEGIN@30Sympa::ListOpt::BEGIN@30
0000s0sSympa::ListOpt::::BEGIN@31Sympa::ListOpt::BEGIN@31
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# -*- indent-tabs-mode: nil; -*-
2# vim:ft=perl:et:sw=4
3# $Id$
4
5# Sympa - SYsteme de Multi-Postage Automatique
6#
7# Copyright (c) 1997, 1998, 1999 Institut Pasteur & Christophe Wolfhugel
8# Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
9# 2006, 2007, 2008, 2009, 2010, 2011 Comite Reseau des Universites
10# Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017 GIP RENATER
11# Copyright 2017, 2018, 2019 The Sympa Community. See the AUTHORS.md file at
12# the top-level directory of this distribution and at
13# <https://github.com/sympa-community/sympa.git>.
14#
15# This program is free software; you can redistribute it and/or modify
16# it under the terms of the GNU General Public License as published by
17# the Free Software Foundation; either version 2 of the License, or
18# (at your option) any later version.
19#
20# This program is distributed in the hope that it will be useful,
21# but WITHOUT ANY WARRANTY; without even the implied warranty of
22# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23# GNU General Public License for more details.
24#
25# You should have received a copy of the GNU General Public License
26# along with this program. If not, see <http://www.gnu.org/licenses/>.
27
28package Sympa::ListOpt;
29
30use strict;
31use warnings;
32
33# List parameter values except for parameters below.
34our %list_option = (
35
36 # reply_to_header.apply
37 'forced' => {'gettext_id' => 'overwrite Reply-To: header field'},
38 'respect' => {'gettext_id' => 'preserve existing header field'},
39
40 # reply_to_header.value, antivirus_notify
41 'sender' => {'gettext_id' => 'sender'},
42
43 # reply_to_header.value, include_remote_sympa_list.cert
44 'list' => {'gettext_id' => 'list'},
45
46 # include_ldap_2level_query.select2, include_ldap_2level_query.select1,
47 # include_ldap_query.select, reply_to_header.value, dmarc_protection.mode,
48 # personalization.web_apply_on, personalization.mail_apply_on
49 'all' => {'gettext_id' => 'all'},
50
51 # reply_to_header.value
52 'other_email' => {'gettext_id' => 'other email address'},
53
54 # msg_topic_keywords_apply_on
55 'subject' => {'gettext_id' => 'subject field'},
56 'body' => {'gettext_id' => 'message body'},
57 'subject_and_body' => {'gettext_id' => 'subject and body'},
58
59 # personalization.web_apply_on, personalization.mail_apply_on
60 'footer' => {'gettext_id' => 'header and footer'},
61
62 # bouncers_level2.notification, bouncers_level2.action,
63 # bouncers_level1.notification, bouncers_level1.action,
64 # spam_protection, dkim_signature_apply_on, web_archive_spam_protection,
65 # dmarc_protection.mode, automatic_list_removal,
66 # personalization.web_apply_on, personalization.mail_apply_on
67 'none' => {'gettext_id' => 'do nothing'},
68
69 # automatic_list_removal
70 'if_epmty' => {'gettext_id' => 'if no list members contained'},
71
72 # bouncers_level2.notification, bouncers_level1.notification,
73 # welcome_return_path, remind_return_path, rfc2369_header_fields,
74 # archive.mail_access
75 'owner' => {'gettext_id' => 'owner'},
76
77 # bouncers_level2.notification, bouncers_level1.notification
78 'listmaster' => {'gettext_id' => 'listmaster'},
79
80 # bouncers_level2.action, bouncers_level1.action
81 'remove_bouncers' => {'gettext_id' => 'remove bouncing users'},
82 'notify_bouncers' => {'gettext_id' => 'send notify to bouncing users'},
83
84 # pictures_feature, dkim_feature, merge_feature,
85 # inclusion_notification_feature, tracking.delivery_status_notification,
86 # tracking.message_disposition_notification
87 'on' => {'gettext_id' => 'enabled'},
88 # pictures_feature, dkim_feature, merge_feature,
89 # inclusion_notification_feature, tracking.delivery_status_notification,
90 # tracking.message_disposition_notification, update_db_field_types
91 'off' => {'gettext_id' => 'disabled'},
92 # update_db_field_types
93 'auto' => {'gettext_id' => 'automatic'},
94
95 # include_remote_sympa_list.cert
96 'robot' => {'gettext_id' => 'robot'},
97
98 # include_ldap_2level_query.select2, include_ldap_2level_query.select1,
99 # include_ldap_query.select
100 'first' => {'gettext_id' => 'first entry'},
101
102 # include_ldap_2level_query.select2, include_ldap_2level_query.select1
103 'regex' => {'gettext_id' => 'entries matching regular expression'},
104
105 # include_ldap_2level_query.scope2, include_ldap_2level_query.scope1,
106 # include_ldap_query.scope
107 'base' => {'gettext_id' => 'base'},
108 'one' => {'gettext_id' => 'one level'},
109 'sub' => {'gettext_id' => 'subtree'},
110
111 # include_ldap_query.use_tls, include_ldap_2level_query.use_tls,
112 # include_ldap_ca.use_tls, include_ldap_2level_ca.use_tls
113 'starttls' => {'gettext_id' => 'use STARTTLS'},
114 'ldaps' => {'gettext_id' => 'use LDAPS (LDAP over TLS)'},
115
116 ## include_ldap_2level_query.use_ssl, include_ldap_query.use_ssl
117 #'yes' => {'gettext_id' => 'yes'},
118 #'no' => {'gettext_id' => 'no'},
119
120 # include_ldap_2level_query.ssl_version, include_ldap_query.ssl_version
121 'ssl_any' => {'gettext_id' => 'any versions'},
122 'sslv2' => {'gettext_id' => 'SSL version 2'},
123 'sslv3' => {'gettext_id' => 'SSL version 3'},
124 'tlsv1' => {'gettext_id' => 'TLS version 1'},
125 'tlsv1_1' => {'gettext_id' => 'TLS version 1.1'},
126 'tlsv1_2' => {'gettext_id' => 'TLS version 1.2'},
127 'tlsv1_3' => {'gettext_id' => 'TLS version 1.3'},
128
129 # editor.reception, owner_include.reception, owner.reception,
130 # editor_include.reception
131 'mail' => {'gettext_id' => 'receive notification email'},
132 'nomail' => {'gettext_id' => 'no notifications'},
133
134 # editor.visibility, owner_include.visibility, owner.visibility,
135 # editor_include.visibility
136 'conceal' => {'gettext_id' => 'concealed from list menu'},
137 'noconceal' => {'gettext_id' => 'listed on the list menu'},
138
139 # welcome_return_path, remind_return_path
140 'unique' => {'gettext_id' => 'bounce management'},
141
142 # antivirus_notify
143 'delivery_status' => {'gettext_id' => 'send back DSN'},
144
145 # owner_include.profile, owner.profile
146 'privileged' => {'gettext_id' => 'privileged owner'},
147 'normal' => {'gettext_id' => 'normal owner'},
148
149 # priority
150 '0' => {'gettext_id' => '0 - highest priority'},
151 '9' => {'gettext_id' => '9 - lowest priority'},
152 'z' => {'gettext_id' => 'queue messages only'},
153
154 # spam_protection, web_archive_spam_protection
155 'at' => {'gettext_id' => 'replace @ characters'},
156 'javascript' => {'gettext_id' => 'use JavaScript'},
157
158 # msg_topic_tagging
159 'required_sender' => {'gettext_id' => 'required to post message'},
160 'required_moderator' =>
161 {'gettext_id' => 'required to distribute message'},
162
163 # msg_topic_tagging, custom_attribute.optional
164 'optional' => {'gettext_id' => 'optional'},
165
166 # custom_attribute.optional
167 'required' => {'gettext_id' => 'required'},
168
169 # custom_attribute.type
170 'string' => {'gettext_id' => 'string'},
171 'text' => {'gettext_id' => 'multi-line text'},
172 'integer' => {'gettext_id' => 'number'},
173 'enum' => {'gettext_id' => 'set of keywords'},
174
175 # footer_type
176 'mime' => {'gettext_id' => 'add a new MIME part'},
177 'append' => {'gettext_id' => 'append to message body'},
178
179 # archive.mail_access
180 'open' => {'gettext_id' => 'open'},
181 'closed' => {'gettext_id' => 'closed'},
182 'private' => {'gettext_id' => 'subscribers only'},
183 'public' => {'gettext_id' => 'public'},
184
185## ## user_data_source
186## 'database' => {'gettext_id' => 'RDBMS'},
187## 'file' => {'gettext_id' => 'include from local file'},
188## 'include' => {'gettext_id' => 'include from external source'},
189## 'include2' => {'gettext_id' => 'general datasource'},
190
191 # rfc2369_header_fields
192 'help' => {'gettext_id' => 'help'},
193 'subscribe' => {'gettext_id' => 'subscription'},
194 'unsubscribe' => {'gettext_id' => 'unsubscription'},
195 'post' => {'gettext_id' => 'posting address'},
196 'archive' => {'gettext_id' => 'list archive'},
197
198 # dkim_signature_apply_on
199 'md5_authenticated_messages' =>
200 {'gettext_id' => 'authenticated by password'},
201 'smime_authenticated_messages' =>
202 {'gettext_id' => 'authenticated by S/MIME signature'},
203 'dkim_authenticated_messages' =>
204 {'gettext_id' => 'authenticated by DKIM signature'},
205 'editor_validated_messages' => {'gettext_id' => 'approved by moderator'},
206 'any' => {'gettext_id' => 'any messages'},
207
208 # archive.period
209 'day' => {'gettext_id' => 'daily'},
210 'week' => {'gettext_id' => 'weekly'},
211 'month' => {'gettext_id' => 'monthly'},
212 'quarter' => {'gettext_id' => 'quarterly'},
213 'year' => {'gettext_id' => 'yearly'},
214
215 # web_archive_spam_protection
216 'cookie' => {'gettext_id' => 'use HTTP cookie'},
217 'concealed' => {'gettext_id' => 'never show address'},
218
219 # verp_rate
220 '100%' => {'gettext_id' => '100% - always'},
221 '0%' => {'gettext_id' => '0% - never'},
222
223 # archive_crypted_msg
224 'original' => {'gettext_id' => 'original messages'},
225 'decrypted' => {'gettext_id' => 'decrypted messages'},
226
227 # tracking.message_disposition_notification
228 'on_demand' => {'gettext_id' => 'on demand'},
229
230 # dmarc_protection.mode
231 'dkim_signature' => {'gettext_id' => 'DKIM signature exists'},
232 'dmarc_any' => {'gettext_id' => 'DMARC policy exists'},
233 'dmarc_reject' => {'gettext_id' => 'DMARC policy suggests rejection'},
234 'dmarc_quarantine' =>
235 {'gettext_id' => 'DMARC policy suggests quarantine'},
236 'domain_regex' => {'gettext_id' => 'domain matching regular expression'},
237
238 # dmarc_protection.phrase
239 'display_name' => {'gettext_id' => '"Name"'},
240 'name_and_email' => {'gettext_id' => '"Name" (e-mail)'},
241 'name_via_list' => {'gettext_id' => '"Name" (via List)'},
242 'name_email_via_list' => {'gettext_id' => '"Name" (e-mail via List)'},
243 'list_for_email' => {'gettext_id' => '"List" (on behalf of e-mail)'},
244 'list_for_name' => {'gettext_id' => '"List" (on behalf of Name)'},
245
246 # cache_list_config
247 'binary_file' => {'gettext_id' => 'use binary file'},
248);
249
250# Values for subscriber reception mode.
251our %reception_mode = (
252 'mail' => {'gettext_id' => 'standard (direct reception)'},
253 'digest' => {'gettext_id' => 'digest MIME format'},
254 'digestplain' => {'gettext_id' => 'digest plain text format'},
255 'summary' => {'gettext_id' => 'summary mode'},
256 'notice' => {'gettext_id' => 'notice mode'},
257 'txt' => {'gettext_id' => 'text-only mode'},
258 'urlize' => {'gettext_id' => 'urlize mode'},
259 'nomail' => {'gettext_id' => 'no mail'},
260 'not_me' => {'gettext_id' => 'not receiving your own posts'}
261);
262
263# Values for subscriber visibility mode.
264our %visibility_mode = (
265 'noconceal' => {'gettext_id' => 'listed in the list review page'},
266 'conceal' => {'gettext_id' => 'concealed'}
267);
268
269# Values for list status.
270our %list_status = (
271 'open' => {'gettext_id' => 'in operation'},
272 'pending' => {'gettext_id' => 'list not yet activated'},
273 'error_config' => {'gettext_id' => 'erroneous configuration'},
274 'family_closed' => {'gettext_id' => 'closed family instance'},
275 'closed' => {'gettext_id' => 'closed list'},
276);
277
278our %list_status_capital = (
279 'open' => {'gettext_id' => 'In operation'},
280 'pending' => {'gettext_id' => 'List not activated yet'},
281 'error_config' => {'gettext_id' => 'Erroneous configuration'},
282 'family_closed' => {'gettext_id' => 'Closed family instance'},
283 'closed' => {'gettext_id' => 'Closed list'},
284);
285
286# Deprecated: Moved to Sympa::Template::_get_option_description().
287#sub get_option_description;
288
2891;
290__END__