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

« back to all changes in this revision

Viewing changes to ivle/conf/apps.py

  • Committer: William Grant
  • Date: 2009-01-20 01:44:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: grantw@unimelb.edu.au-20090120014420-t40ofmnvysps6ii9
ivle.database.ProjectSet: Add projects and project_groups referencesets.
www/apps/userservice: Don't use get_groups_by_projectset; construct the list
    of dicts manually.
ivle.db.get_groups_by_projectset: Remove. Unused. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
                    requireauth = True,
68
68
                    hashelp = True)
69
69
 
 
70
app_consoleservice = App(dir = "consoleservice",
 
71
                    name = "Console Service",
 
72
                    requireauth = True,
 
73
                    hashelp = False)
 
74
 
70
75
app_tutorial =     App(dir = "tutorial",
71
76
                    name = "Worksheets",
72
77
                    desc = "Online tutorials and exercises for lab work.",
75
80
                    requireauth = True,
76
81
                    hashelp = True)
77
82
 
 
83
app_tutorialservice = App(dir = "tutorialservice",
 
84
                    name = "Tutorial Service",
 
85
                    requireauth = True,
 
86
                    hashelp = False)
 
87
 
78
88
app_server =    App(dir = "server",
79
89
                    name = "Server",
80
90
                    requireauth = True,
110
120
                    requireauth = False,
111
121
                    hashelp = False)
112
122
 
 
123
app_settings = App(dir = "settings",
 
124
                    name = "Account Settings",
 
125
                    icon = "settings.png",
 
126
                    requireauth = True,
 
127
                    hashelp = True)
 
128
 
 
129
app_groups = App(dir = "groups",
 
130
                    name = "Group Management",
 
131
                    icon = "groups.png",
 
132
                    requireauth = True,
 
133
                    hashelp = True)
 
134
 
113
135
app_userservice = App(dir = "userservice",
114
136
                    name = "User Management Service",
115
137
                    requireauth = False,
116
138
                    hashelp = False)
117
139
 
 
140
app_diff = App(dir = "diff",
 
141
                    name = "Diff",
 
142
                    #icon = "forum.png",
 
143
                    requireauth = True,
 
144
                    hashelp = False)
 
145
 
 
146
app_svnlog = App(dir = "svnlog",
 
147
                    name = "Subversion Log",
 
148
                    requireauth = True,
 
149
                    hashelp = False)
 
150
 
118
151
app_subjects = App(dir = "subjects",
119
152
                    name = "Subjects",
120
153
                    desc = "Announcements and information about the subjects "
130
163
                    requireauth = True,
131
164
                    hashelp = False)
132
165
 
 
166
app_logout = App(dir = "logout",
 
167
                    name = "Logout",
 
168
                    requireauth = True,
 
169
                    hashelp = False)
 
170
 
133
171
# Mapping URL names to apps
134
172
 
135
173
app_url = {
136
174
    "files" : app_browser,
137
175
    "fileservice" : app_fileservice,
138
176
    "console" : app_console,
 
177
    "consoleservice" : app_consoleservice,
139
178
    "tutorial" : app_tutorial,
 
179
    "tutorialservice" : app_tutorialservice,
140
180
    "serve" : app_server,
141
181
    "download" : app_download,
142
182
    "help" : app_help,
143
183
    "forum" : app_forum,
144
184
    "tos" : app_tos,
 
185
    "settings" : app_settings,
 
186
    "groups" : app_groups,
145
187
    "userservice" : app_userservice,
 
188
    "diff" : app_diff,
 
189
    "svnlog" : app_svnlog,
146
190
    "subjects" : app_subjects,
147
191
    "home" : app_home,
 
192
    "logout" : app_logout,
148
193
}
149
194
if enable_debuginfo:
150
195
    app_url["debuginfo"] = app_debuginfo