From ba2393a55084938b58970bc4c817428ce133f36a Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 26 Sep 2002 04:15:55 +0000 Subject: [PATCH] adding the "minimal" template git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1257 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/templates/minimal/.cvsignore | 4 + roundup/templates/minimal/__init__.py | 24 ++ roundup/templates/minimal/config.py | 92 ++++++ roundup/templates/minimal/dbinit.py | 106 ++++++ .../templates/minimal/detectors/.cvsignore | 3 + .../templates/minimal/detectors/__init__.py | 37 +++ roundup/templates/minimal/html/_generic.help | 15 + roundup/templates/minimal/html/_generic.index | 48 +++ roundup/templates/minimal/html/_generic.item | 56 ++++ roundup/templates/minimal/html/home | 25 ++ roundup/templates/minimal/html/home.classlist | 25 ++ roundup/templates/minimal/html/page | 68 ++++ roundup/templates/minimal/html/style.css | 305 ++++++++++++++++++ roundup/templates/minimal/html/user.index | 29 ++ roundup/templates/minimal/html/user.item | 70 ++++ roundup/templates/minimal/html/user.register | 82 +++++ roundup/templates/minimal/interfaces.py | 35 ++ 17 files changed, 1024 insertions(+) create mode 100644 roundup/templates/minimal/.cvsignore create mode 100644 roundup/templates/minimal/__init__.py create mode 100644 roundup/templates/minimal/config.py create mode 100644 roundup/templates/minimal/dbinit.py create mode 100644 roundup/templates/minimal/detectors/.cvsignore create mode 100644 roundup/templates/minimal/detectors/__init__.py create mode 100644 roundup/templates/minimal/html/_generic.help create mode 100644 roundup/templates/minimal/html/_generic.index create mode 100644 roundup/templates/minimal/html/_generic.item create mode 100644 roundup/templates/minimal/html/home create mode 100644 roundup/templates/minimal/html/home.classlist create mode 100644 roundup/templates/minimal/html/page create mode 100644 roundup/templates/minimal/html/style.css create mode 100644 roundup/templates/minimal/html/user.index create mode 100644 roundup/templates/minimal/html/user.item create mode 100644 roundup/templates/minimal/html/user.register create mode 100644 roundup/templates/minimal/interfaces.py diff --git a/roundup/templates/minimal/.cvsignore b/roundup/templates/minimal/.cvsignore new file mode 100644 index 0000000..d90d51d --- /dev/null +++ b/roundup/templates/minimal/.cvsignore @@ -0,0 +1,4 @@ +*.pyc +*.pyo +htmlbase.py +*.cover diff --git a/roundup/templates/minimal/__init__.py b/roundup/templates/minimal/__init__.py new file mode 100644 index 0000000..28e7663 --- /dev/null +++ b/roundup/templates/minimal/__init__.py @@ -0,0 +1,24 @@ +# +# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) +# This module is free software, and you may redistribute it and/or modify +# under the same terms as Python, so long as this copyright message and +# disclaimer are retained in their original form. +# +# IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING +# OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" +# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, +# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +# +# $Id: __init__.py,v 1.1 2002-09-26 04:15:07 richard Exp $ + +import config +from dbinit import open, init +from interfaces import Client, MailGW + +# vim: set filetype=python ts=4 sw=4 et si diff --git a/roundup/templates/minimal/config.py b/roundup/templates/minimal/config.py new file mode 100644 index 0000000..3fce4dc --- /dev/null +++ b/roundup/templates/minimal/config.py @@ -0,0 +1,92 @@ +# +# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) +# This module is free software, and you may redistribute it and/or modify +# under the same terms as Python, so long as this copyright message and +# disclaimer are retained in their original form. +# +# IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING +# OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" +# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, +# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +# +# $Id: config.py,v 1.1 2002-09-26 04:15:06 richard Exp $ + +import os + +# roundup home is this package's directory +TRACKER_HOME=os.path.split(__file__)[0] + +# The SMTP mail host that roundup will use to send mail +MAILHOST = 'localhost' + +# The domain name used for email addresses. +MAIL_DOMAIN = 'your.tracker.email.domain.example' + +# This is the directory that the database is going to be stored in +DATABASE = os.path.join(TRACKER_HOME, 'db') + +# This is the directory that the HTML templates reside in +TEMPLATES = os.path.join(TRACKER_HOME, 'html') + +# A descriptive name for your roundup instance +TRACKER_NAME = 'Roundup issue tracker' + +# The email address that mail to roundup should go to +TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN + +# The web address that the instance is viewable at +TRACKER_WEB = 'http://your.tracker.url.example/' + +# The email address that roundup will complain to if it runs into trouble +ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN + +# Where to place the web filtering HTML on the index page +FILTER_POSITION = 'bottom' # one of 'top', 'bottom', 'top and bottom' + +# +# SECURITY DEFINITIONS +# +# define the Roles that a user gets when they register with the tracker +# these are a comma-separated string of role names (e.g. 'Admin,User') +NEW_WEB_USER_ROLES = 'User' +NEW_EMAIL_USER_ROLES = 'User' + +# Send nosy messages to the author of the message +MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' + +# Does the author of a message get placed on the nosy list automatically? +# If 'new' is used, then the author will only be added when a message +# creates a new issue. If 'yes', then the author will be added on followups +# too. If 'no', they're never added to the nosy. +ADD_AUTHOR_TO_NOSY = 'new' # one of 'yes', 'no', 'new' + +# Do the recipients (To:, Cc:) of a message get placed on the nosy list? +# If 'new' is used, then the recipients will only be added when a message +# creates a new issue. If 'yes', then the recipients will be added on followups +# too. If 'no', they're never added to the nosy. +ADD_RECIPIENTS_TO_NOSY = 'new' # either 'yes', 'no', 'new' + +# Where to place the email signature +EMAIL_SIGNATURE_POSITION = 'bottom' # one of 'top', 'bottom', 'none' + +# Keep email citations when accepting messages. Setting this to "no" strips +# out "quoted" text from the message. Signatures are also stripped. +EMAIL_KEEP_QUOTED_TEXT = 'yes' # either 'yes' or 'no' + +# Preserve the email body as is - that is, keep the citations _and_ +# signatures. +EMAIL_LEAVE_BODY_UNCHANGED = 'no' # either 'yes' or 'no' + +# Default class to use in the mailgw if one isn't supplied in email +# subjects. To disable, comment out the variable below or leave it blank. +# Examples: +MAIL_DEFAULT_CLASS = 'issue' # use "issue" class by default +#MAIL_DEFAULT_CLASS = '' # disable (or just comment the var out) + +# vim: set filetype=python ts=4 sw=4 et si diff --git a/roundup/templates/minimal/dbinit.py b/roundup/templates/minimal/dbinit.py new file mode 100644 index 0000000..36c8d40 --- /dev/null +++ b/roundup/templates/minimal/dbinit.py @@ -0,0 +1,106 @@ +# +# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) +# This module is free software, and you may redistribute it and/or modify +# under the same terms as Python, so long as this copyright message and +# disclaimer are retained in their original form. +# +# IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING +# OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" +# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, +# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +# +# $Id: dbinit.py,v 1.1 2002-09-26 04:15:07 richard Exp $ + +import os + +import config +from select_db import Database, Class, FileClass, IssueClass + +def open(name=None): + ''' as from the roundupdb method openDB + ''' + from roundup.hyperdb import String, Password, Date, Link, Multilink + + # open the database + db = Database(config, name) + + # + # Now initialise the schema. Must do this each time the database is + # opened. + # + + # The "Minimal" template gets only one class, the required "user" + # class. That's it. And even that has the bare minimum of properties. + + # Note: roles is a comma-separated string of Role names + user = Class(db, "user", username=String(), password=Password(), + address=String(), alternate_addresses=String(), roles=String()) + user.setkey("username") + + # + # SECURITY SETTINGS + # + # new permissions for this schema + for cl in ('user', ): + db.security.addPermission(name="Edit", klass=cl, + description="User is allowed to edit "+cl) + db.security.addPermission(name="View", klass=cl, + description="User is allowed to access "+cl) + + # and give the regular users access to the web and email interface + p = db.security.getPermission('Web Access') + db.security.addPermissionToRole('User', p) + p = db.security.getPermission('Email Access') + db.security.addPermissionToRole('User', p) + + # May users view other user information? Comment these lines out + # if you don't want them to + p = db.security.getPermission('View', 'user') + db.security.addPermissionToRole('User', p) + + # Assign the appropriate permissions to the anonymous user's Anonymous + # Role. Choices here are: + # - Allow anonymous users to register through the web + p = db.security.getPermission('Web Registration') + db.security.addPermissionToRole('Anonymous', p) + # - Allow anonymous (new) users to register through the email gateway + p = db.security.getPermission('Email Registration') + db.security.addPermissionToRole('Anonymous', p) + + import detectors + detectors.init(db) + + # schema is set up - run any post-initialisation + db.post_init() + return db + +def init(adminpw): + ''' as from the roundupdb method initDB + + Open the new database, and add new nodes - used for initialisation. You + can edit this before running the "roundup-admin initialise" command to + change the initial database entries. + ''' + dbdir = os.path.join(config.DATABASE, 'files') + if not os.path.isdir(dbdir): + os.makedirs(dbdir) + + db = open("admin") + db.clear() + + # create the two default users + user = db.getclass('user') + user.create(username="admin", password=adminpw, + address=config.ADMIN_EMAIL, roles='Admin') + user.create(username="anonymous", roles='Anonymous') + + db.commit() + +# vim: set filetype=python ts=4 sw=4 et si + diff --git a/roundup/templates/minimal/detectors/.cvsignore b/roundup/templates/minimal/detectors/.cvsignore new file mode 100644 index 0000000..4162d5e --- /dev/null +++ b/roundup/templates/minimal/detectors/.cvsignore @@ -0,0 +1,3 @@ +*.pyc +*.pyo +*.cover diff --git a/roundup/templates/minimal/detectors/__init__.py b/roundup/templates/minimal/detectors/__init__.py new file mode 100644 index 0000000..185c409 --- /dev/null +++ b/roundup/templates/minimal/detectors/__init__.py @@ -0,0 +1,37 @@ +# +# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) +# This module is free software, and you may redistribute it and/or modify +# under the same terms as Python, so long as this copyright message and +# disclaimer are retained in their original form. +# +# IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING +# OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" +# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, +# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +# +#$Id: __init__.py,v 1.1 2002-09-26 04:15:26 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 == '.py': + module = __import__(file) + module.init(db) + finally: + del sys.path[0] + +# vim: set filetype=python ts=4 sw=4 et si diff --git a/roundup/templates/minimal/html/_generic.help b/roundup/templates/minimal/html/_generic.help new file mode 100644 index 0000000..bced017 --- /dev/null +++ b/roundup/templates/minimal/html/_generic.help @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + diff --git a/roundup/templates/minimal/html/_generic.index b/roundup/templates/minimal/html/_generic.index new file mode 100644 index 0000000..f21b5d2 --- /dev/null +++ b/roundup/templates/minimal/html/_generic.index @@ -0,0 +1,48 @@ + + + + + +

