| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
conversion to optparse style option parsing. Remove mailpasswds as password
reminders will go away for MM2.2.
|
| | |
|
| | |
|
| |
|
|
| |
#716702.
|
| |
|
|
|
|
| |
pending_requests(): The list of pending texts could contain a mixture
of Unicode, ASCII 8-bit strings, and non-ASCII 8-bit strings. We must
convert all these to Unicode before joining them.
|
| |
|
|
| |
Mailman's copy of the email package instead of Python's.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
in them, say if an encoded name appeared in a From header. But
maketext() may return byte strings with non-ascii characters in them,
and concatenating these two types of strings is a no no.
The local fix (implemented here) is to make sure that
pending_requests() returns a byte string with no characters that are
illegal in the list's preferred language's charset.
The longer term fix probably ought to be that we use Unicode
everywhere and that maketext() returns a Unicode.
|
| |
|
|
| |
Fil.
|
| |
|
|
|
| |
hold_and_cmd_autoresponses dictionary to see if any entries can be
evicted (we only hold such data for a single day).
|
| |
|
|
| |
addresses.
|
| |
|
|
|
| |
package to know how to unpack the request record. bin/update should
now canonicalize them.
|
| |
|
|
| |
fullname.
|
| |
|
|
| |
constructor so that the message gets the proper charset settings.
|
| |
|
|
|
| |
which includes the fullname, but also watch out for older records
which don't include the fullname.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
into the script's #! line -- based on --with-python settings, without
losing CVS revision history.
#! /usr/bin/env python
becomes
#! @PYTHON@
which gets substituted for in configure.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
after paths. Because these scripts are run from cron with "python -S"
they must import mm_cfg before attempting to import mimelib; mm_cfg
hacks sys.path to include site-packages which -S inhibits.
For those scripts that already import mm_cfg, add a comment describing
the import order dependencies. For those that didn't, add a comment
about why it's being imported.
Also, gate_news: Removed the _ContinueLoop docstring so translators
have one less non-translatable docstring to worry about.
Closes Thomas's SF patch #443803.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
main(): Only lock the list during the NumRequestsPending() call. We
don't actually change the state of the list data, but the ListAdmin
interface requires the list to be locked even to read (yes, this is
bogus).
Also, fix the _() marked string to use the required
auto-interpolation.
pending_requests(): Mark some additional strings for i18n. Also,
pending subscription requests include the language in the unpacked
data (fix the tuple unpacking).
|
| | |
|
| |
|
|
|
| |
main(): Use the new world order for sending a message (i.e. not
through HandlerAPI). Also, do the mlist.Save() in the try: block.
|
| | |
|
| | |
|
| |
|
|
|
| |
representing the record for held messages. In pre-2.0b3 it was a
5-tuple, but it is now a 6-tuple.
|
| |
|
|
| |
Odd this has never been caught before!
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
messing up their SIGCHLD handling. This would manifest as an IOError
getting raised in the cmdproc.close() call of DeliverToList() in
Deliverer.py. Thanks go Harald Meland for describing the real problem
and giving the real fix. Thanks go to Greg Stein for testing this
patch and verifying that it works.
Deliverer.DeliverToList(): Undo previously checked in patch, which
simply wrapped a try/except around the cmdproc.close() call and
ignored errno=10 IOErrors. This was treating the symptoms, not the
cause.
All files in cron/: Added Harald's work around of the Linux bug by
including these lines in every file:
# Work around known problems with some RedHat cron daemons
import signal
signal.signal(signal.SIGCHLD, signal.SIG_DFL)
It helps RedHat and doesn't appear to hurt on e.g. Solaris.
|
| |
|
|
|
| |
trigger 'vacation' style programs. (Sorta amusingly, this just
prevents the admin from getting their own vacation notice...)
|
| |
|
|
|
|
|
|
| |
pending items to the message after formatting, rather than the more
complicated literal inclusion of a format string that was being used.
Added a '-v' option to the script, to get verbose operation for
debugging.
|
| |
|
|
|
|
|
|
|
| |
Note that, in order to avoid wrapping the pending requests list, it is
inserted in a separate pass after the maketext.
Also, using a changed name for the RequestsPending() call,
NumRequestsPending() - i'll be checking in ListAdmin.py with the new
name momentarily.
|
| |
|
|
| |
things.
|
| | |
|
| |
|
|
| |
constructor actuals when the list doesn't need to be locked.
|
| |
|
|
|
| |
minor changes here and there to support relative paths (changing
absolute paths that didn't use GetScriptURL to begin with).
|
| |
|
|
|
|
|
|
|
|
|
| |
from $PATH
2. Do no direct sys.path munging in this file. Import the `paths'
module, which is created during the configure process, and which
performs all necessary path munging (and exports some useful
variables too).
3. Remove RCS crud
|
| | |
|
| |
|
|
|
|
|
| |
do so.
Added a copy of the GNU GPL.
Added information about mailman-users in README, and reworded some text in there (made the credits less verbose... perhaps they should move to a credits file?)
|
| |
|
|
| |
__version__ info.
|
| | |
|
| |
|
|
| |
Track transition of list_names to mm_utils, including import of mm_utils.
|
| | |
|
| |
|