| Commit message (Collapse) | Author | Files | Lines |
|
|
|
by fatal() automatically.
|
|
formatting user supplied input. Also added newlines to both stderr
and syslog output for more consistent formatting. Reported by Stan
Bubrouski.
|
|
has a colon in the first line, prepend a blank line so that
rfc822.Message doesn't get confused about headers vs. body.
|
|
the call to socket.connect() in __init__() to be compatible with
Python 1.6/2.0.
|
|
contract with rfc822.Message.__init__() and also breaks news->mail
gatewaying. A different patch will be applied to fix SF bug #109220.
|
|
Dan.
|
|
|
|
|
|
to SF Bug #110753. Specifically,
FormatListinfoOverview(): Use Utils.ScriptURL() instead of
GetNestingLevel(), and GetScriptURL() instead of
GetRelativeScriptURL().
|
|
to SF Bug #110753. Specifically,
optionslinks() Fix usage of GetOptionsURL() for new interface.
|
|
to SF Bug #110753. Specifically,
main(), FormatHTML(): Use GetScriptURL() instead of
GetRelativeScriptURL().
|
|
to SF Bug #110753. Specifically,
PrintRequests(): Use Utils.ScriptURL() instead of GetNestingLevel(),
and GetScriptURL() instead of GetRelativeScriptURL(). Also fix usage
of GetOptionsURL() for new interface.
|
|
to SF Bug #110753. Specifically,
FormatAdminOverview(), FormatConfiguration(), FormatOptionHelp(),
GetItemGuiDescr(): Use Utils.ScriptURL() instead of GetNestingLevel(),
and GetScriptURL() instead of GetRelativeScriptURL(). Also fix usage
of GetOptionsURL() for new interface.
|
|
|
|
GetAbsoluteScriptURL() => GetScriptURL(..., absolute=1)
|
|
|
|
|
|
GetMailmanFooter(), FormatUsers(), FormatFormStart():
GetRelativeScriptURL() => GetScriptURL()
|
|
absolute=1)
|
|
absolute=1)
|
|
GetScriptURL(..., absolute=1)
|
|
|
|
Also, remove the link to Pipermail on Starship. This is way out of
date.
|
|
|
|
response to SF Bug #110753. Specifically,
GetScriptURL(): Interface change; this now takes an `absolute' flag
defaulting to always use relative urls. This is now essentially just
a wrapper around Utils.ScriptURL() except that it tacks on the list's
name.
GetOptionsURL(): Same interface change.
GetAbsoluteScriptURL(), GetAbsoluteOptionsURL(): Removed. All uses
changed to GetScriptURL().
|
|
response to SF Bug #110753. Specifically,
GetNestingLevel(): removed
ScriptURL(): New utility function to calculate relative and absolute
urls. The basic approach is this:
1. figure out where we are by using REQUEST_URI or
SCRIPTNAME+PATH_INFO if that isn't defined in our environment.
2. figure out what the Mailman base url is by taking the `path'
component of a urlparse() of the list's web_page_url configvar
or DEFAULT_URL if that isn't provided in the arguments.
3. calculate what the relative path is from where we are to
baseurl; express this as a string of ../'s
4. tack on the relative url to where we want to go, i.e. the
target
Elaborations: Optional `absolute' if set always calculates the
absolute url as web_page_url/DEFAULT_URL + target. absolute should
only be set when generating urls for emails.
mm_cfg.CGIEXT is always tacked onto the end, meaning target is
supposed to be just the script name and nothing else (anything else
should be concatenated onto the return value of this function).
|
|
|
|
special-case `subscribe_policy' when ALLOW_OPEN_SUBSCRIBE is false.
Yuk.
|
|
20-Jun-2000; Resent-CC: should also be considered an explicit
destination.
|
|
|
|
|
|
|
|
_dirty flag so the text will be forced to disk in the event of an
Enqueue().
|
|
forces a write of the message text back to disk, even if it already
exists. This is used when the message has been changed (e.g. new or
changed header, etc.).
|
|
causing the dictionary interpolation to fail, log this to logs/error
and insert a big red warning sign instead.
|
|
Pass in the `filebase' value to the Message constructor to make sure
the message uses the same hash value as before.
|
|
Enqueue(): Only calculate a new filebase (SHA hash) if the object
wasn't assigned one in its constructor. Go back to including the
current float time in the hash input.
Message.__init__(): Take an optional `filebase' argument which can be
restored from an enqueued message. This guarantees that a message,
once assigned a hash value for its filebase, continues to use that
filebase for its entire life.
|
|
|
|
algorithm needs to be reproducible.
|
|
calculating the file name. If a message is sent to two lists
simultaneously and the receiving MTA doesn't distinguish them with
something like a Delivered-To: header (as Postfix does), the hashes
could be the same, prevent one or the other list from receiving the
message.
Now the hash is composed of the message's text, the destination list's
name, and a string representation of the current floating point time.
That ought to be unique enough for every message.
|
|
SF Patch #100556.
|
|
action path. SF Patch #100556.
|
|
SF Bug #110142.
|
|
|
|
rfc822.Message when the first line contains a colon. A blank
header-terminating line is prepended to the given text if the first
line contains a colon.
|
|
Autoresponse config variables to dump. Also, massage FileUpload type
vars the same way that Text vars are processed.
|
|
|
|
chuqui's site. Specifically,
process_form(): slight rewrite of the MMSubscribeNeedsConfirmation
text.
|
|
chuqui's site. Specifically,
FormatListinfoOverview(): Capitalize "Mailing Lists"; put "Welcome!"
in +2 font; slight rewrite of the advertised greeting; put the "List"
and "Description" table headers in +2 font.
|