summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-03-26Bumping release to 1.0b10bwarsaw1-1/+1
1999-03-25Added -a / --notifyadmin option to override the list's defaultbwarsaw1-6/+21
1999-03-25main(): Ignore any line that is empty (all whitespace) or is a commentbwarsaw1-0/+8
(first non-whitespace is a #).
1999-03-25ParseAddrs(): string.strip() all returned addresses.bwarsaw1-3/+3
1999-03-25DeliverToOwner(): check the value of mm_cfg.USE_ENVELOPE_SENDER tobwarsaw1-1/+3
decide whether to use msg.GetEnvelopeSender() or not.
1999-03-24Lots of changes!bwarsaw1-145/+208
(option_descs, option_info): Provide much more detailed descriptions of the options. Also changed `norcv' to `notmetoo' although the former is still acceptable as an alias. (options): New global to preserve the order that we want to display the options in response messages. These options are in the same order as shown on the membership management admin page. The user option page still needs to be changed to support this order. MailCommandHandler.__init__(): All private variables are fixed to start with double underscore (e.g. __dispatch). Added an __errors ivar to count the number of AddError() calls made. A different error message format is now used, which should be much more concise, and more informative information is provided at the head of error messages. AddToResponse(), AddError(): Both methods now take a final argument `trunc' which says what column to truncate the text to. With trunc=0 no truncation (this is useful for when we use Utils.wrap() to wrap the text). AddError() also now takes a prefix argument, increments self.__error, and essentially calls AddToResponse(). ParseMailCommands(): Some stylistic changes. The line being processed is not placed in the response buffer unless we know it is a valid command. If it's an invalid command, we print the error message more concisely. When `end' is found, include in the response all the following lines that are ignored. If the number of errors exceeds 5, then stop processing the message immediately (don't keep processing more lines). If an unexpected error occurs with a valid command (one that is dispatched), we catch this and include the traceback in the response message. We also send the traceback to the list administrator -- I wonder if this should be the mailman-owner??? We also log the exception. In the error preamble, include human contact information. Several of the Process*Cmd()'s have been modified to work with this new framework, and to provide much more meaningful response messages.
1999-03-24main(): Remove all bare excepts. These now percolate up to the driverbwarsaw1-21/+0
script which does a much better job of reporting the error.
1999-03-24FormatMembershipOptions(): To reflect the change that Ken recentlybwarsaw1-4/+5
made, we now change the `norcv' option to be `notmetoo'. This is still backwards, but changing the sense of this option is to much work right now. `norcv' is accepted as an alias for `notmetoo'.
1999-03-24MailUserPassword(): Use `mailing list' instead of `maillist'.bwarsaw1-1/+1
1999-03-24FormatMembershipOptions(): Minor rewording of the `hide' legend entrybwarsaw1-2/+2
1999-03-24FormatMembershipOptions(): Two small changes. First, hyperlink thebwarsaw1-13/+22
user's address, which jumps you to their member info page. Second, reorder the items in the table so that digest comes just before plain. Didn't make sense to separate these two digest related items.
1999-03-23Makefile should not be under CVSbwarsaw1-72/+0
1999-03-23Oops! Add installation of sync_members and check_db to this filebwarsaw1-1/+2
instead of Makefile (which now needs to be removed)
1999-03-23Add ^ to the list of _badchars in email addressesbwarsaw1-1/+1
1999-03-23Deal with some BSD issues raised by Vivek Khera. First, add a READMEbwarsaw2-2/+28
file containing Vivek's comments. Second, in the Makefile.in, allow the installer to override the chmod command on the directories. -Barry
1999-03-23Finished the implementation. Tested features.bwarsaw1-34/+71
1999-03-23Script to synchronize membershipsbwarsaw2-0/+265
1999-03-22Added information about mailing listsbwarsaw1-10/+33
1999-03-21Add GNU copyrightbwarsaw1-0/+16