Mercurial > p > roundup > code
comparison roundup/templates/extended/dbinit.py @ 411:a6088556e9ba
Features and fixes.
Feature:
. Added INSTANCE_NAME to configuration - used in web and email to identify
the instance.
. Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup
signature info in e-mails.
. Some more flexibility in the mail gateway and more error handling.
. Login now takes you to the page you back to the were denied access to.
Fixed:
. Lots of bugs, thanks Roch�nd others on the devel mailing list!
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 26 Nov 2001 22:55:56 +0000 |
| parents | f43af1e97fdd |
| children | 350685601f37 |
comparison
equal
deleted
inserted
replaced
| 410:3a192fe4e709 | 411:a6088556e9ba |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: dbinit.py,v 1.14 2001-11-21 02:34:18 richard Exp $ | 18 # $Id: dbinit.py,v 1.15 2001-11-26 22:55:56 richard Exp $ |
| 19 | 19 |
| 20 import os | 20 import os |
| 21 | 21 |
| 22 import instance_config | 22 import instance_config |
| 23 from roundup import roundupdb | 23 from roundup import roundupdb |
| 33 pass | 33 pass |
| 34 | 34 |
| 35 class IssueClass(roundupdb.IssueClass): | 35 class IssueClass(roundupdb.IssueClass): |
| 36 ''' issues need the email information | 36 ''' issues need the email information |
| 37 ''' | 37 ''' |
| 38 INSTANCE_NAME = instance_config.INSTANCE_NAME | |
| 38 ISSUE_TRACKER_WEB = instance_config.ISSUE_TRACKER_WEB | 39 ISSUE_TRACKER_WEB = instance_config.ISSUE_TRACKER_WEB |
| 39 ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL | 40 ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL |
| 40 ADMIN_EMAIL = instance_config.ADMIN_EMAIL | 41 ADMIN_EMAIL = instance_config.ADMIN_EMAIL |
| 41 MAILHOST = instance_config.MAILHOST | 42 MAILHOST = instance_config.MAILHOST |
| 42 MESSAGES_TO_AUTHOR = instance_config.MESSAGES_TO_AUTHOR | 43 MESSAGES_TO_AUTHOR = instance_config.MESSAGES_TO_AUTHOR |
| 44 EMAIL_SIGNATURE_POSITION = instance_config.EMAIL_SIGNATURE_POSITION | |
| 43 | 45 |
| 44 | 46 |
| 45 def open(name=None): | 47 def open(name=None): |
| 46 ''' as from the roundupdb method openDB | 48 ''' as from the roundupdb method openDB |
| 47 | 49 |
| 174 | 176 |
| 175 db.close() | 177 db.close() |
| 176 | 178 |
| 177 # | 179 # |
| 178 # $Log: not supported by cvs2svn $ | 180 # $Log: not supported by cvs2svn $ |
| 181 # Revision 1.14 2001/11/21 02:34:18 richard | |
| 182 # Added a target version field to the extended issue schema | |
| 183 # | |
| 179 # Revision 1.13 2001/10/30 00:54:45 richard | 184 # Revision 1.13 2001/10/30 00:54:45 richard |
| 180 # Features: | 185 # Features: |
| 181 # . #467129 ] Lossage when username=e-mail-address | 186 # . #467129 ] Lossage when username=e-mail-address |
| 182 # . #473123 ] Change message generation for author | 187 # . #473123 ] Change message generation for author |
| 183 # . MailGW now moves 'resolved' to 'chatting' on receiving e-mail for an issue. | 188 # . MailGW now moves 'resolved' to 'chatting' on receiving e-mail for an issue. |
