]> jfr.im git - irc/quakenet/qwebirc.git/blob - config.py.example
Add ability to control URL on embedded wizard page, as well as updating the about...
[irc/quakenet/qwebirc.git] / config.py.example
1 import dummyauthgate as AUTHGATEPROVIDER
2
3 IRCSERVER, IRCPORT = "moo.com", 6667
4 UPDATE_FREQ = 0.5
5 MAXBUFLEN = 10000
6 MAXSUBSCRIPTIONS = 3
7 REALNAME = "http://moo.com/"
8 MAXLINELEN = 600
9 IDENT = "webchat" # set this value to None if you'd like a hex representation of the IP
10
11 BASE_URL = "http://foo.foo.org/"
12
13 FEEDBACK_FROM = "moo@moo.com"
14 FEEDBACK_TO = "moo@moo.com"
15 FEEDBACK_SMTP_HOST = "127.0.0.1"
16 FEEDBACK_SMTP_PORT = 25
17 ADMIN_ENGINE_HOSTS = ["127.0.0.1"]
18 HTTP_REQUEST_TIMEOUT = 5
19 HTTP_AJAX_REQUEST_TIMEOUT = 30
20 # optional default arguments:
21 # ARGS = "-n -p 3989"
22
23 NETWORK_NAME = "FooNet"
24 APP_TITLE = "FooNet Web IRC"
25
26 DNS_TIMEOUT = 5
27
28 # Possible types include "webirc" (CGIIRC style webirc config block),
29 # "hmac" (quakenet specific) and None (passes ip and host in realname)
30 WEBIRC_MODE = "webirc"
31
32 # webirc mode values
33 WEBIRC_PASSWORD = "fish"
34 # hmac mode values
35 HMACKEY = "mrmoo"
36 HMACTEMPORAL = 30
37
38 # the following are only really useful for quakenet but still need to be set sadly
39 AUTHGATEDOMAIN = "webchat_test"
40 QTICKETKEY = "boo"
41 AUTH_SERVICE = "Q!TheQBot@CServe.quakenet.org"
42 AUTH_OK_REGEX = "^You are now logged in as [^ ]+\\.$"