summaryrefslogtreecommitdiff
path: root/bin/add_members (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert add_members.bwarsaw2006-05-021-255/+0
|
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-271-1/+1
|
* Remove all traces of -c / --change-msg. This is an anachronism thatbwarsaw2003-04-191-43/+1
| | | | no longer seems appropriate.
* Fixed typo in docstring. Closes SF bug # 697321 by Ricardo Kustner.bwarsaw2003-03-141-11/+11
|
* addall(): Fixed NameError, closing bug #650711 reported by Cabelbwarsaw2002-12-241-1/+1
| | | | Sasser.
* Jon Parise's patch to improve the usage() output for the command linebwarsaw2002-10-211-2/+6
| | | | | | and cron scripts. When code/status == 0, there's no error (it's likely --help output) so send that to stdout. Otherwise, it's an error and the output goes to stderr.
* Fixed typo reported by Dan Mick.bwarsaw2002-09-061-1/+1
|
* main(): Deprecate -n/--non-digest-members-file in favor ofbwarsaw2002-04-061-4/+13
| | | | | | -r/--regular-members-file. I'd like eventually for -n to be equivalent to --dry-run, but also this makes add_members a little more like list_members. Closes SF bug #219658.
* main(): Oops, missed a use of the obsolete GetAdminEmail().bwarsaw2002-03-271-1/+0
|
* SendExplanation(): GetAdminEmail() is gone so replace this with morebwarsaw2002-03-271-3/+3
| | | | appropriate addresses.
* Update imports for the new rules on shadowing standard librarybwarsaw2002-02-231-2/+3
| | | | | | | | | modules. Specifically, import the email package /after/ we've imported paths. Also, in add_members: change the import of StringIO to use the Python standard cStringIO module, which we can now pretty much guarantee to be there.
* SendExplanation(), main(): First, set the global language to thebwarsaw2002-02-111-10/+22
| | | | | | | | list's preferred language for the email message that's sent out. Then do the translation and UserNotification generation, then reset the language context and send the message. Patch by Ben Gertzfield, modified by Barry.
* Use email.Utils.parseaddr()bwarsaw2001-10-221-3/+2
|
* Ben Gertzfield's patch to hardcode the path to the python executablebwarsaw2001-09-071-1/+1
| | | | | | | | | | | | | into the script's #! line -- based on --with-python settings, without losing CVS revision history. #! /usr/bin/env python becomes #! @PYTHON@ which gets substituted for in configure.
* main(): Instead of using MAILMAN_OWNER, use Utils.get_site_email().bwarsaw2001-08-041-1/+1
| | | | The former config variable is going away.
* Rewrite docstring for clarity, and to describe the newbwarsaw2001-07-201-58/+106
| | | | | | | | | | | | | | | | | | | -a/--admin-notify flag, which allows the user to inhibit sending the administrator a notification of subscriptions. class Tee: helper class so that output can be sent both to stdout, and to a StringIO which might be sent to the list admin. class UserDesc: for use with ApprovedAddMember(). addall(): New function which does the loop-over-ApprovedAddMember() for a list of email addresses. Output is sent to the tee. main(): Slightly better option handling (it secretly accepts y, Y, yes, YES, YOWSA, n, N, NO, NINE for boolean options). Don't hide IOErrors if the digestfile or regularfile can't be opened for some reason. Be sure to Save() the list after all is said and done; ApprovedAddMember() does not do this anymore!
* SendExplanation(): Fixed the sending of notification to use the newbwarsaw2001-04-091-7/+3
| | | | Message.UserNotification() class.
* Start of support for i18n; marking of translatable strings.bwarsaw2000-12-071-22/+30
| | | | | Use extended print statement, string methods, and other Python 2.0 features.
* Make sure all scripts lowercase the list names, since they are casebwarsaw2000-09-111-1/+1
| | | | | | | insensitive. list_lists prints them out using their real name -- not their internal name -- and they should differ only by case. Closes SF bug #113742 and patch #101434.
* SendExplanation(): GetAbsoluteScriptURL() => GetScriptURL(..., absolute=1)bwarsaw2000-08-011-1/+1
|
* SendExplanation(): Use the new DeliverToUser() API to fix the sendingbwarsaw2000-07-191-2/+5
| | | | of "big changes" messages. Fixes SF Bug # 109274.
* Update the copyright lines to include the years 1999 & 2000.bwarsaw2000-03-211-1/+1
|
* Convert message delivery to pipeline architecture by usingbwarsaw1999-11-241-28/+27
| | | | | | | HandlerAPI.DeliverToUser() for fast track delivery of the welcome messages. We also no longer need to call Utils.Reap() since that's gone now.
* SendExplanation(): Message objects no longer have a SetHeader()bwarsaw1999-11-101-2/+2
| | | | | method. Use the standard rfc822.Message writable interface (e.g. __setitem__)
* main(): Reap all subprocesses until none are leftbwarsaw1999-10-301-0/+4
|
* Use new MailList.ApprovedAddMembers() to speed up addition.hmeland1999-06-131-25/+21
|
* When either of the -d or -n files are "-", read that list of addresseshmeland1999-03-041-10/+22
| | | | from stdin. Specifying both files as "-" is an error.
* Use the new ValidateEmail() interface.bwarsaw1999-01-091-1/+3
|
* Added back add_members to Makefile.inbwarsaw1998-12-171-5/+5
| | | | add_members was still calling itself convert_list in the docstring.
* consolidated convertlist and populate_new_list into add_members.cotton1998-11-251-0/+205
add_members is just like convert_list was, except that 1) the "Send big changes" option defaults to no. 2) the -c and -w options are specified in the short version of the usage. scott