]>
Commit | Line | Data |
---|---|---|
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 | # "cgiirc" (old CGIIRC style serverpassword), | |
30 | # "hmac" (quakenet specific) and None (passes ip and host in realname) | |
31 | WEBIRC_MODE = "webirc" | |
32 | ||
33 | # webirc mode values | |
34 | WEBIRC_PASSWORD = "fish" | |
35 | # cgiirc mode values | |
36 | CGIIRC_STRING = "CGIIRC" | |
37 | # hmac mode values | |
38 | HMACKEY = "mrmoo" | |
39 | HMACTEMPORAL = 30 | |
40 | ||
41 | # the following are only really useful for quakenet but still need to be set sadly | |
42 | AUTHGATEDOMAIN = "webchat_test" | |
43 | QTICKETKEY = "boo" | |
44 | AUTH_SERVICE = "Q!TheQBot@CServe.quakenet.org" | |
45 | AUTH_OK_REGEX = "^You are now logged in as [^ ]+\\.$" |