| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
there's no header (or footer).
|
| | |
|
| | |
|
| |
|
|
| |
concatenation, make sure there's a newline separating each part.
|
| |
|
|
|
| |
reset_payload(): Don't hack on the trailing newline here. Probably do
it in Decorate.py instead.
|
| |
|
|
|
|
| |
`multipart' to the pass filter. We still won't set
DEFAULT_PASS_MIME_TYPES = ['multipart'] because we want to leave the
pass filter empty by default.
|
| |
|
|
| |
default.
|
| | |
|
| |
|
|
| |
Also, whitespace normalization.
|
| |
|
|
| |
Also, whitespace normalization.
|
| |
|
|
|
|
| |
NewVars(): Add pass_mime_types if missing.
Also, whitespace normalization and PyChecker cleanup.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mick, hacked by Barry (so any bugs are my fault). The idea is that
after the filter_mime_types pass is made, if there are any
pass_mime_types defined, only parts that match these types are allowed
through.
reset_payload(): New function, factorization.
filter_parts(): Add passtypes to the argument list and do the
passtypes filtering.
Also, use the new .get_content_type() / .get_content_maintype()
interface everywhere.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
background on the content filtering process, make descriptions more
consistent, and hopefully more useful.
Also, added a description of the pass_mime_types variable. This is a
whitelisting feature contributed by Dan Mick, hacked by Barry (so any
bugs are my fault). The idea is that after the filter_mime_types pass
is made, if there are any pass_mime_types defined, only parts that
match these types are allowed through.
_setValue(), getValue(): Add support for pass_mime_types.
|
| |
|
|
| |
value setting when submitting an option's details page.
|
| |
|
|
| |
readable category name in the "return to <category> page" text.
|
| |
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with the old approach, as pointed out by Michael Meltzer:
- it was broken <wink>
- it was still susceptible to inode overload
The fixes are to put attachments one more directory level down, where
the path is
archives/private/<listname>/attachments/<YYYYMMDD>/<msgidhash>
where YYYYMMDD is the date of the message encoded as 8 digits, and the
msgidhash is the first 2 and last 2 octets of the sha hash of the
outer message's Message-ID. Any name collisions inside that directory
(e.g. a message that contains two images with the same filename), are
resolved by finding a unique filebase extension.
Specific changes include:
calculate_attachments_dir(): Factor out the calculate of the
attachments directory so that e.g. Michael can use it in his
MimeDel.py hacks.
process(): Be sure to pass the appropriate arguments to
save_attachment() based on its new signature.
makedirs(): Factor out the creation and mod settings of the attachment
dir, and all subdirs.
save_attachment(): Pass the attachments directory in the arguments.
Fix calculation of the url and the saving of the attachment data.
|
| |
|
|
|
| |
distro needs the Python development package to work correctly,
although I'm unsure why that is.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
I forgot to check this in. Translators may want to use this to
find errors in their templates and catalogs.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
email.Header.Header instance; it won't have a .startswith() method.
The real problem is that the attempt to send back the original,
non-prefixed header was way too naive.
Fortunately, the msgdata will contain the original subject if it was
munged, so just use that.
Question: should we try to send back the decoded header?
|
| | |
|
| |
|
|
|
|
| |
prefix_subject(): Only encode the subject prefix if it's necessary
because it contains non-ASCII characters, or the list owner has
requested to do so (via encode_ascii_prefixes).
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
controls whether the Subject: prefix gets encoded when it's ASCII and
the list's preferred language uses a non-ASCII character set.
|
| | |
|
| |
|
|
| |
using Python 2.2.
|
| | |
|
| | |
|
| |
|
|
|
| |
non-digests unless the subscriber actually has a choice! Closes SF
bug # 563091 (not the u/i part).
|
| |
|
|
| |
already been notified within the bounce_you_are_disabled_warnings_interval.
|
| |
|
|
| |
so that it can be overridden in derived classes.
|
| | |
|