summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-03-03TEXTFIELDWIDTH: default value is better at 40 chars widebwarsaw1-1/+1
2000-03-03Some minor improvements to the admin UI, specifically:bwarsaw1-31/+35
AddOptionsTableItem(): nodetails => detailsp (with bit flip on default value). FormatOptionHelp(): All options now have details. If a config attribute doesn't have an explicit details string, then the normal description is used as the details. This simplifies the logic a bit here and makes for a more consistent UI. Also, always include a link back to the category options page (on the quest for no dead ends!) GetItemGuiDescr(): Always include the "(Details)" link because now they /all/ have details.
2000-03-03DeliverToUser(): 'fastrack' => 'fasttrack'bwarsaw1-1/+1
2000-03-03process(): 'fastrack' => 'fasttrack'. Elaborate the Reply-To: mungingbwarsaw1-5/+10
to handle the case where the header is set to an explicit address, as specified in mlist.reply_to_address.
2000-03-03NewVars(): initialize reply_goes_to_list to the empty string.bwarsaw1-0/+1
2000-03-03Bump the DATA_FILE_VERSION to pick up the new reply_to_address configbwarsaw1-1/+1
attribute.
2000-03-03New feature (hopefully, the last one before feature freeze for 1.2 :)bwarsaw1-30/+63
Elaborate the Reply-To munging to handle parallel lists, e.g. a checkins list where discussions about changes should be conducted on a parallel development list. Specifically, There's a new configuration attribute called `reply_to_address' which contains the string address to stuff in the Reply-To: header. The config attr reply_goes_to_list now takes three values 0 (no change) means no reply-to munging occurs 1 (no change) reply-to is munged to the list address 2 (new value) reply-to is munged to reply_to_address In both cases, if the original message contains a Reply-To: header, it is discarded. This could be controversial; it might be better to honor an existing Reply-To: header in case #2, but that seems like it would be less useful. GetConfigInfo(): Add the necessary machinery to effect the above change. Also, use TEXTFIELDWIDTH as the standard width for all string entry fields.
2000-03-03InputObj.Format(): When adding the keyword arguments as HTMLbwarsaw1-10/+8
attributes, don't wrap the key in double quotes, otherwise browsers will ignore them. Also, use a slightly more efficient way of crafting the HTML (list.append + string.join).
2000-03-03Added an install-here target which doesn't recurse down the subdirsbwarsaw1-1/+3
(saves a little time during testing).
2000-03-03GetConfigInfo(): Use TEXTFIELDWIDTH for all string input fieldsbwarsaw3-7/+19
(including text areas).
2000-03-03TEXTFIELDWIDTH: Define a "standard" width for string input fields.bwarsaw1-0/+3
2000-02-26ParseMailCommands(): Simply return if the message has an X-BeenTherebwarsaw1-0/+6
header or a List-ID header. This should break most common listserv infloops, and addresses PR#206.
2000-02-26SMTPDirect should be the default DELIVERY_MODULEbwarsaw1-2/+2
2000-02-26process(): had the shutcut return logic slightly offbwarsaw1-1/+1
2000-02-26GetItemGuiValue(): slight reworking of the RadioButtonArray kludge atbwarsaw1-4/+4
the top of this function.
2000-02-26ParseMailCommands(): Handle autoresponding to the -request address.bwarsaw1-0/+7
If autorespond_requests is turned on, then send the original message through the Replybot.process()'ing. Here's where we handle whether to "reply and discard" or "reply and forward".
2000-02-26process(): Added support for autoresponding to the -request address.bwarsaw1-5/+14
Works very much like the other autoresponders. This module does /not/ handle differentiating between -request "reply and discard" and "reply and forward". Also, slightly rephrased the autoresponse subject: header.
2000-02-26InitVars(): added autorespond_requests, autoresponse_request_text, andbwarsaw1-17/+34
request_responses. GetConfigInfo(): I figured it /was/ worth adding an autoresponder on the -request address after all. This works the same as the -admin, and postings autoresponder with one variation: you now have three choices 1. no autoreply 2. autoreply, but discard the original message 3. autoreply, and forward the message off to the mail command processing robot This is useful for lists that essentially to shut off the command handler, but it may be overkill. It's definitely useful to autoreply to the -request address after all. Also, I slightly reformated the HTML for this page, putting the common stuff up in the preamble.
2000-02-26main(): set the `torequest' attribute to 1 on the message object.bwarsaw2-0/+2
2000-02-26RadioButtonArray.__init__(): added an XXX comment about the horizontalbwarsaw1-1/+3
flag (it doesn't work and isn't easy to use).
2000-02-26NewVars(): added autorespond_requests and autoresponse_request_text.bwarsaw1-0/+2
2000-02-26bump data version to 18bwarsaw1-1/+1
2000-02-26lock(): Fixed typo; the call to self.__log() should have beenbwarsaw1-1/+1
self.__writelog().
2000-02-25FormatConfiguration(): Kludge in the encoding typebwarsaw1-11/+31
`multipart/form-data' if the category is autoreply (so far the only admin category with file uploads). GetItemGuiValue(): added support for the FileUpload widget. This sets up both the TextArea and FileUpload widget, with some explanatory text in between. GetItemGuiDescr(): I've been persuaded. Don't pop up help text in a separate window by default. ChangeOptions(): Kludge in support for file upload widgets. If there's a config variable called 'something_upload' then it's value is used in preference to the 'something' config variable yanked off the CGI information.
2000-02-25GetConfigInfo(): autoresponse_postings_text andbwarsaw1-2/+2
autoresponse_admin_text are now FileUpload widgets, which lets the admin either type the text into the text area, or specify a local file containing the text to insert. If both are changed, the uploaded file takes precedence.
2000-02-25FileUpload: New class which outputs an input object for file uploads.bwarsaw1-3/+10
Form.__init__(): take an optional encoding string, which if set, becomes the value for the `enctype' attribute. This is a kludge to support file upload forms. Form.Format(): set the enctype attribute if given.
2000-02-25Added a new GUI type called `FileUpload' which is essentially a tiedbwarsaw1-0/+1
textarea and file upload widgets. It takes some crafty decoding to make these widgets work well together (see admin.py).
2000-02-22main(): fixed name error for MMUnknownListError. Found by Jeffbwarsaw1-1/+1
Berliner.
2000-02-19CanonicalizeUserOptions(): Emergency patch. A user_options key canbwarsaw1-0/+2
apparently be None, which makes no sense, so we skip it.
2000-02-19install: Be a bit more efficient about compiling all .py files; onlybwarsaw1-1/+1
traverse into $prefix/Mailman, which avoids all the time-consuming and unnecessary compilation in the archive directories.
2000-02-19DeliverToList(): Added the Replybot module, just before the Holdbwarsaw1-1/+3
module. DeliverToUser(): Add the Replybot module as the first in the list.