| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
host matching. We simply need to find the lowercased hostname in the
web_page_url to find a match.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
author line are always html-escaped. This fixes index summaries for
messages with html in their Subject: line for instance.
|
| | |
|
| |
|
|
| |
message is read back as a string.
|
| |
|
|
|
| |
list because we no longer distribute Cookie.py (we use Python's
version now).
|
| |
|
|
| |
escape text/html.
|
| |
|
|
|
| |
text/html as attachments and not HTML-escaping them. (The obvious ==
4 value isn't possible given Pipermail's current implementation).
|
| |
|
|
| |
containing, latest updates to translatable strings.
|
| |
|
|
| |
docstrings needing translation.
|
| |
|
|
| |
discard_these_nonmebers detail, found by Szilard Vizi.
|
| |
|
|
| |
Szilard Vizi.
|
| |
|
|
|
|
| |
markings. Found by Szilard Vizi.
password_inputs(): We don't need the <a name=...> bit anymore.
|
| |
|
|
|
|
|
|
| |
email.Utils.getaddresses() instead. Found by Fil.
Also, converted to UserDesc interface for ApprovedAddMember(), and
added support for sucking the Real Name out of the sync file. Also
fixed some bugs in the output format strings.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
inline but HTML-escape it. Also, expand on the == 1 value
(HTML-escape an attachment) a bit so the output looks a little nicer.
Pipermail actually does a better job here, but we can't use it.
save_attachment(): Grows a filter_html option which says whether to
filter text/html parts or not. Default is 1, but if
ARCHIVE_HTML_SANITIZER == 2 above, we don't want to filter it through
the program.
|
| |
|
|
|
| |
new, meaning "leave it inline but HTML-escape it). The default is 1,
but leave the lynx filter in commented out as an example.
|
| |
|
|
| |
contribution
|
| | |
|
| |
|
|
| |
signature.
|
| |
|
|
| |
permanently records the Unix time the list was created.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Some time ago, someone complained about the pipermail not representing
proper charset in the Content-Type header. Here is a patch for the
latest CVS (2.1a).
With some changes by Barry, specifically to get the charset parameter
out of the Content-Type: header using email.Message's interface
instead of regexp searching.
Please double check this for me!
|
| |
|
|
| |
Kikuchi.
|
| |
|
|
| |
Kikuchi.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically,
process(): Instead of a blanket discard of text/html parts, what we do
depends on the value for ARCHIVE_HTML_SANITIZER. Also, the "scrubbed"
message now includes the value of get_filename() if available.
save_attachment(): Several refinements including: all of a message's
attachments are stored in a subdirectory off
archives/private/mylist/attachments. This subdir is calculated based
on the SHA1 hash of the Message-ID:
We store the attachment in a file based on the name of the
get_filename() value, sanitize for nasty characters, absolute paths,
etc. The filename is uniquified within the message's attachments
subdir.
This function also knows about text/html and performs filtering when
ARCHIVE_HTML_SANITIZER is a program string. Note that currently, we
assume that this program will filter html into plain text, so we
change the attachment's suffix to .txt accordingly.
We don't need the attachments.pck file anymore.
|
| |
|
|
|
|
|
| |
containing a %(hostname)s interpolation string. This gets filled in
with the list's hostname, which is calculated from a reverse lookup in
VIRTUAL_HOSTS using self.host_name as the key. Failing that,
DEFAULT_URL_HOST is used.
|
| |
|
|
|
|
|
|
| |
hostname part interpolated from DEFAULT_URL_HOST (or the reverse
lookup of mlist.host_name in the VIRTUAL_HOSTS dictionary).
ARCHIVE_HTML_SANITIZER: A variable which describes what Pipermail
should do with text/html attachments.
|
| |
|
|
| |
attachments.pck file, so it gets the right permission too.
|
| |
|
|
|
|
|
| |
outers and scrubbing out the inner subparts.
save_attachment(): Set the umask to 002 so that the attachments don't
get saved o+w.
|
| | |
|
| |
|
|
|
| |
missing test message). No need to reinstall -- this only affects the
test suite.
|
| | |
|
| | |
|
| |
|
|
| |
config.db. Noticed by Moacir.
|
| | |
|
| |
|
|
|
|
|
| |
Subpart headers are suppressed, and the inter-part boundary string is
kludged to provide more useful information.
Also, text/html parts are now completely suppressed.
|
| |
|
|
|
|
| |
UnixMailbox. The main difference being we pass in the MailList
instance to the constructor, so all the magic of the message scrubber
can work.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
necessary so that when the mailbox needs to create a message instance,
it will use the factory, which gives the scrubber module a chance to
get rid of nasty stuff like attachments, and to flatten multipart
messages.
This is twisted and convoluted but it works. ;)
|