summaryrefslogtreecommitdiff
path: root/Mailman/Gui/ContentFilter.py
Commit message (Collapse)AuthorAgeFilesLines
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-271-199/+0
|
* Tweak copyright years.Barry Warsaw2008-02-071-1/+1
|
* Other than contrib files, convert all imports of mm_cfg to imports of config.Barry Warsaw2007-07-141-12/+12
| | | | | | | | | | | Ignore mailman.egg-info In bin/make_instance.py: Catch and ignore import errors when importing Mailman.i18n. Before this script has actually been run, there won't be enough infrastructure in place of the import to succeed. Include several other fixes in this file. Add install_requires to the setup script.
* Passwords done right.bwarsaw2007-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First off, there are several password hashing schemes added including SHA, salted-SHA, and RFC 2989 PBKDF2 (contributed by Bob Fleck). Then we encode the password using RFC 2307 style syntax. At least I think: specifically things like the PRF and iteration count for PBKDF2 are encoded the way I /think/ is intended for RFC 2307 but I could be wrong. Seems darn hard to find definitive information about that. In any event, even though CLEARTEXT passwords are supported, they are mostly deprecated, even for user passwords. It also allows us to easily update all passwords to a new hashing scheme when the existing schemes get cracked. The default scheme (specified in Defaults.py.in) is salted-SHA with a 20 byte salt (the salt length and PBKDF2 iteration counts can only be specified in the passwords.py file). These hashed passwords are used for user passwords, list owner and moderator passwords, and site and list creator passwords. Of course this means that user password reminders are impossible now. They've been ripped out of the code for a while, but now we'll need to implement password resets since user passwords cannot be recovered. bin/export has had several changes: - export no longer converts to dollar strings. Were assuming dollar strings are used by default for all new lists and any imported lists will already be converted to dollar strings. - Likewise, rip out the password scheme stuff, since cleartext passwords can never be exported, so we might as well always include the member's hashed password. - Fix exporting to stdout when that stream can only handle ascii by wrapping stdout in a utf-8 codec writer. Other changes: - add a missing import to HTTPRunner.py - Convert GUIBase.py to use Defaults.* for constants instead of mm_cfg.* - Remove pre-Python 2.4 compatibility from Utils.py. We've already said Python 2.4 will be a minimum requirement. - Change the permissions on the global password file. The default 007 umask is used and should be good enough. - bin/newlist adds the ability to specify the password scheme (or list the available schemes) for the list owner password. It is not possible to set the scheme on a per-list basis. bin/mmsitepass does the same, but for the site and list creator passwords. - Fix a nasty problem with bin/import. The comment in the code says it best: # XXX Here's what sucks. Some properties need to have # _setValue() called on the gui component, because those # methods do some pre-processing on the values before they're # applied to the MailList instance. But we don't have a good # way to find a category and sub-category that a particular # property belongs to. Plus this will probably change. So # for now, we'll just hard code the extra post-processing # here. The good news is that not all _setValue() munging # needs to be done -- for example, we've already converted # everything to dollar strings. - Set the 'debug' logger to logging.DEBUG level. It doesn't seem to make much sense for the debugging log to ignore debug messages.
* Port cleaning changes forward from 2.1-maint branch.bwarsaw2005-12-301-3/+3
|
* back porting from 2.1.6tkikuchi2005-08-281-9/+39
|
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-271-1/+1
|
* GetConfigInfo(): Quick patch for invalid html by Daniel Buchmann.bwarsaw2002-10-211-2/+3
|
* GetConfigInfo(): Add description for filter_action, and flesh out abwarsaw2002-10-071-2/+34
| | | | few of the other descriptions.
* _setValue(): Tighten the rules for accepting filter_mime_types andbwarsaw2002-10-071-2/+16
| | | | | pass_mime_types entries. They have to look more like a content maintype or maintype/subtype.
* GetConfigInfo(): Fix typo described in SF bug #553385 found by Danielbwarsaw2002-08-171-1/+1
| | | | Buchmann.
* GetConfigInfo(): Add a note that you probably will want to addbwarsaw2002-08-151-1/+5
| | | | | | `multipart' to the pass filter. We still won't set DEFAULT_PASS_MIME_TYPES = ['multipart'] because we want to leave the pass filter empty by default.
* GetConfigInfo(): Rewrite large portions of this text to give morebwarsaw2002-08-151-18/+51
| | | | | | | | | | | | | background on the content filtering process, make descriptions more consistent, and hopefully more useful. Also, added a description of the pass_mime_types variable. This is a whitelisting feature contributed by Dan Mick, hacked by Barry (so any bugs are my fault). The idea is that after the filter_mime_types pass is made, if there are any pass_mime_types defined, only parts that match these types are allowed through. _setValue(), getValue(): Add support for pass_mime_types.
* intermediatebwarsaw2002-04-141-0/+85