summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* AppendMessage(): Since we can't portably test the numeric/symbolicbwarsaw2000-09-271-2/+3
| | | | | error code raised by seek()ing before the end of a non-existant or zero length file, we simply ignore all IOErrors that can result.
* run_script(): Generalize the filtering out of environment variables.bwarsaw2000-09-271-6/+27
| | | | | | We now discard $PYTHONHOME and $PATH as well as the previously discarded $PYTHONPATH (which we later hand craft). Just a bit of extra paranoia.
* run_main(): Moved the initialization of logger local to None outsidebwarsaw2000-09-271-4/+4
| | | | | the try block. Should have no practical effect, but makes debugging easier.
* checkarchivedbs(): Don't bomb out if there are some nondirectories inbwarsaw2000-09-261-1/+1
| | | | the private archive dir.
* process(): Darrell Fuhriman notes that the List-Archive: header'sbwarsaw2000-09-251-2/+3
| | | | value needs to be wrapped in angle brackets.
* process(): Typo in Reply-To: munging section's logic crept into thebwarsaw2000-09-251-1/+1
| | | | | last patch. This caused confirmation requests to have a reply-to pointing back to the list. Closes bug #115253.
* a few last minute updatesbwarsaw2000-09-241-1/+1
|
* Mailbox._fromlinepattern: optimizations by Tim Peters.bwarsaw2000-09-241-1/+4
|
* a few last minute updatesbwarsaw2000-09-241-12/+14
|
* a few last minute updatesbwarsaw2000-09-241-3/+5
|
* Mailbox._isrealfromline(): Integrate optimization from proposed Pythonbwarsaw2000-09-241-0/+6
| | | | 2.0 patch.
* Fold the UnixMailbox optimization into Mailman.Mailbox.Mailbox class,bwarsaw2000-09-241-6/+3
| | | | and use that class here.
* Extensive cleanup and performance improvements. Most signficant changes are:jhylton2000-09-222-86/+101
| | | | | | | | | | | | | | | | - add support for decoding subjects in links to next and prev message if the encodings of the two messages are the same - change re.sub('"',...) with string.replace('"', ...) - remove unused __processbody_CGIescape method - vast simplification and speed up of format_article (still more to do in methods it calls) - change logic of loadbody_fromHTML to avoid unnecessary tests - add slightly optimized mailbox class
* misc cleanupjhylton2000-09-221-29/+18
| | | | | replace open calls with explicit open_ex add load method with code from __init__
* Fix index generation bug that oocasionally prevented messages fromjhylton2000-09-222-160/+202
| | | | | | | | | | | | | | | | | | | | | | | | appearing in index. pipermail generated several indexes by assuming that date was unique. If two messages arrived with, e.g., the same author and date, then the author index treated them as identical. As a result, both messages were archived, but only the last one was included in the index. Solution is to always include the msgid, which is unique, in the index key. Change database keys to combine elements using tuples instead of string concatenation with \000 as separator. Fix was accomplished by refactoring on pipermail.Database and its subclasses. Push index-key generation into common concrete base class Database; rename abstract base class to DatabaseInterface. Break up addArticle method into several pieces. TBD There is still more refactoring to do on Database class. Because date key has changed, HyperDatabase method to return first and last date changed to reflect format of date key. Refactor pipermail.T.add_article into several pieces.
* a few last minute additionsbwarsaw2000-09-221-1/+5
|
* minor proofreadingbwarsaw2000-09-221-6/+7
|
* Bugs and patches go to SourceForge now.bwarsaw2000-09-221-4/+13
|
* Dang, another problem with --prefix and --with-var-prefix interaction.bwarsaw2000-09-222-40/+42
|
* newly generated from 2.0b6's TODO listbwarsaw2000-09-221-131/+138
|
* Removed debugging print.bwarsaw2000-09-221-1/+0
|
* New TODO => todo.html generator. Requires Python 2.0bwarsaw2000-09-221-52/+47
|
* apply patch #100867-- add robot meta tags to cause more intelligentjhylton2000-09-221-0/+3
| | | | search engine indexing of index and message pages
* replace null bytes in message body with spacesjhylton2000-09-221-2/+4
|
* More acks.bwarsaw2000-09-222-1/+5
|
* Updates for 2.0beta6bwarsaw2000-09-221-0/+79
|
* Another fix for --prefix, --with-var-prefixbwarsaw2000-09-222-50/+60
|
* Article._get_body(): Python 1.5.2's int() takes only one argument.bwarsaw2000-09-221-1/+1
|
* decode quoted-printable message bodiesjhylton2000-09-221-4/+38
| | | | | | keep _charsets dictionary in pickled rep of archive; this allows the charset for an index page to be set based on the total count of charsets in all messages
* Small typo in the default case of no --with-var-prefix provided.bwarsaw2000-09-222-4/+4
|
* default should not be verbosejhylton2000-09-221-1/+1
|
* Bump to 2.0beta6bwarsaw2000-09-222-4/+4
|
* Support for patch #101331. Specifically,bwarsaw2000-09-222-127/+163
| | | | | | | | Support the --with-var-prefix Also change --with-ownername to --with-username and --with-ownergroup to --with-groupname and set these up to propagate into substitutions.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-4/+8
| | | | | | | | | Specifically, Describe the new --with-var-prefix option. Also, change --with-ownername to --with-username and --with-ownergroup to --with-groupname
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-8/+13
| | | | | | | | | | | | | | | | | | | Specifically, VAR_PREFIX gets substituted here by configure. This is where all the writable, variable directories in Mailman are installed, such as: LIST_DATA_DIR = $VAR_PREFIX/lists LOG_DIR = $VAR_PREFIX/logs LOCK_DIR = $VAR_PREFIX/locks DATA_DIR = $VAR_PREFIX/data QUEUE_DIR = $VAR_PREFIX/qfiles SPAM_DIR = $VAR_PREFIX/spam PUBLIC_ARCHIVE_FILE_DIR = $VAR_PREFIX/archives/public PRIVATE_ARCHIVE_FILE_DIR = $VAR_PREFIX/archives/private Also, MAILMAN_UID and MAILMAN_GID get substituted here by configure too.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-2/+1
| | | | | | | Specifically, HyperArchive.html_TOC_entry(): Don't calculate path to archives/private here; it's already done for us in mm_cfg.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-4/+17
| | | | | | | | | | | | Specifically, The following directories (VAR_DIRS) are installed relative to VAR_PREFIX: logs, archives, lists, locks, qfiles, data, spam, filters, archives/private, archives.public doinstall: Create directories in VAR_PREFIX.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-1/+2
| | | | | | | Specifically, FILTERSDIR is relative to VAR_PREFIX (site administrators can add their own filter programs).
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-2/+3
| | | | | | | Specifically, Install pending_subscriptions.db into $DATADIR, which is calculated relative to VAR_PREFIX.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-2/+2
| | | | | | | Specifically, calcversions(): Update the comment since the logs dir is now relative to VAR_PREFIX.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-1/+3
| | | | | | Specifically, main(): the REMOVABLES are relative to VAR_PREFIX now.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-15/+27
| | | | | | | | | | | | Specifically, MAILMAN_UID and MAILMAN_GID are now available in mm_cfg, so use these as the gid to check group-ownership against, and as the user to re-run the script as if there are errors. checkall(): Now knows about all of PREFIX, EXEC_PREFIX, and VAR_PREFIX and checks the permissions of them all. It's smart about knowing when any of these directories are the same.
* get_message(): The filter programs now live in VAR_PREFIX/filters.bwarsaw2000-09-221-1/+1
| | | | Closes David Champion's patch #101331.
* What else? More good ideas. ;)bwarsaw2000-09-221-0/+5
|
* First pass at updates for 2.0. Also fix spelling mistakes.bwarsaw2000-09-221-46/+68
|
* do_child(): Use a slightly different algorithm for munging thebwarsaw2000-09-221-5/+26
| | | | | | | | | | | Message-ID: header in posted messages. We define a machine parsable format containing the listname and the hostname, and if these match our list's name and hostname, we do not munge the header. This continues to allow crossposting to multiple gated mailing lists, but should break loops involving the nntpd in the most common case. Thanks to Jim Tittsler for pointing out the problem.
* HyperArchive.__init__(): charset attribute needs to be initialized tobwarsaw2000-09-221-2/+3
| | | | | | None otherwise pure-ascii archives fail to build. Other de-Python-2.0-ifications.
* Coding style changes. De-Python-2.0-ification.bwarsaw2000-09-221-34/+58
| | | | Unit test returns same results in Python 1.5.2, 1.6, and 2.0.
* Numerous changes to support message bodies and headers that use ajhylton2000-09-222-196/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-ascii charset. HyperArch: call write_index_entry from write_threadindex_entry more style issues; refactoring of several methods add ctype, charset, and decode attrs to Article; set based on Content-Type header and an encoded-words in header add extra blank lines to html templates so that they interact better with iso-2022-jp text handle msg <title> and <h1> tags separately to avoid non-ascii characters in title add encoding format to index and message headers add explicit template for index entry pipermail: handle messages with timezone gracefully catch EOFError when loading archive pickle fix a few bugs that were hidden by bogus overrides in HyperArch
* Decode encoded-words as defined by RFC 2047jhylton2000-09-221-0/+147
|