/src/config.py

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