summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fe0fcba)
raw | patch | inline | side by side (parent: fe0fcba)
author | anthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 23 Jul 2001 03:55:19 +0000 (03:55 +0000) | ||
committer | anthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 23 Jul 2001 03:55:19 +0000 (03:55 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@34 57a73879-2fb5-44c3-a270-3262357dd7e2
20 files changed:
diff --git a/templates/__init__.py b/templates/__init__.py
--- a/templates/__init__.py
+++ /dev/null
@@ -1,184 +0,0 @@
-# $Id: __init__.py,v 1.2 2001-07-22 12:09:32 richard Exp $
-
-MAIL_DOMAIN=MAILHOST=HTTP_HOST=None
-HTTP_PORT=0
-
-try:
- from localconfig import *
-except ImportError:
- localconfig = None
-
-import os
-
-# roundup home is this package's directory
-ROUNDUP_HOME=os.path.split(__file__)[0]
-
-# The SMTP mail host that roundup will use to send mail
-if not MAILHOST:
- MAILHOST = 'localhost'
-
-# The domain name used for email addresses.
-if not MAIL_DOMAIN:
- MAIL_DOMAIN = 'bizarsoftware.com.au'
-
-# the next two are only used for the standalone HTTP server.
-if not HTTP_HOST:
- HTTP_HOST = ''
-if not HTTP_PORT:
- HTTP_PORT = 9080
-
-# This is the directory that the database is going to be stored in
-DATABASE = os.path.join(ROUNDUP_HOME, 'db')
-
-# This is the directory that the HTML templates reside in
-TEMPLATES = os.path.join(ROUNDUP_HOME, 'templates')
-
-# The email address that mail to roundup should go to
-ISSUE_TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN
-
-# The email address that roundup will complain to if it runs into trouble
-ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN
-
-# Somewhere for roundup to log stuff internally sent to stdout or stderr
-LOG = os.path.join(ROUNDUP_HOME, 'roundup.log')
-
-
-from roundup import hyperdb, hyper_bsddb, roundupdb, cgi_client, mailgw
-
-class Database(roundupdb.Database, hyper_bsddb.Database):
- ''' Creates a hybrid database from:
- . the base Database class given in hyperdb (basic functionlity)
- . the BSDDB implementation in hyperdb_bsddb
- . the roundup extensions from roundupdb
- '''
- pass
-
-Class = roundupdb.Class
-class IssueClass(roundupdb.IssueClass):
- ''' issues need the email information
- '''
- ISSUE_TRACKER_EMAIL = ISSUE_TRACKER_EMAIL
- ADMIN_EMAIL = ADMIN_EMAIL
- MAILHOST = MAILHOST
-
-FileClass = roundupdb.FileClass
-
-class Client(cgi_client.Client):
- ''' derives basic mail gateway implementation from the standard module,
- with any specific extensions
- '''
- TEMPLATES = TEMPLATES
- pass
-
-class MailGW(mailgw.MailGW):
- ''' derives basic mail gateway implementation from the standard module,
- with any specific extensions
- '''
- ISSUE_TRACKER_EMAIL = ISSUE_TRACKER_EMAIL
- ADMIN_EMAIL = ADMIN_EMAIL
- MAILHOST = MAILHOST
-
-def open(name=None):
- ''' as from the roundupdb method openDB
-
- storagelocator must be the directory the __init__.py file is in
- - os.path.split(__file__)[0] gives us that I think
- '''
- db = Database(DATABASE, name)
- pri = Class(db, "priority", name=hyperdb.String(), order=hyperdb.String())
- pri.setkey("name")
- stat = Class(db, "status", name=hyperdb.String(), order=hyperdb.String())
- stat.setkey("name")
- Class(db, "keyword", name=hyperdb.String())
- user = Class(db, "user", username=hyperdb.String(),
- password=hyperdb.String(), address=hyperdb.String(),
- realname=hyperdb.String(), phone=hyperdb.String(),
- organisation=hyperdb.String())
- user.setkey("username")
- msg = FileClass(db, "msg", author=hyperdb.Link("user"),
- recipients=hyperdb.Multilink("user"), date=hyperdb.Date(),
- summary=hyperdb.String(), files=hyperdb.Multilink("file"))
- file = FileClass(db, "file", name=hyperdb.String(), type=hyperdb.String())
-
- # bugs and support calls etc
- rate = Class(db, "rate", name=hyperdb.String(), order=hyperdb.String())
- rate.setkey("name")
- source = Class(db, "source", name=hyperdb.String(), order=hyperdb.String())
- source.setkey("name")
- platform = Class(db, "platform", name=hyperdb.String(), order=hyperdb.String())
- platform.setkey("name")
- product = Class(db, "product", name=hyperdb.String(), order=hyperdb.String())
- product.setkey("name")
- Class(db, "timelog", date=hyperdb.Date(), time=hyperdb.String(),
- performedby=hyperdb.Link("user"), description=hyperdb.String())
- issue = IssueClass(db, "issue", assignedto=hyperdb.Link("user"),
- priority=hyperdb.Link("priority"), status=hyperdb.Link("status"),
- rate=hyperdb.Link("rate"), source=hyperdb.Link("source"),
- product=hyperdb.Link("product"), platform=hyperdb.Multilink("platform"),
- version=hyperdb.String(),
- timelog=hyperdb.Multilink("timelog"), customername=hyperdb.String())
- issue.setkey('title')
- import detectors
- detectors.init(db)
- return db
-
-def init(adminpw):
- ''' as from the roundupdb method initDB
-
- storagelocator must be the directory the __init__.py file is in
- - os.path.split(__file__)[0] gives us that I think
- '''
- dbdir = os.path.join(DATABASE, 'files')
- if not os.path.isdir(dbdir):
- os.makedirs(dbdir)
- db = open("admin")
- db.clear()
- pri = db.getclass('priority')
- pri.create(name="fatal-bug", order="1")
- pri.create(name="bug", order="2")
- pri.create(name="usability", order="3")
- pri.create(name="feature", order="4")
- pri.create(name="support", order="5")
-
- stat = db.getclass('status')
- stat.create(name="unread", order="1")
- stat.create(name="deferred", order="2")
- stat.create(name="chatting", order="3")
- stat.create(name="need-eg", order="4")
- stat.create(name="in-progress", order="5")
- stat.create(name="testing", order="6")
- stat.create(name="done-cbb", order="7")
- stat.create(name="resolved", order="8")
-
- rate = db.getclass("rate")
- rate.create(name='basic', order="1")
- rate.create(name='premium', order="2")
- rate.create(name='internal', order="3")
-
- source = db.getclass("source")
- source.create(name='phone', order="1")
- source.create(name='e-mail', order="2")
- source.create(name='internal', order="3")
- source.create(name='internal-qa', order="4")
-
- platform = db.getclass("platform")
- platform.create(name='linux', order="1")
- platform.create(name='windows', order="2")
- platform.create(name='mac', order="3")
-
- product = db.getclass("product")
- product.create(name='Bizar Shop', order="1")
- product.create(name='Bizar Shop Developer', order="2")
- product.create(name='Bizar Shop Manual', order="3")
- product.create(name='Bizar Shop Developer Manual', order="4")
-
- user = db.getclass('user')
- user.create(username="admin", password=adminpw, address=ADMIN_EMAIL)
-
- db.close()
-
-#
-# $Log: not supported by cvs2svn $
-#
-
-
diff --git a/templates/detectors/__init__.py b/templates/detectors/__init__.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#$Id: __init__.py,v 1.1 2001-07-22 12:09:32 richard Exp $
-
-def init(db):
- ''' execute the init functions of all the modules in this directory
- '''
- import os, sys
- this_dir = os.path.split(__file__)[0]
- try:
- sys.path.insert(0, this_dir)
- for file in os.listdir(this_dir):
- file, ext = os.path.splitext(file)
- if file == '__init__': continue
- if ext in ('.py', '.pyc'):
- module = __import__(file)
- module.init(db)
- finally:
- del sys.path[0]
-
-#
-#$Log: not supported by cvs2svn $
-#
diff --git a/templates/detectors/nosyreaction.py b/templates/detectors/nosyreaction.py
+++ /dev/null
@@ -1,64 +0,0 @@
-#$Id: nosyreaction.py,v 1.1 2001-07-22 12:09:32 richard Exp $
-
-def nosyreaction(db, cl, nodeid, oldvalues):
- ''' A standard detector is provided that watches for additions to the
- "messages" property.
-
- When a new message is added, the detector sends it to all the users on
- the "nosy" list for the issue that are not already on the "recipients"
- list of the message.
-
- Those users are then appended to the "recipients" property on the
- message, so multiple copies of a message are never sent to the same
- user.
-
- The journal recorded by the hyperdatabase on the "recipients" property
- then provides a log of when the message was sent to whom.
- '''
- messages = []
- if oldvalues is None:
- # the action was a create, so use all the messages in the create
- messages = cl.get(nodeid, 'messages')
- elif oldvalues.has_key('messages'):
- # the action was a set (so adding new messages to an existing issue)
- m = {}
- for msgid in oldvalues['messages']:
- m[msgid] = 1
- messages = []
- # figure which of the messages now on the issue weren't there before
- for msgid in cl.get(nodeid, 'messages'):
- if not m.has_key(msgid):
- messages.append(msgid)
- if not messages:
- return
-
- # send a copy to the nosy list
- for msgid in messages:
- cl.sendmessage(nodeid, msgid)
-
- # update the nosy list with the recipients from the new messages
- nosy = cl.get(nodeid, 'nosy')
- n = {}
- for nosyid in nosy: n[nosyid] = 1
- change = 0
- # but don't add admin to the nosy list
- for msgid in messages:
- for recipid in db.msg.get(msgid, 'recipients'):
- if recipid != '1' and not n.has_key(recipid):
- change = 1
- nosy.append(recipid)
- authid = db.msg.get(msgid, 'author')
- if authid != '1' and not n.has_key(authid):
- change = 1
- nosy.append(authid)
- if change:
- cl.set(nodeid, nosy=nosy)
-
-
-def init(db):
- db.issue.react('create', nosyreaction)
- db.issue.react('set', nosyreaction)
-
-#
-#$Log: not supported by cvs2svn $
-#
diff --git a/templates/file.index b/templates/file.index
--- a/templates/file.index
+++ /dev/null
@@ -1,8 +0,0 @@
-<tr>
- <property name="name">
- <td><display call="link('name')"></td>
- </property>
- <property name="type">
- <td><display call="plain('type')"></td>
- </property>
-</tr>
diff --git a/templates/issue.filter b/templates/issue.filter
--- a/templates/issue.filter
+++ /dev/null
@@ -1,36 +0,0 @@
-<property name="title">
- <tr><th width="1%" align="right" class="location-bar">Title</th>
- <td><display call="field('title')"></td></tr>
-</property>
-<property name="status">
- <tr><th width="1%" align="right" class="location-bar">Status</th>
- <td><display call="checklist('status')"></td></tr>
-</property>
-<property name="priority">
- <tr><th width="1%" align="right" class="location-bar">Priority</th>
- <td><display call="checklist('priority')"></td></tr>
-</property>
-<property name="platform">
- <tr><th width="1%" align="right" class="location-bar">Platform</th>
- <td><display call="checklist('platform')"></td></tr>
-</property>
-<property name="product">
- <tr><th width="1%" align="right" class="location-bar">Product</th>
- <td><display call="checklist('product')"></td></tr>
-</property>
-<property name="version">
- <tr><th width="1%" align="right" class="location-bar">Version</th>
- <td><display call="field('version')"></td></tr>
-</property>
-<property name="source">
- <tr><th width="1%" align="right" class="location-bar">Source</th>
- <td><display call="checklist('source')"></td></tr>
-</property>
-<property name="assignedto">
- <tr><th width="1%" align="right" class="location-bar">Assigned to</th>
- <td><display call="checklist('assignedto')"></td></tr>
-</property>
-<property name="customername">
- <tr><th width="1%" align="right" class="location-bar">Customer name</th>
- <td><display call="field('customername')"></td></tr>
-</property>
diff --git a/templates/issue.index b/templates/issue.index
--- a/templates/issue.index
+++ /dev/null
@@ -1,32 +0,0 @@
-<tr>
- <property name="activity">
- <td valign="top"><display call="reldate('activity', pretty=1)"></td>
- </property>
- <property name="priority">
- <td valign="top"><display call="plain('priority')"></td>
- </property>
- <property name="status">
- <td valign="top"><display call="plain('status')"></td>
- </property>
- <property name="title">
- <td valign="top"><display call="link('title')"></td>
- </property>
- <property name="platform">
- <td valign="top"><display call="plain('platform')"></td>
- </property>
- <property name="product">
- <td valign="top"><display call="plain('product')"></td>
- </property>
- <property name="version">
- <td valign="top"><display call="plain('version')"></td>
- </property>
- <property name="source">
- <td valign="top"><display call="plain('source')"></td>
- </property>
- <property name="assignedto">
- <td valign="top"><display call="plain('assignedto')"></td>
- </property>
- <property name="customername">
- <td valign="top"><display call="plain('customername')"></td>
- </property>
-</tr>
diff --git a/templates/issue.item b/templates/issue.item
--- a/templates/issue.item
+++ /dev/null
@@ -1,85 +0,0 @@
-<table border=0 cellspacing=0 cellpadding=2>
-
-<tr class="strong-header">
- <td colspan=4>Item Information</td>
-</td>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Title</span></td>
- <td colspan=3 class="form-text"><display call="field('title', size=80)"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Product</span></td>
- <td class="form-text" valign=middle><display call="menu('product')">
- version:<display call="field('version', 5)"></td>
- <td width=1% nowrap align=right><span class="form-label">Platform</span></td>
- <td class="form-text" valign=middle><display call="checklist('platform')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Created</span></td>
- <td class="form-text"><display call="reldate('creation', pretty=1)">
- (<display call="plain('creator')">)</td>
- <td width=1% nowrap align=right><span class="form-label">Last activity</span></td>
- <td class="form-text"><display call="reldate('activity', pretty=1)"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Priority</span></td>
- <td class="form-text"><display call="field('priority')"></td>
- <td width=1% nowrap align=right><span class="form-label">Source</span></td>
- <td class="form-text"><display call="field('source')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Status</span></td>
- <td class="form-text"><display call="menu('status')"></td>
- <td width=1% nowrap align=right><span class="form-label">Rate</span></td>
- <td class="form-text"><display call="field('rate')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Assigned To</span></td>
- <td class="form-text"><display call="field('assignedto')"></td>
- <td width=1% nowrap align=right><span class="form-label">Customer Name</span></td>
- <td class="form-text"><display call="field('customername')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Superseder</span></td>
- <td class="form-text"><display call="field('superseder', size=40, showid=1)"></td>
- <td width=1% nowrap align=right><span class="form-label">Nosy List</span></td>
- <td class="form-text"><display call="field('nosy')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Change Note</span></td>
- <td colspan=3 class="form-text"><display call="note()"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td> </td>
- <td colspan=3 class="form-text"><display call="submit()"></td>
-</tr>
-
-<property name="messages">
-<tr class="strong-header">
- <td colspan=4><b>Messages</b></td>
-</tr>
-<tr>
- <td colspan=4><display call="list('messages')"></td>
-</tr>
-</property>
-
-<property name="files">
- <tr class="strong-header">
- <td colspan=4><b>Files</b></td>
- </tr>
- <tr>
- <td colspan=4><display call="list('files')"></td>
- </tr>
-</property>
-
-</table>
-
diff --git a/templates/msg.index b/templates/msg.index
--- a/templates/msg.index
+++ /dev/null
@@ -1,11 +0,0 @@
-<tr>
- <property name="date">
- <td><display call="link('date')"></td>
- </property>
- <property name="author">
- <td><display call="plain('author')"></td>
- </property>
- <property name="summary">
- <td><display call="plain('summary')"></td>
- </property>
-</tr>
diff --git a/templates/msg.item b/templates/msg.item
--- a/templates/msg.item
+++ /dev/null
@@ -1,36 +0,0 @@
-<table border=0 cellspacing=0 cellpadding=2>
-
-<tr class="strong-header">
- <td colspan=2>Message Information</td>
-</td>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Author</span></td>
- <td class="form-text"><display call="plain('author')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Recipients</span></td>
- <td class="form-text"><display call="plain('recipients')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Date</span></td>
- <td class="form-text"><display call="plain('date')"></td>
-</tr>
-
-<tr bgcolor="ffeaff">
- <td colspan=2 class="form-text">
- <pre><display call="plain('content')"></pre>
- </td>
-</tr>
-
-<property name="files">
-<tr class="strong-header"><td colspan=2><b>Files</b></td></tr>
-<tr><td colspan=2><display call="list('files')"></td></tr>
-</property>
-
-<tr class="strong-header"><td colspan=2><b>History</b></td><tr>
-<tr><td colspan=2><display call="history()"></td></tr>
-
-</table>
diff --git a/templates/templates/file.index b/templates/templates/file.index
+++ /dev/null
@@ -1,9 +0,0 @@
-<!-- $Id: file.index,v 1.1 2001-07-22 12:09:32 richard Exp $-->
-<tr>
- <property name="name">
- <td><display call="link('name')"></td>
- </property>
- <property name="type">
- <td><display call="plain('type')"></td>
- </property>
-</tr>
diff --git a/templates/templates/issue.filter b/templates/templates/issue.filter
+++ /dev/null
@@ -1,37 +0,0 @@
-<!-- $Id: issue.filter,v 1.1 2001-07-22 12:09:32 richard Exp $-->
-<property name="title">
- <tr><th width="1%" align="right" class="location-bar">Title</th>
- <td><display call="field('title')"></td></tr>
-</property>
-<property name="status">
- <tr><th width="1%" align="right" class="location-bar">Status</th>
- <td><display call="checklist('status')"></td></tr>
-</property>
-<property name="priority">
- <tr><th width="1%" align="right" class="location-bar">Priority</th>
- <td><display call="checklist('priority')"></td></tr>
-</property>
-<property name="platform">
- <tr><th width="1%" align="right" class="location-bar">Platform</th>
- <td><display call="checklist('platform')"></td></tr>
-</property>
-<property name="product">
- <tr><th width="1%" align="right" class="location-bar">Product</th>
- <td><display call="checklist('product')"></td></tr>
-</property>
-<property name="version">
- <tr><th width="1%" align="right" class="location-bar">Version</th>
- <td><display call="field('version')"></td></tr>
-</property>
-<property name="source">
- <tr><th width="1%" align="right" class="location-bar">Source</th>
- <td><display call="checklist('source')"></td></tr>
-</property>
-<property name="assignedto">
- <tr><th width="1%" align="right" class="location-bar">Assigned to</th>
- <td><display call="checklist('assignedto')"></td></tr>
-</property>
-<property name="customername">
- <tr><th width="1%" align="right" class="location-bar">Customer name</th>
- <td><display call="field('customername')"></td></tr>
-</property>
diff --git a/templates/templates/issue.index b/templates/templates/issue.index
+++ /dev/null
@@ -1,33 +0,0 @@
-<!-- $Id: issue.index,v 1.1 2001-07-22 12:09:32 richard Exp $-->
-<tr>
- <property name="activity">
- <td valign="top"><display call="reldate('activity', pretty=1)"></td>
- </property>
- <property name="priority">
- <td valign="top"><display call="plain('priority')"></td>
- </property>
- <property name="status">
- <td valign="top"><display call="plain('status')"></td>
- </property>
- <property name="title">
- <td valign="top"><display call="link('title')"></td>
- </property>
- <property name="platform">
- <td valign="top"><display call="plain('platform')"></td>
- </property>
- <property name="product">
- <td valign="top"><display call="plain('product')"></td>
- </property>
- <property name="version">
- <td valign="top"><display call="plain('version')"></td>
- </property>
- <property name="source">
- <td valign="top"><display call="plain('source')"></td>
- </property>
- <property name="assignedto">
- <td valign="top"><display call="plain('assignedto')"></td>
- </property>
- <property name="customername">
- <td valign="top"><display call="plain('customername')"></td>
- </property>
-</tr>
diff --git a/templates/templates/issue.item b/templates/templates/issue.item
+++ /dev/null
@@ -1,86 +0,0 @@
-<!-- $Id: issue.item,v 1.1 2001-07-22 12:09:32 richard Exp $-->
-<table border=0 cellspacing=0 cellpadding=2>
-
-<tr class="strong-header">
- <td colspan=4>Item Information</td>
-</td>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Title</span></td>
- <td colspan=3 class="form-text"><display call="field('title', size=80)"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Product</span></td>
- <td class="form-text" valign=middle><display call="menu('product')">
- version:<display call="field('version', 5)"></td>
- <td width=1% nowrap align=right><span class="form-label">Platform</span></td>
- <td class="form-text" valign=middle><display call="checklist('platform')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Created</span></td>
- <td class="form-text"><display call="reldate('creation', pretty=1)">
- (<display call="plain('creator')">)</td>
- <td width=1% nowrap align=right><span class="form-label">Last activity</span></td>
- <td class="form-text"><display call="reldate('activity', pretty=1)"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Priority</span></td>
- <td class="form-text"><display call="field('priority')"></td>
- <td width=1% nowrap align=right><span class="form-label">Source</span></td>
- <td class="form-text"><display call="field('source')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Status</span></td>
- <td class="form-text"><display call="menu('status')"></td>
- <td width=1% nowrap align=right><span class="form-label">Rate</span></td>
- <td class="form-text"><display call="field('rate')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Assigned To</span></td>
- <td class="form-text"><display call="field('assignedto')"></td>
- <td width=1% nowrap align=right><span class="form-label">Customer Name</span></td>
- <td class="form-text"><display call="field('customername')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Superseder</span></td>
- <td class="form-text"><display call="field('superseder', size=40, showid=1)"></td>
- <td width=1% nowrap align=right><span class="form-label">Nosy List</span></td>
- <td class="form-text"><display call="field('nosy')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Change Note</span></td>
- <td colspan=3 class="form-text"><display call="note()"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td> </td>
- <td colspan=3 class="form-text"><display call="submit()"></td>
-</tr>
-
-<property name="messages">
-<tr class="strong-header">
- <td colspan=4><b>Messages</b></td>
-</tr>
-<tr>
- <td colspan=4><display call="list('messages')"></td>
-</tr>
-</property>
-
-<property name="files">
- <tr class="strong-header">
- <td colspan=4><b>Files</b></td>
- </tr>
- <tr>
- <td colspan=4><display call="list('files')"></td>
- </tr>
-</property>
-
-</table>
-
diff --git a/templates/templates/msg.index b/templates/templates/msg.index
+++ /dev/null
@@ -1,12 +0,0 @@
-<!-- $Id: msg.index,v 1.1 2001-07-22 12:09:32 richard Exp $-->
-<tr>
- <property name="date">
- <td><display call="link('date')"></td>
- </property>
- <property name="author">
- <td><display call="plain('author')"></td>
- </property>
- <property name="summary">
- <td><display call="plain('summary')"></td>
- </property>
-</tr>
diff --git a/templates/templates/msg.item b/templates/templates/msg.item
+++ /dev/null
@@ -1,37 +0,0 @@
-<!-- $Id: msg.item,v 1.1 2001-07-22 12:09:32 richard Exp $-->
-<table border=0 cellspacing=0 cellpadding=2>
-
-<tr class="strong-header">
- <td colspan=2>Message Information</td>
-</td>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Author</span></td>
- <td class="form-text"><display call="plain('author')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Recipients</span></td>
- <td class="form-text"><display call="plain('recipients')"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Date</span></td>
- <td class="form-text"><display call="plain('date')"></td>
-</tr>
-
-<tr bgcolor="ffeaff">
- <td colspan=2 class="form-text">
- <pre><display call="plain('content')"></pre>
- </td>
-</tr>
-
-<property name="files">
-<tr class="strong-header"><td colspan=2><b>Files</b></td></tr>
-<tr><td colspan=2><display call="list('files')"></td></tr>
-</property>
-
-<tr class="strong-header"><td colspan=2><b>History</b></td><tr>
-<tr><td colspan=2><display call="history()"></td></tr>
-
-</table>
diff --git a/templates/templates/style.css b/templates/templates/style.css
+++ /dev/null
@@ -1,163 +0,0 @@
-h1 {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 18pt;
- font-weight: bold;
-}
-
-h2 {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 16pt;
- font-weight: bold;
-}
-
-h3 {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 12pt;
- font-weight: bold;
-}
-
-a:hover {
- font-family: Verdana, Helvetica, sans-serif;
- text-decoration: underline;
- color: #333333;
-}
-
-a:link {
- font-family: Verdana, Helvetica, sans-serif;
- text-decoration: none;
- color: #000099;
-}
-
-a {
- font-family: Verdana, Helvetica, sans-serif;
- text-decoration: none;
- color: #000099;
-}
-
-p {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 10pt;
- color: #333333;
-}
-
-th {
- font-family: Verdana, Helvetica, sans-serif;
- font-weight: bold;
- font-size: 10pt;
- color: #333333;
-}
-
-.form-help {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 10pt;
- color: #333333;
-}
-
-.std-text {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 10pt;
- color: #333333;
-}
-
-.tab-small {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 8pt;
- color: #333333;
-}
-
-.location-bar {
- background-color: #efefef;
- border: none;
-}
-
-.strong-header {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 12pt;
- font-weight: bold;
- background-color: #000000;
- color: #ffffff;
-}
-
-.list-header {
- background-color: #c0c0c0;
- border: none;
-}
-
-.list-item {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 10pt;
-}
-
-.list-nav {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 10pt;
- font-weight: bold;
-}
-
-.row-normal {
- background-color: #ffffff;
- border: none;
-
-}
-
-.row-hilite {
- background-color: #efefef;
- border: none;
-}
-
-.section-bar {
- background-color: #c0c0c0;
- border: none;
-}
-
-.system-msg {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 10pt;
- background-color: #ffffff;
- border: 1px solid #000000;
- margin-bottom: 6px;
- margin-top: 6px;
- padding: 4px;
- width: 100%;
- color: #660033;
-}
-
-.form-title {
- font-family: Verdana, Helvetica, sans-serif;
- font-weight: bold;
- font-size: 12pt;
- color: #333333;
-}
-
-.form-label {
- font-family: Verdana, Helvetica, sans-serif;
- font-weight: bold;
- font-size: 10pt;
- color: #333333;
-}
-
-.form-optional {
- font-family: Verdana, Helvetica, sans-serif;
- font-weight: bold;
- font-style: italic;
- font-size: 10pt;
- color: #333333;
-}
-
-.form-element {
- font-family: Verdana, Helvetica, aans-serif;
- font-size: 10pt;
- color: #000000;
-}
-
-.form-text {
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 10pt;
- color: #333333;
-}
-
-.form-mono {
- font-family: monospace;
- font-size: 12px;
- text-decoration: none;
-}
diff --git a/templates/templates/user.index b/templates/templates/user.index
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- $Id: user.index,v 1.1 2001-07-22 12:09:32 richard Exp $-->
-<tr>
- <property name="username">
- <td><display call="link('username')"></td>
- </property>
- <property name="realname">
- <td><display call="plain('realname')"></td>
- </property>
- <property name="organisation">
- <td><display call="plain('organisation')"></td>
- </property>
- <property name="address">
- <td><display call="plain('address')"></td>
- </property>
- <property name="phone">
- <td><display call="plain('phone')"></td>
- </property>
-</tr>
diff --git a/templates/templates/user.item b/templates/templates/user.item
+++ /dev/null
@@ -1,46 +0,0 @@
-<!-- $Id: user.item,v 1.1 2001-07-22 12:09:32 richard Exp $-->
-<table border=0 cellspacing=0 cellpadding=2>
-
-<tr class="strong-header">
- <td colspan=2>Your Details</td>
-</td>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Name</span></td>
- <td class="form-text"><display call="field('realname', size=40)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Login Name</span></td>
- <td class="form-text"><display call="field('username', size=40)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Login Password</span></td>
- <td class="form-text"><display call="field('password', size=10)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Phone</span></td>
- <td class="form-text"><display call="field('phone', size=40)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Organisation</span></td>
- <td class="form-text"><display call="field('organisation', size=40)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">E-mail address</span></td>
- <td class="form-text"><display call="field('address', size=40)"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td> </td>
- <td class="form-text"><display call="submit()"></td>
-</tr>
-
-<tr class="strong-header">
- <td colspan=2><b>History</b></td>
-</tr>
-<tr>
- <td colspan=2><display call="history()"></td>
-</tr>
-
-</table>
-
diff --git a/templates/user.index b/templates/user.index
--- a/templates/user.index
+++ /dev/null
@@ -1,17 +0,0 @@
-<tr>
- <property name="username">
- <td><display call="link('username')"></td>
- </property>
- <property name="realname">
- <td><display call="plain('realname')"></td>
- </property>
- <property name="organisation">
- <td><display call="plain('organisation')"></td>
- </property>
- <property name="address">
- <td><display call="plain('address')"></td>
- </property>
- <property name="phone">
- <td><display call="plain('phone')"></td>
- </property>
-</tr>
diff --git a/templates/user.item b/templates/user.item
--- a/templates/user.item
+++ /dev/null
@@ -1,45 +0,0 @@
-<table border=0 cellspacing=0 cellpadding=2>
-
-<tr class="strong-header">
- <td colspan=2>Your Details</td>
-</td>
-
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Name</span></td>
- <td class="form-text"><display call="field('realname', size=40)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Login Name</span></td>
- <td class="form-text"><display call="field('username', size=40)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Login Password</span></td>
- <td class="form-text"><display call="field('password', size=10)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Phone</span></td>
- <td class="form-text"><display call="field('phone', size=40)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">Organisation</span></td>
- <td class="form-text"><display call="field('organisation', size=40)"></td>
-</tr>
-<tr bgcolor="ffffea">
- <td width=1% nowrap align=right><span class="form-label">E-mail address</span></td>
- <td class="form-text"><display call="field('address', size=40)"></td>
-</tr>
-
-<tr bgcolor="ffffea">
- <td> </td>
- <td class="form-text"><display call="submit()"></td>
-</tr>
-
-<tr class="strong-header">
- <td colspan=2><b>History</b></td>
-</tr>
-<tr>
- <td colspan=2><display call="history()"></td>
-</tr>
-
-</table>
-