| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
send_welcome_msg setting.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
standard, e.g. requiring options and long options instead of
positional arguments (only required args are positional). Added a
--help option too.
GetRandomPassword(): Fixed typo: it's Mailman.Utils.GetRandomSeed()
SendExplanation(): pass mailing list in as an argument
AddMember(): New function.
main(): Use getopt module to scan options. Exchange bare excepts for
more qualified excepts. Change the way addresses are sucked in from
the files. Once the mailing list is instantiated, wrap an unlock in a
try/finally so that any uncaught exceptions don't leave the list
locked.
|
| |
|
|
|
| |
the passwords. Ken apparently never checked in
Utils.getTtyPwWithConfirm anyway!
|
| | |
|
| |
|
|
| |
others.
|
| |
|
|
|
| |
seemed necessary for the mmsitepass, and I figured other scripts
couldn't hurt.
|
| |
|
|
|
|
| |
# guarantee that all newly created files have the proper permission.
# proper group ownership should be assured by the autoconf script
# enforcing that all directories have the group sticky bit set
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
constructor actuals when the list doesn't need to be locked.
|
| |
|
|
|
| |
minor changes here and there to support relative paths (changing
absolute paths that didn't use GetScriptURL to begin with).
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
from $PATH
2. Remove RCS crud
Also, re-implemented in Python instead of Bourne shell. This makes it
easier to do path munging via import of paths module for better
integration with autoconf.
|
| |
|
|
|
|
| |
from $PATH
2. Remove RCS crud
|
| |
|
|
|
|
|
|
|
|
|
| |
from $PATH
2. Do no direct sys.path munging in this file. Import the `paths'
module, which is created during the configure process, and which
performs all necessary path munging (and exports some useful
variables too).
3. Remove RCS crud
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Use the standard Python invocation #! line to get the interpreter
from $PATH
2. Do no direct sys.path munging in this file. Import the `paths'
module, which is created during the configure process, and which
performs all necessary path munging (and exports some useful
variables too).
3. Remove RCS crud
And some other changes:
ADDALIASES_CMD does not contain a hardcoded absolute path. Instead
the $prefix is taken from paths.prefix, which is set by the configure
script.
getusername(): New function which attempts to figure out the user's
login name. It uses, in order $USER, $LOGNAME, then the element 0 of
pwd.getpwduid(), then the string `<unknown>'. This is used when
creating the aliases file cut-and-paste.
Slightly changed the format of the aliases file cut-and-paste. Also
added a `created' line which includes today's date as DD-MMM-YYYY and
the name of the user that created the new list.
Some inconsequential code formatting changes.
Some rewording of the mailing list creation text, and a string
delimiter change to make the code more Emacs friendly.
|
| |
|
|
|
|
|
|
|
|
|
| |
from $PATH
2. Do no direct sys.path munging in this file. Import the `paths'
module, which is created during the configure process, and which
performs all necessary path munging (and exports some useful
variables too).
3. Remove RCS crud
|
| |
|
|
| |
from $PATH
|
| |
|
|
|
|
|
|
|
|
| |
1. Use the standard Python invocation #! line to get the interpreter
from $PATH
2. Do no direct sys.path munging in this file. Import the `paths'
module, which is created during the configure process, and which
performs all necessary path munging (and exports some useful
variables too).
|
| | |
|
| |
|
|
| |
the operator make the mistake of specifying the list's address...
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
__version__, $Source$ info.
|
| |
|
|
| |
script, just a comment at the top) and __version__, $Source$ info.
|
| | |
|
| |
|
|
| |
pipermail.
|
| |
|
|
|
| |
general use, but it actually is very handy to see progress of what can
be an lengthy process.)
|
| |
|
|
|
|
| |
Catch linst-unfound error and handle nicely.
Put missing CR in stderr error msg writes.
|
| |
|
|
|
| |
Made script so it wouldn't bomb on first conflicitng add member - but
would announce the problem.
|
| |
|
|
| |
(This should be called "populate_list", not "populate_new_list".)
|
| |
|
|
| |
for debugging sake.
|
| |
|
|
| |
wrapper is in mail/wrapper, not bin/wrapper.
|
| |
|
|
|
|
|
|
| |
with the first few users, so there's a demand).
Track transition of list_names to mm_utils.
Now need some setting from mm_cfg for MAILMAN_DIR setting, import it.
|
| |
|
|
|
|
|
|
| |
"__main__") or as routines, and via interactive input or automated.
Revised the email notice a bit, got some typos, removed the "Soon
there will be a guide" - hopefully it will be soon, but clearly it
wasn't soon before, no use perpetuating the rumor:-)
|
| |
|
|
|
|
|
|
| |
doesn't provide a sufficient framework for people to reliably make
changes to the aliases file. Instead i'm just printing out the
aliases entry, and pausing afterwards to give time for the addition to
be made (or not, if it's already there, as in the case of a list
that's being recreated).
|
| | |
|
| |
|
|
| |
from the .c source in ../src
|
| | |
|
| |
|
|
| |
web addresses do.)
|
| | |
|
| |
|
|
| |
already exists.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to give a list argument!!! Complain and bailout if no listname is
found. (Otherwise, when invoked without arguments, the script was
deleting the lists, templates, and archives directories *completely*.)
Additionally, do not delete the archives for a list unless the '-a'
option is passed. I figure its more often worth keeping the archives
around, even if the list is retired.
Additionally, indicate whether or not the subject directory is
actually there before deleting - some feedback, so users see whether
what they expect is happening...
|