summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 06643f4)
raw | patch | inline | side by side (parent: 06643f4)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 22 May 2002 01:24:51 +0000 (01:24 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 22 May 2002 01:24:51 +0000 (01:24 +0000) |
for upgraders. Reinstated list header style (oops)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@747 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@747 57a73879-2fb5-44c3-a270-3262357dd7e2
diff --git a/MIGRATION.txt b/MIGRATION.txt
index 27bd93ec7ef3854af71690f2082e02083d5b5e8c..7730c360e46b72e95a5322541805f397ed4cfba4 100644 (file)
--- a/MIGRATION.txt
+++ b/MIGRATION.txt
the None value of 'assignedto' to 'CURRENT USER' (the string, in quotes) for
the replacement behaviour to occur now.
+The new configuration variables are:
+
+- EMAIL_KEEP_QUOTED_TEXT
+- EMAIL_LEAVE_BODY_UNCHANGED
+- ADD_RECIPIENTS_TO_NOSY
+
Migrating from 0.4.0 to 0.4.1
=============================
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index a4664e1b9f5bcd1c9dd3cf35d37f4116708a1039..a114a5898d530eaa07767e2620a1584f771d9444 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
an exception, the original message is bounced back to the sender with the
explanatory message given in the exception.
-$Id: mailgw.py,v 1.71 2002-05-08 02:40:55 richard Exp $
+$Id: mailgw.py,v 1.72 2002-05-22 01:24:51 richard Exp $
'''
else:
content = self.get_part_data_decoded(message)
- keep_citations = self.instance.EMAIL_KEEP_QUOTED_TEXT == 'yes'
- keep_body = self.instance.EMAIL_LEAVE_BODY_UNCHANGED == 'yes'
+ # figure how much we should muck around with the email body
+ keep_citations = getattr(self.instance, 'EMAIL_KEEP_QUOTED_TEXT',
+ 'no') == 'yes'
+ keep_body = getattr(self.instance, 'EMAIL_LEAVE_BODY_UNCHANGED',
+ 'no') == 'yes'
+
+ # parse the body of the message, stripping out bits as appropriate
summary, content = parseContent(content, keep_citations,
keep_body)
# ditch the stupid Outlook quoting of the entire original message
break
-
# and add the section to the output
l.append(section)
# we only set content for those who want to delete cruft from the
#
# $Log: not supported by cvs2svn $
+# Revision 1.71 2002/05/08 02:40:55 richard
+# grr
+#
# Revision 1.70 2002/05/06 23:40:07 richard
# hrm
#
index b496cab6683119bdbb9c4a66677504b51ef58a63..c4bf768ebc54a5c78657ec82b4559740d0a02762 100644 (file)
color: #ffffff;
}
+.list-header {
+ background-color: #aaccff;
+ color: #000000;
+ border: none;
+}
+
.row-normal {
background-color: #ffffff;
border: none;
index 95e8bd4c9d8f910a6c606e5bea6b1e3d6dff3975..dbaaf4a6dff23cf7e9e9fdff23da14c002e933ca 100644 (file)
color: #ffffff;
}
+.list-header {
+ background-color: #aaccff;
+ color: #000000;
+ border: none;
+}
+
.row-normal {
background-color: #ffffff;
border: none;