~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/conf/apps.py

Give console and tutorial services security declarations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
# Allow App objects
10
10
# Notes:
11
 
# desc is a full description for the front page. It isn't required
12
 
# unless this app is in apps_on_home_page.
13
11
# icon is a string of a file basename. The icon files are found in
14
12
# app_icon_dir, defined below.
15
13
class App:
29
27
                repr(self.hashelp)))
30
28
 
31
29
# Directory where app icons are stored, relative to the IVLE root.
32
 
app_icon_dir = "media/images/apps"
 
30
app_icon_dir = "+media/ivle.webapp.core/images/apps"
33
31
# Small version of icons (16x16, for favicon)
34
 
app_icon_dir_small = "media/images/apps/small"
 
32
app_icon_dir_small = "+media/ivle.webapp.core/images/apps/small"
35
33
 
36
34
# Which application to load by default (if the user navigates to the top level
37
35
# of the site). This is the app's URL name.
123
121
                    requireauth = False,
124
122
                    hashelp = False)
125
123
 
126
 
app_home = App(dir = "home",
127
 
                    name = "Home",
128
 
                    desc = "IVLE home page",
129
 
                    icon = "home.png",
130
 
                    requireauth = True,
131
 
                    hashelp = False)
132
 
 
133
124
# Mapping URL names to apps
134
125
 
135
126
app_url = {
139
130
    "tutorial" : app_tutorial,
140
131
    "serve" : app_server,
141
132
    "download" : app_download,
142
 
    "help" : app_help,
 
133
    "+help" : app_help,
143
134
    "forum" : app_forum,
144
135
    "tos" : app_tos,
145
136
    "userservice" : app_userservice,
146
137
    "subjects" : app_subjects,
147
 
    "home" : app_home,
148
138
}
149
139
if enable_debuginfo:
150
140
    app_url["debuginfo"] = app_debuginfo
154
144
# Note: The values in this list are the URL names as seen in app_url.
155
145
 
156
146
apps_in_tabs = ["files", "tutorial", "console",
157
 
                "forum", "subjects", "help"]
158
 
 
159
 
# List of apps that go in the list on the home page
160
 
apps_on_home_page = ["subjects", "files", "tutorial", "console", "forum"]
 
147
                "forum", "subjects", "+help"]