summaryrefslogtreecommitdiff
path: root/FAQ (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-03-04do_bump(): Typobwarsaw1-2/+2
2001-03-03admin_overview(): Fixed typo which broke admin overview.bwarsaw1-1/+1
2001-03-03FormatPasswordStuff() -> password_inputs()bwarsaw1-6/+9
membership_options(): We have to urllib.quote() the value attribute on the hidden input tag, otherwise it is impossible to unsubscribe addresses with quotes in them (which are valid RFC822 addresses). change_options(): Be sure to urllib.unquote() the user value field, undoing the effects of membership_options() and allowing unsubscription of addresses with quotes in them.
2001-03-03main()/module global: i18n "new order" changes. Usebwarsaw1-41/+40
i18n.set_language() and doc.set_language() to set up the proper language for the response page. Also, consistency with other CGI scripts in their use of "from Mailman.htmlformater import *". De-string-module-ification. Other random code cleaning.
2001-03-03FormatUsers(): Use GetOptionsURL() instead of GetScriptURL() since thebwarsaw1-2/+1
former does the proper urllib.quote()'ing of the email address. Close SF bug #214161 (old Jitterbug PR#198).
2001-03-03_dispose(): Have to pass ParseMailCommands() the msgdata dictionary.bwarsaw1-1/+1
2001-03-03option_help(): Fix two typos that broke variable details screen.bwarsaw1-3/+3
2001-03-03REpat: recognize 'Re[2]:' style reply-subjects. Fixes SF bug #223554.twouters1-1/+1
2001-03-02dolist: update archive dirs relative to var_prefix, not prefix.twouters1-7/+10
Fix for SF bug #229794.
2001-03-02Fix for (tracker) bug #222409: don't barf when approving a subscription oftwouters1-3/+7
someone who is already on the list. Since the person was added between the subscription request and the approval, just drop the request.
2001-03-02Fix usage to remove the mention of the magical 4th argument.twouters1-6/+3
2001-03-02Recommend using "crontab -u" if supported and falling back tobwarsaw1-5/+12
su/crontab only if not.
2001-03-02GetConfigInfo(): Elaborate slightly about the `host_name' attribute.bwarsaw1-17/+17
Also, comment out `web_page_url' -- it's probably just too dangerous to allow list admins to change this via the web. Making a mistake breaks the list (for the rare situation where the base url needs changing, it's up to the site admin to effect).
2001-03-02main(): Fix typo in long argument check of --archives. Discovered bybwarsaw1-2/+2
John Aughey.
2001-03-02A start on updating i18n support -- still needs work.bwarsaw1-15/+23
ParseMailCommands(): add an extra argument `msgdata' since it's convenient to have access to the message's metadata. Mark some more strings as translatable. Make sure messages getting sent back to the user have the proper Content-Type: based on the language context. msg.GetSender() -> msg.get_sender() Close SF bug #405131, submitted by Chris Ryan.
2001-03-02msg.GetSender() -> msg.get_sender()bwarsaw1-3/+3
Close SF bug #405131, submitted by Chris Ryan.
2001-03-02Update the MAILMAN_URL to point to the new www.gnu.org pages.bwarsaw1-1/+1
2001-03-02Big i18n changes. Specifically,bwarsaw1-22/+40
send_digests() -> send_i18n_digests(): this does the bulk of the digest crafting, but it's wrapped in send_digests() which first sets up the language context for the digest (the list's preferred language). send_i18n_digests(): Also make sure that for text/plain parts, the charset is set correctly to the list's preferred language character set. Mark more strings as translatable.
2001-03-02Mark some more strings as translatable.bwarsaw1-4/+6
2001-03-02Lots of i18n changes. Specifically,bwarsaw1-33/+53
We have to play module global footsie with _() so that the rejection notices are marked as translatable, but aren't actually translated until later. Administrivia.rejection_notice(), MessageTooBig.rejection_notice(): Convert to interpolating local variables. hold_for_approval(): Conversion to the new way of i18n'ing. The language context at this point is the user's preferred language, so we craft his notification first before temporarily changing contexts to the list's preferred (for the admin). We no longer need to duplicate the code as was done before, but some things need to be re-translated in the context of the list's preferred language. Also, translate the exception str() and rejection_notice for real here.
2001-03-02process(), decorate(): Mark a few more strings as translatable.bwarsaw1-3/+5
2001-03-02show_post_requests(): Mark another string as translatable.bwarsaw1-1/+1
2001-03-02__onefile(): The qrunner framework now sets up the language contextbwarsaw1-1/+18
for each processed message. It does this by getting the preferred language of the sender of the message (defaulting to the list's preferred language if the sender isn't a member of the list). Next, it saves the previous global language context in a local variable, sets the context to the message's preferred language and disposes of the message. Then it restores the original language context. It also sets the message's metadata (key: `lang') to contain the language name for the language context in case any handler modules need access to it.
2001-03-02process(): More i18n changes. The user's preferred language is passedbwarsaw1-5/+6
around via the message metadata key `lang' (set by the Runner). Use this language to get the proper postack.txt template. Also be sure to set the Content-Type: header on the message we're generating and sending back to the user.
2001-03-02get_translation(), set_translation(): Function which let you set andbwarsaw1-0/+9
restore the translation context (via the global Translations object).
2001-03-02InitTemplates(): Copy both the .html and the .txt files into thebwarsaw1-2/+3
list-specific language templates directory.
2001-03-01GetPreferredLanguage(): Simplify.bwarsaw1-4/+1
2001-03-01Improvements to make sure multiple qrunner masters aren't running atbwarsaw1-15/+62
the same time. Specifically, main(): Create a master qrunner lock file, with a lifetime of 10 days (but see below) and exit if that lock cannot be acquired. master(): Start the lock-refresher subprocess and restart it if it happens to exit. start_lock_refresher(): A tiny subprocess that owns the qrunner lock and periodically (once a day) wakes up to refresh it.
2001-03-01show_post_requests(): Of course Thomas Wouters is right, cgi.escape()bwarsaw1-4/+1
on the subject text is the right thing to use.
2001-03-01Erg. Fix copyright years.bwarsaw1-1/+1
2001-03-01do_output(): Some changes to make the resulting variable descriptionbwarsaw1-2/+20
comments a little more palatable. L-strip all lines, strip out html tags, and convert entities > and < Still not perfect, but much better, and it's not worth perfecting.
2001-03-01CATEGORIES: We forgot about the auto responder!bwarsaw1-0/+1
2001-03-01GetConfigInfo(): Fixed typo.bwarsaw1-1/+1
2001-03-01More i18n changes.bwarsaw1-19/+22
Mark all appropriate strings as translatable.
2001-03-01_dispose(): If there's no appropriate key in the message metadata,bwarsaw1-0/+12
determine whether this message was destined for the -owner or -admin address and update the metadata.
2001-03-01Update this to more accurately describe the new support for DEFER andbwarsaw1-21/+20
DISCARD on subscription requests.
2001-03-01Lots of updates to the New Order.bwarsaw2-64/+42
main(): Convert to the new Switchboard mechanisms. This means we neither need to instantiate the mailing list, nor create a Message object from stdin. A side effect of this change is that we can't efficiently determine whether this message was destined for the -owner or -admin address (since this script bogusly handles both). We defer this decision to the CommandRunner.
2001-03-01process_form(): In the MMNeedApproval exception clause, we need to getbwarsaw1-0/+3
the local variables interpolated into the exception message. Easiest way to do that is to pass it through _().
2001-03-01More i18n changes.bwarsaw1-106/+152
At module scope, set the system language to the server's default, until we know which list this is a request on. main(): Don't lock the list until absolutely necessary. Also, once the list is instantiated, set the system language to the list's preferred language. Once the html results document object is created, set its language to the list's preferred language too. HandleRequests() -> process_form() PrintRequests() -> show_requests() handle_no_list(): Be sure to set the document's language to the server's default (since there is no instantiated list at this point). show_requests(): Support DEFER and DISCARD on subscription requests, just like as for held posts. PrintAddMemberRequest(): Inlined and removed. PrintPostRequest() -> show_post_requests() show_post_requests(): Convert to using the mimelib interface (it's a minor shame that we have to reparse the message object to display it on this page). Watch for mimelib.Errors.MessageParseError's which could result if the held message is corrupted. If this occurs, we discard the message, but that may not be the right thing to do. process_form(): Don't save the MailList object here; that happens in the finally: clause in main(). Also some minor verbiage and formatting changes.
2001-03-01__handlesubscription(): Support DEFER and DISCARD on subscriptionbwarsaw1-3/+5
requests too. This means you can defer making a decision about a subscription just like a held message. You can also discard a subscription request without sending a rejection notice.
2001-03-01De-string-module-ification.bwarsaw1-6/+14
Conversion to mimelib API. PrintPostRequest(): We must html quote the Subject: text since this gets displayed in-line in the page. E.g. if you had the following header in a held message Subject: </table> it would royally screw the admindb display. Thanks to Brian Youmans for first reporting this problem.
2001-03-01Fix some imports.bwarsaw1-3/+7
HoldMessage(): GetSender() -> get_sender()
2001-02-28patterns: Added oddball MTAs turbosport.com (running something calledbwarsaw1-2/+18
MDaemon 3.5.2), and usa.net running gawd knows what. process(): Minor adjustment to algorithm which allows the address matcher to find addresses on the line that matched start cre.
2001-02-28pcre: SuSE 6.4 seems to have modified the bounce match line that allbwarsaw1-1/+1
other Postfix installations use -- they removed the word "program" :( Now, we just search for "the postfix".
2001-02-28process(): Since this is a fairly wide-ranging matcher, narrow it downbwarsaw1-1/+1
a bit to messages that only contain X-Mailer: headers (regardless of the content). All GroupWise samples so far add this header (but with different values).
2001-02-28check(): Make sure the last block gets checked. Also, I've found abwarsaw1-3/+5
sample that's nearly DSN compliant -- it uses "Action: failure" when it should be "Action: failed". Be liberal in what you accept.
2001-02-28process(): Fixes for the move to mimelib.bwarsaw1-1/+3
2001-02-28More bounce samples. debian_01.txt -> sendmail_01.txtbwarsaw6-0/+655
bounce_01.txt is still unrecognized.
2001-02-28Forgot to document 2.0.1's release date.bwarsaw1-2/+3
2001-02-28intermediatebwarsaw1-1/+1