| Commit message (Collapse) | Author | Files | Lines |
|
Closes SF bug #110731.
|
|
implementations of hexlify and unhexlify from the binascii module.
|
|
|
|
CFLAGS=-Wall ./configure --stuff
closes SF bug #110906
|
|
IOErrors. E.g. the marshal module doesn't actually check for write()
errors, so we dump the marshal to the string and write it in one fell
swoop using the file object's write() method. Thanks to GvR for
reviewing.
|
|
calling mlist.CheckValues() after the options have been changed (but
before the values are printed).
|
|
slash.
|
|
SourceForge instead of Jitterbug on py.org.
|
|
|
|
|
|
|
|
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.
|