Moving to GitHub.
[platal.git] / configs / platal.ini
index a301864..4f94bea 100644 (file)
@@ -1,5 +1,5 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;  Copyright (C) 2003-2010 Polytechnique.org                               ;
+;  Copyright (C) 2003-2014 Polytechnique.org                               ;
 ;  http://opensource.polytechnique.org/                                    ;
 ;                                                                          ;
 ;  This program is free software; you can redistribute it and/or modify    ;
@@ -104,6 +104,9 @@ secure_domain = ""
 ; command line. The value is computed automatically when php serves a web page.
 baseurl = "https://www.example.org/"
 
+; The base url of the url shortener.
+baseurl_shortener = ""
+
 ; $globals->sitename
 ; The name of the site
 ;
@@ -146,16 +149,36 @@ memcache = ""
 ; select a skin.
 skin = "default"
 
-; $globals->register_skin
-; Skin to use during registration process
-register_skin = "register"
-
 ; $globals->core->econfiance
 ; Key used to perform transactions with the 'econfiance' webservice in order
 ; to synchronize the X-Informatique directory with polytechnique.net
 econfiance = ""
 
 
+; $globals->core->sentry_dsn
+; Key used to log errors to Sentry
+sentry_dsn = ""
+
+; $globals->core->sentry_js_dsn
+; Key used to log JS errors to Sentry
+sentry_js_dsn = ""
+
+
+; The API section contains  the configuration for the web services.
+[Api]
+
+; $globals->api->hmac_algo
+; Algorithm to use for HMAC-based authentication of API requests. Note that this
+; value is shared with clients, and must be changed in all places at once.
+hmac_algo = "sha256"
+
+; $globals->api->timestamp_tolerance
+; Maximum number of seconds of drift allowed between the client-side UNIX clock
+; and the server-side clock. This should be big enough to also allow for network
+; latency, but not too high, to limit replay opportunities.
+timestamp_tolerance = 10
+
+
 ; The banana section contains the configuration of the forums.
 [Banana]
 
@@ -190,6 +213,15 @@ event_forum = ""
 event_reply = ""
 
 
+; The deltaten section contains parameters used to handle the "N N-10"
+; operation.
+[Deltaten]
+
+; $globals->deltaten->first_promo_young
+; First promo to take part to the "N N-10" operation as the "young" promo
+first_promo_young = 2007
+
+
 ; The geocoder section contains parameters used to perform the geocoding 
 ; and the formatting of user addresses.
 [Geocoder]
@@ -198,14 +230,36 @@ event_reply = ""
 ; Unused parameter.
 email = ""
 
-; $globals->geocoder->gmaps_key
-; API key to use when querying google maps web service
-gmaps_key = ""
-
 ; $globals->geocoder->gmaps_url
 ; URL of geocoding webservice
-gmaps_url = "http://maps.google.com/maps/geo"
+gmaps_url = "https://maps.googleapis.com/maps/api/geocode/"
+
+; $globals->geocoder->gmaps_language
+; Default output language.
+gmaps_language = "fr"
+
+; $globals->geocoder->gmaps_region
+; Default location preference.
+gmaps_region = "fr"
 
+; The maps section contains parameters used to display maps.
+[Maps]
+
+; $globals->maps->static_map
+; URL of Google Maps api for static maps
+static_map = "https://maps.googleapis.com/maps/api/staticmap"
+
+; $globals->maps->dynamic_map
+; URL of Google Maps api for dynamic maps
+dynamic_map = "https://maps-api-ssl.google.com/maps/api/js"
+
+; $globals->maps->api_version
+; Current Google Maps API version
+api_version = ""
+
+; $globals->maps->language
+; Language to be used in maps.
+language = ""
 
 ; The lists section contains parameters used to interact with mailman.
 [Lists]
@@ -233,6 +287,10 @@ vhost_sep = "_"
 ; Maximum number of mails an instance of the moderation cron accepts to deliver.
 max_mail_per_min = 400
 
+; $globals->lists->redirect_domain
+; Domain where mailing list emails are redirected.
+redirect_domain = ""
+
 
 ; The mail section contains parameters used to interacts with email routing
 [Mail]
@@ -261,6 +319,9 @@ blacklist_host_resolution_limit =
 ; domain is blacklisted by a spam filter.
 domain_whitelist = ""
 
+; $globals->mail->antispam
+; Default antispam level.
+antispam = ""
 
 ; The mailstorage section contains parameters describing the availability of email storage services
 [MailStorage]
@@ -346,6 +407,14 @@ private_max = 800
 per_page    =  20
 
 
+; The SharingAPI section contains parameters about the 'sharing' webservice
+[SharingAPI]
+
+; $globals->sharingapi->max_result_per_query
+; Maximum number of results returned in an API response.
+max_result_per_query = 10;
+
+
 ; The register section contains parameters for the registration process
 [Register]
 
@@ -367,7 +436,7 @@ pass_ax        = ""
 
 ; $globals->webservice->hsot_ax
 ; Host of the webservice of the AX
-host_ax        = "https://www.polytechniciens.com/"
+host_ax        = "http://www.ax.polytechnique.edu/"
 
 ; $globals->webservice->private_key_ax
 ; Path to the private key used for authentication with the webservice of the AX
@@ -382,14 +451,39 @@ private_key_ax = ""
 secret       = ""
 
 ; $globals->xnet->auth_baseurl
-; Baseur of the site used to perform authentication
+; Baseurl of the site used to perform authentication
 auth_baseurl = ""
 
+; $globals->xnet->xorg_baseurl
+; Baseurl of the 'X.org' website
+xorg_baseurl = "https://www.polytechnique.org/"
+
 ; $globals->xnet->evts_domain
 ; Domain address where the aliases containing the list of (non-)subscribers
 ; of an event are created.
 evts_domain  = ""
 
+; $globals->xnet->participant_list
+; Mailing list suffix used to contact event participants.
+participant_list = ""
+
+; $globals->xnet->absent_list
+; Mailing list suffix used to contact users who notified they won't attend to the event.
+absent_list = ""
+
+; $globals->xnet->unpayed_list
+; Mailing list suffix used to contact event participants who did not pay.
+unpayed_list = ""
+
+; $globals->xnet->payed_list
+; Mailing list suffix used to contact event participants who paid.
+payed_list = ""
+
+; $globals->xnet->
+; Event mailing lists suffixes. It must contain the 4 suffixes above, separated by a coma.
+event_lists = ""
+
+
 ; The merge section contains parameters about the merge's state.
 [Merge]