summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-07-19Some code re-organization.bwarsaw1-76/+29
ValidateEmail(): Add `/' to the list of _badchars in email addresses instead of making it bad only if it points to an existing directory (!). ParseAddrs(): Removed since rfc822.parseaddr() now works for all cases, according to RFC 2822 (but we'll need to supply the rfc822.py from Python 2.2 now).
2001-07-18All:bwarsaw5-212/+8
GetConfigInfo(): Removed. All admin ui gui elements are moved into components in the Mailman/Gui subdirectory. All membership related attribute access should use the MemberAdaptor API instead, e.g. IsMember() -> isMember() GetUserOption() -> getMemberOption() SetUserOption() -> setMemberOption() Also use ApprovedDeleteMember() instead of DeleteMember(). Deliverer.py: Remove last vestiges of os.environ['LANG'] Digester.py: SetUserDigest(): Removed. This is replaced by OldStyleMemberships's setMemberOption() method when flag == mm_cfg.Digests
2001-07-18Bump the version number to 2.1a3 and kick the DATA_FILE_VERSION to 30bwarsaw1-3/+3
so the new variables from versions.py will get installed.
2001-07-18NewVars(): Add the following attributes to MailList instances, if theybwarsaw1-0/+5
don't already have them: - topics: a list of all admin specified topics - topics_enabled: a flag specifying whether topics are enabled - topics_bodylines_limit: the number of lines of the body that the topic tagger should look for Subject: and Keywords: lines - one_last_digest: A hold over from an earlier time, this holds addresses of folks who switched from digest to regular delivery - usernames: holds the dictionary of email addresses to Real Names but if a user has no assigned Real Name, they have no entry in this dictionary.