summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* main(): Once we know which mailing list we're talking about, set thebwarsaw2002-12-121-0/+1
| | | | | | i18n language to its preferred language. This fixes the generated archives to the right language and also outputs the status messages in that language.
* Added --nouserack, --noadminack switchesbwarsaw2002-12-101-6/+24
|
* Add machinery for list_ownersbwarsaw2002-12-041-1/+2
|
* do_output(): Fix UnboundLocalError when trying to write to a file webwarsaw2002-12-041-1/+1
| | | | don't have permission for. Closes SF #646571.
* intermediatebwarsaw2002-12-041-0/+120
|
* remove_old_sources(): Utils.rmdirhier() -> shutil.rmtree()bwarsaw2002-12-021-4/+5
|
* main(): This should fix problems when printing list members withbwarsaw2002-12-021-9/+12
| | | | | | | | "funny" characters in their names. We coerce the output to the default encoding, although I'm not 100% sure this is the right thing to do. (Works for me.) Also, MMNoSuchUserError -> NotAMemberError
* remove_it(): Utils.rmdirhier() -> shutil.rmtree()bwarsaw2002-12-021-1/+2
|
* Update docstring.bwarsaw2002-12-021-1/+1
|
* Because of oddities in permissions, it is possible that when you runbwarsaw2002-12-021-0/+6
| | | | | | | | | | | | mailmanctl -u, you might not be able to completely delete a list through the web. This is because the archives are written with the group of the mailmanctl script, which can be changed if that's not root, but ttw list deletion will try to delete the archive as group mailman. If the users don't match (and they usually won't), permission crash. This just includes a warning and some helpful information in the docstring.
* main(): This should fix problems when printing list members withbwarsaw2002-12-021-5/+10
| | | | | | "funny" characters in their names. We coerce the output to the default encoding, although I'm not 100% sure this is the right thing to do. (Works for me.)
* do_input(): Fix setting of subscribe_policy based on the value ofbwarsaw2002-12-021-4/+13
| | | | ALLOW_OPEN_SUBSCRIBE. UHUAK.
* Added a --wipe switch which deletes the generated html archivebwarsaw2002-12-021-3/+16
| | | | | | directory before regenerating. This is useful (but still not the default) since bin/arch's classic incremental mode is only helpful if generating the archive in chunks.
* Patch #482934 by David Gibbs, adds a -b/--bare switch to print justbwarsaw2002-11-191-15/+25
| | | | the lists' internal names, i.e. without the descriptions.
* Added a -q / --quiet option.bwarsaw2002-11-181-3/+9
|
* checkwalk(): Fix permissions on -article database files, which must bebwarsaw2002-11-121-0/+14
| | | | at least 0660. b4b5-archfix can mess these perms up.
* Fix -h/--help and also sprinkle reminders to run bin/check_permsbwarsaw2002-11-081-0/+5
| | | | afterwards.
* Need to install a new configure script to pick up bin/b4b5-archfixbwarsaw2002-11-071-1/+1
|
* A fixer of MM2.1b4 archives.bwarsaw2002-11-071-0/+91
|
* 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. :(