comparison src/twisted/plugins/libervia_server.py @ 1081:ed67265205c4

pages (merge-requests): added a discovery page similar to tickets one: new "mr_handlers_json" option allows to add well known merge-requests handlers in configuration.
author Goffi <goffi@goffi.org>
date Tue, 27 Mar 2018 08:40:12 +0200
parents 296bda6b7ed0
children cdd389ef97bc
comparison
equal deleted inserted replaced
1080:2c2b8c08e6c9 1081:ed67265205c4
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 ['tickets_trackers_json', None, None, None],
122 ['mr_handlers_json', None, None, None],
122 ] 123 ]
123 124
124 def initialise(options): 125 def initialise(options):
125 """Method to initialise global modules""" 126 """Method to initialise global modules"""
126 from twisted.internet import glib2reactor 127 from twisted.internet import glib2reactor