summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* process(): If the list is personalized, and the list's posting addressbwarsaw2002-10-151-8/+17
| | | | | | | | is not included in a Reply-To header, copy the posting address into a Cc header, otherwise there's no (easy) way a recipient could reply back to the list. Also, whitespace normalization, and a bit of code cleanup.
* pycheckerfiedbwarsaw2002-10-151-3/+3
|
* maybe_forward(): Use the new ForwardMessage() interface.bwarsaw2002-10-151-6/+4
|
* Remove a useless comment.bwarsaw2002-10-151-1/+0
|
* Whitespace normalized and pycheckerfied.bwarsaw2002-10-151-13/+12
|
* process(): I don't think that logging the short circuit to logs/vettebwarsaw2002-10-151-9/+12
| | | | | is very useful, so remove this syslog call. Also, rewrite the comments, whitespace normalize, and pycheckerfy.
* OwnerNotification: New convenience class, derives frombwarsaw2002-10-151-0/+15
| | | | | | | | | UserNotification but provides a different constructor. It calculates the recipients from the list's owners and, if the tomoderators flag is true (the default), includes the list's moderators. The ctor also munges the To header so that it looks like it's being sent to the list's -owner address.
* ApprovedDeleteMember(): Use the new OwnerNotification class to sendbwarsaw2002-10-151-3/+4
| | | | | | the admin_notify_mchanges notice. This also fixes the bug Chuq saw where the notification message was sent to the list owners via a roundtrip through the mta. We now send it directly to the owners.
* ForwardMessage(): Change the signature a bit to use the newbwarsaw2002-10-151-7/+6
| | | | | | OwnerNotification class in Message.py. We don't need the recips argument since we're always going to calculate that from self's owners and moderators (if the tomoderators flag is true).
* __init__(): Somehow the archiver was unlocking the list at an oddbwarsaw2002-10-151-1/+1
| | | | | time. I can't figure out why that's happening but defaulting unlock to false seemed to take care of the problem... for now. :(
* verpdeliver(): Skip all the realname -> unicode + encode conversionsbwarsaw2002-10-151-2/+4
| | | | when the member has no real name associated with their subscription.
* ForwardMessage(): The UserNotification neeeds to have its languagebwarsaw2002-10-141-1/+2
| | | | specified. Patch supplied by Tokio Kikuchi.
* Jon Parise points out that chowning with user:group is better.bwarsaw2002-10-141-1/+1
|
* Use latest and greatest email package.bwarsaw2002-10-142-0/+0
|
* EMAILPKG: Use email 2.4.3bwarsaw2002-10-141-1/+1
|
* __setstate__(): This plus email-2.4.3 should fix (most of) Peerbwarsaw2002-10-141-2/+33
| | | | | | | | | | | | | | | | | | Heinlein's recent problems. This patch adds several things to better update pickled Message objects to the latest email package. Specifically, __init__(): Add a version number to Message objects so that we can make __setstate__() more efficient (I don't want to do the next bit of hackery for every single unpickled Message object). __setstate__(): For Message objects older than the current email package version, we'll ensure that the data format is the same. We keep the previous updates and add one that trolls through the message headers, ensuring that if any of the headers are Header instances, that their chunks all have 2nd items as Charset instances, not strings. This is an invariant for email 2.4.3, but older Message instances might not conform.
* process(): Initialize the line local variable to the empty string, inbwarsaw2002-10-141-0/+1
| | | | case the message has an empty body.
* Norwegian catalog update. Not complete yet, just submitting my latest changes.avalon2002-10-142-225/+174
|
* Some small fixespioppo2002-10-134-16/+14
|
* finished this partmss2002-10-117-24/+21
|
* show the direction of "update"mss2002-10-111-1/+11
|
* reflect the statusmss2002-10-101-0/+7
|
* initial versionmss2002-10-107-0/+81
|
* getting ready for 2.1b4pioppo2002-10-1010-334/+346
|
* Stupid change to see if the python.org email munging fix worked.bwarsaw2002-10-101-0/+1
|
* Another round of catalog updates, based on today's checkins.bwarsaw2002-10-0929-2268/+7494
|
* main(): processUnixMailbox() no longer takes an article classbwarsaw2002-10-091-2/+2
| | | | argument.
* Whitespace normalization and some Pychecker cleanup.bwarsaw2002-10-092-9/+7
|
* ArchiveMail(): processUnixMailbox() no longer takes an article classbwarsaw2002-10-091-1/+1
| | | | argument.
* _makeArticle(): Override base class method so that we create abwarsaw2002-10-091-1/+6
| | | | | HyperArch.Article instead -- which takes two extra constructor arguments.
* Whitespace normalization and some Pychecker cleanup.bwarsaw2002-10-091-345/+340
|
* processUnixMailbox(): Small but useful refactoring. Don't pass thebwarsaw2002-10-091-4/+6
| | | | | | | | article class as an argument. Instead call out to an override-able method _makeArticle() to return the article instance. This will be overridden in HyperArch.py. Bump __version__ while we're at it.
* Typo in docstring, closes SF bug #620406 reported by Dave Habben.bwarsaw2002-10-081-1/+1
|
* CheckHTMLArchiveDir(): Indentation-o pointed out by Dan Mick.bwarsaw2002-10-081-1/+1
|
* process(): I really could have sworn this was already there, butbwarsaw2002-10-081-4/+30
| | | | | | | apparently not. If the first non-whitespace line of the first text/plain subpart has an Approved or Approve header, it's checked for the admin password, but /only/ if there's no real Approved or Approve header in the message (don't use both!).
* Add a mention of KBabel as another tool for translators.bwarsaw2002-10-081-2/+2
|
* Integrating SF patch #594771, i18n'ified pipermail.bwarsaw2002-10-081-6/+9
| | | | | | Set the default language to the server's default. Whitespace normalization.
* Integrating SF patch #594771, i18n'ified pipermail.bwarsaw2002-10-081-368/+411
| | | | | | | | | | | | | | | | | | | sizeof(): Grows a lang argument. Class Article: - grows attributes _lang, _mlist - default self.charset to the server language's charset - constructor grows a lang and and mlist argument - new __setstate__() method for backcompat with older (pickled) archives - as_html(): use i18n.ctime() - in many places, use standard language templates. All inlined tqs templates in this file have been removed. - volNameToDesc(): new Code cleanup. Whitespace normalization.
* Whitespace normalization.bwarsaw2002-10-081-16/+16
|
* ArchiveMail(): Remove the corrupt archive log message. I think thisbwarsaw2002-10-081-2/+0
| | | | just confuses people and the traceback is enough information.
* Integrating SF patch #594771, i18n'ified pipermail. Changes herebwarsaw2002-10-081-3/+49
| | | | | | | | include: ctime(): An i18n'd ctime for the archiver. Whitespace normalization.
* New English and Japanese templates for the i18n'ified archiver. Thebwarsaw2002-10-0814-0/+170
| | | | | | English archives were part of SF patch #594771 by Simone Piunni with help from Tokio Kikuchi. Japanese templates were part of the latest Japanese updates by Tokio Kikuchi.
* maybe_forward(): The bounce page documents that undetected bouncesbwarsaw2002-10-081-0/+2
| | | | | should go only to the list owners. I don't think the list moderators need to be bothered.
* maybe_forward(): Refactor forwarding logic into ForwardMessage()bwarsaw2002-10-081-13/+5
| | | | method on the MailList instance.
* When content filtering, we may not always want to just discard thebwarsaw2002-10-081-3/+35
| | | | | | | | | | | message. This is especially the case when debugging your filtering rules. To support this we now have a "filter action" which can be Discard, Reject, Forward to Admin, Preserve on disk. process(): Call dispose() when we want to chuck the message. dispose(): New function which disposes of a matching message based on filter_action.
* GetConfigInfo(): Add description for filter_action, and flesh out abwarsaw2002-10-071-2/+34
| | | | few of the other descriptions.
* When content filtering, we may not always want to just discard thebwarsaw2002-10-071-0/+1
| | | | | | | | message. This is especially the case when debugging your filtering rules. To support this we now have a "filter action" which can be Discard, Reject, Forward to Admin, Preserve on disk. NewVars(): Add 'filter_action' if missing.
* When content filtering, we may not always want to just discard thebwarsaw2002-10-071-1/+1
| | | | | | | | message. This is especially the case when debugging your filtering rules. To support this we now have a "filter action" which can be Discard, Reject, Forward to Admin, Preserve on disk. Bump DATA_FILE_VERSION to pick up the new filter_action attribute.
* When content filtering, we may not always want to just discard thebwarsaw2002-10-071-0/+1
| | | | | | | | message. This is especially the case when debugging your filtering rules. To support this we now have a "filter action" which can be Discard, Reject, Forward to Admin, Preserve on disk. InitVars(): Set the default filter action.
* ForwardMessage(): Refactor the various places where we're forwardingbwarsaw2002-10-071-0/+21
| | | | messages into a single method.