Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

131 lines (100 sloc) 3.587 kb
[server:main]
use = egg:pyramid#wsgiref
host = localhost
port = 8000
[pipeline:main]
pipeline =
moksha
tw2
pyramid
[filter:tw2]
use = egg:tw2.core#middleware
[filter:moksha]
use = egg:moksha.wsgi#middleware
[app:pyramid]
use = egg:tahrir
pyramid.reload_templates = true
pyramid.default_locale_name = en
pyramid.includes =
pyramid_tm
sqlalchemy.url = sqlite:///%(here)s/tahrir.db
mako.directories=tahrir:templates
dogpile.cache.backend = dogpile.cache.dbm
dogpile.cache.expiration_time = 10000
dogpile.cache.arguments.filename = %(here)s/cachefile.dbm
tahrir.admin = oddshocks@riseup.net, decause@gmail.com, rbean@redhat.com, oddshocks@fedoraproject.org, ralph@fedoraproject.org, codeblock@fedoraproject.org, codeblock@elrod.me
tahrir.title = Fedora Badges
tahrir.pngs.uri = %(here)s/data/pngs
tahrir.base_url = http://localhost:8000
tahrir.openid_identifier = https://id.fedoraproject.org/
tahrir.trusted_openid = ^http(s)?:\/\/([a-zA-Z0-9]+\.)?id\.fedoraproject\.org(/)?$
tahrir.openid_realm = http://localhost:8000
tahrir.secure_cookies = False
tahrir.httponly_cookies = False
tahrir.allow_changenick = True
tahrir.use_fedmsg = True
tahrir.default_issuer = fedora-project
tahrir.openbadges_modal = True
tahrir.display_tags = account,event
tahrir.sitedocs_dir = %(here)s/fedora-sitedocs
tahrir.social.twitter = True
tahrir.social.twitter_user_text = Check out all these #fedorabadges :trophy:
tahrir.social.twitter_user_hash = #fedora
tahrir.social.gplus = True
# TODO -- set this to prod for production.
tahrir.websocket.topic = org.fedoraproject.stg.fedbadges.badge.award
# If this is true, we'll store the email from the user's FAS account, if
# not, then we'll use their FAS_USERNAME@fedoraproject.org. For Fedora
# Infrastructure we want this to be false due to some inconsistencies between
# the fedbadges backend awarder and the tahrir frontend. Other deployments
# may set this to true with no problem.
tahrir.use_openid_email = False
# You can optionally create your own CSS theme for tahrir
# Specify a python module name that contains static/{css,js,img} dirs.
# By default, tahrir's own static/ folder contents are used.
#tahrir.theme_name = tahrir
tahrir.use_websockets = True
# If you leave fedmenu.url undefined, it won't be written to the page at all.
# https://github.com/fedora-infra/fedmenu
#fedmenu.url = https://apps.fedoraproject.org/fedmenu
#fedmenu.data_url = https://apps.fedoraproject.org/js/data.js
fedmenu.url = http://threebean.org/fedmenu
fedmenu.data_url = http://threebean.org/fedmenu/dev-data.js
moksha.domain = localhost
moksha.notifications = False
moksha.socket.notify = False
moksha.livesocket = True
moksha.livesocket.backend = websocket
#moksha.livesocket.reconnect_interval = 5000
moksha.livesocket.websocket.port = 9939
moksha.livesocket.websocket.host = stg.fedoraproject.org
moksha.livesocket.websocket.scheme = wss
# Begin logging configuration
[loggers]
keys = root, tahrir, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_tahrir]
level = DEBUG
handlers =
qualname = tahrir
[logger_sqlalchemy]
level = INFO
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
# End logging configuration
Jump to Line
Something went wrong with that request. Please try again.