PageRenderTime 16ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/config.py

http://pyaimt.googlecode.com/
Python | 64 lines | 53 code | 5 blank | 6 comment | 2 complexity | 5de9e7c5a8573746fdd8f362600ace8c MD5 | raw file
 1# Copyright 2004-2006 Daniel Henninger <jadestorm@nc.rr.com>
 2# Licensed for distribution under the GPL version 2, check COPYING for details
 3
 4# -- DO NOT EDIT THIS FILE --
 5# This file is -not- to be edited by hand.  It is simply defaults.
 6# Actual configuration should be done in config.xml in the root directory.
 7# -- DO NOT EDIT THIS FILE --
 8
 9if type(True) != bool: from bool import bool
10
11class DeprecatedVariable:
12	def __init__(self, msg):
13		self.msg = msg
14
15	def __call__(self):
16		print "WARNING: %s" % self.msg
17
18jid = "aim.localhost"
19confjid = "conference.aim.localhost"
20compjid = ""
21spooldir = ".."
22pid = ""
23mainServer = "127.0.0.1"
24mainServerJID = ""
25website = ""
26reactor = ""
27port = 5347
28webport = 0
29secret = "secret"
30websecret = DeprecatedVariable("websecret is no longer used as web interface auths against JID now.")
31lang = "en"
32aimServer = "login.oscar.aol.com"
33aimPort = 5190
34sessionGreeting = ""
35registerMessage = ""
36crossChat = bool(False)
37debugLevel = 0 # 0->None, 1->Traceback, 2->WARN,ERROR, 3->INFO,WARN,ERROR
38debugFile = ""
39disableRegister = bool(False)
40disableXHTML = bool(False)
41enableAutoInvite = bool(False)
42tracebackDebug = bool(False)
43socksProxyServer = ""
44socksProxyPort = 0
45admins = []
46xdbDriver = "xmlfiles"
47xdbDriver_mysql = {}
48xdbDriver_xmlfiles = {}
49useXCP = bool(False)
50useComponentBinding = bool(False)
51useRouteWrap = bool(False)
52useJ2Component = DeprecatedVariable("useJ2Component has been split up into useComponentBinding and useRouteWrap.")
53saslUsername = ""
54avatarsOnlyOnChat = bool(False)
55disableDefaultAvatar = bool(False)
56disableAvatars = bool(False)
57disableMailNotifications = bool(False)
58messageArchiveJID = ""
59authRegister = ""
60authRegister_LDAP = {}
61disableIQAvatars = bool(False)
62disableVCardAvatars = bool(False)
63#disablePEPAvatars = bool(False)
64disableAwayMessage = bool(False)