2020-10-20 10:36:15 +02:00
|
|
|
# mail for IF-OTRS
|
2023-02-27 18:09:29 +01:00
|
|
|
IF_EMAIL = 'community@wikimedia.de'
|
|
|
|
#IF_EMAIL = 'test-luca-ext@wikimedia.de'
|
2023-02-27 18:09:28 +01:00
|
|
|
#SURVEY_EMAIL = 'christof.pins@wikimedia.de'
|
2023-02-27 18:09:29 +01:00
|
|
|
#SURVEY_EMAIL = 'luca.wulf@cannabinieri.de'
|
|
|
|
SURVEY_EMAIL = 'sandro.halank@wikimedia.de'
|
2020-10-20 10:36:15 +02:00
|
|
|
# prefix for urls
|
2020-10-26 14:46:45 +01:00
|
|
|
SURVEYPREFIX = 'https://wikimedia.sslsurvey.de/Foerderbarometer/?'
|
2020-10-20 14:12:12 +02:00
|
|
|
|
|
|
|
# some links
|
2020-11-17 14:01:47 +01:00
|
|
|
DATAPROTECTION = "https://www.wikimedia.de/datenschutz/#datenerfassung"
|
2020-10-20 14:12:12 +02:00
|
|
|
FOERDERRICHTLINIEN = "https://de.wikipedia.org/wiki/Wikipedia:Wikimedia_Deutschland/F%C3%B6rderrichtlinien"
|
2020-11-18 16:44:41 +01:00
|
|
|
NUTZUNGSBEDINGUNGEN = 'static/input/nutzungsbedingungen.html'
|
2020-10-21 13:00:44 +02:00
|
|
|
|
2023-02-27 18:09:29 +01:00
|
|
|
LANGUAGE_CODE = 'de'
|
|
|
|
TIME_ZONE = 'UTC'
|
|
|
|
USE_I18N = True
|
|
|
|
USE_L10N = True
|
|
|
|
USE_TZ = True
|
|
|
|
|
2020-10-21 13:00:44 +02:00
|
|
|
|
2020-12-21 12:27:06 +01:00
|
|
|
ACCOUNTS ={ # "21103": '21103 Willkommen',
|
2021-07-07 15:16:39 +02:00
|
|
|
"DEF": 'DEFAULT VALUE, you hould not see this!',
|
2020-12-21 12:27:06 +01:00
|
|
|
"21111": '21111 Förderung (reaktiv)',
|
2020-10-21 13:00:44 +02:00
|
|
|
"21112": '21112 WikiCon',
|
2020-12-21 12:27:06 +01:00
|
|
|
# "21113": '21113 Wikimania/Unterstützung Ehrenamtliche',
|
2020-10-21 13:00:44 +02:00
|
|
|
"21115": '21115 Lokale Räume, Berlin',
|
|
|
|
"21116": '21116 Lokale Räume, Hamburg',
|
|
|
|
"21117": '21117 Lokale Räume, Hannover',
|
|
|
|
"21118": '21118 Lokale Räume, Köln',
|
|
|
|
"21119": '21119 Lokale Räume, München',
|
|
|
|
"21120": '21120 Lokale Räume, Fürth',
|
|
|
|
"21125": '21125 Lokale Räume, allgemein',
|
2020-12-21 12:27:06 +01:00
|
|
|
"21130": '21130 GLAM-Förderung',
|
|
|
|
"21131": '21131 Initiative Förderung',
|
|
|
|
# "21134": '21134 Größe',
|
|
|
|
# "21137": '21137 Beitragen',
|
|
|
|
# "21138": '21138 Vermittlung',
|
|
|
|
"21140": '21140 Wikipedia-Kampagne',
|
|
|
|
"21141": '21141 Wikipedia-Onboarding',
|
|
|
|
"21150": '21150 Fürsorge und Online-Kommunikationskultur',}
|
2023-10-25 11:47:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# teken from working oauth prototype as additional settings
|
|
|
|
|
|
|
|
WSGI_APPLICATION = 'oauth_demo.wsgi.application'
|
|
|
|
|
|
|
|
# OAuth Settings
|
|
|
|
OAUTH_URL_WHITELISTS = []
|
|
|
|
|
|
|
|
OAUTH_CLIENT_NAME = '<name-of-the-configured-wikimedia-app>'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OAUTH_CLIENT = {
|
|
|
|
'client_id': '<client-application-key-of-wikimedia-app>',
|
|
|
|
'client_secret': '<client-application-secret-of-wikimedia-app>',
|
|
|
|
'access_token_url': 'https://meta.wikimedia.org/w/rest.php/oauth2/access_token',
|
|
|
|
'authorize_url': 'https://meta.wikimedia.org/w/rest.php/oauth2/authorize',
|
|
|
|
'api_base_url': 'https://meta.wikimedia.org/w/rest.php/oauth2/resource',
|
|
|
|
'redirect_uri': 'http://localhost:8000/oauth/callback',
|
|
|
|
'client_kwargs': {
|
|
|
|
'scope': 'basic',
|
|
|
|
'token_placement': 'header'
|
|
|
|
},
|
|
|
|
'userinfo_endpoint': 'resource/profile',
|
|
|
|
}
|
|
|
|
|
|
|
|
OAUTH_COOKIE_SESSION_ID = 'sso_session_id'
|
|
|
|
|