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

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: mattgiuca
  • Date: 2008-03-09 11:48:29 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:673
Rebuilt the way Terms of Service are displayed:
    Delegated displaying TOS to util.send_terms_of_service.
    dispatch/login.py and apps/tos now call this instead of doing it
    themselves.

setup.py: Added tos_path to config options.
util.py: Added send_terms_of_service. Reads the TOS file from the configured
    location, and if it isn't there, the code itself sends a default TOS
    message to administrators (note: used to be a default file, now there IS
    NO DEFAULT TOS file. This is so that it won't get blown away upon
    reinstall).
Removed apps/tos/license.html. Now admins are expected to create their own TOS
file. It explains how to do this in the TOS if there isn't one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
    svn_pass    VARCHAR,
16
16
    email       VARCHAR,
17
17
    fullname    VARCHAR NOT NULL,
18
 
    studentid   VARCHAR -- may be null
 
18
    studentid   VARCHAR, -- may be null
 
19
    settings    VARCHAR
19
20
);
20
21
 
21
22
CREATE TABLE offering (
90
91
    notes       VARCHAR
91
92
);
92
93
 
 
94
CREATE TABLE project_submission (
 
95
    assessedid  INT4 REFERENCES assessed (assessedid) NOT NULL,
 
96
    projectid   INT4 REFERENCES project (projectid) NOT NULL,
 
97
    path        VARCHAR NOT NULL,
 
98
    revision    INT4 NOT NULL
 
99
);
 
100
 
93
101
CREATE TABLE project_mark (
94
102
    assessedid  INT4 REFERENCES assessed (assessedid) NOT NULL,
95
103
    projectid   INT4 REFERENCES project (projectid) NOT NULL,
103
111
 
104
112
CREATE TABLE problem (
105
113
    problemid   SERIAL PRIMARY KEY NOT NULL,
 
114
    identifier  VARCHAR UNIQUE NOT NULL,
106
115
    spec        VARCHAR
107
116
);
108
117