summaryrefslogtreecommitdiff
path: root/Mailman
Commit message (Collapse)AuthorAgeFilesLines
...
* process(): Martin's patch #653242 to fix the wacking of thebwarsaw2002-12-131-1/+3
| | | | | content-type in the inner messages when wrapping for decoration purposes.
* process(): Martin von Loewis's fix for specifying the charset ofbwarsaw2002-12-131-4/+4
| | | | header/footer attachments. Closes SF #652910.
* AddMember(), ApprovedAddMember(): Use email.Utils.formataddr() to formbwarsaw2002-12-121-6/+3
| | | | | the name/address of the person being pending subscribed or subscribed, as written to logs/subscribe.
* Donn Cave's patch #602087 to honor configure's --srcdir switch.bwarsaw2002-12-1210-10/+10
|
* heldmsg_prompt(): Translate the reason for the hold.bwarsaw2002-12-121-1/+1
|
* show_helds_overview(): Be sure to translate the `reason' for a hold.bwarsaw2002-12-121-2/+5
|
* Typo fixes, "administator" -> "administrator". Closes SF #650932bwarsaw2002-12-113-5/+5
|
* Bump to 2.1b6+bwarsaw2002-12-111-1/+1
|
* Bumping to 2.1b6bwarsaw2002-12-091-2/+2
|
* ModeratedMemberPost.reason: Some people took offense at this message.bwarsaw2002-12-091-1/+9
| | | | | | See the comment, and this archived message. http://mail.python.org/pipermail/mailman-developers/2002-November/014034.html
* membership_options(): A fix for bug #644950 and other problems withbwarsaw2002-12-091-29/+32
| | | | | | | | chunks and buckets. When there are thousands of list members, the bucket and chunk calculation was broken when visiting the first [Membership List] link. First, the wrong bucket was being displayed, and second /all/ the members were being displayed. That made it take a really long time to render the page.
* ctime(): First try to parse the date if it's a string and only do thebwarsaw2002-12-091-19/+24
| | | | | fallback if ValueError occurs. Also default tzname to "Server Local Time" for want of a better default.
* Tokio Kikichi's patch for multibyte i18n problems. Patch #646884,bwarsaw2002-12-081-39/+60
| | | | | | | | | | | | | | | | | | | | | | | explanations: HyperArch.py in 2.1b5 use Utils.uquote() for CGIescape() and html_quote() but it does not take language argument. This is no good for multilbyte charset because characters are escaped in separate 8bit bytes which results in mojibake. We should rather use Utils.uncanonstr() to honor the legal characters within the multibyte charset. This patch fixes other minor bugs in the current code. and... Utils.uquote() makes a multibyte character into two or more fragmants of Latin-1 characters. Utils.uquote() makes all the 8bit-set character escaped while Utils.uncanonstr() checks if the character is within the charset and escapes only if the chatacter is not legal. Some additional minor code cleanup by Barry.
* _set_date(): Generalize w/ a nested function so we can try more thanbwarsaw2002-12-081-14/+15
| | | | | | | one header. Try Date first, and fall back to X-List-Received-Date which ArchRunner adds, before using self._last_article_time. After an idea by Carson Gaspar
* _set_date(): Don't convert to GMT. Keep dates local. Closes SF bugbwarsaw2002-12-071-1/+1
| | | | #643231
* ctime(): Include the local timezone name in the date string, as keyedbwarsaw2002-12-071-1/+3
| | | | off of the dst flag. This mirrors date(1) output.
* _setValue(): Be sure to also set the language on the doc.bwarsaw2002-12-071-0/+1
|
* Document.Format(): Include a META tag with the content-typebwarsaw2002-12-071-7/+7
| | | | | | information. I found that with Mozilla 1.2.1, the only way to be sure to get the admin pages in the right charset was to include both the Content-Type: http header and this META tag.
* decode_charset(): Greg Ward's patch for SF # 649007. If there is anbwarsaw2002-12-071-2/+2
| | | | | | unknown character set specified in an RFC 2047 encoded header, or in the Content-Type of one of the parts, we'd get a LookupError. This simply moves the make_header() call to inside the try/except.
* sizeof(): Watch out for ENOENT exceptions which can happen if the mboxbwarsaw2002-12-071-1/+7
| | | | | | | file was moved or deleted, and an explicit mbox file name was given to bin/arch. Closes SF # 649011
* FormatDisabledNotice(): I18n formatting improvement by Simonebwarsaw2002-12-071-1/+1
| | | | Piunno. Closes SF # 649158.
* update_article(): Reword the messages for proper i18n style. Closesbwarsaw2002-12-051-6/+9
| | | | SF bug #648604.
* setListIfUnset(): Greg Ward's patch to actually make this work. ;)bwarsaw2002-12-051-2/+1
| | | | Closes SF bug #648607
* prefix_subject(): One small patch for when the charset in an RFC 2047bwarsaw2002-12-041-1/+6
| | | | | header isn't known, we fall back to the charset of the list's preferred language, with 'replace' of course.
* QRUNNER_SAVE_BAD_MESSAGES: Turn this on.bwarsaw2002-12-021-1/+1
|
* _dispose(): Actually (re-)implement the documented behavior for whenbwarsaw2002-12-021-0/+5
| | | | autorespond_requests == 1, which means answer and discard.
* _dispose(): Don't forward to the admin, messages in which bouncingbwarsaw2002-12-021-1/+1
| | | | | addresses were found, but for which those addresses were not members. This is just annoying.
* process(): Be sure to i18n-ify any headers with milst.description inbwarsaw2002-12-021-2/+4
| | | | them.
* process_request(): Use shutil.rmtree() instead of Utils.rmdirhier(),bwarsaw2002-12-021-3/+26
| | | | | | | but also catch possible EACCES or EPERM exceptions that might get raised. If that happens, log the problem to logs/error and provide some feedback to the admin that their ttw action had some failures. They site admin will have to clean up any problems.
* subscription_confirm(), unsubscription_confirm(),bwarsaw2002-12-021-4/+4
| | | | | addrchange_confirm(), reenable_confirm(): MMNoSuchUserError -> NotAMemberError
* main(), show_pending_subs(), show_pending_unsubs(),bwarsaw2002-12-021-11/+27
| | | | | | show_helds_overview(): The various show_*() methods now return the number of items (or an approximation) they have formatted for display. If it's zero, then don't add the form to the final output in main().
* change_options(): MMNoSuchUserError -> NotAMemberErrorbwarsaw2002-12-021-2/+2
|
* PATTERNS: Fix the regexp for sucking out the address in the sectionbwarsaw2002-12-021-2/+4
| | | | | | | labeled "sz-sb.de" to ignore potential angle-brackets that might appear. process(): Do a better job of filtering out Nones.
* check(): First, use parseaddr() to split up any realname/addrs found,bwarsaw2002-12-021-1/+8
| | | | then uniquify the return results based on the address.
* ScanMessages(): Move the pipeline list to a module global, since I'mbwarsaw2002-12-021-18/+21
| | | | going to re-use it in a new test script.
* Article.__init__(): Use a slightly safer invocation of parseaddr().bwarsaw2002-12-021-4/+4
| | | | _set_date(): Convenience.
* __init__(): Squirrel away the MailList instance so we can set it onbwarsaw2002-12-021-1/+4
| | | | | | unpickled Articles. getArticle(): Do just that.
* setListIfUnset(): Hack to set self._mlist if it isn't already set.bwarsaw2002-12-021-12/+36
| | | | | | | | | | | | | | | | | | | | | | | This is needed to fully fix SF bug #644294. Old archived Articles won't have the _mlist attribute but we really want that for better handling of page creation. Unfortunately, only the HyperDatabase knows this value so this is a public method it can call after the fact. as_html(): Fix address obscuring in the article pages. If ARCHIVER_OBSCURES_EMAILADDRS is true, then we'll `at-ify' the visible author text and point the mailto: to the list's posting address. HyperArchive.__init__(): Pass the maillist to the HyperDatabase constructor. write_index_entry(): If ARCHIVER_OBSCURES_EMAILADDRS, `at-ify' the author field in the index. This might catch non-addresses with @'s in them, but so what? For the most part, it'll moderately obscure email addresses. __processbody_URLquote(): Futile attempt at code cleaning for a method that I don't think ever gets called. :/
* rmdirhier(): We don't need this now that we've re-discovered <wink>bwarsaw2002-12-021-22/+4
| | | | | | | shutils.rmtree(). Thanks Fred! get_domain(): Use DEFAULT_EMAIL_HOST if DEFAULT_HOST_NAME hasn't been overridden in mm_cfg.py.
* Updated comments to reflect that NotAMemberError is the one truebwarsaw2002-12-021-3/+3
| | | | exception that can get raised.
* InitVars(), CheckValues(): Set host_name and web_page_url based onbwarsaw2002-12-021-8/+11
| | | | | | | | | whether the old variable names have been overridden in mm_cfg.py or not. If not, use the new variable names. ApprovedDeleteMember(): Don't check for isMember() here since the removeMember() call will raise the appropriate NotAMemberError if necessary. Besides MMNoSuchUserError is removed now.
* MMNotAMemberError, MMNoSuchUserError: Get rid of these since we don'tbwarsaw2002-12-021-2/+0
| | | | need three ways to raise "not a member" exceptions.
* Set DEFAULT_HOST_NAME and DEFAULT_URL to None. That way, we canbwarsaw2002-12-021-5/+7
| | | | | | | | | determine if they've been overridden in mm_cfg.py and use the new variables DEFAULT_EMAIL_HOST and DEFAULT_URL_PATTERN % DEFAULT_URL_HOST if not. Also, fix a typo and set ARCHIVER_OBSCURES_EMAILADDRS to true by default.
* calculate_attachments_dir(): Be defensive about bogus Date headers. ;/bwarsaw2002-11-221-6/+32
|
* process(): Don't send a results message if we're already sending abwarsaw2002-11-212-2/+4
| | | | confirmation message.
* process(): Set the `respond' flag to false ifbwarsaw2002-11-211-10/+17
| | | | | | | - this is a subscription being confirmed and send_welcome_msg is true - this is an unsub being confirmed and send_goodbye_msg is true We don't need redundant responses.
* Results.__init__(): Add a `respond' flag which is used bybwarsaw2002-11-211-1/+5
| | | | | | | | | send_response() to enable or suppress confirmation responses. For example, when confirming a subscription, if a welcome message is going to be sent out, we don't need to also send a results of the confirmation message. send_response(): Suppress the response if the `respond' flag is false.
* change_options(): Don't handle `emergency' moderation here -- it's abwarsaw2002-11-211-4/+0
| | | | normal config variable now.
* VERSION: Bump.bwarsaw2002-11-211-1/+1
|
* Prepare for beta5bwarsaw2002-11-191-2/+2
|