summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* brought up to datemss2002-09-242-1/+2
|
* minor fixesmss2002-09-241-3/+3
|
* some changes to simplify trackingmss2002-09-241-2/+20
|
* updated disabled.txtmss2002-09-242-5/+5
|
* update nomoretoday.txtmss2002-09-242-1/+10
|
* finished the simplified helpmss2002-09-242-5/+6
|
* subscription_prompt(), subscription_confirm(): Two more places wherebwarsaw2002-09-191-3/+5
| | | | | | we have to convert strings to or from unicode. Given by Tokio Kikuchi, modified slightly by Barry (if it's still broken, it's my mistake).
* Because we normally don't import site, the japanese.pth and korean.pthbwarsaw2002-09-181-0/+7
| | | | files won't get imported, so do it explicitly here.
* change_options(): Patch by Tokio Kikuchi, we need to canonicalize thebwarsaw2002-09-181-0/+1
| | | | realname string.
* canonstr(): With help from Tokio Kikuchi, this patch should make forbwarsaw2002-09-181-3/+13
| | | | | | | | | | better Japanese support. If we're converting to &#XYZ; form, use chr() if the integer is < 256 otherwise use unichr(). If the resulting joined string is already a Unicode, don't convert it. uncanonstr(): Use u'' instead of '' as the string when s is None. The Japanese codecs require a Unicode string as its argument, not an 8-bit string.
* process(): If a member has enabled their DontReceiveDuplicates option,bwarsaw2002-09-171-4/+23
| | | | | we'll also strip their addresses from CC headers in the list copy. This helps keep the CC lines from growing astronomically.
* Fixes for logging of non-ascii messages. We have a default encodingbwarsaw2002-09-171-1/+17
| | | | | | | | | | for the log file (defaults to iso-8859-1, which works for xterms and xemacs buffers, although we may have to change this to us-ascii for release). We try to open the log file using the codecs module so output will be encoded by the proper stream writer. I'm not 100% sure about these changes, but they seem right and work for me.
* verpdeliver(): When including the member's full name in a verp'dbwarsaw2002-09-171-2/+19
| | | | | | | | | | | | outgoing message, we must be sure to properly MIME encode the header, otherwise if the name has non-ascii characters in it, we'll be sending illegally formatted messages. So if the name has non-ascii characters in it, we'll encode it using the character set of the language of the outgoing message. Kludge: if the charset is us-ascii, we'll use iso-8859-1 for a slightly wider utility (more non-ascii names can be used in English lists). Closes SF bug # 601082 by Tokio Kikuchi.
* process_form(): When getting the member's full name out of the webbwarsaw2002-09-171-2/+2
| | | | | form, we need to convert it to a unicode string using the charset of the language of the page.
* main(): When getting the member's full name out of the web form, webwarsaw2002-09-171-10/+9
| | | | | | | | need to convert it to a unicode string using the charset of the language of the page. options_page(): When printing the member's full name, be sure to encode it to the charset of the language of the page.
* unsubscription_prompt(), addrchange_prompt(), reenable_prompt(): Whenbwarsaw2002-09-171-1/+12
| | | | | | showing the unsub'ing (or changing, or re-enabling) member's name, use the version converted to the charset of the web page (or with &#XYZ; conversion).
* show_pending_unsubs(): When showing the unsub'ing member's name, usebwarsaw2002-09-171-4/+3
| | | | | the version converted to the charset of the web page (or with &#XYZ; conversion).
* membership_options(): We need to prep the user's full name into a charsetbwarsaw2002-09-171-3/+4
| | | | | | | | | | appropriate for the web page we're spitting out. Take the unicode name string and uncanonstr() it so that it'll either be a string encoded in the charset of the page, or an ascii string containing html &#XYZ; entities. change_options(): Take the full name string received in the web form and canonstr() it so that we get a unicode string.
* canonstr(): New helper function which will take a string from a webbwarsaw2002-09-171-0/+58
| | | | | | | | | | | | | page, which possibly could contain &#XYZ; entities, and convert the string to a Unicode string using the charset of the language provided in the argument list. As a practical kludge, if the charset is us-ascii, we'll use iso-8859-1 instead (which allows a larger number of non-ASCII names in English lists). uncanonstr(): The opposite (sorta) of canonstr(), this takes a Unicode string and returns the encoded string in the charset of the provided language. If a strict conversion fails, then 8-bit characters are converted to their &#XYZ; entities.
* getMemberName(), addNewMember(), setMemberName(): Update the commentsbwarsaw2002-09-171-6/+10
| | | | | to make it clear that the full name (not RealName) will be a Python Unicode string if it contains non-ASCII characters.
* ParseTags(): Python will barf when trying to string-join a sequence ifbwarsaw2002-09-171-1/+8
| | | | | | | all the strings aren't properly encoded. To make life as easy as possible, make sure that all the items in the split sequence are 8-bit strings, encoded if necessary in the charset of the language given in the argument list.
* show_post_requests(): The default rejection notice wasn't gettingbwarsaw2002-09-131-3/+2
| | | | | translated. Closes SF bug #596361 by Tokio Kikuchi, albeit with a slightly different patch.
* _UpdateRecords(): Fixed typo, mlist -> self. Closes SF bug #605263 bybwarsaw2002-09-131-1/+1
| | | | Les Niles.
* GetDirectories(): Remove. We were only using this to get the list ofbwarsaw2002-09-131-5/+0
| | | | language keys, but we already have that information in LC_DESCRIPTIONS.
* GetConfigInfo(): Using GetDirectories() makes Mailman vulnerable tobwarsaw2002-09-131-1/+1
| | | | | | problems where stray directories are added to $prefix/templates. We already know all the acceptable language codes from LC_DESCRIPTIONS so use that instead. Closes SF bug #605557 reported by Emilio Delgado.
* request_creation(): Using GetDirectories() makes Mailman vulnerable tobwarsaw2002-09-131-1/+1
| | | | | | problems where stray directories are added to $prefix/templates. We already know all the acceptable language codes from LC_DESCRIPTIONS so use that instead. Closes SF bug #605557 reported by Emilio Delgado.
* subscription_prompt(): The moderator only approves requests whenbwarsaw2002-09-131-1/+3
| | | | | subscribe_policy is 2 or 3. Fixes bug #605933 reported by Ron Jarrell.
* change_options(): Handle the problem of when an invited user isbwarsaw2002-09-131-1/+4
| | | | already a member. Fixes bug #605933 reported by Ron Jarrell.
* Update to email 2.3.bwarsaw2002-09-113-1/+1
|
* Global.__nonzero__(): Fixed typo, missing return. Closes SF bugbwarsaw2002-09-111-1/+1
| | | | 607469 by John Parise.
* - minor changes sent in by Peer Heinleinjensv2002-09-072-24/+30
|
* poll_newsgroup(): Eek! Typo! The intent was definitely to remove anybwarsaw2002-09-061-1/+1
| | | | existing X-Originally-To header before we place our own there.
* Fixed typo reported by Dan Mick.bwarsaw2002-09-061-1/+1
|
* __init__(): Don't try to run the extend() function from extend.py ifbwarsaw2002-09-051-1/+3
| | | | | it's not there. It could be that all the interesting bits get executed as a side effect of the execfile().
* Added the ability to specify a virtual domain to move a list to, bybwarsaw2002-09-051-4/+55
| | | | | adding some command line switches. Note that those switches must appear /after/ the list name.
* Some updatesbwarsaw2002-09-051-4/+5
|
* I think we've determined that the dreaded "ImportError: No modulebwarsaw2002-09-053-135/+212
| | | | | | | | | | | named paths" is caused (somehow) by the distutils package not being available. Some Linux distros package distutils in the python-devel package instead of the main Python package (erroneously IMO -- distutils is critical). These configure changes exit early if distutils isn't importable. More detail is given in the README.LINUX file. Hopefully this will eliminate this FAQ.
* Slight modification in install targetsbwarsaw2002-09-051-1/+3
|
* main(): Cute hack by Donn Cave to optimize the option settings when nobwarsaw2002-09-051-2/+5
| | | | | | global opts are requested. This adds a __nonzero__() method to class Global and tests for truth before doing the gmlist loop. Closes SF patch #602084.
* Update to Tamito KAJIYAMA's latest Japanese codec.bwarsaw2002-09-053-1/+1
|
* These are unreadable, so I'm removing them. Closes SF # 604704.bwarsaw2002-09-052-0/+0
|
* fatal(): Change the signature of vsnprintf() in the case of using thebwarsaw2002-09-051-1/+1
| | | | GNU version.
* Signature update.bwarsaw2002-09-051-2/+2
|
* KEEP: In digests, keep Reply-To header also.bwarsaw2002-09-051-1/+1
|
* listinfo_overview(): Actually, use wording similar to admin.pybwarsaw2002-08-291-2/+2
|
* listinfo_overview(): Fixed typo reported by Greg Ward.bwarsaw2002-08-291-1/+1
|
* Authenticate(): Checking in a change discussed a while ago onbwarsaw2002-08-291-8/+6
| | | | | | | | mailman-developers. There's an inconsistent use of the MemberAdaptor API -- authenticateMember() is never called. This change seems to work just fine. Also: whitespace normalization.
* Some fixes for problems identified by Peer Heinlein. It is possiblebwarsaw2002-08-291-4/+7
| | | | | | | | | | | | | that the digest may contain unparseable messages, e.g. with missing start boundaries. Instead of crashing, such messages should simply be ignored. If lax parsing can't grok it, it has a high likelihood of being spam. Specific changes here: send_i18n_digests(): The end case is now that "msg is None", not false, and if msg is the empty string, it was unparseable and we should skip it.
* processUnixMailbox(): We don't need to catch MessageParseError sincebwarsaw2002-08-291-9/+5
| | | | | | the base class's .next() method will never raise them (it's factory masks them). However, the end condition is now that "m is None" instead of m being false.
* Some fixes for problems identified by Peer Heinlein. It is possiblebwarsaw2002-08-291-3/+13
| | | | | | | | | | | | | | | | | | | | that the digest may contain unparseable messages, e.g. with missing start boundaries. Instead of crashing, such messages should simply be ignored. If lax parsing can't grok it, it has a high likelihood of being spam. Specific changes here: _safeparser(): New helper factory for PortableUnixMailbox, which returns the empty string if a MessageParseError occurs. Note that '' is used instead of None because the latter will stop the Mailbox's default iterator (in Python 2.2). Mailbox.__init__(): Use the _safeparser() function instead of email.message_from_file(). scrubber(): We can use _safeparser() here and simply not scrub the empty string return value.