view jabberbot/ @ 3910:6fbfffffc4d1

Insert moins path more aggressively into sys.path to win the race against py.test, do insertions less often in make_test_wiki
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Thu, 31 Jul 2008 14:17:19 +0200
parents e5a9570d3001
children 99ed52b53e4e
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
    MoinMoin - jabber bot configuration file

    @copyright: 2007 by Karol Nowak <>
    @license: GNU GPL, see COPYING for details.

class BotConfig:
    # Node name (username on the jabber server) to be used
    xmpp_node = u"moinbot"

    # Server to be used
    xmpp_server = u""

    # Port to connect to or None, if default
    xmpp_port = None

    # Resource name (entity@server/resource) to be used
    xmpp_resource = u"wiki"

    # Password used to connect to the xmpp server
    xmpp_password = u""

    # Status message that the bot should set
    xmpp_status = u"Ready to serve!"

    # Set to True if bot should be verbose about actions it
    # is performing. Useful for debuging.
    verbose = True

    # Interface to listen on for XML RPC traffic
    xmlrpc_host = u"localhost"

    # Port to listen on for XML RPC traffic
    xmlrpc_port = 8000

    # Url where wiki is located (for reverse XML RPC traffic)
    wiki_url = u"http://localhost:8080/"

    # A secret shared with Wiki , must be the same in both
    # configs for communication to work.
    secret = "use same string as in secrets setting in wiki config"

    # Maximum number of items in service discovery cache (XEP-0115)
    disco_cache_size = 100

    # Time allowed for a response for disco#info query (in seconds)
    disco_answering_timeout = 60