Happy New Year!
[platal.git] / configs / platal.ini
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2 ; Copyright (C) 2003-2011 Polytechnique.org ;
3 ; http://opensource.polytechnique.org/ ;
4 ; ;
5 ; This program is free software; you can redistribute it and/or modify ;
6 ; it under the terms of the GNU General Public License as published by ;
7 ; the Free Software Foundation; either version 2 of the License, or ;
8 ; (at your option) any later version. ;
9 ; ;
10 ; This program is distributed in the hope that it will be useful, ;
11 ; but WITHOUT ANY WARRANTY; without even the implied warranty of ;
12 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;
13 ; GNU General Public License for more details. ;
14 ; ;
15 ; You should have received a copy of the GNU General Public License ;
16 ; along with this program; if not, write to the Free Software ;
17 ; Foundation, Inc., ;
18 ; 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ;
19 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
20
21 ; DO NOT EDIT THIS FILE
22 ; This file contains the default values for the configuration variables of
23 ; plat/al. This values can be overriden in by adding a platal.conf file in
24 ; the same directory.
25 ; DO NOT EDIT THIS FILE
26
27
28 ; The core section contains the main configuration of the website like name
29 ; of the site, its URL, or the database parameters. It also provide tools
30 ; to setup debugging or restrictions on the website.
31 [Core]
32
33 ; $globals->locale
34 ; Locale of the web site. This includes language and charset to
35 ; use for system strings.
36 locale = "fr_FR.UTF-8"
37
38 ; $globals->timezone
39 ; The timezone of the server.
40 timezone = "Europe/Paris"
41
42 ; $globals->core->restricted_platal
43 ; When activated restricted_platal, the copy of the website is protected against
44 ; indexation by search engine. This also activate the addition of catch-all emails
45 ; by PlMailer. (see email_catchall and robotstxt_disallowed_uris for more details).
46 ;
47 ; A production website should set this variable to true in platal.conf
48 restricted_platal = 1
49
50 ; $globals->core->robotstxt_disallowed_uris
51 ; List of urls that must not be indexed by search engines when the site is not
52 ; in restricted mode. The urls must be separated by spaces or commas.
53 ;
54 ; e.g: robotstxt_disallowed_uris = "/javascript /images /Xorg"
55 robotstxt_disallowed_uris =
56
57 ; $globals->email_catchall
58 ; An email address that signal a mail to be discarded by the mail routing
59 ; environment.
60 ;
61 ; email_catchall = ""
62
63 ; $globals->cookie_ns
64 ; String to preprend to the name of the cookies generated by the site
65 ;
66 ; cookie_ns = ""
67
68 ; $globals->cookie_path
69 ; The path the cookies generated by the site are associated to.
70 ;
71 ; cookie_path = ""
72
73 ; $globals->debug
74 ; Debug flags. The flags are integer mask and the debug value is a combination
75 ; of this flags. Available values are:
76 ; - provided by the core:
77 ; 1 - DEBUG_BT: displays the backtraces (SQL, mailman, banana executions)
78 ; 2 - DEBUG_VALID: checks that the html of the page is valid
79 ; 4 - DEBUG_SMARTY: don't hide error reported during the execution of smarty
80 ; 8 - DEBUG_NOCACHE: disable data caching
81 ; 16 - DEBUG_SCRIPTCACHE: cache expires after the execution of the script (no caching
82 ; in session or via memcache)
83 ; - provided by xorg:
84 ; 256 - DEBUG_NOCACHE: don't cache db content in the session (this feature as been moved
85 ; to the core and this flag is deprecated)
86 ;
87 ; debug = 0
88
89 ; $globals->mode
90 ; Plat/al execution mode:
91 ; empty -> this copy of plat/al is disabled
92 ; 'r' -> read only, writing in the database is not allowed (excepting logging)
93 ; 'rw' -> read-write, the site is fully available
94 ;
95 ; mode = "rw"
96
97 ; $globals->core->secure_domain
98 ; If not empty, the site automatically redirects the user to the secure_domain.
99 ; The value must be a hostname (eg.: www.polytechnique.org)
100 secure_domain = ""
101
102 ; $globals->baseurl
103 ; The base url of the web site. This value is used only for scripts called from
104 ; command line. The value is computed automatically when php serves a web page.
105 baseurl = "https://www.example.org/"
106
107 ; $globals->sitename
108 ; The name of the site
109 ;
110 ; sitename = ""
111
112 ; $globals->dbhost
113 ; Host where the db is located
114 ; dbhost = "localhost"
115
116 ; $globals->dbuser
117 ; Username to use to connect to the database
118 ; dbuser = "web"
119
120 ; $globals->dbpwd
121 ; Password to use to connect to the database
122 ; dbpwd = ""
123
124 ; $globals->dbdb
125 ; Name of the database
126 ; dbdb = "x4dat"
127
128 ; $globals->dbcharset
129 ; The charset to use when talking to the database
130 ; dbcharset = "utf8"
131
132 ; $globals->core->memcache
133 ; List of space separated addresses of memcache servers
134 memcache = ""
135
136 ; $globals->static_cache_duration
137 ; Cache duration for static content
138 ; static_cache_duration = "604800"
139
140 ; $globals->dynamic_cache_duration
141 ; Cache duration for dynamic content
142 ; dynamic_cache_duration = "3600"
143
144 ; $globals->skin
145 ; Skin to use for unlogged accesses and when the user didn't explicitely
146 ; select a skin.
147 skin = "default"
148
149 ; $globals->register_skin
150 ; Skin to use during registration process
151 register_skin = "register"
152
153 ; $globals->core->econfiance
154 ; Key used to perform transactions with the 'econfiance' webservice in order
155 ; to synchronize the X-Informatique directory with polytechnique.net
156 econfiance = ""
157
158
159 ; The banana section contains the configuration of the forums.
160 [Banana]
161
162 ; $globals->banana->server
163 ; Hostname of the nntp server
164 server = "localhost"
165
166 ; $globals->banana->port
167 ; Port of the nntp server (if port is 563, banana automatically switch
168 ; to nntps)
169 port = 119
170
171 ; $globals->banana->password
172 ; Password used by banana to authenticate site users with the nntp server.
173 password = "***"
174
175 ; $globals->banana->web_user
176 ; Username used by banana
177 web_user = "***"
178
179 ; $globals->banana->web_pass
180 ; Password used by banana to perform administrative tasks unrelated to a
181 ; specific user
182 web_pass = "***"
183
184 ; $globals->banana->event_forum
185 ; Name of the newsgroup where events are posted
186 event_forum = ""
187
188 ; $globals->banana->event_reply
189 ; Name of a newsgroup where to reply to posted events
190 event_reply = ""
191
192
193 ; The geocoder section contains parameters used to perform the geocoding
194 ; and the formatting of user addresses.
195 [Geocoder]
196
197 ; $globals->geocder->email
198 ; Unused parameter.
199 email = ""
200
201 ; $globals->geocoder->gmaps_key
202 ; API key to use when querying google maps web service
203 gmaps_key = ""
204
205 ; $globals->geocoder->gmaps_url
206 ; URL of geocoding webservice
207 gmaps_url = "http://maps.google.com/maps/geo"
208
209 ; $globals->geocoder->gmaps_hl
210 ; Default output language.
211 gmaps_hl = "fr"
212
213 ; $globals->geocoder->gmaps_gl
214 ; Default location preference.
215 gmaps_gl = "fr"
216
217 ; The lists section contains parameters used to interact with mailman.
218 [Lists]
219
220 ; $globals->lists->rpchost
221 ; Hostname where the lists' rpc server is located
222 rpchost = "localhost"
223
224 ; $globasl->lists->rpcport
225 ; Port of the lists' rpc server
226 rpcport = "4949"
227
228 ; $globals->lists->spool
229 ; Path to the archives of mailman. This is used to provide access to the archives
230 ; via the web interface
231 spool = "/var/lib/mailman/archives/private"
232
233 ; $globals->lists->vhost_sep
234 ; Character used to separate the host part and the list name part in the internal
235 ; name of the list in mailman. If vhost_sep is '_', the list blah@example.com will
236 ; be internally named example.com_blah
237 vhost_sep = "_"
238
239 ; $globals->lists->max_mail_per_min
240 ; Maximum number of mails an instance of the moderation cron accepts to deliver.
241 max_mail_per_min = 400
242
243
244 ; The mail section contains parameters used to interacts with email routing
245 [Mail]
246
247 ; $globals->mail->domain
248 ; Main mail domain
249 domain = ""
250
251 ; $globals->mail->domain2
252 ; Secondary mail domain providing aliases to the main domain.
253 domain2 = ""
254
255 ; $globals->mail->alias_dom
256 ; Mail domain hosting user-choosen aliases.
257 alias_dom = ""
258
259 ; $globals->mail->alias_dom2
260 ; Secondary domain for user-choosen aliases.
261 alias_dom2 = ""
262
263 blacklist_check_url = ""
264 blacklist_host_resolution_limit =
265
266 ; $globals->mail->domain_whitelist
267 ; Space-separated list of domains to be accepted in urls in the newsletter even if this
268 ; domain is blacklisted by a spam filter.
269 domain_whitelist = ""
270
271
272 ; The mailstorage section contains parameters describing the availability of email storage services
273 [MailStorage]
274
275 ; $globals->mailstorage->imap_active
276 ; Boolean flag triggering the activation of the administration interface for the imap storage service.
277 imap_active = 0
278
279 ; $globals->mailstorage->googleapps_active
280 ; Boolean flag triggering the activation of the administration interface for the googleapps service.
281 googleapps_active = 0
282
283 ; $globals->mailstorage->googleapps_domain
284 ; Domain used internally when redirecting an email to the googleapps account of a user.
285 googleapps_domain = ""
286
287
288 ; The manageurs section contains parameters for the webservice providing data to manageurs.com
289 [Manageurs]
290
291 ; $globals->manageurs->authorized_ips
292 ; Space-separated list of IP that are allowed on the webservice
293 authorized_ips = "129.104.30.32 129.104.30.33 213.251.145.200"
294
295 ; $globals->manageurs->manageurs_cipher_key
296 ; Key used to cipher data sent to manageurs.com
297 manageurs_cipher_key = ""
298
299 ; $globals->manageurs->manageurs_pass
300 ; Password to be provided by manageurs.com to get authenticated on the webservice
301 manageurs_pass = ""
302
303
304 ; The money section contains parameters for the payment module
305 [Money]
306
307 ; $globals->money->email
308 ; Email address to which payment related actions are reported
309 ;
310 ; email = ""
311
312 ; Undocumented parameter
313 mpay_def_id = 0
314
315 ; Undocumented parameter
316 mpay_def_meth = 0
317
318 ; $globals->money->paypal_site
319 ; Hostname of the Paypal site
320 paypal_site = ""
321
322 ; $globals->money->paypal_compte
323 ; Account on Paypal
324 paypal_compte = ""
325
326 ; $globals->money->cyberplus_key
327 ; API key to use when accessing the CyberPlus payment service
328 ;
329 ; cyperplus_key = ""
330
331
332 ; The poison section contains parameters for injecting poisonous email on the internet
333 [Poison]
334
335 ; $globals->poison->file
336 ; Path to a file containing one poisonous email per line
337 file = ""
338
339
340 ; The search section contains parameters for the search module
341 [Search]
342
343 ; $globals->search->public_max
344 ; Maximum number of profiles a search on the public site is allowed to return.
345 public_max = 25
346
347 ; $globals->search->private_max
348 ; Maximum number of profiles a search on the private site is allowed to return
349 private_max = 800
350
351 ; $globals->search->per_page
352 ; Maximum number of profiles per page in the result of a search
353 per_page = 20
354
355
356 ; The register section contains parameters for the registration process
357 [Register]
358
359 ; $globals->register->notif
360 ; Email address to be notified on new registrations.
361 notif = ""
362
363
364 ; The webservice section contains parameters used to access external webservices
365 [WebService]
366
367 ; $globals->webservice->pass
368 ; Pass to access the webservice of manageurs.com
369 pass = ""
370
371 ; $globals->webservice->pass_ax
372 ; Passphrase to use to access the webservice of the AX
373 pass_ax = ""
374
375 ; $globals->webservice->hsot_ax
376 ; Host of the webservice of the AX
377 host_ax = "https://www.polytechniciens.com/"
378
379 ; $globals->webservice->private_key_ax
380 ; Path to the private key used for authentication with the webservice of the AX
381 private_key_ax = ""
382
383
384 ; The xnet section contains parameters for Polytechnique.net
385 [Xnet]
386
387 ; $globals->xnet->secret
388 ; Authentication key to use to authenticate users with Polytechnique.org
389 secret = ""
390
391 ; $globals->xnet->auth_baseurl
392 ; Baseur of the site used to perform authentication
393 auth_baseurl = ""
394
395 ; $globals->xnet->evts_domain
396 ; Domain address where the aliases containing the list of (non-)subscribers
397 ; of an event are created.
398 evts_domain = ""
399
400 ; The merge section contains parameters about the merge's state.
401 [Merge]
402
403 ; $globals->merge->state
404 ; Pending before the merge, done afterwards.
405 state = "pending"