summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* dolist: update archive dirs relative to var_prefix, not prefix.twouters2001-03-021-7/+10
| | | | Fix for SF bug #229794.
* Fix usage to remove the mention of the magical 4th argument.twouters2001-03-021-6/+3
|
* main(): Fix typo in long argument check of --archives. Discovered bybwarsaw2001-03-021-2/+2
| | | | John Aughey.
* Erg. Fix copyright years.bwarsaw2001-03-011-1/+1
|
* do_output(): Some changes to make the resulting variable descriptionbwarsaw2001-03-011-2/+20
| | | | | | | comments a little more palatable. L-strip all lines, strip out html tags, and convert entities > and < Still not perfect, but much better, and it's not worth perfecting.
* Fix some typos missed in the last checkin.bwarsaw2001-02-281-3/+3
|
* Update copyright yearsbwarsaw2001-02-281-1/+1
|
* Next round of big i18n patches.bwarsaw2001-02-282-38/+61
| | | | | | | | main(): Do two step creation and locking of mailing list so we can have a better error message when we couldn't acquire the list lock. Also, make sure that once we have the lock, all work is wrapped in a try/finally so that the list won't be left in a locked state on error.
* move_language_templates(): Move all the pre-2.1 templates frombwarsaw2001-02-231-0/+30
| | | | | | lists/<listname> to lists/<listname>/en (after creating that subdir). dolist(): call move_language_templates()
* update copyright linebwarsaw2001-02-151-1/+1
|
* Get rid of the HandlerAPI and Crypt stuff, use sha as the default hashbwarsaw2001-02-151-14/+12
| | | | | for list passwords, de-string-module-ification, add hooks for preferred_language, and use the new mimelib/switchboard interface.
* Convert to the switchboard interface.bwarsaw2001-02-151-5/+6
|
* Add newlang and rmlang scripts c/o Juan Carlos.bwarsaw2001-02-151-2/+3
|
* main(): Call maketext() with the list's preferred language.bwarsaw2000-12-261-1/+1
|
* intermediatebwarsaw2000-12-261-0/+115
|
* intermediatebwarsaw2000-12-261-1/+0
|
* jcrey's newlang script for adding language support to a mailing list.bwarsaw2000-12-261-0/+113
| | | | | Modified by bwarsaw for style, with some details only skimmed at the moment.
* main(): In the conversion to string methods, the initialization ofbwarsaw2000-12-201-2/+2
| | | | | default values for lock and run were moved to the wrong place. (found by Dan Mick.)
* checkdata(): Check the permissions on the request.db file.bwarsaw2000-12-081-6/+7
| | | | Also, sundry additional Python2.0-ifications, and a few typo fixes.
* Start of support for i18n; marking of translatable strings.bwarsaw2000-12-0717-310/+378
| | | | | Use extended print statement, string methods, and other Python 2.0 features.
* Start of support for i18n; marking of translatable strings.bwarsaw2000-12-072-71/+63
| | | | Use extended print statement and other Python 2.0 features.
* checkmboxfile(): Ensures that the various archive .mbox files have atbwarsaw2000-12-061-1/+21
| | | | least 0660 permissions.
* main(): Fixed argument parsing bugs. Also, removed the argv[5] hackbwarsaw2000-11-151-24/+34
| | | | | | | for immediate notification and replaced that with a -q/--quiet flag to suppress admin notification (by default notification occurs). Closes SF bug #122333 and patch #102370.
* Allow additional arguments on the command line, which are passed tobwarsaw2000-11-111-24/+50
| | | | | | | | the callable after the MailList object. See module docstring for details. By Dan Mick, modified by Barry for slightly better calling syntax. Closes SF patch #102211
* Added -o flag to append /etc/aliases suggestions to the given file.bwarsaw2000-11-101-10/+24
| | | | Makes creating new lists only slightly easier.
* If we get an import error on "import paths", print a slightly morebwarsaw2000-11-081-1/+9
| | | | helpful error message.
* Add -h/--help option and standard option parsing.bwarsaw2000-11-082-15/+53
|
* Many people have problems upgrading an active system because they findbwarsaw2000-11-011-37/+68
| | | | | | | | | | | that "make update" hangs. This happens because there are existing locks for some of the lists that are being updated. Instead of an unhelpful hang, we now explicitly lock the lists and report errors if the locks timeout. If any of the locks timeout, we also do not update the last_mailman_version file so that subsequent "make update"'s will work.
* main(): If the list given on the command line doesn't exist, print thebwarsaw2000-10-231-0/+4
| | | | usage text and exit. Closes SF bug #117098.
* SF Patch #101846 by Sean Reifschneider (modified by bwarsaw) to addbwarsaw2000-10-201-1/+24
| | | | MTA_ALIASES_STYLE for the newlist script's output.
* Since we now require Python 1.5.2 and that version has getpass in it'sbwarsaw2000-10-021-26/+28
| | | | | | | | | standard library, get rid of Mailman.pythonlib.getpass compatibility module. Plus, general cleanup, and use SetSiteAdminPassword(), CheckSiteAdminPassword() from Utils instead of on a bogus MailList object.
* Since we now require Python 1.5.2 and that version has getpass in it'sbwarsaw2000-10-021-1/+1
| | | | | standard library, get rid of Mailman.pythonlib.getpass compatibility module.
* checkarchivedbs(): Don't bomb out if there are some nondirectories inbwarsaw2000-09-261-1/+1
| | | | the private archive dir.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-2/+2
| | | | | | | Specifically, calcversions(): Update the comment since the logs dir is now relative to VAR_PREFIX.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-1/+3
| | | | | | Specifically, main(): the REMOVABLES are relative to VAR_PREFIX now.
* Several changes in support of David Champion's SF patch #101331.bwarsaw2000-09-221-15/+27
| | | | | | | | | | | | Specifically, MAILMAN_UID and MAILMAN_GID are now available in mm_cfg, so use these as the gid to check group-ownership against, and as the user to re-run the script as if there are errors. checkall(): Now knows about all of PREFIX, EXEC_PREFIX, and VAR_PREFIX and checks the permissions of them all. It's smart about knowing when any of these directories are the same.
* main(): Reject empty passwords; list admin passwords must bebwarsaw2000-09-191-0/+4
| | | | specified.
* Added -a/--all flag to remove all members in one fell swoop. Closesbwarsaw2000-09-151-6/+14
| | | | SF bug #114148, Jitterbug PR#181.
* Need to import the string module.bwarsaw2000-09-141-0/+3
|
* main(): When generating passwords, use the standardbwarsaw2000-09-121-1/+1
| | | | Utils.MakeRandomPassword() instead of handcrafting it here.
* Make sure all scripts lowercase the list names, since they are casebwarsaw2000-09-1114-18/+38
| | | | | | | 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.
* dolist(): small patch to fix changing the first moderator inbwarsaw2000-08-251-2/+2
| | | | mlist.owner.
* main(): GetAbsoluteScriptURL() => GetScriptURL(..., absolute=1)bwarsaw2000-08-011-2/+2
|
* SendExplanation(): GetAbsoluteScriptURL() => GetScriptURL(..., absolute=1)bwarsaw2000-08-011-1/+1
|
* do_output(): Hrvoje Niksic rightly points out that we need tobwarsaw2000-07-271-1/+7
| | | | | special-case `subscribe_policy' when ALLOW_OPEN_SUBSCRIBE is false. Yuk.
* do_output(): Needed to add `autoreply' category to get thebwarsaw2000-07-241-1/+1
| | | | | Autoresponse config variables to dump. Also, massage FileUpload type vars the same way that Text vars are processed.
* do_output(): Added `autoreply' to list of categories.bwarsaw2000-07-241-2/+2
|
* Status messages are printed to stderr using the new Utils.write()bwarsaw2000-07-241-9/+13
| | | | method. Fixes SF Bug #108169.
* main(): We don't need to delete locks/<listname>.lock when removingbwarsaw2000-07-191-4/+2
| | | | the list.
* SendExplanation(): Use the new DeliverToUser() API to fix the sendingbwarsaw2000-07-191-2/+5
| | | | of "big changes" messages. Fixes SF Bug # 109274.