summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated a comment.bwarsaw2001-05-311-5/+5
|
* do_output(): The categories strings should not be translated.bwarsaw2001-05-251-2/+2
|
* The newlang program was renamed addlang. The rmlang program was removed.bwarsaw2001-05-251-1/+1
|
* Sync with Python 2.2 CVS's revision 1.18 of this file. This fixes abwarsaw2001-05-241-33/+45
| | | | | bug when multiple translatable strings appeared on a single line, and it also aggressively sorts all catalog entries.
* The latest copy from the Python 2.2a0 CVS tree.bwarsaw2001-05-221-11/+22
|
* newlang is replaced by addlangbwarsaw2001-05-211-120/+0
|
* The pygettext.py script from the Python distribution. Included herebwarsaw2001-05-201-0/+496
| | | | for convenience.
* We don't need this script any more. To remove language support from abwarsaw2001-05-201-125/+0
| | | | list, simply "rm -rf lists/mylist/lang".
* Renamed from `newlang'. Two reasons why I didn't like the old name:bwarsaw2001-05-201-0/+120
| | | | | | | | | it made command line completion difficult because of newlist, and I've removed as obsolete rmlang (we're not really creating a newlang, we're simply adding an existing language support to an existing list). We lose the CVS history because of this move, but I didn't think it was worth bothering with a SF admin request.
* main(): Use mm_cfg.MAILMAN_OWNER as the originator of the mail messagebwarsaw2001-05-201-3/+2
| | | | | instead of `mailman-owner@' + mlist.host_name. This closes SF bug #424389, although I'm not 100% sure this is the right fix.
* Updated for new template structure. The only thing we need to do tobwarsaw2001-05-191-40/+35
| | | | | support a new language is create a code subdirectory inside lists/<list>.
* To main changes: add a -f/--force switch, and scan all the templatebwarsaw2001-05-181-63/+166
| | | | | | | | | | | | | | | | | | | | | | subdirectories, removing any more-specific templates where identical more-generic templates are available. Also, more as translatable many more strings. move_language_templates(): Scan $prefix/en/* for template files. Search the following locations for identical templates, and when the md5 checksums match, remove the more-specific versions: lists/<list>/<template> lists/<list>/<template>.prev lists/<list>/en/<template> templates/<template> templates/<template>.prev __main__: Added -f/--force option which says to do the update tasks even if the version numbers indicate a re-install of the same version or a downgrade to a previous version. The former case is useful while developing the alpha versions. The latter can be pretty dangerous.
* Added change_pwbwarsaw2001-05-111-1/+1
|
* intermediatebwarsaw2001-05-111-0/+197
|
* main(): Before we write to the aliases.db file, we must drop anbwarsaw2001-05-111-1/+9
| | | | | | exclusive advisory lock on it, so Postfix doesn't try to read the file while we're updating it. For a discussion of why we have to do this so cruftily, see Mailman/MTA/Postfix.py
* Add genaliases to list of SCRIPTS.bwarsaw2001-05-101-1/+1
|
* intermediatebwarsaw2001-05-101-0/+2
|
* A script to regenerate both the data/aliases.db hash file and thebwarsaw2001-05-101-0/+83
| | | | | | plain text data/aliases file for the Postfix MTA, using the known list of mailing lists. This overwrites the existing file contents and should be used if they get out of sync.
* main(): When -q/--quiet isn't given, restore prompting before sendingbwarsaw2001-05-101-6/+47
| | | | | | | | | out the list-owner notification email. Also, the list name now has optional extended syntax which can be used to specify the list's initial host_name and web_page_url. This lets you create new lists in any of the virtual domains, without having to hack the list configuration afterwards.
* checkwalk(): More special casing for the qfile directories. Thesebwarsaw2001-05-091-21/+42
| | | | | | | | | | | | directories should have 02770 permission, not 02775. checkadminpw(): Check both the adm.pw and the creator.pw files if they exist. checkmta(): Call out to the MTA-specific check routine if the MTA variable is set. main(): Added a call to checkmta().
* Added support for through-the-web list deletion. Also,bwarsaw2001-05-091-8/+17
| | | | | | | | | remove_it(): Use the new Utils.rmdirhier() function instead of calling 'rm -r' through os.system(). main(): Create the MailList object (unlocked) which is passed to the MTA-specific remove() function. Also, use a better idiom for extending the REMOVABLES variable.
* Several changes to sync this with through-the-web and automaticbwarsaw2001-05-091-75/+10
| | | | | | | | | | creation of mailing lists. Specifically, -o/--output switch is removed SENDMAIL_ALIAS_TEMPLATE, QMAIL_ALIAS_TEMPLATE are all removed, as is getusername() and the outputting of alias file suggestions. Also, we don't prompt before notifying the new list's owner.
* Add the -c/--listcreator option which sets the global "list creator's"bwarsaw2001-05-091-5/+18
| | | | password, used to create mailing lists through the web.
* SendExplanation(): Fixed the sending of notification to use the newbwarsaw2001-04-091-7/+3
| | | | Message.UserNotification() class.
* Untabification.bwarsaw2001-03-261-5/+5
|
* main(): Include logic to upgrade and convert frombwarsaw2001-03-261-1/+16
| | | | pending_subscriptions.db to pending.db.
* setdateinfo(): Patch by Tollef Fog Heen which closes Debian bugbwarsaw2001-03-261-2/+2
| | | | | | | 59359. Even though this script is deprecated and unsupported, this patch fixes a reported problem with years < 100. Note: I did not test this patch.
* Add list_admins script.bwarsaw2001-03-241-1/+1
|
* intermediatebwarsaw2001-03-221-0/+96
|
* 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 &gt; and &lt; 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.