summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* checkwalk(): Make sure py, pyc, and pyo files are at least 644.bwarsaw2002-11-051-0/+11
|
* One more patch...bwarsaw2002-10-281-0/+2
|
* usage(): Default argument.bwarsaw2002-10-281-1/+1
|
* Use the autoconf substitution for the #! line.bwarsaw2002-10-281-1/+1
|
* Jon Parise's patch to improve the usage() output for the command linebwarsaw2002-10-2127-54/+162
| | | | | | 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.
* In the LogStdErr() call, we don't need to pass in the tee argument,bwarsaw2002-10-212-2/+2
| | | | since the default is fine.
* main(): If we get an exception (any exception) while unshunting abwarsaw2002-10-211-4/+10
| | | | message, log the error and continue. Suggested by Peer Heinlein.
* dolist(): Add a check for consistency between the bounce_info andbwarsaw2002-10-201-5/+28
| | | | | | | | | | | | | delivery_status, as necessary for cron/disabled. Some older betas (alphas?) could have a situation where an address is disabled BYBOUNCE but there was no bounce information available. The "fix" is to re-enable such addresses. There should be almost none that fall into this category, but I think it's fine to re-enable them and let the normal bounce processing re-disable them in the normal way. Also, some minor formatting change and whitespace normalization.
* checkdata(): This should probably check request.db.tmp too.bwarsaw2002-10-201-1/+2
|
* FakeDoc.addError(): Make the API really equivalent tobwarsaw2002-10-171-3/+5
| | | | Document.addError()
* main(): processUnixMailbox() no longer takes an article classbwarsaw2002-10-091-2/+2
| | | | argument.
* Typo in docstring, closes SF bug #620406 reported by Dave Habben.bwarsaw2002-10-081-1/+1
|
* Integrating SF patch #594771, i18n'ified pipermail.bwarsaw2002-10-081-6/+9
| | | | | | Set the default language to the server's default. Whitespace normalization.
* main(): Catch BadListNameError's that can get raised if the proposedbwarsaw2002-10-061-2/+4
| | | | list name is invalid.
* Updated docstringbwarsaw2002-10-041-32/+31
|
* Fixed typo reported by Dan Mick.bwarsaw2002-09-061-1/+1
|
* Added the ability to specify a virtual domain to move a list to, bybwarsaw2002-09-051-4/+55
| | | | | adding some command line switches. Note that those switches must appear /after/ the list name.
* main(): Tim Peters points out there's no reason to bump # of messagesbwarsaw2002-08-261-2/+0
| | | | after the loop because From_'s are headers, not separators.
* check_privs(): Typo fix, gid and uid are needed outside the if test.bwarsaw2002-08-241-4/+5
| | | | Closes SF bug #599544 by Tokio Kikuchi.
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-231-4/+7
| | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: check_privs(): since we only have the MAILMAN_USER and MAILMAN_GROUP names here, we need to convert them to their numeric ids via getgrnam()/getpwnam(). We need the ids because setgid() and setuid() want ids.
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-231-15/+10
| | | | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: MAILMAN_UID -> MAILMAN_USER MAILMAN_GID -> MAILMAN_GROUP checkwalk(): Use group names instead of group ids __main__: MAILMAN_OWNER -> MAILMAN_USER
* Added --fullnames / -f option to print the full names of addresses asbwarsaw2002-08-221-2/+12
| | | | | suggested in patch #598381 by William Ahern. Implemented differently by Barry (to use email.Utils.formataddr()).
* Make sure bin/transcheck gets built and installed properly. Also,bwarsaw2002-08-152-55/+65
| | | | edit transcheck for minor style nits.
* Stop runaway restarts by imposing a maximum restart value (currentlybwarsaw2002-08-141-4/+14
| | | | | | 10). If a qrunner exits with something other than SIGINT, its restart counter gets incremented and if that is greater than MAX_RESTARTS, that qrunner won't be restarted.
* Fixed some string markup for i18n.bwarsaw2002-08-101-3/+3
|
* intermediatebwarsaw2002-08-101-0/+389
|
* acquire_lock_1(): Fix for bug # 565917 by Dale Stimson. The tempfilebwarsaw2002-07-241-2/+2
| | | | | | | needs to be prepended with the LOCK_DIR otherwise the unlink will fail. Also fixed a typo in the docstring.
* Add the --noprint / -n option to disable printing and leave thebwarsaw2002-07-231-5/+18
| | | | | unpickled/unmarshalled object in the global variable `msg'. Useful for debugging things when the object structure won't print.
* fix_url(): J.D. Bronson notes that we need to leave the list unlockedbwarsaw2002-07-081-0/+1
| | | | or we end up with lock turds.
* main(): Fixing a bug reported by Danny Terweij. We need to continuebwarsaw2002-05-251-0/+1
| | | | when finding a bogus list name.
* do_list_categories(): Teach this about the attribute transformationsbwarsaw2002-05-251-7/+60
| | | | | | | | | | | | | | | | | on the way out of the mailing list via getValue(). Always defer to getValue() before getattr() is used. This lets us simplify the logic a bit, but we still take care to print useful representations of the data. Use splitlines() instead of assuming lines are \n separated. getPropertyMap(): New function to return the reverse mapping of attribute names to the gui components that define them. FakeDoc: Dummy class definition which defines an API used by the gui components when an error occurs. do_input(): Teach this about the attribute transformations on the way into a mailing list via _setValue(). Yes, this is a non-public method, but there seems to be no other way. :(
* get_lock_data(): Be sure to os.path.split() the filename because allbwarsaw2002-05-061-1/+1
| | | | | | | the useful data is encoded in the last path component. Otherwise the calculation gets messed up if the lock file is something like /usr/local/mailman-2.1/locks/...
* Dan Mick caught a typo in the docstring.bwarsaw2002-05-021-1/+1
|
* main(): Add Mailman/MailCommandHandler.py{,c} to the list of obsoletebwarsaw2002-05-021-1/+1
| | | | files to remove.
* A patch (embedded in SF bug #411341) to add a -g/--goodbye-msg tobwarsaw2002-04-281-1/+15
| | | | | override the list's default send_goodbye_msg setting. Contributed by Alessio Bragadini.
* main(): Use a more POSIX-ly correct way to extract the exit status andbwarsaw2002-04-261-11/+16
| | | | signal number from the os.wait() status value.
* main(): Chuq noticed that error messages were going to stdout, notbwarsaw2002-04-111-2/+2
| | | | stderr.
* make_qrunner(): We really need to log more information about thebwarsaw2002-04-081-0/+1
| | | | | import error. This probably would have helped Brett Delmage debug his problem easier.
* 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.
* Dan Buchmann notices a redundancy in the usage string.bwarsaw2002-04-031-1/+1
|
* Get rid of NONSCRIPTS. Even bin/withlist scriptlets should have anbwarsaw2002-04-021-6/+0
| | | | __main__ that prints the usage docstring.
* Make convert.py and fix_url.py full-fledged scripts. They're stillbwarsaw2002-04-013-3/+18
| | | | | intended to be run under bin/withlist, so when run standalone, they print their module documentation (usage information).
* main(): Write the master-qrunner.pid file with 660 permissions.bwarsaw2002-03-291-4/+9
|
* Added an import of Mailman.i18n to get the _() function.bwarsaw2002-03-271-0/+1
|
* 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.
* main(): Get rid of cgi-bin/archives program; it's long been obsolete.bwarsaw2002-03-261-1/+2
|
* dolist(): Update the requests.db database for canonicalized recordbwarsaw2002-03-261-0/+4
| | | | lengths.
* main(): Bogus format string specification, caught by Mikhail Sobolev.bwarsaw2002-03-191-1/+1
|
* Update some comments.bwarsaw2002-03-171-1/+1
|