aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Article.__init__(): Provide a default charset if the message doesn'tbwarsaw2003-12-261-3/+7
| | | | | | | have one. Part of TK's patch #865661. __processbody_URLquote(): One chunk of TK's patch # 865661 for improving the i18n of the 'at' substitutions for archives.
* Authenticate(): When authenticating AuthUser, wrap thebwarsaw2003-12-261-35/+40
| | | | | | | | | | | | | | | | | | | | | self.authenticateMember() call in a try/except catching and ignoring NotAMemberErrors. The effect of this is that other authcontexts being check will then proceed as normal. This fixes admin login to the private archives, and non-public rosters. Under the old code, if you tried to get into the private archives w/o entering an email address, but using the admin password, you'd be denied access. WebAuthenticate(): Removed the wrapping of .Authenticate() in try/except catching of NotAMemberError, since this should never percolate out now. Also, use True/False everywhere it's appropriate (but not in the cookie code). Original bug and patch by Stephan Berndts. Closes SF bug # 864676 and SF patch # 864674.
* backporting.tkikuchi2003-12-260-0/+0
|
* This commit was manufactured by cvs2svn to create branch2003-12-261-0/+1270
| | | 'Release_2_1-maint'.
* Christmas updates from p.georgep_george2003-12-251-1179/+840
|
* updatesbwarsaw2003-12-242-3/+5
|
* Update version numbers (2.1.4 is definitely going out before the endbwarsaw2003-12-241-3/+3
| | | | of the year).
* adminy_overview(): Richard Barrett's patch # 828811 to reduce listinfobwarsaw2003-12-241-5/+6
| | | | | | and admin cgi process size by not keeping the entire mlist object alive through a reference in the advertised list. Only the information used in the overview is kept.
* listinfo_overview(): Richard Barrett's patch # 828811 to reducebwarsaw2003-12-241-5/+6
| | | | | | listinfo and admin cgi process size by not keeping the entire mlist object alive through a reference in the advertised list. Only the information used in the overview is kept.
* Updates.bwarsaw2003-12-244-6/+20
|
* Added Richard Barrett's bin/rb-archfix script to reduce Pipermailbwarsaw2003-12-242-2/+4
| | | | archive bloat. Closes SF bug #835332.
* finished_update_article(): Richard Barrett's fix to reduce Pipermailbwarsaw2003-12-241-0/+9
| | | | | | | | | | | | | archive bloat by deleting the html_body attribute on Article objects. Closes SF bug #835332. This is a stub in the base class. _update_thread_index(): Call finished_update_article() when done. store_article(): squirrel away the html_body value when pickling the article. This only reduces bloat on new articles. See bin/rb-archfix to clean up older archives.
* finished_update_article(): Richard Barrett's fix to reduce Pipermailbwarsaw2003-12-241-0/+6
| | | | | | | | archive bloat by deleting the html_body attribute on Article objects. Closes SF bug #835332. This only reduces bloat on new articles. See bin/rb-archfix to clean up older archives.
* SCRIPTS: Add Richard Barrett's script to fix Pipermail archive bloatbwarsaw2003-12-241-1/+1
| | | | | | on existing archives. Closes SF bug #835332. Note, you have to re-run configure to pick up this new script.
* Richard Barrett's script to fix Pipermail archive bloat on existingbwarsaw2003-12-241-0/+108
| | | | archives. Closes SF bug #835332.
* Comment repair.bwarsaw2003-12-221-1/+1
|
* Cosmetic updates.szilardv2003-12-221-2197/+1354
|
* Fix commentbwarsaw2003-12-181-2/+1
|
* uheader(): Added default argument for maxlinelen.bwarsaw2003-12-181-11/+12
| | | | | | | | | | process(): Reworked the way we calculate the List-Id header in the face of i18n descriptions which may need to be quoted (if ASCII and containing RFC 2822 special chars). What we do now is RFC 2047 encode just the description part, if there is one, then use formataddr() to combine that with the email address-like list identification.
* send_i18n_digests(): Configurations can change between the time abwarsaw2003-12-161-1/+6
| | | | | | | | | message is originally received and the time the digest is sent. If the configuration changes by setting ARCHIVE_HTML_SANITIZER to 0, a DiscardMessage exception can occur during the scrubbing. Catch this error. Closes SF #860135 with basic solution by Martin Pool.
* check_privs(): Set the process's supplemental groups to those of thebwarsaw2003-12-141-0/+7
| | | | | | setuid'd user, if os.setgroup() is available (it's not in Python 2.1). Close SF bug #777444 posted by Richard Barrett, identified and solved by Jonas Muerer.
* Additionsbwarsaw2003-12-132-3/+13
|
* process(): Quote the description when adding it to the List-ID header,bwarsaw2003-12-131-1/+1
| | | | | in case there are any special characters (in the RFC 2822) in the description.
* merged new .pot file.bwarsaw2003-12-1326-2527/+3984
|
* Updated .pot file -- don't upgrade until you see the .po file checkinbwarsaw2003-12-131-3/+3
| | | | message.
* Removed references to addlang -- this script doesn't exist.bwarsaw2003-12-132-15/+1
|
* updatesbwarsaw2003-12-131-1346/+2220
|
* Romanian is now supportedbwarsaw2003-12-132-3/+3
|
* Romanian updates from Stefaniu Criste.bwarsaw2003-12-1343-2175/+3396
|
* Romanian is iso-8859-2bwarsaw2003-12-131-1/+1
|
* Romanian support from Stefaniu Cristebwarsaw2003-12-131-1/+1
|
* Some new additionsbwarsaw2003-12-131-1/+3
|
* handleForm(): Close some cross-site scripting holes found by Dirkbwarsaw2003-12-132-4/+5
| | | | Mueller.
* Finally I have finished the translation of the UPGRADING doc.szilardv2003-12-021-202/+348
|
* Basque updates by pi@beobide.netbwarsaw2003-12-0138-4131/+3180
|
* process(): Update a few email package calls.bwarsaw2003-12-011-5/+11
|
* Updates for the Hungarian catalog.szilardv2003-12-011-2230/+1378
|
* Updatesbwarsaw2003-12-014-4/+10
|
* Results.__init__(): It's possible for the Header functions to raise abwarsaw2003-12-011-4/+9
| | | | | HeaderParseError, so if that happens just ignore the Subject header for command purposes.
* Fix a small comment bug.bwarsaw2003-12-011-1/+1
|
* process(): The implementation of extended header filters viabwarsaw2003-12-011-4/+79
| | | | header_filter_rules.
* True/False where appropriate.bwarsaw2003-12-011-1/+1
| | | | | | process(): When we encode the text, catch ValueError along with UnicodeError and LookupError. The ValueError can be raised if the charset is the empty string. Closes SF bug # 834486.
* True/False where appropriate.bwarsaw2003-12-011-15/+23
| | | | | | process(): When we encode the text, catch ValueError along with UnicodeError and LookupError. The ValueError can be raised if the charset is the empty string. Closes SF bug # 834486.
* True/False where appropriate.bwarsaw2003-12-011-1/+7
|
* True/False where appropriate.bwarsaw2003-12-011-18/+19
| | | | handleForm(): Close a very minor, potential CSS hole.
* GetConfigInfo(), handleForm(): Added header_filter_rules, a new variable whichbwarsaw2003-12-011-2/+114
| | | | | collects regular expression rules to match against the message's outer headers, along with the action to take when a match occurs.
* _getValidValue(): Basically ignore HeaderFilter widgets. They'll be handledbwarsaw2003-12-011-0/+2
| | | | in the Privacy.py file.
* process(): Catch MMBadPasswordError which gets thrown by ProcessConfirmation()bwarsaw2003-12-011-0/+3
| | | | when the wrong admin password is given in a confirmation message.
* subscription_prompt(): Make text and submit button have consistent text.bwarsaw2003-12-011-2/+2
| | | | Closes SF bug # 816410.
* get_item_gui_value(): Added a new widget HeaderFilter and associated code tobwarsaw2003-12-011-2/+72
| | | | | | | | build the interface from header_filter_rules. Here you can specify a set of regular expressions to test against a message's (outer) headers. You can also specify the action to take when a rule matches. These are available on Privacy->Spam Filters page.