| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
from mm_cfg to the configuration object.
In the config object, add an add_runner() function for extending the QRUNNERS
variable.
De-DOS-line-ending-ify configuration.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configuration file. While the full conversion is not yet complete, everything
that seems to be required to run mailmanctl, qrunner, rmlist, and newlist have
been updated.
Basically, modules should no longer import mm_cfg, but instead they should
import Mailman.configuration.config. The latter is an object that's
guaranteed to exist, but not guaranteed to be initialized until some top-level
script calls config.load(). The latter should be called with the argument to
-C/--config which is a new convention the above scripts have been given.
In most cases, where mm_cfg.<variable> is used config.<variable> can be used,
but the exceptions are where the default value must be available before
config.load() is called. Sometimes you can import Mailman.Default and get the
variable from there, but other times the code has to be changed to work around
this limitation. Take each on a case-by-case basis.
Note that the various directories calculated from VAR_PREFIX, EXEC_PREFIX, and
PREFIX are now calculated in config.py, not in Defaults.py. This way a
configuration file can override the base directories and everything should
work correctly.
Other changes here include:
- mailmanctl, qrunner, and update are switched to optparse and $-strings, and
changed to the mmshell architecture
- An etc directory has been added to /usr/local/mailman and a
mailman.cfg.sample file is installed there. Sites should now edit an
etc/mailman.cfg file to do their configurations, although the mm_cfg file is
still honored. The formats of the two files are identical.
- list_lists is given the -C/--config option
- Some coding style fixes in bin/update, but not extensive
- Get rid of nested scope hacks in qrunner.py
- A start on getting EmailBase tests working (specifically test_message),
although not yet complete.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
and cron scripts. When code/status == 0, there's no error (it's
likely --help output) so send that to stdout. Otherwise, it's an
error and the output goes to stderr.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
delivery_status, as necessary for cron/disabled. Some older betas
(alphas?) could have a situation where an address is disabled BYBOUNCE
but there was no bounce information available.
The "fix" is to re-enable such addresses. There should be almost none
that fall into this category, but I think it's fine to re-enable them
and let the normal bounce processing re-disable them in the normal
way.
Also, some minor formatting change and whitespace normalization.
|
| |
|
|
| |
files to remove.
|
| | |
|
| |
|
|
| |
lengths.
|
| |
|
|
| |
try to move files into it.
|
| |
|
|
| |
main(): Remove $prefix/Mailman/pythonlib.
|
| |
|
|
| |
mail/mailman.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we've renamed mailcmd to request and mailowner to owner (through some
SF-assisted CVS repo magic). We've also moved scripts/auto to
contrib/auto since it's an obsolete way of doing the auto-aliasing in
Postfix.
We need to update mail-wrapper.c for the new list of acceptable script
names.
Note that there are still two abberations:
- messages posted to just `listname' go to the post script
- messages posted to listname-admin go to the bounces script
The latter, listname-admin may eventually go away.
Note that this requires you to regenerate your aliases!
|
| |
|
|
| |
to be removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
into the script's #! line -- based on --with-python settings, without
losing CVS revision history.
#! /usr/bin/env python
becomes
#! @PYTHON@
which gets substituted for in configure.
|
| |
|
|
|
|
|
|
| |
directory. To "update" any unprocessed message from a MM2.0
system to MM2.1, it should be sufficient to simply move them to
qfiles/in and rename them so that they have the received time
prepended to the basename (as expected by Switchboard's
...split('+') format).
|
| |
|
|
|
|
| |
private_archive_file_dir since these have been obsoleted.
BAW: I'm not 100% sure the mlist.Save() is still needed.
|
| |
|
|
|
|
|
|
|
| |
API instead, e.g.
GetMembers()/GetDigestMembers() -> getMembers()
GetUserSubscribedAddress() -> getMemberCPAddress()
GetDeliveryMembers() -> getRegularMemberKeys()
GetDigestDeliveryMembers() -> getDigestMemberKeys()
|
| |
|
|
|
| |
opened, then assume it's a new template added with this upgrade, and
don't attempt to search for more specific, but identical templates.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
subdirectories, removing any more-specific templates where identical
more-generic templates are available.
Also, more as translatable many more strings.
move_language_templates(): Scan $prefix/en/* for template files.
Search the following locations for identical templates, and when the
md5 checksums match, remove the more-specific versions:
lists/<list>/<template>
lists/<list>/<template>.prev
lists/<list>/en/<template>
templates/<template>
templates/<template>.prev
__main__: Added -f/--force option which says to do the update tasks
even if the version numbers indicate a re-install of the same version
or a downgrade to a previous version. The former case is useful while
developing the alpha versions. The latter can be pretty dangerous.
|
| | |
|
| |
|
|
| |
pending_subscriptions.db to pending.db.
|
| |
|
|
| |
Fix for SF bug #229794.
|
| |
|
|
|
|
| |
lists/<listname> to lists/<listname>/en (after creating that subdir).
dolist(): call move_language_templates()
|
| |
|
|
|
| |
Use extended print statement, string methods, and other Python 2.0
features.
|
| |
|
|
|
|
|
|
|
|
|
| |
that "make update" hangs. This happens because there are existing
locks for some of the lists that are being updated. Instead of an
unhelpful hang, we now explicitly lock the lists and report errors
if the locks timeout.
If any of the locks timeout, we also do not update the
last_mailman_version file so that subsequent "make update"'s will
work.
|
| |
|
|
|
|
|
| |
Specifically,
calcversions(): Update the comment since the logs dir is now relative
to VAR_PREFIX.
|
| |
|
|
|
| |
initial fresh installation still writes the data/last_mailman_version
file.
|
| |
|
|
|
| |
entries for lists that no longer exist. Skip it if the key isn't in
Utils.list_names().
|
| |
|
|
|
|
| |
last installed version against the current installed version and only
runs the update stuff if a newer version is being installed. This
script could still use a boatload of improvements.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
usenet_watermark attribute. We get rid of the gate_watermark file
once we've updated.
Consistency in imports.
Try to determine whether the templates/options.html warning needs to
be printed or not. It's only printed if we can't determine the last
Mailman version and we are not running a fresh install (i.e. there are
entries in the logs subdir).
Write the current Mailman version (HEX_VERSION) as a hex
representation string into the file data/last_mailman_version. This
is so the /next/ update can determine what version we're updating
from. Lays the groundwork for future updates.
|
| | |
|
| |
|
|
| |
lockfiles eating up all the available filehandles.
|
| |
|
|
| |
process.
|
| | |
|
| |
|
|
| |
also remove bin/update_to_10b6 :-)
|
| |
|
|
|
| |
This file will be renamed to bin/update by hacking the CVS
repository. You will not see a checkin message for this.
|
| |
|
|
| |
scott
|
| |
|
|
|
|
|
|
|
|
|
| |
made it remove Archiver.py(c),Hyper*.py(c), pipermail.py(c) from
$prefix/Mailman if they're there.
made it rename $prefix/templates/<listname>/* to
$prefix/<listname> only if wouldn't overwrite anything
UPGRADING: changed "you will have to move" to "make update moves",
added note about archived articles from before when
Archiving stuff was in it's own dir.
scott
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
1) it could be run more than once.
2) it handles files which may be around for some reason
but which weren't put there by a previous mailman installation.
scott
|
| |
|
|
|
| |
portable.
scott
|
| |
|
|
|
|
| |
2) made it more proactive about lists with public and private
archiving mbox's.
scott
|
| |
|
|
| |
scott
|
| |
|
|
|
|
|
|
|
| |
make install.
made the directory chmod's apply to only old existing html archive
directories.
made it exit if there aren't any lists, since then it's a fresh
install and shouldn't do anything.
scott
|
| | |
|
| |
|
|
|
|
| |
archives.
made it more robust about creating mbox archive directory.
scott
|