+ + + + +You are not allowed to view this page. + + + +

+ You may edit the contents of the + class using this form. Commas, newlines and double quotes (") must be + handled delicately. You may include commas and newlines by enclosing the + values in double-quotes ("). Double quotes themselves must be quoted by + doubling (""). +

+ +

+ Multilink properties have their multiple values colon (":") separated + (... ,"one:two:three", ...) +

+ +

+ Remove entries by deleting their line. Add new entries by appending + them to the table - put an X in the id column. +

+ +
+ +
+ + +
+
+ + +view ok + + + + +
diff --git a/roundup/templates/minimal/html/_generic.item b/roundup/templates/minimal/html/_generic.item new file mode 100644 index 0000000..a9d2e85 --- /dev/null +++ b/roundup/templates/minimal/html/_generic.item @@ -0,0 +1,56 @@ + + + +

+ + + + +You are not allowed to view this page. + + +
+ + + + + + + + + + + + + + + + +
  + submit button will go here +
+ +
+ + + + + + + + + +
+ + + + + + + + + diff --git a/roundup/templates/minimal/html/home b/roundup/templates/minimal/html/home new file mode 100644 index 0000000..acf6023 --- /dev/null +++ b/roundup/templates/minimal/html/home @@ -0,0 +1,25 @@ + +Tracker home + +

