aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-12-01Results.__init__(): It's possible for the Header functions to raise abwarsaw1-4/+9
HeaderParseError, so if that happens just ignore the Subject header for command purposes.
2003-12-01Fix a small comment bug.bwarsaw1-1/+1
2003-12-01process(): The implementation of extended header filters viabwarsaw1-4/+79
header_filter_rules.
2003-12-01True/False where appropriate.bwarsaw1-1/+1
process(): When we encode the text, catch ValueError along with UnicodeError and LookupError. The ValueError can be raised if the charset is the empty string. Closes SF bug # 834486.
2003-12-01True/False where appropriate.bwarsaw1-15/+23
process(): When we encode the text, catch ValueError along with UnicodeError and LookupError. The ValueError can be raised if the charset is the empty string. Closes SF bug # 834486.
2003-12-01True/False where appropriate.bwarsaw1-1/+7
2003-12-01True/False where appropriate.bwarsaw1-18/+19
handleForm(): Close a very minor, potential CSS hole.
2003-12-01GetConfigInfo(), handleForm(): Added header_filter_rules, a new variable whichbwarsaw1-2/+114
collects regular expression rules to match against the message's outer headers, along with the action to take when a match occurs.
2003-12-01_getValidValue(): Basically ignore HeaderFilter widgets. They'll be handledbwarsaw1-0/+2
in the Privacy.py file.
2003-12-01process(): Catch MMBadPasswordError which gets thrown by ProcessConfirmation()bwarsaw1-0/+3
when the wrong admin password is given in a confirmation message.
2003-12-01subscription_prompt(): Make text and submit button have consistent text.bwarsaw1-2/+2
Closes SF bug # 816410.
2003-12-01get_item_gui_value(): Added a new widget HeaderFilter and associated code tobwarsaw1-2/+72
build the interface from header_filter_rules. Here you can specify a set of regular expressions to test against a message's (outer) headers. You can also specify the action to take when a rule matches. These are available on Privacy->Spam Filters page.
2003-12-01html_TOC(): If PUBLIC_MBOX is false, use archtocnombox.html which doesn't havebwarsaw1-5/+6
a link to the mbox file.
2003-12-01makelink(), breaklink(): Some coding updates.bwarsaw1-14/+23
InitVars(): Fix the permissions on the empty archive index. Fixes SF bug #835012. CheckHTMLArchiveDir(): Only make the mbox link public if PUBLIC_MBOX is true.
2003-12-01NewVars(): Add header_filter_rules if missing.bwarsaw1-0/+1
2003-12-01Bump version to 2.1.4a0.bwarsaw1-4/+4
Also bump DATA_FILE_VERSION to pick up the new header_filter_rules variable.
2003-12-01True/False where appropriate.bwarsaw1-1/+1
2003-12-01True/False wehre appropriate.bwarsaw1-2/+8
2003-12-01repend(): An interface for putting request data back into the requestbwarsaw1-4/+19
database.
2003-12-01InitVars(): Added header_filter_rules for support of the expanded spambwarsaw1-14/+27
filters. ProcessConfirmation(): A fix for bug # 833384, where the incorrect admin password given in a the response to a hold message's confirm attachment would end up discarding the message. Now, an error message is returned to the sender and the held message is re-pended.
2003-12-01RejectMessage.__init__(): Since the notice message is put into the body of thebwarsaw1-0/+6
rejection message, make sure it ends with at least two newlines.
2003-12-01New variable PUBLIC_MBOX which allows the site administrator to disable publicbwarsaw1-30/+35
access to all list mbox files (this is not a per-list configuration). HeaderFilter: a new widget type to support the expanded spam filtering.
2003-11-27GetAvailableLanguages(): Strip out any language codes that aren't inbwarsaw1-1/+3
LC_DESCRIPTIONS. This is mostly useful for debugging since I occasionally add languages for testing and then disable them.
2003-11-27Added Romanian support by Stefaniu Criste.bwarsaw1-0/+2
(Note that Croatian is added but not yet supported. I'm still waiting for Nino Katic to give me a blessed translation.)
2003-11-27Typosbwarsaw1-2/+2
2003-11-27bulkdeliver(): Include the Message-ID in the log message.bwarsaw1-4/+6
2003-11-26bulkdeliver(): Rework the SMTP error handling to fix a problembwarsaw1-10/+21
described here: http://mail.python.org/pipermail/mailman-developers/2003-November/016119.html The issue is that if we get an SMTPResponseException with a permanent error code, we don't want to add all the recipients to the failures dict, otherwise they'll all score a bounce. That's not appropriate because the message is being rejected by the local smtpd for reasons having to do with the content of the message, not because there's some delivery problem to the recipient. Log all problems now to logs/smtp-failure.
2003-11-25ApprovedChangeMemberAddress(): When someone requests to change theirbwarsaw1-2/+12
address globally, it is possible the new address is already a member of this (or one of the other) lists. In that case, the old address is removed. Closes SF # 835036.
2003-11-24Create(): Take an optional emailhost name and use that to calculatebwarsaw1-2/+5
the valid postingaddr. If not given (the default), use DEFAULT_EMAIL_HOST as before.
2003-11-24process_request(): In response to SF bug # 835870, we now check thebwarsaw1-5/+12
calculated host name, and if VIRTUAL_HOST_OVERVIEW is true, that host name must match one of our known virtual hosts. Otherwise we'll refuse to create the list. If VIRTUAL_HOST_OVERVIEW is false, we'll do no checking (meaning the old behavior of being able to create a list with a non-fqdn hostname still exists). Also, pass the email host name into the MailList.Create() call.
2003-11-21copyright years.bwarsaw1-1/+1
2003-11-21_BounceInfo.__init__(), registerBounce(), disableBouncingMember(): Abwarsaw1-6/+7
fix for SF bug # 846681, where the confirmation cookie emailed in a bounce disabled notification was always out of date. The problem was that we created the cookie at the time of the first bounce. This is very likely more than three days before the time of the last bounce, which is when we should have (and now do) create the cookie.
2003-11-21enqueue(): Always flush and sync the message file.bwarsaw1-1/+3
2003-11-21change_options(): When calling ApprovedAddMember(), pass a meaningfulbwarsaw1-2/+3
value to the whence argument.
2003-11-21__handlesubscription(): Pass a meaningful whence argument tobwarsaw1-1/+1
ApprovedAddMember().
2003-11-21ApprovedAddMember(): Add a 'whence' argument which gets passed abwarsaw1-5/+8
descriptive string explaining where the member got added from. Improves subscription logging. AddMember(): Pass 'remote' to ApprovedAddMember()'s whence argument. ProcessConfirmation(): We know whether the confirmation came from email or via the web, so pass this information to ApprovedAddMember()'s whence argument.
2003-11-20boilerplatebwarsaw1-1/+1
2003-11-20NewRequestsDatabase(): HoldSubscription() now takes 5 arguments; thebwarsaw1-1/+2
user's realname and the user's language were added.
2003-11-19set_delivery(): Fixed the email command 'set delivery [on|off]' whichbwarsaw1-7/+13
was trying to use the setMemberOption() interface. This doesn't work for delivery settings -- it needed to use the setDeliveryStatus() interface.
2003-11-03main(): Fix for bug #832748, where unsubscribe_policy was beingbwarsaw1-4/+24
ignored for the unsub button on the member login page. Report and original patch by Pasi Sjoholm, modify by Barry. Forward port candidate.
2003-11-01Bump version string to 2.1.3+bwarsaw1-1/+1
2003-11-01Catalan support by Robert Garrigos and Toni Panades.bwarsaw1-0/+1
2003-10-10__save(): Flush the file and (depending on SYNC_AFTER_WRITE) fsync itbwarsaw1-0/+3
before closing the config.pck file. Should improve robustness.
2003-10-10MarshalSwitchboard._ext_write(), ASCIISwitchboard._ext_write():bwarsaw1-6/+2
Promote SYNC_AFTER_WRITE to a Defaults.py/mm_cfg.py variable after all.
2003-10-10Promote SYNC_AFTER_WRITE to a Defaults.py/mm_cfg.py variable afterbwarsaw1-0/+6
all, since we have the same potential problem (and solution) for the MailList config.pck files that we did for the msg.pck files.
2003-10-07wrap(): Minor code cleaning.bwarsaw1-4/+2
2003-10-04Backporting Slovenian support.bwarsaw1-0/+1
2003-09-29FormatUsers(): The user portion of the link should honor the settingbwarsaw1-9/+10
of self.obscure_addresses.
2003-09-28process_request(), request_creation(): Close cross-site scriptingbwarsaw1-14/+20
exploits found by Ned Dawes. Also, whitespace normalization. Backported from HEAD.
2003-09-28MailList.__init__(): When trying to execfile extend.py, we ignorebwarsaw1-1/+5
ENOENT but log all other IOErrors instead of propagating them up. Closes a tiny exploit found by Ned Dawes. Backported from HEAD.