Skip to content

Commit a139902

Browse files
committed
Changelog entry for 6.119.0
- Legacy-Id: 17364
1 parent ba99feb commit a139902

1 file changed

Lines changed: 132 additions & 0 deletions

File tree

changelog

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,135 @@
1+
ietfdb (6.119.0) ietf; urgency=medium
2+
3+
**Improved email handling, and roundup of Py2/3 conversion issues**
4+
5+
This release provides a reworked email sending infrastructure so that all
6+
emails sent by the datatracker, except for logging and failure emails sent
7+
to ADMINS, are captured as a Message objects. Together with two new
8+
management commands, this makes it possible to recover from email delivery
9+
failures by re-sending any emails from the datatracker that would otherwise
10+
have been lost.
11+
12+
This release also includes backporting Python 2/3 tranistion issues that
13+
were initially patched in the production code during the recent server
14+
transition, and a number of additional unrelated bugfixes.
15+
16+
From the commit log:
17+
18+
* Merged in [17336] from rcross@amsl.com: Add rfp-announce@ietf.org to
19+
Announcement app To: address list. Changed name of secr dashboard from WG
20+
Chair Dahsboard to IETF Dashboard.
21+
22+
* Merged in [17325] from rjsparks@nostrum.com: Allow review team secretaries
23+
and the secretariat to reset the next reviewer in queue for review teams
24+
using the RotateAlphabetically policy. Partially addresses #2879.
25+
26+
* Fixed an issue with some tests that mocked urlopen() responses, and
27+
tweaked error messages on bad results in sync/rfceditor.py
28+
29+
* Added charset decoding of data read from an urlopen() object in a few
30+
places, and removed some use-once functions that were now dead code.
31+
32+
* Moved code from a couple of simple urlopen() wrappers used only once into
33+
the calling scripts. Removed a case of Py2 virtualenv activation.
34+
35+
* Added management commands to show saved messages (unsent and otherwise)
36+
and to send or re-send saved messages as needed:
37+
38+
- show_messages:
39+
40+
Show outgoing messages that have been saved as Message objects. By
41+
default all messages from the last 2 weeks are shown. Selection can be
42+
made based on date and sent/unsent state. With the --pk option, only a
43+
list of primary keys are shown, otherwise, creation and send date,
44+
message-id, sender and primary recipients, and subject line is shown.
45+
46+
- send_messages:
47+
48+
Send (or re-send) messages saved as Message objects as outgoing emails.
49+
To show existing Message objects, use the show_messages management
50+
command. Messages to send can be indicateb by date ranges, a list of
51+
primary keys, or a list of Message-IDs. Unless the --resend switch is
52+
given, the inclusion of already sent messages in the date range or
53+
message lists will result in an error exit, in order to prevent
54+
inadvertent re-sending of message. Alternatively, the --unsent switch
55+
can be used to send only messages marked as not already sent from a date
56+
range or message list.
57+
58+
* Added a migration to set an explicit content-type for Message objects
59+
where missing.
60+
61+
* Added a migration to correct Message fields containing strings that were
62+
repr() of list instances instead of comma-separated email addresses.
63+
64+
* Added saving of outgoing emails as Message instances, with accompanying
65+
test.
66+
67+
* Did a slight refactoring of infer_message() and
68+
send_scheduled_message_from_send_queue(), and added setting of a
69+
Message.sent date when sent.
70+
71+
* Fixed an issue where the lookup of recognized country names during draft
72+
submission grabbed the unicode name instead of the ascii name for
73+
non-ascii country strings in XML submissions.
74+
75+
* Updated the list of utility python files that should be ignored by
76+
code coverage measurements.
77+
78+
* Fixed log.log() to hand on the right type (str) to underlying functions,
79+
irrespective of Python version.
80+
81+
* Fixed a test to be more specific when looking for a generated Message
82+
object, to make sure to get the right one.
83+
84+
* Added html unescape for email addresses from form data that might use html
85+
entities for angle brackets.
86+
87+
* Added a 'sent' field to Message, to be able to track sent status for
88+
captured outgoing messages (which don't have a SendQueue instance).
89+
90+
* Fixed a number of bad Message.content_type settings when creating Message
91+
* objects.
92+
93+
* Fixed a string vs list issue for a Message from form case.
94+
95+
* Added missing .as_strings() to some gather_address_lists() calls, in order
96+
to assign strings rather than lists to Message CharField instances. Fixed
97+
a Message content_type setting.
98+
99+
* More Py2/3 adaptations fetched from production.
100+
101+
* Converted send-scheduled-mail to py3
102+
103+
* Added a cron script to be called every 15 minutes, to have a place where
104+
send-scheduled-mail can live and be invoked with the right environment.
105+
106+
* Moved patch.py into our project tree -- it's not being maintained by the
107+
external maintainers any more.
108+
109+
* Merged in Python 2/3 changes pulled from the production server after the
110+
switch to python 3.
111+
112+
* Merged in cronjob script changes pulled from the production server after
113+
the switch to python 3.
114+
115+
* Added cleaning of the session request form's 'comments' field, to convert
116+
any html entered to text. Related to [17322].
117+
118+
* Removed an instance of 'autoescape off' for submitted meeting session
119+
comments in a template, since it is not needed in practice; in order to
120+
avoid an XSS injection opportunity.
121+
122+
* Updated the PLAN file, removing some completed actions.
123+
124+
* Changed some remaining cases of open() to io.open(), for Py2/Py3
125+
consistency.
126+
127+
* Tweaked settings.py to make django_extension commands available if
128+
installed.
129+
130+
-- Henrik Levkowetz <henrik@levkowetz.com> 27 Feb 2020 19:56:12 +0000
131+
132+
1133
ietfdb (6.118.0) ietf; urgency=medium
2134

3135
**RG and NomCom support refinements, new data merge management commands, bug fixes**

0 commit comments

Comments
 (0)