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

« back to all changes in this revision

Viewing changes to www/conf/apps.py

  • Committer: mattgiuca
  • Date: 2008-02-03 11:38:23 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:387
Implemented file uploads.
fileservice: Added "putfiles" action (slightly different to putfile action;
    see comments at top which discuss the difference).
browser/listing: Added "upload" button to side panel, which opens an upload
    panel with a file selection dialog. This uses a little trick (documented
    in the code) to get the upload to work without refreshing the page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# These should not need to be modified by admins unless new applications are
5
5
# plugged in.
6
6
 
 
7
enable_debuginfo = False
 
8
 
7
9
# Allow App objects
8
10
# Note: icon is a string of a file basename. The icon files are found in
9
11
# app_icon_dir, defined below.
31
33
# Note that if this app requires authentication, the user will first be
32
34
# presented with the login screen.
33
35
default_app = "files"
 
36
# Which application to use for "public host" URLs.
 
37
# (See conf.py)
 
38
public_app = "serve"
34
39
 
35
40
# Application definitions
36
41
 
68
73
                    requireauth = True,
69
74
                    hashelp = True)
70
75
 
 
76
app_tutorialservice = App(dir = "tutorialservice",
 
77
                    name = "Tutorial Service",
 
78
                    requireauth = True,
 
79
                    hashelp = False)
 
80
 
71
81
app_server =    App(dir = "server",
72
82
                    name = "Server",
73
 
                    requireauth = False,
 
83
                    requireauth = True,
74
84
                    hashelp = False)
75
85
 
76
86
app_download =  App(dir = "download",
98
108
    "console" : app_console,
99
109
    "consoleservice" : app_consoleservice,
100
110
    "tutorial" : app_tutorial,
 
111
    "tutorialservice" : app_tutorialservice,
101
112
    "serve" : app_server,
102
113
    "download" : app_download,
103
114
    "help" : app_help,
104
 
    #"debuginfo" : app_debuginfo,
105
115
}
 
116
if enable_debuginfo:
 
117
    app_url["debuginfo"] = app_debuginfo
106
118
 
107
119
# List of apps that go in the tabs at the top
108
120
# (The others are hidden unless they are linked to)