summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Script to synchronize membershipsbwarsaw1999-03-232-0/+265
|
* Add GNU copyrightbwarsaw1999-03-211-0/+16
|
* Script to check the state of a list's database filebwarsaw1999-03-211-0/+70
|
* Add warning message about the need for a manual step in the updatebwarsaw1999-03-091-0/+9
| | | | process.
* If the file specified with -f is "-", read addresses to remove fromhmeland1999-03-041-6/+13
| | | | stdin (in addition to those specified on the command line).
* 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.
* "import paths" must come before any "from Mailman import module"hmeland1999-03-041-1/+1
| | | | statement -- this wasn't the case when running under Python 1.5.
* Wrap import of getpass in try/except, and get it frombwarsaw1999-02-271-1/+5
| | | | Mailman.pythonlib if we're using Python 1.5
* Use a more portable way to save/restore sys.stdoutbwarsaw1999-02-241-1/+2
|
* Make sure -o flag actually works by redirecting output to fpbwarsaw1999-02-241-6/+11
|
* main(): force the listname to lower case both when it's passed on thebwarsaw1999-02-101-1/+4
| | | | command line, and when it's prompted for.
* Check arguments slightly differentlybwarsaw1999-02-011-5/+5
|
* Make coding style a little more conformant:bwarsaw1999-02-011-29/+64
| | | | | | | | | | | | - use getopt module to parse options - include a module docstring describing usage - include -h/--help option to print docstring - support --archive (like -a) - put all mainline code in a main() function
* clone_member: very simple first attempt at a clone operation. This isbwarsaw1999-02-013-2/+122
| | | | | | | | | not suitable for access via Web because of security concerns. Runnable by site admin. remove_members: slight reordering of usage() Makefile.in: add clone_member script.
* VERSION is no longer set in configure because it's too hard tobwarsaw1999-01-151-2/+0
| | | | | | | | | | | | propagate version string changes to the public (you have to autoreconf, then reconfigure and reinstall). Now, VERSION is set directory in Defaults.py.in and the Release.py script updates that file directly. Now we just need to run ./config.status and do a re-install. I hope this will make things easier. I'm also bumping the version to 1.0b8, so I can do a release tomorrow.
* Use the new ValidateEmail() interface.bwarsaw1999-01-091-1/+3
|
* If we can't import getpass from the standard Python installation,bwarsaw1999-01-091-1/+5
| | | | | we're probably running under Python 1.5, so get our own copy of getpass.
* Mostly reformatting to get rid of lines > 78 columns widebwarsaw1999-01-061-14/+14
|
* list_members - a new script for dumping a list's members to stdout or a filebwarsaw1999-01-024-32/+238
| | | | | | remove_members - admin script for removing members from the command line subscribe_enmasse - obsolete
* update_to_10b6 is moved to updatebwarsaw1998-12-222-6/+7
| | | | also remove bin/update_to_10b6 :-)
* Added removal of Mailman/smtplib.py{,c}bwarsaw1998-12-221-2/+5
| | | | | This file will be renamed to bin/update by hacking the CVS repository. You will not see a checkin message for this.
* Added back add_members to Makefile.inbwarsaw1998-12-172-7/+7
| | | | add_members was still calling itself convert_list in the docstring.
* convert_list and populate_new_list have been removedbwarsaw1998-12-101-3/+2
|
* main(): Was not accepting password from command line because len(args)klm1998-12-031-2/+6
| | | | | | | | | was being rejected if >= 2, when it should be rejected only when > 2. Added confirmation step for assurance the user's entering what they think (and slightly changed phrasing of prompt for clarity). All was suggested by guido.
* Unpack of the wrong-size argument list yields a ValueError, not anklm1998-12-011-1/+1
| | | | | IndexError. (I left the IndexError on the exception list in case there's some other purpose to it...)
* consolidated convertlist and populate_new_list into add_members.cotton1998-11-252-101/+3
| | | | | | | | 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
* Fixed another place where new accounts are saved without the password.klm1998-11-241-0/+2
| | | | | | | | | | | I added a list.Save() after each section (non-digest-members and members) that had any additions. I should note that the some partial saving *was* being done, just before the password entry was added - and probably during the addition of _every_ member. This would seem to defeat the speedup benefits, while also introducing a bug of partial saving. This should be rectified one way or the other!
* convert_list now runs Utils.ValidEmail() on all addresses, and printscotton1998-11-231-1/+3
| | | | | | | out a warning if the test fails. this way comments and most accidental stuff that gets into a file to import should not be added. scott
* I should have broken this up into 2 checkins because it implements onecotton1998-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix and one addition. Sorry, i realized that too late. This change adds another list conifg variable "admin_notify_mchanges", which is a boolean 0 or 1 and specifies whether or not the list admin gets notifications of subscriptions and unsubscriptions. The functions MailList.DeleteMember and MailList.ApprovedAddMember trigger the delivery if it is turned on for the list or passed in as an optional argument. This way, it is the duty of programs/code that do mass subscriptions/unsubscriptions where this notification may not be appropriate to specify that in the call to .DeleteMember or .ApprovedAddMember. There are 2 new templates, adminsubscribeack.txt and adminunsubscribeack.txt which are used in sending these notifications. Defaults.py.in has a variable "DEFAULT_ADMIN_NOTIFY_MCHANGES" which is set to 0 so that old lists will act the same by default, and the data version is up'ed to 12. versions.py sets the variable if it's not already there for a list. The config info for the admin cgi program for this new variable is set right after the variable for immediate notifications. The second change is a fix where ApprovedAddMember was calling a "self.Save()", which made mass subscribe situiations really far too slow. I removed the .Save() from there and added it to the more outer level code in the following places: bin/convert_list Mailman/ListAdmin.py Mailman/MailCommandHandler.py Mailman/Cgi/admin.py Note that since AddMember can trigger a call to ApprovedAddMember, all the places where AddMember is called needed a .Save() added as well. I need to add a call to .Save() for Mailman/Cgi/subscribe.py as well and will do that in a moment. scott
* Minor rewriting of the docstring to make it more Emacs friendly.bwarsaw1998-11-161-4/+4
|
* fixed typo in removing module code.cotton1998-11-061-2/+2
| | | | scott
* update_to_10b6:cotton1998-11-061-3/+42
| | | | | | | | | | | made it remove Archiver.py(c),Hyper*.py(c), pipermail.py(c) from $prefix/Mailman if they're there. made it rename $prefix/templates/<listname>/* to $prefix/<listname> only if wouldn't overwrite anything UPGRADING: changed "you will have to move" to "make update moves", added note about archived articles from before when Archiving stuff was in it's own dir. scott
* A slight reformatting for readabilitybwarsaw1998-11-061-12/+14
|
* fixed minor typosbwarsaw1998-11-061-2/+2
|
* update_to_10b6 now is sans .pybwarsaw1998-11-061-1/+1
|
* made it so thatcotton1998-11-051-8/+36
| | | | | | | 1) it could be run more than once. 2) it handles files which may be around for some reason but which weren't put there by a previous mailman installation. scott
* changed os.sytem(...find) to use os.path.walk instead, should be morecotton1998-11-051-5/+21
| | | | | portable. scott
* 1) added o-w to the old html archiving chmod's.cotton1998-11-051-31/+42
| | | | | | 2) made it more proactive about lists with public and private archiving mbox's. scott
* moved a misplaced print statement from the previous checkin.cotton1998-11-051-1/+1
| | | | scott
* Removed the private archive directory chmod, as this should be done bycotton1998-11-051-10/+12
| | | | | | | | | make install. made the directory chmod's apply to only old existing html archive directories. made it exit if there aren't any lists, since then it's a fresh install and shouldn't do anything. scott
* Make sure archives/private has the proper permissionsbwarsaw1998-11-051-4/+6
|
* Makefile.in: added arch script to integrate an mboxcotton1998-11-052-1/+54
| | | | | | | bin/arch: script to integrate an mbox intove html archives. I'm hoping to extend the functionality of this script one day, hence the general name. scott
* Install update_to_10b6.py script in binbwarsaw1998-11-051-1/+1
|
* remove_it(): better status messagesbwarsaw1998-11-041-6/+10
|
* made it do the right thang for lists with both pub and priv mboxcotton1998-11-041-11/+29
| | | | | | archives. made it more robust about creating mbox archive directory. scott
* Scott's update script, generalized to use mm_cfg.PREFIX and slightlybwarsaw1998-11-041-0/+90
| | | | | | | reformatted. Completely untested! Scott, please test. Also, added a test for both the private and public mboxes existing. How likely is that?
* Modifications to handle new archiving layout.bwarsaw1998-11-031-1/+5
|
* make finishbwarsaw1998-10-201-0/+2
|
* Use the following format when printing /etc/aliases suggestion:bwarsaw1998-10-201-3/+3
| | | | | | | addr: "|command" This works for sendmails (which don't seem to care), and is required for Exim and smail MTAs. (suggested by Balazs Szabo).
* added options to not send the "big changes to your list" text to all thecotton1998-10-111-13/+38
| | | | | | list members (-c and --changes-msg), and to override the list setting for send_welcome_msg (-w and --welcome-msg). scott