Tracker home

+ + + + + + +

+Please select from one of the menu options on the right. +

+

+Please log in or register. +

+
+ + +
diff --git a/roundup/templates/minimal/html/home.classlist b/roundup/templates/minimal/html/home.classlist new file mode 100644 index 0000000..0b5a244 --- /dev/null +++ b/roundup/templates/minimal/html/home.classlist @@ -0,0 +1,25 @@ + +List of classes + +

List of classes

+ + + + + + + + + + + + + + +
+ classname +
nametype
+ + +
diff --git a/roundup/templates/minimal/html/page b/roundup/templates/minimal/html/page new file mode 100644 index 0000000..3c139cf --- /dev/null +++ b/roundup/templates/minimal/html/page @@ -0,0 +1,68 @@ + + +title goes here + + + + + + + + + + + + + + + + + + + + + + + +
 

name

+

error

+

error

+
Page content goes here
+ +
+
+ + + diff --git a/roundup/templates/minimal/html/style.css b/roundup/templates/minimal/html/style.css new file mode 100644 index 0000000..1a1574e --- /dev/null +++ b/roundup/templates/minimal/html/style.css @@ -0,0 +1,305 @@ +/* main page styles */ +body.body { + font-family: sans-serif, Arial, Helvetica; + color: #333333; +} +a[href]:hover { color:blue; text-decoration: underline; } +a[href]:link { color:blue; text-decoration: none; } +a[href] { color:blue; text-decoration: none; } + +table.body { + border: 0; + padding: 0; + border-spacing: 0px; + border-collapse: separate; +} + +td.page-header-left { + padding: 5px; + border-bottom: 1px solid #444444; +} + +td.page-header-top { + border-bottom: 1px solid #444444; + padding: 5px; +} + +td.sidebar { + padding: 1 0 0 1; +} + +td.sidebar p.classblock { + padding: 0 5 0 5; + margin: 1 1 1 1; + border: 1px solid #444444; + background-color: #eeeeee; +} + +td.sidebar p.userblock { + padding: 0 5 0 5; + margin: 1 1 1 1; + border: 1px solid #444444; + background-color: #eeeeff; +} + +td.content { + padding: 1 5 1 5; + vertical-align: top; +} + +p.ok-message { + background-color: #22bb22; + padding: 5 5 5 5; + color: white; + font-weight: bold; +} +p.error-message { + background-color: #bb2222; + padding: 5 5 5 5; + color: white; + font-weight: bold; +} + + +/* style for forms */ +table.form { + padding: 2; + border-spacing: 0px; + border-collapse: separate; +} + +table.form th { + font-weight: bold; + color: #333388; + text-align: right; + vertical-align: top; +} + +table.form th.header { + font-weight: bold; + color: #333388; + background-color: #eeeeff; + text-align: left; +} + +table.form td.optional { + font-weight: bold; + font-style: italic; + color: #333333; + empty-cells: show; +} + +table.form td { + color: #333333; + empty-cells: show; +} + +table.form td.html { + color: #777777; + empty-cells: show; +} + +/* style for lists */ +table.list { + border-spacing: 0px; + border-collapse: separate; + width: 100%; +} + +table.list th { + padding: 0 4 0 4; + color: #404070; + background-color: #eeeeff; + border-right: 1px solid #404070; + border-top: 1px solid #404070; + border-bottom: 1px solid #404070; + vertical-align: top; +} +table.list th a[href]:hover { color: #404070 } +table.list th a[href]:link { color: #404070 } +table.list th a[href] { color: #404070 } +table.list th.group { + background-color: #f4f4ff; + text-align: center; +} + +table.list td { + padding: 0 4 0 4; + border: 0 2 0 2; + border-right: 1px solid #404070; + color: #404070; + background-color: white; + vertical-align: top; +} + +table.list tr.normal td { + empty-cells: show; +} + +table.list tr.alt td { + background-color: #efefef; + empty-cells: show; +} + +table.list td:first-child { + border-left: 1px solid #404070; + border-right: 1px solid #404070; + empty-cells: show; +} + +table.list th:first-child { + border-left: 1px solid #404070; + border-right: 1px solid #404070; + empty-cells: show; +} + + +/* style for message displays */ +table.messages { + border-spacing: 0px; + border-collapse: separate; + width: 100%; +} + +table.messages th.header{ + padding-top: 10px; + border-bottom: 1px solid gray; + font-weight: bold; + background-color: white; + color: #707040; +} + +table.messages th { + font-weight: bold; + color: black; + text-align: left; +} + +table.messages td { + font-family: monospace; + background-color: #efefef; + border-top: 1px solid #afafaf; + border-bottom: 1px solid #afafaf; + color: black; + empty-cells: show; +} + +/* style for file displays */ +table.files { + border-spacing: 0px; + border-collapse: separate; + width: 100%; +} + +table.files th.header{ + padding-top: 10px; + border-bottom: 1px solid gray; + font-weight: bold; + background-color: white; + color: #707040; +} + +table.files th { + border-bottom: 1px solid #afafaf; + font-weight: bold; + text-align: left; +} + +table.files td { + font-family: monospace; + empty-cells: show; +} + +/* style for history displays */ +table.history { + border-spacing: 0px; + border-collapse: separate; + width: 100%; +} + +table.history th.header{ + padding-top: 10px; + border-bottom: 1px solid gray; + font-weight: bold; + background-color: white; + color: #707040; + font-size: 100%; +} + +table.history th { + border-bottom: 1px solid #afafaf; + font-weight: bold; + text-align: left; + font-size: 90%; +} + +table.history td { + font-size: 90%; + vertical-align: top; + empty-cells: show; +} + + +/* style for class list */ +table.classlist { + border-spacing: 0px; + border-collapse: separate; + width: 100%; +} + +table.classlist th.header{ + padding-top: 10px; + border-bottom: 1px solid gray; + font-weight: bold; + background-color: white; + color: #707040; +} + +table.classlist th { + font-weight: bold; + text-align: left; +} + + +/* style for class help display */ +table.classhelp { + border-spacing: 0px; + border-collapse: separate; + width: 100%; +} + +table.classhelp th { + font-weight: bold; + text-align: left; + color: #707040; +} + +table.classhelp td { + padding: 2 2 2 2; + border: 1px solid black; + text-align: left; + vertical-align: top; + empty-cells: show; +} + + +/* style for "other" displays */ +table.otherinfo { + border-spacing: 0px; + border-collapse: separate; + width: 100%; +} + +table.otherinfo th.header{ + padding-top: 10px; + border-bottom: 1px solid gray; + font-weight: bold; + background-color: white; + color: #707040; +} + +table.otherinfo th { + border-bottom: 1px solid #afafaf; + font-weight: bold; + text-align: left; +} diff --git a/roundup/templates/minimal/html/user.index b/roundup/templates/minimal/html/user.index new file mode 100644 index 0000000..1921d39 --- /dev/null +++ b/roundup/templates/minimal/html/user.index @@ -0,0 +1,29 @@ + + +User listing + +

User listing

+ + + + +You are not allowed to view this page. + + + + + + + + + + + +
UsernameEmail address
+ username + address
+ + +
diff --git a/roundup/templates/minimal/html/user.item b/roundup/templates/minimal/html/user.item new file mode 100644 index 0000000..642b776 --- /dev/null +++ b/roundup/templates/minimal/html/user.item @@ -0,0 +1,70 @@ + + +User editing + +

User editing

+ + + +You are not allowed to view this page. + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Login Nameusername
Login Passwordpassword
Confirm Passwordpassword
Rolesroles + +
E-mail addressaddress
Alternate E-mail addresses
One address per line
alternate_addresses
 submit button here
+
+ + + + + + + + + + +
Login Nameusername
E-mail addressaddress
+ + + + + + diff --git a/roundup/templates/minimal/html/user.register b/roundup/templates/minimal/html/user.register new file mode 100644 index 0000000..a226413 --- /dev/null +++ b/roundup/templates/minimal/html/user.register @@ -0,0 +1,82 @@ + + + + +

+ + + + + + +You are not allowed to view this page. + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Namerealname
Login Nameusername
Login Passwordpassword
Confirm Passwordpassword
Rolesroles + +
Phonephone
Organisationorganisation
E-mail addressaddress
Alternate E-mail addresses
One address per line
alternate_addresses
  + + +
+
+ +
+ +
+ + + +
diff --git a/roundup/templates/minimal/interfaces.py b/roundup/templates/minimal/interfaces.py new file mode 100644 index 0000000..aab9e40 --- /dev/null +++ b/roundup/templates/minimal/interfaces.py @@ -0,0 +1,35 @@ +# +# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) +# This module is free software, and you may redistribute it and/or modify +# under the same terms as Python, so long as this copyright message and +# disclaimer are retained in their original form. +# +# IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING +# OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" +# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, +# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +# +# $Id: interfaces.py,v 1.1 2002-09-26 04:15:07 richard Exp $ + +from roundup import mailgw +from roundup.cgi import client + +class Client(client.Client): + ''' derives basic CGI implementation from the standard module, + with any specific extensions + ''' + pass + +class MailGW(mailgw.MailGW): + ''' derives basic mail gateway implementation from the standard module, + with any specific extensions + ''' + pass + +# vim: set filetype=python ts=4 sw=4 et si -- 2.30.2