Mercurial > p > roundup > code
annotate roundup/templates/extended/interfaces.py @ 55:bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 23 Jul 2001 23:16:01 +0000 |
| parents | |
| children | 0791d13baea7 |
| rev | line source |
|---|---|
|
55
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1 # $Id: interfaces.py,v 1.1 2001-07-23 23:16:01 richard Exp $ |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
2 |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
3 import instance_config |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
4 from roundup import cgi_client, mailgw |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
5 |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
6 class Client(cgi_client.Client): |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
7 ''' derives basic mail gateway implementation from the standard module, |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
8 with any specific extensions |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
9 ''' |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
10 TEMPLATES = instance_config.TEMPLATES |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
11 pass |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
12 |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
13 class MailGW(mailgw.MailGW): |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
14 ''' derives basic mail gateway implementation from the standard module, |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
15 with any specific extensions |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
16 ''' |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
17 ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
18 ADMIN_EMAIL = instance_config.ADMIN_EMAIL |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
19 MAILHOST = instance_config.MAILHOST |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
20 |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
21 # |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
22 # $Log: not supported by cvs2svn $ |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
23 # |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
24 |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
25 |
