a421802a33bb22e6796cb39ef8d1d980292cb080
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2 ; Copyright (C) 2003-2013 Polytechnique.org ;
3 ; http://opensource.polytechnique.org/ ;
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. ;
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. ;
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 ;
18 ; 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ;
19 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
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
25 ; DO NOT EDIT THIS FILE
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.
34 ; Locale of the web site. This includes language and charset to
35 ; use for system strings.
36 locale = "fr_FR.UTF-8"
39 ; The timezone of the server.
40 timezone = "Europe/Paris"
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).
47 ; A production website should set this variable to true in platal.conf
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.
54 ; e.g: robotstxt_disallowed_uris = "/javascript /images /Xorg"
55 robotstxt_disallowed_uris =
57 ; $globals->email_catchall
58 ; An email address that signal a mail to be discarded by the mail routing
64 ; String to preprend to the name of the cookies generated by the site
68 ; $globals->cookie_path
69 ; The path the cookies generated by the site are associated to.
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)
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)
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
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)
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/"
107 ; The base url of the url shortener.
108 baseurl_shortener = ""
111 ; The name of the site
116 ; Host where the db is located
117 ; dbhost = "localhost"
120 ; Username to use to connect to the database
124 ; Password to use to connect to the database
128 ; Name of the database
131 ; $globals->dbcharset
132 ; The charset to use when talking to the database
135 ; $globals->core->memcache
136 ; List of space separated addresses of memcache servers
139 ; $globals->static_cache_duration
140 ; Cache duration for static content
141 ; static_cache_duration = "604800"
143 ; $globals->dynamic_cache_duration
144 ; Cache duration for dynamic content
145 ; dynamic_cache_duration = "3600"
148 ; Skin to use for unlogged accesses and when the user didn't explicitely
152 ; $globals->core->econfiance
153 ; Key used to perform transactions with the 'econfiance' webservice in order
154 ; to synchronize the X-Informatique directory with polytechnique.net
158 ; The API section contains the configuration for the web services.
161 ; $globals->api->hmac_algo
162 ; Algorithm to use for HMAC-based authentication of API requests. Note that this
163 ; value is shared with clients, and must be changed in all places at once.
166 ; $globals->api->timestamp_tolerance
167 ; Maximum number of seconds of drift allowed between the client-side UNIX clock
168 ; and the server-side clock. This should be big enough to also allow for network
169 ; latency, but not too high, to limit replay opportunities.
170 timestamp_tolerance = 10
173 ; The banana section contains the configuration of the forums.
176 ; $globals->banana->server
177 ; Hostname of the nntp server
180 ; $globals->banana->port
181 ; Port of the nntp server (if port is 563, banana automatically switch
185 ; $globals->banana->password
186 ; Password used by banana to authenticate site users with the nntp server.
189 ; $globals->banana->web_user
190 ; Username used by banana
193 ; $globals->banana->web_pass
194 ; Password used by banana to perform administrative tasks unrelated to a
198 ; $globals->banana->event_forum
199 ; Name of the newsgroup where events are posted
202 ; $globals->banana->event_reply
203 ; Name of a newsgroup where to reply to posted events
207 ; The deltaten section contains parameters used to handle the "N N-10"
211 ; $globals->deltaten->first_promo_young
212 ; First promo to take part to the "N N-10" operation as the "young" promo
213 first_promo_young = 2007
216 ; The geocoder section contains parameters used to perform the geocoding
217 ; and the formatting of user addresses.
220 ; $globals->geocder->email
224 ; $globals->geocoder->gmaps_url
225 ; URL of geocoding webservice
226 gmaps_url = "https://maps.googleapis.com/maps/api/geocode/"
228 ; $globals->geocoder->gmaps_language
229 ; Default output language.
230 gmaps_language = "fr"
232 ; $globals->geocoder->gmaps_region
233 ; Default location preference.
236 ; The maps section contains parameters used to display maps.
239 ; $globals->maps->static_map
240 ; URL of Google Maps api for static maps
241 static_map = "https://maps.googleapis.com/maps/api/staticmap"
243 ; $globals->maps->dynamic_map
244 ; URL of Google Maps api for dynamic maps
245 dynamic_map = "https://maps-api-ssl.google.com/maps/api/js"
247 ; $globals->maps->api_version
248 ; Current Google Maps API version
251 ; $globals->maps->language
252 ; Language to be used in maps.
255 ; The lists section contains parameters used to interact with mailman.
258 ; $globals->lists->rpchost
259 ; Hostname where the lists' rpc server is located
260 rpchost = "localhost"
262 ; $globasl->lists->rpcport
263 ; Port of the lists' rpc server
266 ; $globals->lists->spool
267 ; Path to the archives of mailman. This is used to provide access to the archives
268 ; via the web interface
269 spool = "/var/lib/mailman/archives/private"
271 ; $globals->lists->vhost_sep
272 ; Character used to separate the host part and the list name part in the internal
273 ; name of the list in mailman. If vhost_sep is '_', the list blah@example.com will
274 ; be internally named example.com_blah
277 ; $globals->lists->max_mail_per_min
278 ; Maximum number of mails an instance of the moderation cron accepts to deliver.
279 max_mail_per_min = 400
281 ; $globals->lists->redirect_domain
282 ; Domain where mailing list emails are redirected.
286 ; The mail section contains parameters used to interacts with email routing
289 ; $globals->mail->domain
293 ; $globals->mail->domain2
294 ; Secondary mail domain providing aliases to the main domain.
297 ; $globals->mail->alias_dom
298 ; Mail domain hosting user-choosen aliases.
301 ; $globals->mail->alias_dom2
302 ; Secondary domain for user-choosen aliases.
305 blacklist_check_url = ""
306 blacklist_host_resolution_limit =
308 ; $globals->mail->domain_whitelist
309 ; Space-separated list of domains to be accepted in urls in the newsletter even if this
310 ; domain is blacklisted by a spam filter.
311 domain_whitelist = ""
313 ; $globals->mail->antispam
314 ; Default antispam level.
317 ; The mailstorage section contains parameters describing the availability of email storage services
320 ; $globals->mailstorage->imap_active
321 ; Boolean flag triggering the activation of the administration interface for the imap storage service.
324 ; $globals->mailstorage->googleapps_active
325 ; Boolean flag triggering the activation of the administration interface for the googleapps service.
326 googleapps_active = 0
328 ; $globals->mailstorage->googleapps_domain
329 ; Domain used internally when redirecting an email to the googleapps account of a user.
330 googleapps_domain = ""
333 ; The manageurs section contains parameters for the webservice providing data to manageurs.com
336 ; $globals->manageurs->authorized_ips
337 ; Space-separated list of IP that are allowed on the webservice
338 authorized_ips = "129.104.30.32 129.104.30.33 213.251.145.200"
340 ; $globals->manageurs->manageurs_cipher_key
341 ; Key used to cipher data sent to manageurs.com
342 manageurs_cipher_key = ""
344 ; $globals->manageurs->manageurs_pass
345 ; Password to be provided by manageurs.com to get authenticated on the webservice
349 ; The money section contains parameters for the payment module
352 ; $globals->money->email
353 ; Email address to which payment related actions are reported
357 ; Undocumented parameter
360 ; Undocumented parameter
363 ; $globals->money->paypal_site
364 ; Hostname of the Paypal site
367 ; $globals->money->paypal_compte
371 ; $globals->money->cyberplus_key
372 ; API key to use when accessing the CyberPlus payment service
377 ; The poison section contains parameters for injecting poisonous email on the internet
380 ; $globals->poison->file
381 ; Path to a file containing one poisonous email per line
385 ; The search section contains parameters for the search module
388 ; $globals->search->public_max
389 ; Maximum number of profiles a search on the public site is allowed to return.
392 ; $globals->search->private_max
393 ; Maximum number of profiles a search on the private site is allowed to return
396 ; $globals->search->per_page
397 ; Maximum number of profiles per page in the result of a search
401 ; The SharingAPI section contains parameters about the 'sharing' webservice
404 ; $globals->sharingapi->max_result_per_query
405 ; Maximum number of results returned in an API response.
406 max_result_per_query = 10;
409 ; The register section contains parameters for the registration process
412 ; $globals->register->notif
413 ; Email address to be notified on new registrations.
417 ; The webservice section contains parameters used to access external webservices
420 ; $globals->webservice->pass
421 ; Pass to access the webservice of manageurs.com
424 ; $globals->webservice->pass_ax
425 ; Passphrase to use to access the webservice of the AX
428 ; $globals->webservice->hsot_ax
429 ; Host of the webservice of the AX
430 host_ax = "https://www.polytechniciens.com/"
432 ; $globals->webservice->private_key_ax
433 ; Path to the private key used for authentication with the webservice of the AX
437 ; The xnet section contains parameters for Polytechnique.net
440 ; $globals->xnet->secret
441 ; Authentication key to use to authenticate users with Polytechnique.org
444 ; $globals->xnet->auth_baseurl
445 ; Baseurl of the site used to perform authentication
448 ; $globals->xnet->xorg_baseurl
449 ; Baseurl of the 'X.org' website
450 xorg_baseurl = "https://www.polytechnique.org/"
452 ; $globals->xnet->evts_domain
453 ; Domain address where the aliases containing the list of (non-)subscribers
454 ; of an event are created.
457 ; $globals->xnet->participant_list
458 ; Mailing list suffix used to contact event participants.
459 participant_list = ""
461 ; $globals->xnet->absent_list
462 ; Mailing list suffix used to contact users who notified they won't attend to the event.
465 ; $globals->xnet->unpayed_list
466 ; Mailing list suffix used to contact event participants who did not pay.
469 ; $globals->xnet->payed_list
470 ; Mailing list suffix used to contact event participants who paid.
474 ; Event mailing lists suffixes. It must contain the 4 suffixes above, separated by a coma.
478 ; The merge section contains parameters about the merge's state.
481 ; $globals->merge->state
482 ; Pending before the merge, done afterwards.