1
# IVLE Configuration File
3
# Configuration of plugin applications for IVLE
4
# These should not need to be modified by admins unless new applications are
9
def __init__(self, dir, name, requireauth = True, hashelp = False):
12
self.requireauth = requireauth
13
self.hashelp = hashelp
15
return ("App(dir=" + repr(self.dir) + ", name=" + repr(self.name) +
16
", requireauth=" + repr(self.requireauth) + ", hashelp="
17
+ repr(self.hashelp) + ")")
19
# Application definitions
21
app_browser = App(dir = "browser",
22
name = "File Browser",
26
app_editor = App(dir = "editor",
31
app_fileservice = App(dir = "fileservice",
32
name = "File Service (AJAX server)",
36
app_console = App(dir = "console",
41
app_tutorial = App(dir = "tutorial",
46
app_server = App(dir = "server",
51
app_download = App(dir = "download",
56
app_help = App(dir = "help",
61
app_debuginfo = App(dir = "debuginfo",
62
name = "Debug Information",
66
# Mapping URL names to apps
69
"files" : app_browser,
71
"fileservice" : app_fileservice,
72
"console" : app_console,
73
"tutorial" : app_tutorial,
75
"download" : app_download,
77
#"debuginfo" : app_debuginfo,
80
# List of apps that go in the tabs at the top
81
# (The others are hidden unless they are linked to)
82
# Note: The values in this list are the URL names as seen in app_url.
84
apps_in_tabs = ["files", "edit", "console", "tutorial", "help"]