Beispiel #1
0
 def __init__(self, *args, **kwargs):
     ExtensionController.__init__(self, *args, **kwargs)
     wikidir   = os.path.join(self.api.get_data_dir(), 'warehouse')
     self.wiki = Wiki(self.api.get_db(),
                      directory         = wikidir,
                      wiki_word_handler = self.__wiki_word_handler,
                      wiki_url_handler  = self.__wiki_url_handler)
Beispiel #2
0
 def __init__(self, api, api_key):
     ExtensionController.__init__(self, api, api_key)
     self.integrator = api.get_integrator()
     self.page_db    = api.get_page_db()
     
     self.__errors = []
     self.__hidden = ['spiff',
                      'spiff_core_admin_center',
                      'spiff_core_user_manager',
                      'spiff_core_page_editor',
                      'spiff_core_extension_manager']
Beispiel #3
0
 def __init__(self, api, api_key):
     ExtensionController.__init__(self, api, api_key)
     self.__api = api
     self.__guard = api.get_guard()
     self.server = "mail.speedpartner.de"  # FIXME: Make configurable
     self.mail_from = "*****@*****.**"
Beispiel #4
0
 def __init__(self, api, api_key):
     ExtensionController.__init__(self, api, api_key)
     self.__status = self.login_open
Beispiel #5
0
 def __init__(self, api, api_key):
     ExtensionController.__init__(self, api, api_key)
     self.guard  = api.get_guard()
     self.userdb = UserDB(self.guard)