forked from fedora-infra/tahrir
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevelopment.ini
110 lines (83 loc) · 2.66 KB
/
development.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[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.openid_realm = https://localhost:8000
tahrir.secure_cookies = False
tahrir.allow_changenick = True
tahrir.use_fedmsg = True
tahrir.default_issuer = fedora-project
# 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
# tahrir.static.uri = /home/user/tahrir-theme
tahrir.use_websockets = True
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