| Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
fix the missing To: line in admin notifications of subscribes and
unsubscribes.
|
|
elements for the value of the To: field, and assign a copy of the list
to self.recips. Otherwise do the old behavior.
|
|
out as email.
|
|
method. Fixes SF Bug #108169.
|
|
|
|
output file, whether a trailing newline should be printed, and the
separator string. (Sidenote: this is partly to play with some
suggestions currently being floated on the python-dev mailing list).
|
|
newlines.
|
|
patch writes success and failure messages to logs/post. It retains
the writing of smtp delivery timing messages to logs/smtp.
|
|
headers. These caused problems with the back button and didn't really
solve an existing problem.
|
|
caused problems with the back button and didn't really solve an
existing problem.
|
|
Cache-control: and Expires: headers. These caused problems with the
back button and didn't really solve an existing problem.
|
|
in the msgdata dictionary, falling back to the -admin address.
|