summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* find_member converted.bwarsaw2006-05-085-195/+144
|
* Convert add_members.bwarsaw2006-05-025-266/+226
|
* Convert list_ownersbwarsaw2006-05-025-130/+95
|
* Convert bin/inject and bin/version to Mailman.bin modules. Remove rb-archfix.bwarsaw2006-05-019-255/+150
|
* Updatesbwarsaw2006-05-0131-200/+495
|
* Repairsbwarsaw2006-05-012-6/+6
|
* Move file to correct filenamebwarsaw2006-05-011-0/+0
|
* Convert change_pw and show_qfiles to Mailman.bin package. Note thatbwarsaw2006-05-015-175/+110
| | | | | after this commit, I have to fix the filename of Mailman/bin/show_qfiles because of silly svn restrictions.
* Copyright years should be spelled out fully.bwarsaw2006-04-301-1/+1
|
* Use re module to pick up filename. Thanks Mark!tkikuchi2006-04-301-3/+7
|
* Move Mark Sapiro up into the core developers listbwarsaw2006-04-301-1/+1
|
* Move list_lists and list_members over to Mailman.bin package and rewrite tobwarsaw2006-04-299-428/+354
| | | | | | | | | | | | | | | | | use $-strings and optparse. A side effect of the rewrite is that list_members -d and -n now require their argument, whereas before they were optional (but that is counter to command line parsing standards and not supported by optparse). Now, instead of bare -n use '-n any' and instead of bare -d use '-d any'. Fix ReopenableFileHandler.emit() to ensure that all lines end in a newline. In i18n.py, create and use a subclass of string.Template so that dotted attribute paths are legal in $-strings. So for example, if you have an object 'foo' in one of the namespaces and that has an attribute 'bar', you can say "$foo.bar" to print the value of foo.bar. Should reduce the number of extraneous local variables just to do the attribute path traversal.
* Move arch, mmsitepass, and unshunt to the Mailman.bin package and rewrite tobwarsaw2006-04-2812-461/+289
| | | | | | | | | | use optparse. Update newlist and rmlist to get their version string entirely from mm_cfg.MAILMAN_VERSION instead of having to build that string up each time. Fix the symlink source in the Makefile.in. Remove b4b5-archfix entirely.
* Added new adminaddrchgack.txt template for change of address noticemsapiro2006-04-281-3/+11
| | | to the list admin to the mailman.pot file.
* More logging updates:bwarsaw2006-04-2812-388/+229
| | | | | | | | | | | - Remove the LogStdErr() calls from all the scripts/* scripts. - Convert the LockFile.py code to use the logging logs. Also do general code cleanup in this module. Note that the 'withlogging' argument to __init__() has been removed, as we can use logging's mechanisms to control how much of LockFile will get logged (by default, not much). - Add the 'mailman.locks' logger to loginit.py - Remove Mailman/Handlers/Sendmail.py once and for all - Remove LIST_LOCK_DEBUGGING from Defaults.py.in
* 2006-04-28 Clytie Siddall <clytie@riverland.net.au>clytie2006-04-281-2064/+2539
| | | | | | * mailman.po: Updated Vietnamese translation.
* Convert Mailman.bin.rmlist module to optparse, and do general cleanup.bwarsaw2006-04-285-107/+108
| | | | | | | | | | | | | | | | | Modify Mailman.i18n._() to understand string.Template style $-strings. The function now looks in the frame's locals and globals for a variable __i18n_templates__ which if True (defaults to False if missing) says that the string being translated uses $-strings instead of %-strings. newlist and rmlist both set __i18n_templates__ = True in their module globals. Rewrite ReopenableFileHandler to better ensure that nothing we log (even random 8-bit garbage) can cause an error in the logging subsystem. First, we open the underlying log file using a utf-8 codec, but if we get a UnicodeError when writing a log message to the stream, we encode the string with the 'string-escape' codec, which should pretty much makes any string data loggable.
* The start of the conversion of the bin and cron scripts to modules invoked bybwarsaw2006-04-2710-139/+254
| | | | | | | | | | | | | | an uber-shell (called mmshell for now for lack of a better name). The reason I'm doing this is because while I understand and still accept the reason for it, I really hate having to re-run configure (or config.status) every time I make a change to a bin script. mmshell looks at argv[0] to figure out which Mailman.bin module to run. Move newlist and rmlist to the new framework, but also, rewrite newlist to use optparse instead of getopt. Much nicer. Also convert it to use $variables for i18n even though the i18n._() function hasn't yet been updated to handle these (it will soon). rmlist hasn't yet been optparse-ified, but that's soon too. :)
* 2006-04-27 Clytie Siddall <clytie@riverland.net.au>clytie2006-04-271-0/+1
| | | | | | * Defaults.py.in: Added Vietnamese to LANGUAGE_DICT.
* 2006-04-25 Deleted /templates/vi directory, which is apparently not needed, ↵clytie2006-04-250-0/+0
| | | | | and is causing a problem on build. Clytie Siddall <clytie@riverland.net.au>
* Move the admin directory outside the main source directorybwarsaw2006-04-24312-51772/+0
|
* - Fixes to further remove the old Syslog from bin and cron scripts. Note thatbwarsaw2006-04-245-102/+104
| | | | | | | | | | | I didn't update cron/mailpasswds because that is going away. cron/disabled and cron/gate_news are only minimally tested. - Instead of using the RotatingFileHandler for our logs, use our own ReopenableFileHandler, which only minimally derives from FileHandler and implements a reopen() method. I think it's generally better to leave file rotation to external tools such as logrotate. - Remove some Python 2.1 compatibility stuff. - Ignore .mo files in messages/vi/LC_MESSAGES
* 2006-04-23 Clytie Siddall <clytie@riverland.net.au>clytie2006-04-231-0/+14322
| | | | | | * mailman.po: Added Vietnamese translation.
* 2006-04-23 Added final sub-directory of paths for Vietnamese translations.clytie2006-04-230-0/+0
| | | Clytie Siddall <clytie@riverland.net.au>
* 2006-04-23 Added further units of the paths for Vietnamese translation files.clytie2006-04-230-0/+0
| | | Clytie Siddall <clytie@riverland.net.au>
* Fix a couple of typos/oversights in Barry's type and logging changes.msapiro2006-04-192-1/+2
|
* Added Date and Message-ID headers to the confirm replymsapiro2006-04-171-0/+2
| | | message that Mailman adds to the admin notification.
* MailList.__load(): Fix the sense of a test broken by the previous commit.bwarsaw2006-04-172-3/+3
| | | | Mailman/Makefile.in: Remove Logging subdirectory.
* Remove most uses of the types module, in favor of isinstance checks againstbwarsaw2006-04-1724-106/+79
| | | | | | the builtin types. Two still remain: a check against ClassType and a check against MethodType. Also, fix some hinky type comparisons to use isinstance() consistently.
* - Convert all logging to Python's standard logging module. Get rid of allbwarsaw2006-04-1763-991/+640
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | traces of our crufty old Syslog. Most of this work was purely mechanical, except for: 1) Initializing the loggers. For this, there's a new module Mailman/loginit.py (yes all modules from now on will use PEP 8 names). We can't call this 'logging.py' because that will interfere with importing the stdlib module of the same name (can you say Python 2.5 and absolute imports?). If you want to write log messages both to the log file and to stderr, pass True to loginit.initialize(). This will turn on propagation of log messages to the parent 'mailman' logger, which is set up to print to stderr. This is how bin/qrunner works when not running as a subprocess of mailmanctl. 2) The driver script. I had to untwist the StampedLogger stuff and implement differently printing exceptions and such to log/error because standard logging objects don't have a write() method. So we write to a cStringIO and then pass that to the logger. 3) SMTPDirect.py because of the configurability of the log messages. This required changing SafeDict into a dict subclass (which is better than using UserDicts anyway -- yay Python 2.3!). It's probably still possible to flummox things up if you change the name of the loggers in the SMTP_LOG_* variables in mm_cfg.py. However, the worst you can do is cause output to go to stderr and not go to a log file. Note too that all entry points into the Mailman system must call Mailman.loginit.initialize() or the log output will go to stderr (which may occasionally be what you want). Currently all CGIs and qrunners should be working properly. I wish I could have tested all code paths that touch the logger, but that's infeasible. I have tested this, but it's possible that there were some mistakes in the translation. - Mailman.Bouncers.BounceAPI.Stop is a singleton, but not a class instance any more. - True/False code cleanup, PEP 8 import restructuring, whitespace normalization, and copyright year updates, as appropriate.
* Insert mailman-2.1.8 news.tkikuchi2006-04-161-0/+40
|
* Ignore the non-en language directories, which are created at build time.bwarsaw2006-04-161-5/+8
|
* Remove templates/ru since all templates (except en) are generated nowbwarsaw2006-04-163-160/+0
|
* Now that Python 2.3 is the minimum requirement for Mailman 2.2:bwarsaw2006-04-1538-463/+228
| | | | | | | | | | | - Remove True/False binding cruft - Remove __future__ statements for nested scopes - Remove ascii_letters import hack from Utils.py - Remove mimetypes.guess_all_extensions import hack from Scrubber.py - In Pending.py, set _missing to object() (better than using []) Also, update copyright years where appropriate, and re-order imports more to my PEP 8 tastes. Whitespace normalize.
* Catalog updates, and also ignore all .mo files (and email-2.5.7 directory).bwarsaw2006-04-1528-2231/+2661
|
* Now that we've converted from CVS to Subversion, remove CVS cruft frombwarsaw2006-04-1521-47/+0
| | | | | the trunk. This serves also to test write permission to the svn repository, and tests email notifications.
* Fix XSS bug: Thanks Moritz Naumann. (CVE-2006-1512)tkikuchi2006-04-041-2/+3
|
* Recognize more bounces - DSN.py, Qmail.py and SimpleMatch.pymsapiro2006-04-047-3/+496
|
* Added bounce tests. Updated bounce recognizers to pick up a few more.msapiro2006-03-243-1/+27
|
* Added bounce tests. Updated bounce recognizers to pick up a few more.msapiro2006-03-245-0/+833
|
* Added missing import of Errors module.msapiro2006-03-201-0/+1
|
* Added a new list attribute 'subscribe_auto_approval' which is a list of ↵msapiro2006-03-186-11/+49
| | | | | | | email addresses and regular expressions matching email addresses whose subscriptions are exempt from admin approval. RFE 403066.
* Fixed VERP_CONFIRM_REGEXP to accommodate 'broken' MUAs that add themsapiro2006-03-181-2/+6
| | | | local_part of the From: address as a 'real name' in the To: header when replying.
* Improved fix for bug 1275856 to return host part of DEFAULT_URL if any frommsapiro2006-03-181-7/+5
| | | | get_domain() if VIRTUAL_HOST_OVERVIEW off.
* Fixed long standing bug (1275856) - get_domain() returned DEFAULT_EMAIL_HOSTmsapiro2006-03-121-3/+8
| | | | instead of DEFAULT_URL_HOST if VIRTUAL_HOST_OVERVIEW was off.
* Fixed long standing error - subscribe log 'new' entry reversed name and email.msapiro2006-03-121-1/+1
|
* Fixed show_qfiles for case where queue entry contains an unparsed message.msapiro2006-03-091-1/+22
| | | | Bug 1444447.
* Add test in BounceRunner for non-fatal, VERPed bounce. Bug 1421285.msapiro2006-03-091-1/+5
|
* Preparing for email 3.0/4.0. get_type() -> get_content_type() etc.tkikuchi2006-03-079-14/+15
|
* Asian codecs are not requied in 2.2 installation: use Python-2.4 whichtkikuchi2006-03-072-0/+0
| | | | includes asian codecs or install CJK/Japanese/Korean codecs separately.