summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Set DEFAULT_HOST_NAME and DEFAULT_URL to None. That way, we canbwarsaw2002-12-021-5/+7
| | | | | | | | | determine if they've been overridden in mm_cfg.py and use the new variables DEFAULT_EMAIL_HOST and DEFAULT_URL_PATTERN % DEFAULT_URL_HOST if not. Also, fix a typo and set ARCHIVER_OBSCURES_EMAILADDRS to true by default.
* Add the printing of the current time and date to the end ofbwarsaw2002-12-022-4/+5
| | | | | configure. This is helpful for when I have a shell and *compilation* buffer open and can't remember if I've done a "make install" yet. ;)
* 1223/1223 okpioppo2002-11-252-140/+86
|
* re-aligned to the english templates for b5pioppo2002-11-251-1/+3
|
* calculate_attachments_dir(): Be defensive about bogus Date headers. ;/bwarsaw2002-11-221-6/+32
|
* process(): Don't send a results message if we're already sending abwarsaw2002-11-212-2/+4
| | | | confirmation message.
* process(): Set the `respond' flag to false ifbwarsaw2002-11-211-10/+17
| | | | | | | - this is a subscription being confirmed and send_welcome_msg is true - this is an unsub being confirmed and send_goodbye_msg is true We don't need redundant responses.
* Results.__init__(): Add a `respond' flag which is used bybwarsaw2002-11-211-1/+5
| | | | | | | | | send_response() to enable or suppress confirmation responses. For example, when confirming a subscription, if a welcome message is going to be sent out, we don't need to also send a results of the confirmation message. send_response(): Suppress the response if the `respond' flag is false.
* change_options(): Don't handle `emergency' moderation here -- it's abwarsaw2002-11-211-4/+0
| | | | normal config variable now.
* VERSION: Bump.bwarsaw2002-11-211-1/+1
|
* 2.1b5 newsbwarsaw2002-11-191-0/+34
|
* New namesbwarsaw2002-11-191-0/+2
|
* updatedmss2002-11-192-3/+5
|
* Update to reflect the change in the english template.avalon2002-11-191-1/+3
|
* Updated norwegian catalog.avalon2002-11-192-69/+46
|
* Updates in preparation for 2.1b5bwarsaw2002-11-198-39/+197
|
* Catalog updatesbwarsaw2002-11-1931-8285/+9153
|
* Prepare for beta5bwarsaw2002-11-191-2/+2
|
* Update a comment.bwarsaw2002-11-191-0/+2
|
* More fun stuff.bwarsaw2002-11-191-1/+4
|
* More namesbwarsaw2002-11-191-0/+3
|
* Patch #478491 by Federico Grau.bwarsaw2002-11-191-1/+3
|
* Patch #482934 by David Gibbs, adds a -b/--bare switch to print justbwarsaw2002-11-191-15/+25
| | | | the lists' internal names, i.e. without the descriptions.
* dequeue(): "rejection-notice" (i.e. the dash) doesn't play nice whenbwarsaw2002-11-191-0/+6
| | | | | | METADATA_FORMAT = METAFMT_ASCII. Because of patch #567288 by Maximillian Dornseif, we have to upgrade the schema of any metadata files (i.e. rejection-notice -> rejection_notice).
* hold_for_approval(): "rejection-notice" (i.e. the dash) doesn't playbwarsaw2002-11-191-1/+1
| | | | | nice when METADATA_FORMAT = METAFMT_ASCII. This is part of patch #567288 by Maximillian Dornseif.
* show_post_requests(): "rejection-notice" (i.e. the dash) doesn't playbwarsaw2002-11-191-1/+1
| | | | | nice when METADATA_FORMAT = METAFMT_ASCII. This is part of patch #567288 by Maximillian Dornseif.
* More namesbwarsaw2002-11-191-0/+1
|
* Describe the AddDefaultCharset issue for Apache and i18n archivebwarsaw2002-11-191-9/+15
| | | | interoperability.
* process(): Patch #625482 by Tokio Kikuchi to properly MIME encode thebwarsaw2002-11-191-23/+33
| | | | | | List-Id header when we add the mailing list's description. uheader(), prefix_subject(): Refactored.
* GetConfigInfo(): "addrs" -> "addresses" in the obscure_addressesbwarsaw2002-11-191-2/+2
| | | | | description. This will require catalog updates. Patch #605146 by Jon Parise.
* RestrictedListMessage(), RosterOption(), GetStandardReplacements():bwarsaw2002-11-191-5/+6
| | | | | Applied patch #600368 by Simone Piunno to ease translations for some languages.
* quick_maketext(): Copy the body of the try: from Utils.maketext() forbwarsaw2002-11-181-8/+14
| | | | | | | | | | | | completeness (this really needs to be refactored). Article.as_html(): Set the encoding of the page to the list's preferred encoding, which seems to make the headers and bodies come out okay when mixing languages -- at least as in the minimal testing I've been able to do. Woo boy, I'm really not positive about this change and would love a second opinion. Martin?
* Added a %(meta)s placeholder where the http-equiv meta tag for thebwarsaw2002-11-185-0/+5
| | | | charset will go.
* Simplification and fixes for i18n in the archives. This is related tobwarsaw2002-11-181-62/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SF patch #634303, but I think it's better because it actually removes code instead of adding it. We'll see what kind of holes Martin shoots through my optimism. ;) Specifically, unicode_quote() -> Utils.uquote() everywhere quick_maketext(): We can get rid of the `raw' argument since we're never going to wrap html text here. Also, put in a defense for lang=None and mlist=None (although in practice that doesn't happen). Finally -- and this is the key -- pass the interpolated text through Utils.uncanonstr() so that what we get back will be a unicode, with any characters outside the lang's charset html-ified. I think this simplifies matters by always encoding the indices to the charset of the list's preferred language, at the expense of potentially larger pages (which I don't care about). html_TOC(): Add a http-equiv meta tag indicating the charset of this page, which should fix display for the table of contents. Note that the various archtoc.html templates need updating but I will check those changes in next. HyperArchive.add_article(), .choose_charset(), .update_dirty_archives(): Removed.
* uquote(): Factored out the html-ifying of a string from uncanonstr()bwarsaw2002-11-181-9/+12
| | | | since the same code was essentially shared in the archiver.
* Added a -q / --quiet option.bwarsaw2002-11-181-3/+9
|
* membership_options(): Don't assume the environment has QUERY_STRING.bwarsaw2002-11-181-28/+30
|
* install (locally) under the appropriate usermss2002-11-181-2/+2
|
* maketext(): If the interpolation fails with a UnicodeError, we try tobwarsaw2002-11-181-1/+7
| | | | | | | | | unicode-ify the template and try the interpolation again. The error can occur if the template has non-ascii characters in it and one of the interpolation values is a unicode. This was getting swallowed because UnicodeError is a subclass of ValueError.
* SafeDict.interpolate(): Added for convenience.bwarsaw2002-11-181-4/+7
|
* process(): Implement a header/footer MIME wrapper for problematicbwarsaw2002-11-171-13/+52
| | | | | | | | | | message types. For compatible text/plain and multipart/mixed message, we still attach in the easiest way. For other types we'll wrap the whole message in a MIME multipart/mixed encapsulation. The outstanding question is which headers to copy from the outer message to the inner message. Currently we do just the Content-* headers.
* list_listinfo(): Fix a u/i buglet for when no choice is given betweenbwarsaw2002-11-161-0/+4
| | | | | | | | digest and non-digest delivery. listinfo.html now has <mm-digest-question-start> and <mm-digest-question-end> tags which get comment start/enders if the question is meaningless. Requires template changes to all langauge's listinfo.html files.
* Translators take note -- I added <mm-digest-question-start> andbwarsaw2002-11-161-1/+3
| | | | | | <mm-digest-question-end> tags so that this whole section can be commented out if there is no choice between digest and regular delivery for this list.
* change_options(): Display the fullname and address of the member justbwarsaw2002-11-161-1/+2
| | | | subscribed, web-safe-ifying and uncanonstr'ing.
* main(): Watch out for unsubscription confirmations on addresses thatbwarsaw2002-11-151-7/+14
| | | | | have already been unsub'd, e.g. by the list administrator. Log an error message and throw the cookie away.
* re-aligned to Nov 13 CVS.pioppo2002-11-153-48/+30
|
* Upgrade to JapaneseCodecs 1.4.9bwarsaw2002-11-153-1/+1
|
* Martin v. Loewis's SF patch #634109 for better scrubbing of multipartbwarsaw2002-11-131-22/+52
| | | | | | | | | | | | | | | | | messages. Specifically, process(): Each part that we're scrubbing, we'll set the content type explicity to text/plain (since that's what it is now). We also record the character set of each part and if that's shared by all the subparts, we'll just use that. But, if we don't know the charset of any of the parts then we'll use the list's preferred language's charset. Then we'll make sure all the text/plain parts have the same character set, using 'replace' if necessary. (We may eventually want to utf-8-ify or html-entity-ify them in this case). Patch slightly modified by Barry for i18n and style.
* email.Header does everything this module used to do for us, so webwarsaw2002-11-121-171/+0
| | | | don't need it anymore.
* decode_charset(): We no longer need the EncWord module, sincebwarsaw2002-11-121-16/+23
| | | | | | email.Header should be sufficient. This change uses decode_header() from email.Header instead of EncWord.decode(). The EncWord.py module will be removed.