| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
artifacts are removed, as is the C files which we will no longer need.
|
| | |
|
| |
|
|
|
| |
conversion to optparse style option parsing. Remove mailpasswds as password
reminders will go away for MM2.2.
|
| |
|
|
|
| |
(should the cron scripts propagate log messages to stderr?)
- updated scripts/* scripts to use new logging rather than stderr writes.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
the trunk. This serves also to test write permission to the svn
repository, and tests email notifications.
|
| | |
|
| | |
|
| |
|
|
| |
log this and delete the member.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
this is a hack, everything should be turned into unicode at the edges
-- sigh, that's a mm3 solution).
main(): Some fixes for i18n, based on debugging w/Peer. Specifically
coerce table entries to unicode to catch non-ascii passwords (didn't
think about that! :). Also, turn the template into unicode so it
combines properly with other texts.
Closes SF 755190.
Back port candidate.
|
| | |
|
| |
|
|
| |
in them. In that case, log it and continue.
|
| |
|
|
| |
#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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jr, after much checking and rechecking (and some massaging) by me. Checking
in now before I fall asleep and forget what all this was for.
This patch adds the ability to 'make DESTDIR=/some/dir/tree install' that
doesn't influence the paths stored in e.g. Defaults.py at all, which is of
good use for various package managers. It is not all that package managers
must do, however! Running make install with DESTDIR set means bin/update is
never run, and mm_cfg.py is always written; package managers should make
sure the appropriate post-installation is done, and that mm_cfg.py is
treated as a config file.
This patch inadvertently fixes some bogus whitespace: 8-spaces where
surrounding code used tabs. The difference was harmless because the 8-spaces
were used inside shell-continued-oneliners, but it is confusing and could
lead to future harm. I'm too tired to make those two or three changes in a
separate checkin, sorry.
This patch also assumes the various packages that are installed using
distutils do not record (or rather, use) their installation paths anywhere,
but this seems to hold true at least for the moment.
Also, I've done so many slow cvs diff's, I'm wondering when we'll switch to
Subversion. Unfortunately, I've also done so many 'cvs diff -c > file; patch
-p0 -R < file's to switch back and forth between patches and change sets,
I'm wondering when we'll switch to Aegis as well. :-P
|
| |
|
|
| |
user's SuppressPasswordReminder flag.
|
| | |
|
| |
|
|
| |
in mm_cfg.py
|
| |
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
| |
since the default is fine.
|
| |
|
|
|
|
| |
raised in the NNTP() constructor. Just catch it, log it, and move on.
Also, whitespace normalization.
|
| |
|
|
| |
existing X-Originally-To header before we place our own there.
|
| |
|
|
| |
and -l/--listname.
|
| |
|
|
| |
already been notified within the bounce_you_are_disabled_warnings_interval.
|
| |
|
|
| |
Fil.
|
| |
|
|
|
|
|
|
| |
been disabled by themselves, the list owner, or for unknown (legacy)
reasons. By default we only notify `bounce disabled' members, but you
could now do notifications for any other reason.
Also, fix the -l/--listname option parsing.
|
| |
|
|
|
| |
hold_and_cmd_autoresponses dictionary to see if any entries can be
evicted (we only hold such data for a single day).
|
| |
|
|
| |
limit password sending to a specific list.
|
| |
|
|
| |
this change.
|
| |
|
|
| |
setBounceInfo() call must be made with the list lock acquired.
|
| |
|
|
| |
It's totally useless to us.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
nntp_host. Also, clean up some exception handling. Specifically,
open_newsgroup(): Cache the connection object.
clearcache(): New function to clean things up at script exit.
poll_newsgroup(): Catch all NNTPErrors, not just (obsolete)
error_temp.
process_lists(): Catch all socket and nntplib errors when opening the
newsgroup.
main(): Be sure to clear the nntp connection cache when done.
|
| |
|
|
| |
appropriate addresses.
|
| |
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
header into the same language that the password reminder body is
getting translated to, we need to temporarily set the i18n language
around the calculation of the Subject: header. We also need to pass
the user's suspected language <wink> into the UserNotification()
constructor.
|
| | |
|
| |
|
|
|
| |
modules. Specifically, import the email package /after/ we've
imported paths.
|
| |
|
|
|
|
|
| |
Here, we're looking for members who are not yet disabled, but who have
a bounce score >= the threshold. This can happen if the list owner
lowers the threshold. There's no sense in waiting until another
bounce is received on the member before we disable them.
|
| | |
|
| |
|
|
|
|
|
| |
Send these out at 9am localtime.
Also, change the admin reminders to run at 8am local time instead of
10pm local time.
|
| |
|
|
| |
re-enable reminders when they're due.
|