| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| | |
|
| |
|
|
|
|
| |
exploits found by Ned Dawes. Also, whitespace normalization.
Backport candidate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
possible they got into the database as Unicode objects instead of
string objects. So before processing the address for the membership
management pages, encode them all to ascii (note that we're /not/
talking about the realnames).
This will still crash if there are non-ascii characters in the email
address, but as that is illegal, it should never happen <wink>.
Closes SF # 755188.
Back port candidate.
|
| |
|
|
|
|
|
| |
filter" so that it's clearer that the radio array that follows selects
the bucket the address will be added to.
Backport candidate
|
| |
|
|
|
|
|
|
| |
phrasing on the listinfo page.
Requires translation updates.
Backport candidate.
|
| | |
|
| |
|
|
|
|
| |
error message.
Closes SF bug # 703941 by Stuart Bishop, who also suggested the basic fix.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
subscription delivery mode. Patch by Todd (Freedom Lover).
|
| | |
|
| |
|
|
|
|
|
| |
which does not accept the strict flag to mimetypes.guess_type().
main(): If guess_type() returns None, use text/html so that the
private archive summary page displays correctly.
|
| | |
|
| | |
|
| |
|
|
| |
it's one of the valid language.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://online.securityfocus.com/archive/1/308154
Closes SF bug # 674533 by Tokio Kikuchi
Specifically,
main(), loginpage(): Check the `user' cgi var for validity and print
an innocuous (and non-privacy leaking) message if it fails that test.
Don't pass the entire cgidata object to loginpage; instead give just
the language argument which is all the latter function uses.
Also, be sure to use `safeuser' everywhere we print a message to the
results page. safeuser is the escaped version of the `user' cgi var.
Unrelated:
main(): Sanity check the `language' cgi variable and use the mailing
lists's preferred language if it is deliberately invalid.
|
| |
|
|
|
|
| |
this better.
Whitespace normalization.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
"you are already using that email address" message if the newaddress
matches the case-preserved (subscribed) address.
Also, in the set_address section, if cpuser is None, set it to the the
user address, since that's what we'll use now as the old address in
the ChangeMemberAddress() call.
This and related changes should fix problems when the address we're
changing to differs for the current address by case only.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
point where the i18n and doc languages are set. Also, get the
languages using GetLanguageDescr() so that the language pull down list
is also in the correct language.
Fixes SF #658213 reported and patches by Daniel Buchmann.
subscription_cancel(): Set the language to the user's preferred so
that the cancel message is given in the right language.
subscription_confirm(): Set the i18n and doc languages to the language
from the form so it also shows up in the correct language.
|
| |
|
|
|
|
|
| |
If a non-member sends a message which is held, but then the sender
subsequently subscribes to the list, a confusing admindb page is
shown. Now we include a message that the sender has since joined the
list.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
chunks and buckets. When there are thousands of list members, the
bucket and chunk calculation was broken when visiting the first
[Membership List] link. First, the wrong bucket was being displayed,
and second /all/ the members were being displayed. That made it take
a really long time to render the page.
|
| |
|
|
|
|
|
| |
but also catch possible EACCES or EPERM exceptions that might get
raised. If that happens, log the problem to logs/error and provide
some feedback to the admin that their ttw action had some failures.
They site admin will have to clean up any problems.
|
| |
|
|
|
| |
addrchange_confirm(), reenable_confirm(): MMNoSuchUserError ->
NotAMemberError
|
| |
|
|
|
|
| |
show_helds_overview(): The various show_*() methods now return the
number of items (or an approximation) they have formatted for display.
If it's zero, then don't add the form to the final output in main().
|
| | |
|
| |
|
|
| |
normal config variable now.
|
| |
|
|
|
| |
nice when METADATA_FORMAT = METAFMT_ASCII. This is part of patch
#567288 by Maximillian Dornseif.
|
| | |
|
| |
|
|
|
|
|
|
| |
digest and non-digest delivery. listinfo.html now has
<mm-digest-question-start> and <mm-digest-question-end> tags which get
comment start/enders if the question is meaningless.
Requires template changes to all langauge's listinfo.html files.
|
| |
|
|
| |
subscribed, web-safe-ifying and uncanonstr'ing.
|
| |
|
|
|
| |
have already been unsub'd, e.g. by the list administrator. Log an
error message and throw the cookie away.
|
| |
|
|
|
|
| |
closes SF patch # 635227.
Also, whitespace normalization.
|
| |
|
|
|
| |
just an empty string. This avoids seeing the u'' when no real name
was given.
|
| |
|
|
| |
in the language of the create page.
|
| |
|
|
|
|
|
|
|
|
|
| |
the membership management pages, the u/i for emergency moderation is
changed. Now, if the list is not being moderated, no indication under
the categories is made (we can change this if people want).
To turn on emergency moderation, you need to go to the General
category under Additional Settings. If you enable emergency
moderation, you will get the big red sign, but no checkbox -- the sign
will be linked to the VARHELP for the emergency option.
|
| |
|
|
| |
full name.
|
| |
|
|
|
|
|
| |
get_item_gui_description().
get_item_gui_description(): If the description is different than the
elaboration, use the term "Details", otherwise use the term "Edit".
|
| |
|
|
|
|
| |
Heinlein, show the received time of the held message, if available.
Also, some minor u/i tweaking.
|
| |
|
|
|
|
|
|
| |
of information in the gui item description tuple to
get_item_gui_value(). This latter is usually ignored, but for radio
buttons, can be a flag specifying whether horizontal or vertical
buttons should be used. The default is 0 for backwards compatibility,
signifying horizontal radio buttons.
|
| |
|
|
| |
proposed list name is invalid.
|
| |
|
|
| |
language into the canonstr() call to properly display the fullname.
|
| |
|
|
|
| |
that the member's name gets encoded safely for the list's language's
charset, which is the charset the page is going to be rendered in.
|
| |
|
|
|
|
| |
we have to convert strings to or from unicode. Given by Tokio
Kikuchi, modified slightly by Barry (if it's still broken, it's my
mistake).
|
| |
|
|
| |
realname string.
|