From 65868a2a20500b3da5d43409b854be8e1f2df5c4 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Thu, 16 Jun 2011 20:02:39 +0200 Subject: [PATCH] add support for suggest{version,positional,pushtotalk} server settings. --- pyweb/mumble/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyweb/mumble/models.py b/pyweb/mumble/models.py index e783a8c..95025d7 100644 --- a/pyweb/mumble/models.py +++ b/pyweb/mumble/models.py @@ -211,12 +211,15 @@ class Mumble( models.Model ): timeout = mk_config_property( "timeout", ugettext_noop("Timeout"), get_coerce=int ) textlen = mk_config_property( "textmessagelength", ugettext_noop("Maximum length of text messages") ) usersperchannel = mk_config_property( "usersperchannel",ugettext_noop("Users per channel"), get_coerce=int ) + sgversion = mk_config_property( "suggestversion", ugettext_noop("Version to suggest to upgrade to") ) certreq = mk_config_bool_property( "certrequired", ugettext_noop("Require Certificate") ) html = mk_config_bool_property( "allowhtml", ugettext_noop("Allow HTML to be used in messages") ) bonjour = mk_config_bool_property( "bonjour", ugettext_noop("Publish this server via Bonjour") ) autoboot= mk_config_bool_property( "boot", ugettext_noop("Boot Server when Murmur starts") ) rememchn= mk_config_bool_property( "rememberchannel", ugettext_noop("Remember last channel") ) + sgpositional= mk_config_bool_property( "suggestpositional", ugettext_noop("Suggest to use positional audio") ) + sgptt = mk_config_bool_property( "suggestpushtotalk", ugettext_noop("Suggest to use Push-To-Talk") ) def get_absolute_url( self ): from views import show