| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
guess about the transient errors (ie, some people get them, some
people do not) is that sometimes the base64 encoding can cause \n's to
get in the string, which the mime stuff will treat as a newline. So I
replace \n w/ @ before putting it in the cookie, and do the reverse
before checking the cookie. Hopefully we won't hear about this
problem again.
|
| |
|
|
|
|
|
| |
autoconf stuff. Basically, the autoconf script should fire up Python
and see if crypt can be imported. Of course, if a previous
installation has a different value than configure determined, it
should be used instead, otherwise stuff will mess up.
|
| |
|
|
|
|
|
|
|
| |
the StampedLogger is initialized. If debug is on, or the
StampedLogger errors, func is run in a try-except block. If there's
an error, it's printed to the web page, along with the environment if
print_env is on.
Based off Michael McLay's subscribe script, but I wanted to avoid as
much code duplication as possible, which led to this strategy.
|
| |
|
|
|
|
|
| |
print_trace() function essentially verbatim (which is actually Ken's
code, so no need for an assignment, though it may be a good idea
anyway).
Added my own print_environ() call since Michael didn't provide one.
|
| |
|
|
|
|
| |
to do it, but I did want to at least install something that works
(I.e., I fully expect Barry to say, "what a hack, I'm going to do it
right!").
|
| |
|
|
|
| |
handle logging to an error file, and no longer import paths. Also,
any checks for __main__ have been removed.
|
| |
|
|
| |
I thought that got redone by Ken??
|
| | |
|
| | |
|
| |
|
|
| |
called every time since InitVars no longer does...
|
| |
|
|
| |
and a variable.
|
| |
|
|
|
|
| |
code that could easily be independant of the Mailman library, I use
the Python std lib naming conventions of all lowercase method names
instead of the mixed-case way in which most of Mailman is done.
|
| | |
|
| |
|
|
| |
reminders for that particular list get sent.
|
| |
|
|
| |
and SEND REMINDERS. Bumped the data file version up by 1.
|
| |
|
|
|
|
|
|
| |
Commented out code that expected a string. It's now a number just so
every time mailman starts up there isn't a whole lot of work done in
checking the version, etc. Our numbers should stick with
integers... other people making local mods should probably use decimal
places...
|
| |
|
|
| |
RCPT and MAIL commands).
|
| |
|
|
| |
it is currently a boolean variable.
|
| |
|
|
| |
using a number so I can easily tell if something is outdated.
|
| |
|
|
|
|
|
|
| |
list creation or if the version number of the data file has changed.
As a side-effect, if the data file *does* change, Load() will actually
happen twice, once to determine there's been a change, then a second
time, because InitVars() writes over what we just read in, which is
bad. It could be fixed, and probably should be some other time.
|
| |
|
|
|
|
|
|
|
|
|
| |
and Reply-To to get stripped out and replaced with: From:
list-admin@...
This one could potentially be something where if the admin enables
anonymous posting, it could be a per-sender option.
However, I added this because the guy from the Dave Matthews Band home
office wants to be able to post to an announcement list without
changing his email setup, yet not get email in his personal mailbox
from tons of fans. I figure others may have similar needs.
|
| |
|
|
|
| |
<janne@avocado.pc.helsinki.fi>. The changes fix regular expression
based filtering of headers.
|
| | |
|
| |
|
|
|
|
| |
1) the password data file was changed to g-w (which is good)
2) the open(...) used "r+" instead of "r" (which is bad)
I changed #2...
|
| |
|
|
|
| |
relative paths, mainly GetScriptURL->the appropriate replacement.
Now I'm done w/ checkins, and I'm going to test the current snapshot.
|
| |
|
|
|
|
| |
GetRelativeScriptURL(script)
GetAbsoluteScriptURL(script)
Changed some calls to GetScriptURL to the appropriate new form.
|
| |
|
|
|
| |
needed to get back to http://xxxx/mailman/ based on the PATH_INFO
environment variable.
|
| |
|
|
| |
being wrapped was the same as the column parameter.
|
| | |
|
| |
|
|
| |
will be one.
|
| |
|
|
| |
we don't write any unwanted headers, etc.
|
| |
|
|
|
|
| |
readline() and not readlines() as advertised.
Also, added a subclass to IncomingMessage called NewsMessage, making
it easier to add news-specific headers, etc.
|
| |
|
|
| |
that parameter is dead.
|
| |
|
|
| |
the news posting code. That was a bad place for it to go...
|
| |
|
|
|
|
| |
whether Lock is implicitly called. Defaults to 1.
Also put the call to post to news in its proper place (next to the
digest + archive calls).
|
| |
|
|
| |
cookie stuff.
|
| |
|
|
|
| |
mm_defaults.py.in: 1.0b3 -> 1.0b4
Shouldn't the version in mm_defaults be generated automatically?
|
| |
|
|
|
|
| |
before we write out a new one. I got hosed once on my big list when
the process got killed by some load dog software when it was in the
middle of writing out the database.
|
| |
|
|
|
| |
This was motivated by the fact that nntplib expects a file object on which
it calls readlines().
|
| |
|
|
| |
to news".
|
| |
|
|
| |
that the current message is inappropriate to gate.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
can't test whether the actual gating both ways works until I get
access to an nntpd from list.org (which will be monday at the latest).
However, at the very worst, the code doesn't impede mailman's normal
operation.
The only potential problem I can see w/ all the code I'm checking in
is that one could gate from News to Mail, and have the list hold the
post for approval and/or bounce the post, and notify the person
posting to a newsgroup. That's probably not right. However, that
shouldn't be too hard to fix.
|
| | |
|
| |
|
|
|
|
|
| |
interface to an md5 digest if the import fails. This way, we don't
have to tell people to recompile python if they compiled it out of the
box. (since crypt is no longer in by default).
mm_security now uses mm_crypt instead of crypt.
|
| |
|
|
|
|
| |
Note that it does have one problem... If you have cookies off, you
have to log in every time, plus your changes don't take effect!
That definitely needs to be fixed.
|