summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/__init__.py (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-01-08A little more visibility to the --with-cgi-gid optionbwarsaw1-4/+10
1999-01-08Reformat as a FAQ (actual file move to happen in a moment w/o CVSbwarsaw1-43/+64
notification).
1999-01-07print_traceback(): A few changes to get the Mailman version numberbwarsaw1-2/+10
into both the error log and the HTML page.
1999-01-07Somewhat kludgy changes to make debugging mismatching CGI gid's easierbwarsaw4-1/+36
to figure out. common.c now sports a global variable running_as_cgi which, when true causes fatal() to output some mildly more helpful HTML in addition to the syslog entry. Since this usually only occurs when the site admin is installing Mailman, this helpful HTML should give a better clue as to what's going wrong, rather than an unhelpful Web server message and syslog entry alone. Naturally, main() in cgi-wrapper.c sets running_as_cgi to 1; it is initialized to 0 so as to not upset mail-wrapper.c. Finally, because I think this is a kludge, I've wrapped this all in an #ifdef HELPFUL, and set Makefile.in to turn this on by default. My thought is that for some future version, if the site admin specifies --with-cgi-gid to configure, that proves they're somewhat clueful, and we'd default the HELPFUL macro to "off".
1999-01-06Added what happens in the upgrade to 1.0b7bwarsaw1-18/+21
1999-01-06Mostly reformatting to get rid of lines > 78 columns widebwarsaw1-14/+14
1999-01-06chunkify(): Don't put mm_cfg.DEFAULT_ADMIN_MEMBER_CHUNKSIZE as abwarsaw1-1/+3
default arg value because then this module can't be imported in older versions of Mailman. Use None in the arglist, and set to the proper value when None is detected.
1999-01-05processQueue(): We can pretty much guarantee that if an os.error isbwarsaw1-7/+2
raised from the os.stat() call, the value will unpack into a two-tuple. So just do the unpacking in place, check the code and use Utils.reraise() if it wasn't what we expected.
1999-01-05TemporaryFile(): Divergence from Python 1.5.2 version. Can't use barebwarsaw1-1/+6
`raise' here since we may be running under Python 1.5. I don't use Utils.reraise() because I don't want to import Utils, so just do the manual sys import and raise.
1999-01-05Added a TODO: fix the file!bwarsaw1-0/+1
1999-01-05reraise(): can now take an optional val argument, which is only usedbwarsaw1-3/+7
when exc is not None. open_ex(): Use reraise().
1999-01-05Save(): Can't use a bare `raise' here, since Python 1.5 doesn't havebwarsaw1-1/+1
it and there are still some 1.5 users out there (thanks Brad Crittenden for finding this).
1999-01-05IsAdministrivia(): Made more stringent about 'set' command, since weklm1-2/+5
got a false positive for a message that had the last line of a paragraph (hence, short enough to look like administrivia) begin with 'set'. - Require all 3 arguments (for some reason it was requiring 2 or 3, while MailCommandHandler seems to clearly require 3 - perhaps we want to catch malformed administrivia, i'm just assuming not) - Require second arg of set command matches to be 'on' or 'off'. I guess administrivia is a delicate balance between weeding out non-administrivia and catching mis-directed admin messages, even ones that were badly formed. I'm inclined to opt for greater stingency, at the risk of not catching malformed and misdirected admin messages. Tough luck, the misguided poster will have to change their password. (I bet i get stung by this one day, myself...)
1999-01-02list_members - a new script for dumping a list's members to stdout or a filebwarsaw4-32/+238
remove_members - admin script for removing members from the command line subscribe_enmasse - obsolete
1998-12-31Bumping version number to 1.0b7+ to signify working version betweenbwarsaw3-4/+4
release 1.0b7 and the next release (whatever that will be).
1998-12-31Fixed making of the tarballbwarsaw1-32/+43