summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-04-05USE_ENVELOPE_SENDER: Set the default to 0 now and for the finalbwarsaw1-1/+1
release.
1999-04-04isAuthenticated(): Catch MMNotAMemberError and return 0bwarsaw1-1/+2
1999-04-02Update for 1.0b11 releasebwarsaw2-3/+3
1999-04-02LogMsg(): small efficiency hackbwarsaw1-1/+1
1999-04-02DeliverToList(): Also get rid of duplicate errors-to headersbwarsaw1-1/+2
1999-04-02PollNewsGroup(): Synthesize unixfrom header ("From ") forbwarsaw1-0/+7
interoperability with Pipermail.
1999-04-02Thanks to Gerhard Gonter, who corrected the logic intended to obtain aklm1-1/+1
public list to serve as the sender of the password notifications. (This arrangement is still ad-hoc, as my previous mailpasswds checkin message suggests.)
1999-03-31DeliverToList(): Strip off any duplicate Sender: headers, leaving justbwarsaw1-0/+2
the one pointing to the list-admin.
1999-03-31deliver shouldn't be ignored!bwarsaw1-1/+0
1999-03-31HandlePostRequest(): Need to "strquote" (e.g. replace % with %%) inbwarsaw1-6/+12
string read from Web text box.
1999-03-31Load(): Include the exception details when marshal.load() failsbwarsaw1-2/+3
1999-03-31ProcessWhoCmd(): Be sure not to truncate the list of members!bwarsaw1-2/+2
1999-03-30Updated for 1.0b11bwarsaw1-0/+7
1999-03-30Bumping version number to 1.0b11bwarsaw1-1/+1
1999-03-30Post(): when not including sender in recipients, remove address in abwarsaw1-12/+2
case-preserving way.
1999-03-29Make sure list_name is not an empty string or None (a.k.a. "false")bwarsaw1-2/+5
1999-03-29Load(): Verify that the unmarshaled config information is of typebwarsaw1-3/+6
DictType.
1999-03-29UpdateOldVars(): Fixed a lurking buglet. If the mlist.members andbwarsaw1-18/+41
mlist.digest_members dictionaries have already been converted to lowercase-only keys, any key with a case-preserved value would have been lost by being overwritten with 0. :-( UpdateOldUsers(): Implement the mlist.passwords constraints fix. The keys of this dictionary are now guaranteed to be lowercased.
1999-03-29Bump VERSION to 1.0b10+bwarsaw1-2/+2
Bump DATA_FILE_VERSION to 14 to trigger mlist.passwords dictionary fix in versions.py
1999-03-29Sweeping changes to hopefully and finally (for 1.0 at least) make sanebwarsaw7-46/+96
address case matching. These changes require the DATA_FILE_VERSION to be bumped, which should auto-update your config.db files. I sure hope this works correctly! Details of changes: MailList.GetUserSubscribedAddress(): New method. If the address is a member, this returns the case-preserved address the user is subscribed with. If not a member, None is returned. MailList.GetUserCanonicalAddress(): New method. If the address is a member, this returns the lowercased address the user is subscribed with. If not a member, None is returned. MailList.FindUser(): Wrote down, in a big comment, the constraints for the dictionaries self.members, self.digest_members, self.passwords. This wasn't always followed, but now it should be. FindUser() is now also guaranteed to return the lowercased version of the subscribed email address. This wasn't always the case. FindUser() also provides a shortcut for the common case. ApprovedAddMember(): Guarantee that passwords stored in self.passwords are keyed off the lowercased address. Deliverer.MailUserPassword(): Find the user's password using the lowercased version of their address. However, be sure to use their case-preserved address for the recipient of the password email. Digester.SetUserDigest(): Fixed a fairly old bug where a user switching from regular to digest membership (or vice versa) would get their case-preserved address blown away. I don't think there's any way to recover this information, but at least now we properly save it. SecurityManager.ConfirmUserPassword(): Simplified address matching stuff, since we now guarantee that FindUser() will return a lowercased address, and that the passwords dictionary has lowercased keys. FindUser() will return None if the address isn't found, and it also has a built-in shortcut so that the more expensive FindMatchingAddresses() isn't called in the common case. I eliminated the case-insensitive password comparision that Ken rightly questioned in his comment. admin.py: In the list of members, display a member's case-preserved address instead of their lowercased address. Also, obscure the URL in the hyperlink (probably not terribly necessary). handle_opts.py: When the password can't be found (when emailing it), put the address we tried to find in the result message. Makes for better debugging. options.py: Use a better mechanism for finding if the member has a case-preserved address different from their lowercased address.
1999-03-29Patch by Per Cederqvist, who writes:guido1-6/+15
""" - It needlessly used the makefile() method for each response that is read from the SMTP server. - If the remote SMTP server closes the connection unexpectedly the code raised an IndexError. It now raises an SMTPServerDisconnected exception instead. - The code now checks that all lines in a multiline response actually contains an error code. """ The Dragon approves.
1999-03-29Added `withlist' script to install targetbwarsaw1-1/+1