forked from bravecollective/jabber-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
development.ini
96 lines (75 loc) · 2.14 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
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 8088
[app:main]
use = egg:WebCore
debug = True
web.root = brave.jabber.controller:RootController
web.cache = True
web.cache.data_dir = /tmp
web.cache.regions = general, content
web.cache.general.expire = 86400
web.cache.content.expire = 604800
web.sessions = True
web.sessions.data_dir = /tmp
web.sessions.lock_dir = /tmp
web.locale.i18n = True
web.locale.path = %(here)s/brave/jabber/locale
web.locale.fallback = en
web.auth = True
web.auth.name = character
web.auth.authenticate = brave.jabber.auth.model:Ticket.authenticate
web.auth.lookup = brave.jabber.auth.model:Ticket.lookup
web.auth.handler = /authorize
web.static = True
web.static.path = %(here)s/brave/jabber/public
web.static.base = /
web.static.compiled = /_static
web.templating.engine = mako
db.connections = main
db.main.engine = mongoengine
db.main.model = brave.jabber.model
db.main.url = mongo://localhost/jabber
# You need to manually create the maildir:
# mkdir -p mail/{cur,new,tmp}
mail.manager.use = immediate
mail.transport.use = maildir
mail.transport.directory = %(here)s/mail
mail.message.author = Brave Collective Jabber <[email protected]>
#mail.message.bcc = [email protected]
mail.message.organization = Brave Collective
# Clearly for testing purposes. Production differs.
api.endpoint = http://localhost:8080/api
api.identity = 52d07aeb6f692b599d93bd93
api.private = ffe41589c2531a73100cf3f925ca0c8abaacac38ce24fd79d8d439fd4181a0f3
api.public = bc3fab7012b7c6b08b4bb836497ac8b944425fadd416d16d65a5d45c2775c70137254063247787edcf463713ac0b777fe1ddc1b6b9c9179aae0a23cb208738ff
idle.channel = 64
idle.time = 21600
idle.groups = general
[loggers]
keys = root, app, webcore
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_app]
level = DEBUG
handlers = console
qualname = brave.mumble
propagate = 0
[logger_webcore]
level = INFO
handlers = console
qualname = web
propagate = 0
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s