comparison src/twisted/plugins/libervia_server.py @ 1078:296bda6b7ed0

pages (tickets): tickets discovery: if not is not specified in URL, new discovery page is used. Discovery is for now basic and allows only to use a free jid with standard node, or display nodes specified in config. Service, node and name of a tickets node can be specified in config using tickets_trackers_json.
author Goffi <goffi@goffi.org>
date Mon, 26 Mar 2018 21:32:16 +0200
parents f2170536ba23
children ed67265205c4
comparison
equal deleted inserted replaced
1077:880ea673aaff 1078:296bda6b7ed0
116 OPT_PARAMETERS_CFG = [ 116 OPT_PARAMETERS_CFG = [
117 ['empty_password_allowed_warning_dangerous_list', None, '', None], 117 ['empty_password_allowed_warning_dangerous_list', None, '', None],
118 ['url_redirections_profile', None, '', None], 118 ['url_redirections_profile', None, '', None],
119 ['url_redirections_dict', None, {}, None], 119 ['url_redirections_dict', None, {}, None],
120 ['menu_json', None, C.DEFAULT_MENU, None], 120 ['menu_json', None, C.DEFAULT_MENU, None],
121 ['tickets_trackers_json', None, None, None],
121 ] 122 ]
122 123
123 def initialise(options): 124 def initialise(options):
124 """Method to initialise global modules""" 125 """Method to initialise global modules"""
125 from twisted.internet import glib2reactor 126 from twisted.internet import glib2reactor