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

« back to all changes in this revision

Viewing changes to www/conf/apps.py

  • Committer: mattgiuca
  • Date: 2007-12-21 06:15:19 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:124
dispatch/request: Added new fields: method and username.
                  Added new methods: get_session and get_fieldstorage.
dispatch/html: Writes out username of logged in user, and a "logout" link.
dispatch/__init__: Handles special logout app.
                   Performs authentication, and stores username in req.
                   No longer lets apache print HTML errors. Just returns OK.
dispatch: Added login module.

Added new package: auth (handles authentication and authorization).
    Currently just does hard-coded dummy authentication.

debuginfo: Added new info for new fields of request, and also prints out
        fieldstorage and session information.

conf/apps.py: debuginfo does not require auth (careful!)
              Commented out debuginfo (no longer displays warning)

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
app_debuginfo = App(dir = "debuginfo",
42
42
                    name = "Debug Information",
43
 
                    requireauth = True,
 
43
                    requireauth = False,
44
44
                    hashelp = False)
45
45
 
46
46
# Mapping URL names to apps
50
50
    "serve" : app_server,
51
51
    "download" : app_download,
52
52
    "help" : app_help,
53
 
    "debuginfo" : app_debuginfo,
 
53
    #"debuginfo" : app_debuginfo,
54
54
}
55
55
 
56
56
# List of apps that go in the tabs at the top