Henrik Levkowetz
ec684e1b4e
Added a pylint rc-file, and fixed or silenced a number of issues found by pylint using the settings .pylintrc (which enable only error checking).
...
- Legacy-Id: 11941
2016-09-08 14:48:59 +00:00
Henrik Levkowetz
22e2b0ab88
Added a return value used by ietf.middleware.SMTPExceptionMiddleware.process_exception().
...
- Legacy-Id: 11940
2016-09-08 09:37:22 +00:00
Robert Sparks
214b81991e
Further tweaks to rendering messages from the messaging framework. Commit ready for merge.
...
- Legacy-Id: 10809
2016-02-09 19:56:26 +00:00
Robert Sparks
c3e81c179b
Some tweaks to handle rendering django messaging framework messages a little better. Commit ready to merge.
...
- Legacy-Id: 10804
2016-02-08 22:09:50 +00:00
Robert Sparks
85cfe0ed8a
Show leadership when and where mail was sent at the time it is sent. Commit ready for merge.
...
- Legacy-Id: 9608
2015-05-07 16:29:17 +00:00
Henrik Levkowetz
7ecfac6308
Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
...
- Legacy-Id: 9028
2015-02-08 21:16:44 +00:00
Henrik Levkowetz
028b7e315a
Reverted to [9025] because commit [9026] failed (it was incomplete with a broken working dir).
...
- Legacy-Id: 9027
Note: SVN reference [9026] has been migrated to Git commit 4a3749a66b
2015-02-08 20:03:16 +00:00
Henrik Levkowetz
4a3749a66b
Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
...
- Legacy-Id: 9026
2015-02-08 19:16:46 +00:00
Henrik Levkowetz
970059617e
Added back a general setting (removed from the Django framework in 1.7) to avoid base64-encoding of UTF-8 email messages.
...
- Legacy-Id: 9012
2015-02-06 12:33:24 +00:00
Robert Sparks
4988d9378c
Avoid an issue with python.email breaking To header field values that it has to encode in bad places. Fixes #1589 . Commit ready for merge.
...
- Legacy-Id: 8961
2015-02-03 20:18:27 +00:00
Robert Sparks
5ca9581072
Reworked smtp error warning and logging to not use hard-to-read context_managers. Fixes bug #1390 . Commit ready to merge.
...
- Legacy-Id: 8584
2014-11-04 19:49:22 +00:00
Henrik Levkowetz
4cc4f5080c
Merged in [8254] from rjsparks@nostrum.com:\n Don't send mail to unknown-email-* addresses. Fixes bug #1471 .
...
- Legacy-Id: 8365
Note: SVN reference [8254] has been migrated to Git commit f7f29a62588eac9b2aaf26cd0401a910fa48403f
2014-09-28 18:51:21 +00:00
Henrik Levkowetz
f00f589e66
Renamed a very specialized function from email_secretariat() to email_iesg_secretary_re_charter().
...
- Legacy-Id: 7923
2014-06-17 16:31:12 +00:00
Robert Sparks
393422b36b
Improves the robustness of the SMTP error handling utilities. Fixes bug #1409 . Commit ready for merge.
...
- Legacy-Id: 7766
2014-05-22 01:28:33 +00:00
Robert Sparks
bf4f3ad75f
Made several changes to better handle non-ascii UTF-8 in email messages.
...
Used multipart mime when including the original message in an error message to the secretariat.
Modified the way IANA review email is parsed.
Added non-ascii UTF-8 tests to the IANA review email parser and to the SMTP Exception handling code.
Commit ready for merge.
- Legacy-Id: 7673
2014-04-29 18:45:37 +00:00
Henrik Levkowetz
4b6ca22ff7
Merged in [7635] from rjsparks@nostrum.com:
...
Replumbed how SMTP Exceptions are handled, which involved refactoring several mail functions
- Legacy-Id: 7637
Note: SVN reference [7635] has been migrated to Git commit 73b0831b57
2014-04-24 22:14:57 +00:00
Robert Sparks
73b0831b57
Replumbed how SMTP Exceptions are handled, which involved refactoring several mail functions
...
- Legacy-Id: 7635
2014-04-24 18:29:01 +00:00
Henrik Levkowetz
fe5d53fc40
Merged in [7591] from rjsparks@nostrum.com:
...
Adds a real (if simple) SMTP server to the test framework and tests handling of exceptions and rejected addresses. Fixes ticket #1314 .
- Legacy-Id: 7613
Note: SVN reference [7591] has been migrated to Git commit 54919f01343995ab154d27dcfaf7a60b15dd5eee
2014-04-16 19:40:57 +00:00
Henrik Levkowetz
af4c6e253c
Exclude empty email addresses from the send list.
...
- Legacy-Id: 7552
2014-03-27 22:09:37 +00:00
Henrik Levkowetz
49edc7404e
Made ietf/utils pyflakes-clean.
...
- Legacy-Id: 7496
2014-03-16 07:26:03 +00:00
Henrik Levkowetz
02031a01b9
Cleaned out some (arbitrary) submodule name imports into ietf.utils, and made the corresponding import statements import the names directly from the correct submodules.
...
- Legacy-Id: 7495
2014-03-16 07:09:38 +00:00
Henrik Levkowetz
b91524fabc
Merged [7368] from rjsparks@nostrum.com: Improves the detail in the messages sent when creating tickets about failed sent email.
...
Changes a locally defined exception name to look less like one already defined in smtplib.
This is related to ticket #1208 .
- Legacy-Id: 7382
Note: SVN reference [7368] has been migrated to Git commit 08f13239c9beb6dcb0be978e800b82c4104b61e7
2014-03-01 18:13:43 +00:00
Henrik Levkowetz
9ea9ba1d66
Merged in [7138] from rjsparks@nostrum.com:
...
Reworked SMTP Exception handling, adding sending a ticket to the secretariat when there are errors handing messages off for delivery.
Added SMTP exception handling to send-scheduled-mail.
This is related to ticket #1208
- Legacy-Id: 7256
Note: SVN reference [7138] has been migrated to Git commit 64727c1c33
2014-02-17 18:55:37 +00:00
Ole Laursen
e98abbf56d
Change the port accepted for debug purposes to 2025 instead of 1025 to
...
not conflict with the port on the live server
- Legacy-Id: 6715
2013-11-15 13:55:10 +00:00
Ole Laursen
fd01ddd215
Make the mail code detect USING_DEBUG_EMAIL_SERVER which if set to
...
true and EMAIL_HOST and EMAIL_PORT is set to localhost:1025 will turn
on debugging which essentially makes it send emails; also added
instructions for starting the debugging SMTP server bundled with
Python
python -m smtpd -n -c DebuggingServer localhost:1025
in a comment near the code
- Legacy-Id: 6713
2013-11-15 12:57:31 +00:00
Henrik Levkowetz
ed020c8b8e
Add Auto-Submitted and Precedence header fields to outgoing email messages.
...
- Legacy-Id: 6071
2013-08-17 15:33:56 +00:00
Henrik Levkowetz
5bee7ac538
Provide the necessary message information to the user confirmation messaging. Fixes issue #1049 .
...
- Legacy-Id: 5767
2013-05-31 16:32:25 +00:00
Robert Sparks
19dcf10316
Changed the header to last call messages to IETF Announce and to IANA to make replying to the announcement less likely to create an unnecessary ticket
...
- Legacy-Id: 5602
2013-03-27 19:04:50 +00:00
Henrik Levkowetz
cc60a1aa5d
Restored fix to utils/mail.py.
...
- Legacy-Id: 5521
2013-03-09 20:06:11 +00:00
Henrik Levkowetz
e1a7bf92ff
Added logging for mail sending problems.
...
- Legacy-Id: 5489
2013-03-06 19:36:06 +00:00
Ole Laursen
6062e16c2d
Email IANA and RFC Editor when a draft is pulled from the queue at the
...
Datatracker, add page for editing IANA states, add more info to the
/doc/draft-XXXXX/doc.json dump for the RFC Editor, add page for
editing consensus, add page for requesting publication at the RFC
Editor for alternate streams (this will email the RFC Editor and set
the draft in the appropriate state), make it possible for alternate
streams to change the intended RFC status of a draft in the stream,
refactor how IANA copies are handled slightly so it's less code, put
drafts automatically in IANA Review "Need Review" state upon last
call, fix a bug in ballot issuing, remove a bit of dead code
- Legacy-Id: 4857
2012-09-17 16:15:45 +00:00
Ole Laursen
480cb04cd6
Save announcements generated by the system as Messages, adding an
...
extra relation to be able to associate a draft with the message
- Legacy-Id: 3917
2012-02-08 21:05:28 +00:00
Ole Laursen
79ea179ff9
Comment out verbose mail server debug output for the time being
...
- Legacy-Id: 3719
2011-11-28 17:52:27 +00:00
Ole Laursen
03d1877802
Interpret settings.EMAIL_COPY_TO="" as "don't send a copy"
...
- Legacy-Id: 3717
2011-11-28 17:21:29 +00:00
Ole Laursen
ea4e79cacb
Fix empty_outbox to actually work as intended when outbox is imported elsewhere
...
- Legacy-Id: 3702
2011-11-24 16:36:19 +00:00
Ole Laursen
5a4c23ea92
Merge with trunk
...
- Legacy-Id: 3676
2011-11-21 16:41:21 +00:00
Ole Laursen
ce74be89ef
Use the test mode in the mail code when running automated tests instead of
...
reinventing the wheel in test_runner
- Legacy-Id: 3620
2011-11-15 11:24:33 +00:00
Ole Laursen
f7eefe8ee2
Finally get the mail system during automated test to send the real
...
message (i.e. pretend to do) instead of sending a copy, should make it
a bit easier to write tests
- Legacy-Id: 3595
2011-11-08 11:48:57 +00:00
Henrik Levkowetz
5351319a9d
Change the signatures of ietf.utils.mail functions using toUser to reflect that it's used as a boolean, not something else.
...
- Legacy-Id: 3522
2011-10-26 13:30:20 +00:00
Henrik Levkowetz
e904041ea9
Don't try to do string join on None, in case any address in an address list given to the mail sending routines is missing and represented by None.
...
- Legacy-Id: 3111
2011-05-10 12:13:40 +00:00
Henrik Levkowetz
7e6134496b
Remove the To/From/Subject headers from extra headers to prevent duplicate headers.
...
- Legacy-Id: 2812
2011-02-04 12:13:46 +00:00
Henrik Levkowetz
ef26a18076
Don't try to send out mail which has no recipients.
...
- Legacy-Id: 2779
2011-02-01 10:24:54 +00:00
Henrik Levkowetz
9720c03038
Propagate all extra fields on to the final email sending function, not only the Cc and Bcc fields.
...
- Legacy-Id: 2765
2011-01-27 15:06:53 +00:00
Henrik Levkowetz
e8de267a1d
Merged [2644] from fenner@fenron.net:
...
Fill in the X-IETF-IDTracker header with the
I-D Tracker version number. This fixes #513
- Legacy-Id: 2647
Note: SVN reference [2644] has been migrated to Git commit 77a401f7eb3f06427d3cfae81ec71e4277d828cc
2010-11-08 09:11:37 +00:00
Henrik Levkowetz
5833428881
Merged [2639] from fenner@fenron.net:
...
Add regression tests (and accompanying test mode) for utils.mail.
Fixes #538
- Legacy-Id: 2645
Note: SVN reference [2639] has been migrated to Git commit 14de6870df426f18afaf90af2c74a5009cca3c1f
2010-11-08 08:47:36 +00:00
Henrik Levkowetz
6d6d3aac51
Merged [2604] from rjsparks@nostrum.com: Added filename to the subject of Protocol Action and Document Action email messages.
...
Fixed a bug that was preventing CC/BCC from being honored. Fixes issue #528 .
- Legacy-Id: 2623
Note: SVN reference [2604] has been migrated to Git commit 4d27ae4d7a535fb7c9cb44dd0d486a0f5850b1b1
2010-11-06 08:44:42 +00:00
Henrik Levkowetz
eafcdccd3d
Merged from log:branch/iesg-tracker@2571: IOLA's port of cron-scripts.
...
- Legacy-Id: 2578
2010-10-26 14:49:12 +00:00
Henrik Levkowetz
266b7820d0
Merged from log:branch/2.00@2363: Current release branch head to trunk.
...
- Legacy-Id: 2365
2010-07-21 12:48:05 +00:00
Henrik Levkowetz
cd030d3b43
Adding copyright notices to all python files
...
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Henrik Levkowetz
03c18bd33d
Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
...
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00