Mercurial > p > roundup > code
comparison roundup/templates/classic/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 | 8cd545738d8e |
| 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.9 2001-10-30 00:54:45 richard Exp $ | 18 # $Id: dbinit.py,v 1.10 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 |
| 124 | 126 |
| 125 db.close() | 127 db.close() |
| 126 | 128 |
| 127 # | 129 # |
| 128 # $Log: not supported by cvs2svn $ | 130 # $Log: not supported by cvs2svn $ |
| 131 # Revision 1.9 2001/10/30 00:54:45 richard | |
| 132 # Features: | |
| 133 # . #467129 ] Lossage when username=e-mail-address | |
| 134 # . #473123 ] Change message generation for author | |
| 135 # . MailGW now moves 'resolved' to 'chatting' on receiving e-mail for an issue. | |
| 136 # | |
| 129 # Revision 1.8 2001/10/09 07:25:59 richard | 137 # Revision 1.8 2001/10/09 07:25:59 richard |
| 130 # Added the Password property type. See "pydoc roundup.password" for | 138 # Added the Password property type. See "pydoc roundup.password" for |
| 131 # implementation details. Have updated some of the documentation too. | 139 # implementation details. Have updated some of the documentation too. |
| 132 # | 140 # |
| 133 # Revision 1.7 2001/08/07 00:24:43 richard | 141 # Revision 1.7 2001/08/07 00:24:43 richard |
