summaryrefslogtreecommitdiff
path: root/modules/mm_digest.py
Commit message (Collapse)AuthorAgeFilesLines
* All these files have been moved to the Mailman directory (and some renamed)bwarsaw1998-06-191-408/+0
|
* digest_send_periodic now uses a Radio button instead of a number box, sinceviega1998-06-111-2/+3
| | | | it is currently a boolean variable.
* Whoops, I forgot to check these in. They're changed to handleviega1998-06-031-2/+3
| | | | | relative paths, mainly GetScriptURL->the appropriate replacement. Now I'm done w/ checkins, and I'm going to test the current snapshot.
* No longer pass in the stupid news parameter to DeliverToList(), sinceviega1998-06-021-3/+3
| | | | that parameter is dead.
* Pass the flag to .DeliverToList() that says, "don't repost this mailviega1998-05-311-5/+5
| | | | to news".
* Fixed a typo in the zipcode.viega1998-05-261-2/+2
|
* Added copyright notices to all source files where I am legally entitled to ↵viega1998-05-251-1/+18
| | | | | | | do so. Added a copy of the GNU GPL. Added information about mailman-users in README, and reworded some text in there (made the credits less verbose... perhaps they should move to a credits file?)
* Removed constant i added but didn't use (SUBJ_REGARDS_PREFIX).klm1998-05-031-3/+1
|
* .SaveForDigest():klm1998-05-021-18/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Digest messages now keep all headers except 'received', 'errors-to', and all 'x-*' ones (and any continuations of these). - Mime digest messages now properly (i believe) contain mime attachments. (The key was preserving the original content-type header.) - It may be that some more headers should be trimmed, ie for the sake of the non-mime recipients - but actually, it doesn't look cluttered, for the few sample messages i tried. - The entries in the table-of-contents have the redundant subject-prefix string removed. Digest: Redundant "Vol" in masthead string removed. I took a look at rfc 934 (thanks, barry), which is the pre-Mime standard for encapsulating (nesting) messages in other messages, and it looks like the key is to have an "encapsulation boundary" that starts with a "-" dash - looks like mime extended from this. However, the old rule for nesting an encapsulated message within another encapsulated message is to insert a "- " space in front of the original encapsulation boundary. Unfortunately, this would break mime encapsulation, so i'm not implementing this part of the old burstable-digests standard. The rest of it *may* be ok, though, in case anyone has the old-style bursting readers... Anyway, i've done about as much as i was hoping to do with the digests format - i don't forsee devoting much more attention to features, just to ironing out bugs.
* .SendDigest(): digest_text wasn't defined - had to read the file.klm1998-05-011-2/+2
|
* Digest(): new class which represents a digest in a presentation-klm1998-05-011-79/+134
| | | | | | | | | | | | | neutral format, and then can present as either plain or mime format. Much cleaner than when the digest structure and layout was combined with the other logic in .SendDigest(). .SendDigest(): Use new Digest() class to compose the digest and then present it in either (or both) formats. Much simplified as the digest structure and layout logic is now in the digest class. Added DIGEST_MASTHEAD, removed DIGEST_HEADER_TEMPLATE and DIGEST_CLOSE_TEMPLATE.
* For mime digests, substitute the result of mimetools.chooseboundary()klm1998-04-271-67/+82
| | | | | | | | | instead of the ad-hoc one. This should be more robust and more likely to not break sendmails out there... (There actually has been lots of restructuring, in preparation for using a digest object that will provide for better mixed multipart mime presentation...)
* .SaveForDigest(): When reply_goes_to_list is set, add a reply-to:klm1998-04-231-6/+11
| | | | list to each digest entry. (From janne sinkkonen, more or less.)
* Add the number of messages to the digest subject lines.klm1998-04-221-12/+21
| | | | Regularize the digest header list info section slightly.
* (First checkin after release tagged mailman-1_0b2.)klm1998-04-141-29/+34
| | | | | | | | | Changed digest header format slightly, but changed the code more to use keyword format strings instead of order-dependent ones, to make reorganizing the text a lot less fragile. (I'm coming to think that having a footer is mostly undesirable, so mm_cfg.DEFAULT_DIGEST_FOOTER should be the empty string.)
* Send messages by connecting directly to port 25 and talking SMTP toklm1998-04-131-3/+19
| | | | whatever mail delivery agent is there.
* Track move of MESSAGE_DECORATION_NOTE from mm-defaults to mm_err.mailman1998-04-091-3/+3
|
* Preparing to package a distribution - add a module docstring andmailman1998-04-091-0/+4
| | | | __version__ info.
* Added new-format descriptive header, as string in options list.klm1998-04-071-8/+11
| | | | Elaborated some options with supplementary description.
* Do *not* sort the members (digest or non) in the list record - sortmailman1998-03-271-2/+0
| | | | them before presenting an ordered list.
* If the lists are going to remain sorted, they must be sorted whenmailman1998-03-261-0/+2
| | | | digestification status changes.
* Changed sense of plain vs mime default digest format buttons, to agreemailman1998-03-241-1/+1
| | | | with default setting.
* Moved truncate and close of digest_file and topics_file to *just*mailman1998-03-241-15/+20
| | | | | | | before the delivery, so the accumulated messages are not removed until the first copies are about to be sent. Refined digesting log messages.
* Log a message if digest file is unlocatable.mailman1998-03-201-14/+32
| | | | In general, use .LogMsg() instead of arbitrary digest.log file.
* Added periodic (with help of senddigest cron job) digest transmissionmailman1998-03-131-23/+48
| | | | | | | | | | | | | | | | | in addition to size-threshhold triggering, and periodic mechanism enabled by new option DEFAULT_DIGEST_SEND_PERIODIC - by default, active. New methods SendDigestOnSize() and SendDigestIfAny() - the latter used by new script (in ../cron dir) senddigests. Made mime mode the default for digests. New option digest_is_default allows moderator change. (Took a lot of changes all over, since the user options are much more abstruse than the list options, and weren't formerly hooked up with a list option.) Some reduction of text added to mime formatted messages (i might say clutter:) - some whitespace, and particularly the "** Message %d:..." ... "** End of message..." message body brackets - mime maillists i use don't include that kind of thing and look quite fine.
* Resolving digest header and footer formats against list.__dict__ (justklm1998-03-081-6/+10
| | | | | | | | | | | | before posting). Getting digest header and footer from (new) default settings. Changed subject of footer message from "Reminder" to "Digest Footer". (NOTE that the mime seems to be kinda funky - my mua, a fairly current version of Unix pine, does not recognize it as mime, and it tends to be pretty good about that kind of thing.)
* Removed extraneous comma from digestable option.mailman1998-03-041-1/+1
|
* Add neglected comma to digestable config var!mailman1998-03-041-1/+1
|
* Simplfied a few options descriptions.mailman1998-02-271-4/+3
|
* Use default values from mm_cfg module.mailman1998-02-261-3/+3
|
* Initial revisionmailman1998-02-261-0/+191