Browse Source

add support for suggest{version,positional,pushtotalk} server settings.

Natenom/support-murmur-13-1446181288462
Michael Ziegler 13 years ago
parent
commit
65868a2a20
  1. 3
      pyweb/mumble/models.py

3
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

Loading…
Cancel
Save