| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
based on whether the context is a Message or not.
|
| |
|
|
| |
checkin.
|
| | |
|
| | |
|
| |
|
|
| |
envelope sender, otherwise calculate it as before.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
constructor is changing. We no longer pass the sender in since that's
calculated to be the site list's -bounces address to prevent mail
loops when a list's owner bounces.
Also, factor out the _enqueue() private method from the send()
method. OwnerNotifications need to set the `envsender' key on the
message's metadata.
Problem diagnosed by Peer Heinlein.
|
| |
|
|
|
|
|
|
|
|
|
| |
constructor is changing. We no longer pass the sender in since that's
calculated to be the site list's -bounces address to prevent mail
loops when a list's owner bounces.
ApprovedAddMember(): Change the UserNotification to an
OwnerNotification for the admin_notif section.
Problem diagnosed by Peer Heinlein.
|
| |
|
|
|
|
|
|
| |
is changing. We no longer pass the sender in since that's calculated
to be the site list's -bounces address to prevent mail loops when a
list's owner bounces.
Problem diagnosed by Peer Heinlein.
|
| |
|
|
|
|
|
| |
hold_these_nonmembers or because the generic_nonmember_action is 1
(hold), hold them with NonMemberPost instead of ModeratedPost.
Fixes SF #609692, as suggested by Les Niles and Tokio Kikuchi.
|
| |
|
|
|
|
|
|
|
| |
stdout, so much as tee it to stderr, so I've changed the name of the
argument and implemented this as a tee to stderr.
I don't think this breaks any code, but I'm not 100% sure yet.
Also, whitespace normalization and pychecker fixes.
|
| |
|
|
| |
UserNotification!
|
| |
|
|
| |
spaces or tabs can appear at the beginning of the line.
|
| |
|
|
|
| |
a forwarded bounce message. Complained upon by Daniel Buchmann,
improved upon by Greg Ward. Further mungulated by Barry.
|
| | |
|
| |
|
|
| |
when the posting address is invalid.
|
| |
|
|
| |
on both pickling and unpickling, for legacy archive pickles.
|
| |
|
|
| |
in some cases; coerce them to Charset instances.
|
| |
|
|
| |
fixes SF bug # 625516, but more testing needs to happen.
|
| |
|
|
| |
HyperArch should have nothing to do with it.
|
| |
|
|
| |
trace when we do logging.
|
| |
|
|
|
|
|
| |
or 2, and we remove any existing Approved header, replacing it for one
of our own, pointing to the posting address.
Also, a pychecker fix.
|
| |
|
|
|
|
|
|
| |
process(): If news_moderation == 2, then always hold the message for
moderation, unless of course the message was pre-approved, via an
Approved header.
Also, whitespace normalization and some pychecker fixes.
|
| |
|
|
|
| |
select the moderation policy of the gated-to newsgroup. Also,
re-arranged and cleaned up the interface by adding section headers.
|
| |
|
|
|
|
|
|
| |
of information in the gui item description tuple to
get_item_gui_value(). This latter is usually ignored, but for radio
buttons, can be a flag specifying whether horizontal or vertical
buttons should be used. The default is 0 for backwards compatibility,
signifying horizontal radio buttons.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
controlling how the mail->news gateway should handle moderation. This
supplants MM2.0's SF patch #401270 in a much simpler way. Possible
values are:
- 0 means we're not gating to a moderated newsgroup
- 1 means "open list, moderated group", essentially we just add an
Approved header to the gated message, but do nothing else special
- 2 means "moderated" which adds an additional hold criteria to the
message. Once the message is approved, it gets an Approved header
and is gated.
Note: this was a top request by the FSF, and essential for
python.org. I had a brainstorm about how to make this fairly simple
to add so we're thawing the release for this one.
|
| | |
|
| |
|
|
|
| |
these messages are destined for one recipient anyway, we'll turn on
VERP if VERP_PERSONALIZED_DELIVERIES is enabled.
|
| |
|
|
|
| |
Apparently pipermail tickles a well-known bug on OSX related to deeply
recursive regular expressions.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Also, whitespace normalization.
|
| |
|
|
|
| |
caused a daily ratchet of the volume number. Also, one minor
refactoring in the bump digest number conditional.
|
| |
|
|
|
| |
correctly, i.e. through the input_codec of the charset, not using the
charset directly.
|
| |
|
|
|
|
|
|
|
|
| |
personalized messages, be RFC 2822 compliant in that a maximum of one
Cc header is allowed. Fortunately we can use the same algorithm as we
use for munging Reply-To.
Second, make sure the Cc header adding goes in the "if not fasttrack"
section so stuff like password reminders and confirmation messages
don't get a Cc to the list tacked on. :-o
|
| | |
|
| |
|
|
|
| |
argument (since they can calculate that from the mlist argument).
Found by Mentor Cana.
|
| |
|
|
|
|
|
|
| |
is not included in a Reply-To header, copy the posting address into a
Cc header, otherwise there's no (easy) way a recipient could reply
back to the list.
Also, whitespace normalization, and a bit of code cleanup.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
is very useful, so remove this syslog call. Also, rewrite the
comments, whitespace normalize, and pycheckerfy.
|
| |
|
|
|
|
|
|
|
| |
UserNotification but provides a different constructor. It calculates
the recipients from the list's owners and, if the tomoderators flag is
true (the default), includes the list's moderators.
The ctor also munges the To header so that it looks like it's being
sent to the list's -owner address.
|
| |
|
|
|
|
| |
the admin_notify_mchanges notice. This also fixes the bug Chuq saw
where the notification message was sent to the list owners via a
roundtrip through the mta. We now send it directly to the owners.
|
| |
|
|
|
|
| |
OwnerNotification class in Message.py. We don't need the recips
argument since we're always going to calculate that from self's owners
and moderators (if the tomoderators flag is true).
|
| |
|
|
|
| |
time. I can't figure out why that's happening but defaulting unlock
to false seemed to take care of the problem... for now. :(
|