Configuration for the latest tahrir release.
This commit is contained in:
parent
a2d6ddc13c
commit
bf3487792f
1 changed files with 30 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
[pipeline:main]
|
[pipeline:main]
|
||||||
pipeline =
|
pipeline =
|
||||||
|
moksha
|
||||||
|
tw2
|
||||||
tahrir
|
tahrir
|
||||||
|
|
||||||
[filter:proxy-prefix]
|
[filter:proxy-prefix]
|
||||||
|
@ -7,6 +9,12 @@ use = egg:PasteDeploy#prefix
|
||||||
prefix = /badges
|
prefix = /badges
|
||||||
scheme = https
|
scheme = https
|
||||||
|
|
||||||
|
[filter:tw2]
|
||||||
|
use = egg:tw2.core#middleware
|
||||||
|
|
||||||
|
[filter:moksha]
|
||||||
|
use = egg:moksha.wsgi#middleware
|
||||||
|
|
||||||
[app:tahrir]
|
[app:tahrir]
|
||||||
|
|
||||||
use = egg:tahrir
|
use = egg:tahrir
|
||||||
|
@ -36,20 +44,42 @@ tahrir.title = Fedora Badges (staging!)
|
||||||
tahrir.base_url = https://apps.stg.fedoraproject.org/badges
|
tahrir.base_url = https://apps.stg.fedoraproject.org/badges
|
||||||
tahrir.openid_identifier = http://id.stg.fedoraproject.org
|
tahrir.openid_identifier = http://id.stg.fedoraproject.org
|
||||||
tahrir.openid_realm = https://apps.stg.fedoraproject.org/badges
|
tahrir.openid_realm = https://apps.stg.fedoraproject.org/badges
|
||||||
|
tahrir.websocket.topic = org.fedoraproject.stg.fedbadges.badge.award
|
||||||
{% else %}
|
{% else %}
|
||||||
tahrir.title = Fedora Badges
|
tahrir.title = Fedora Badges
|
||||||
tahrir.base_url = badges.fedoraproject.org
|
tahrir.base_url = badges.fedoraproject.org
|
||||||
tahrir.openid_identifier = https://id.fedoraproject.org
|
tahrir.openid_identifier = https://id.fedoraproject.org
|
||||||
tahrir.openid_realm = https://apps.fedoraproject.org/badges
|
tahrir.openid_realm = https://apps.fedoraproject.org/badges
|
||||||
|
tahrir.websocket.topic = org.fedoraproject.prod.fedbadges.badge.award
|
||||||
{% endif %}
|
{% endif %}
|
||||||
tahrir.secure_cookies = True
|
tahrir.secure_cookies = True
|
||||||
|
|
||||||
# Only allow @fedoraproject.org emails
|
# Only allow @fedoraproject.org emails
|
||||||
tahrir.use_openid_email = False
|
tahrir.use_openid_email = False
|
||||||
|
|
||||||
|
# For auto-updating the frontpage.
|
||||||
|
tahrir.use_websockets = True
|
||||||
|
|
||||||
session.secret="${tahrirSessionSecret}"
|
session.secret="${tahrirSessionSecret}"
|
||||||
authnsecret="${tahrirAuthnSecret}"
|
authnsecret="${tahrirAuthnSecret}"
|
||||||
|
|
||||||
|
moksha.domain = fedoraproject.org
|
||||||
|
|
||||||
|
moksha.notifications = False
|
||||||
|
moksha.socket.notify = False
|
||||||
|
|
||||||
|
moksha.livesocket = True
|
||||||
|
moksha.livesocket.backend = websocket
|
||||||
|
moksha.livesocket.reconnect_interval = 5000
|
||||||
|
moksha.livesocket.websocket.scheme = wss
|
||||||
|
moksha.livesocket.websocket.port = 9939
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
moksha.livesocket.websocket.host = stg.fedoraproject.org
|
||||||
|
{% else %}
|
||||||
|
moksha.livesocket.websocket.host = hub.fedoraproject.org
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Begin logging configuration
|
# Begin logging configuration
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue