summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated catalogs, which now include the docstrings for thebwarsaw2002-05-0224-12370/+18933
| | | | Mailman/Commands/cmd_*.py email commands.
* do_command(): If the Subject: header command was attempted and itbwarsaw2002-05-021-4/+12
| | | | | | failed, it might be because of a Re: prefix (or localized version thereof). Pop off the first component of the args, use that as the command and try again... once.
* __onefile(): If there's no `listname' key in the message metadata, usebwarsaw2002-05-021-9/+8
| | | | | the site list to send the message. If there's no site list, you're in heap big trouble.
* Dan Mick caught a typo in the docstring.bwarsaw2002-05-021-1/+1
|
* Add the Mailman/Commands subdirectory to the list of build and installbwarsaw2002-05-024-7/+7
| | | | dirs.
* MailList: Remove MailCommandHandler from the list of base classes;bwarsaw2002-05-021-6/+4
| | | | it's obsolete now. Also, update some comments.
* This file has been replaced with the new email command framework.bwarsaw2002-05-021-783/+0
|
* The mapping of short options names to their flags has been moved herebwarsaw2002-05-021-8/+10
| | | | | | | from MailCommandHandler.py via the OPTINFO dictionary. LIKELY_BOUNCE_SENDERS: Removed; this didn't appear to be used anywhere any more.
* membership_options(), change_options(): The mapping of short optionsbwarsaw2002-05-021-4/+3
| | | | | names to their flags has been moved into Defaults.py.in via the OPTINFO dictionary.
* _setValue(): The mapping of short options names to their flags hasbwarsaw2002-05-021-3/+1
| | | | been moved into Defaults.py.in via the OPTINFO dictionary.
* Update a comment.bwarsaw2002-05-021-3/+1
|
* Support the new email commands framework. We now no longer usebwarsaw2002-05-021-34/+115
| | | | | | | | | | | | | | MailCommandHandler.py. Specific changes include: class Results: Basically a bag to hold state during the processing of a particular email message loaded with commands. This makes it easy to pass data around (like the mailing list object and the message). It also contains the results of the command processing and gloms up the response email. _dispose(): This method actually gets simplified because it just needs to pass things to the Results instance and let it do the job of processing the email commands.
* main(): Add Mailman/MailCommandHandler.py{,c} to the list of obsoletebwarsaw2002-05-021-1/+1
| | | | files to remove.
* Updates to the help.txt file for all supported languages. Basicallybwarsaw2002-05-0214-1020/+14
| | | | | | | | this moves the individual command helps out of the templates and replaces them with a placeholder (filled in by the cmd_help.py) module. Translators should double check my edits!
* New architecture for email commands. Instead of the monolithic (andbwarsaw2002-05-0218-0/+1298
| | | | | | | | | | | | | | | | | | | | unmaintainable) MailCommandHandler.py file, we've now got a framework where each command is implemented in a separate file. This means it's both more extensible and more flexible: - you can easily add new commands for things I haven't thought of <wink>, and the `help' command will automatically adjust - you can disable commands entirely by removing the appropriate file - you can disable, change, or add commands on a per-list (or even per-message or per-sender) basis CommandRunner.py is the module that calls into this framework. Each command is implemented as a cmd_<command>.py file. The `set' command is the most complicated. The help text is currently implemented as module docstrings (for most commands), so the i18n catalogs must be updated. Also the help.txt files will be updated.
* Update the Korean codecs to Kye-Shik Chang's <perky@fallin.lv> 2.0.4bwarsaw2002-05-011-1/+1
| | | | version, which is LGPL'd.
* Update the Korean codecs to Kye-Shik Chang's <perky@fallin.lv> 2.0.4bwarsaw2002-05-012-0/+0
| | | | version, which is LGPL'd.
* Article.__init__(): Use the Reply-To: address as the self.email onlybwarsaw2002-04-291-4/+6
| | | | | | | | as a last resort, if no valid email address could be retrieved from the From: line. Previously it would always defer to the Reply-To: address with unintended side effects. Closes SF bug #224274.
* A patch (embedded in SF bug #411341) to add a -g/--goodbye-msg tobwarsaw2002-04-281-1/+15
| | | | | override the list's default send_goodbye_msg setting. Contributed by Alessio Bragadini.
* Added some documentation for SMTPHOST, closing SF bug #418969bwarsaw2002-04-281-1/+3
|
* Share a single nntp connection amongst all lists with the samebwarsaw2002-04-281-9/+29
| | | | | | | | | | | | | | | | nntp_host. Also, clean up some exception handling. Specifically, open_newsgroup(): Cache the connection object. clearcache(): New function to clean things up at script exit. poll_newsgroup(): Catch all NNTPErrors, not just (obsolete) error_temp. process_lists(): Catch all socket and nntplib errors when opening the newsgroup. main(): Be sure to clear the nntp connection cache when done.
* Neuter this example.bwarsaw2002-04-281-1008/+1
|
* Updated and merged catalogsbwarsaw2002-04-2814-5013/+7016
|
* Italian translation updates from Simone Piunno.bwarsaw2002-04-286-440/+469
|
* Untabificationbwarsaw2002-04-281-5/+5
|
* Improve the documentation for DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST.bwarsaw2002-04-281-1/+19
|
* Bumping email package to 2.0.2bwarsaw2002-04-271-0/+0
|
* Even though distutils' --install-lib is advertised as overridingbwarsaw2002-04-261-3/+4
| | | | | --install-purelib, this isn't really true w.r.t. the JapaneseCodecs japanese.pth file. So include the --install-purelib option too.
* main(): Use a more POSIX-ly correct way to extract the exit status andbwarsaw2002-04-261-11/+16
| | | | signal number from the os.wait() status value.
* A few corrections and improvements.avalon2002-04-222-12/+12
|
* An an example of the types of urls used to get to a list's admin page.bwarsaw2002-04-211-1/+5
| | | | Closes SF bug #434407
* GetStandardReplacements(), MailmanLogo(), IMAGE_LOGOS, SHORTCUT_ICON:bwarsaw2002-04-213-8/+11
| | | | | | | | | Clarify the semantics of all these settings. Setting IMAGE_LOGOS to 0 is the only way to suppress the sponsor images, but this also suppresses the favicon. You should now never set SHORTCUT_ICON to 0 (it should always be the string naming the favicon file). Closes SF bugs # 546421 and 546418.
* Don't set the digest type (plaintext or MIME) through this mechanism,bwarsaw2002-04-191-4/+1
| | | | | since this is already settable via the Digest option mime_is_default_digest.
* save_attachment(): Ugly hack to make sure that the attachmentsbwarsaw2002-04-191-1/+4
| | | | | | | | | | directory has the proper mode bits under FreeBSD, which seems to ignore the setgid bit on the os.mkdir() call. I really don't want to have to change every os.mkdir() call site, so I won't make this habit. Closes SF bug #526519
* HOLD_MESSAGES_AS_PICKLES: Promote to an mm_cfg.py configuration variable.bwarsaw2002-04-192-8/+8
|
* ProcessConfirmation(): When checking the subscribe_policy, be sure tobwarsaw2002-04-191-1/+4
| | | | | | compare it to 2 and 3 (approval & approval+confirm). It's possible the policy was changed in the middle of the confirmation process. Reported by Dale Newfield.
* process(): Only add List-Post: if include_list_post_header is true.bwarsaw2002-04-191-1/+3
|
* GetConfigInfo(): Add include_list_post_header configuration variable.bwarsaw2002-04-191-0/+16
|
* NewVars(): Pick up include_list_post_header.bwarsaw2002-04-191-0/+1
|
* DATA_FILE_VERSION: Bump this to pick up include_list_post_header.bwarsaw2002-04-191-1/+1
|
* InitVars(): Added include_list_post_header which controls whetherbwarsaw2002-04-191-0/+1
| | | | | List-Post: is added or not. Announce-only lists should set this to "No".
* ALLOW_RFC2369_OVERRIDES: I give up. Set this default to 1 to allowbwarsaw2002-04-191-20/+6
| | | | | | | list owners to override RFC 2369 headers. Also, now that we're using the JapaneseCodecs 1.4.5 package, I don't think we need to do the registration ourselves.
* handleForm(): GACK! Remove a debugging call. Thanks Ron!bwarsaw2002-04-191-1/+0
|
* Put a link to the FAQ wizard at the top of the page.bwarsaw2002-04-191-2/+3
|
* CheckValues(): Watch for bad patterns in topics and discard them ifbwarsaw2002-04-181-1/+11
| | | | | found. The Topics gui will catch these for newly defined patterns, but there may be some legacy topic patterns in the list config.
* handleForm(): Don't allow a topic with a pattern which is an illegalbwarsaw2002-04-181-0/+11
| | | | regular expression to be added to the list of topics.
* _dispose(): In the SomeRecipientsFailed handler, be sure to set thebwarsaw2002-04-181-2/+3
| | | | | msgdata's "recips" key to the list of recipients that were rejected, otherwise lots of folks on the list will get duplicates!
* process(), to_plaintext(): If the message gets modified, add an X-bwarsaw2002-04-181-1/+12
| | | | header to indicate a change has been made.
* Updated the Japanese codecs package and the email package.bwarsaw2002-04-184-1/+1
|
* More proofreading! Thanks to all members of mailman-fr@rezo.net.wilane2002-04-172-8/+7
|