| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
package.
Details:
changed Makefile to add the sub package as a directory to make
recursively in
changed configure to make the replacements to
Mailman/Archiver/Makefile.in
changed Mailman/Makefile.in to add Archiver as a sub package
moved Mailman/Archiver.py to Mailman/Archiver/Archiver.py and
Mailman/Hyper* to Mailman/Archiver
Mailman/pipermail.py to Mailman/Archiver/
created Mailman/Archiver/__init__.py to do a "from Archiver import *"
in order to make it's interface identical to previously.
import change: changed imports to import Mailman.<module> from import
<module> in order to accomodate the package import semantics, also
localized <module> by calling <module> = Mailman.<module>. see diffs
for details if this sounds confusing, it's not. this change was
applied to all of the moved files except pipermail, which didn't need
it.
did a basic new installation test to make sure all the
Makefile/configure changes took place atleast basically correctly.
scott
|
| |
|
|
|
|
| |
brains's broken :) Thanks to Harald Meland for the detailed problem
report.
scott
|
| |
|
|
|
|
|
|
|
|
| |
moved the archivery directory checking code to
Archiver.Archiver.CheckHTMLArchiveDir() and call that from
MailList.Save().
Also changed the archiving perms so that they are setgid mailman, as a
start to letting people with accounts that belong to group mailman run
archiving stuff by hand.
scott
|
| |
|
|
|
|
|
|
| |
use mbox archiving only, to use builtin mailman html archiving only, or to
use both. this is done with the ARCHIVE_TO_MBOX config variable in
Defaults.py. It is set to do both by default to help those that have
an external archiver change to the built in one if they want to.
scott
|
| |
|
|
|
|
|
|
| |
almost the right thing to do, but it prevents exceptions from
processes spawned *within* this one from being reported, so eg the log
doesn't get written. (This is painfully apparent while i am
struggling with getting the new archival stuff going - it doesn't seem
to work at all for me!)
|
| |
|
|
| |
evaluated even when exceptions interrupt the forked child.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Original patches are from The Dragon de Monsyne with the following changes:
-added support for private archives as well as public
-added support for archiving daily and weekly
-made archiving happen in real time
-replaced use of pipermail's BSDBDatabase with homegrown python version
-took out the need for DocumentTemplate
here's a listing of changed files and relevant changes:
Makefile.in - added public_html/archives to installdirs
Mailman/Archiver.py - changed ArchiveMail to do real time archiving
Mailman/Defaults.py.in - added archive frequency and and archive url
extension variables
Mailman/MailList.py - changed .Save() to alter perms on public vs. private
archives
Mailman/htmlformat.py - changes directly from The Dragon do Monsyne's patches.
I don't know what they are exactly, but all the cgi's
seem to work fine, so I assume they are OK.
Mailman/versions.py - changes to add archiving based variables back to the list
Mailman/Cgi/private - changed to make it work with default installation and
made background white on login page
src/Makefile.in - changes to make all wrappers setuid mailman:
since various processes may access an archive, and the
archiving mechanism uses "chmod", all archives must be owned
by mailman, so all wrappers need to be owned by and setuid mailman
added files:
Mailman/HyperArch.py - from The Dragon de Monsyne with changes made noted above
Mailman/HyperDatabase.py - the replacement for pipermail.BSDBDatabase
scott
|
| | |
|
| | |
|
| |
|
|
|
| |
Archiver.InitVars(): Small rewrite of self.archive_directory
calculation.
|
| | |
|
| |
|
|
|
|
|
| |
do so.
Added a copy of the GNU GPL.
Added information about mailman-users in README, and reworded some text in there (made the credits less verbose... perhaps they should move to a credits file?)
|
| | |
|
| |
|
|
|
| |
- the value is dependent on the value of another setting,
self.private_archive, so must be a func.
|
| |
|
|
| |
__version__ info.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
set one of our internal lists to a dir totally outside the view of the
archiver, i realized this was not working right. Still, there is no
way to set the values from the web interface - they have to be set
intrusively, by loading the list in the interpreter and setting the
new values by hand. This may be something to enable in the site-admin
interface...
|
| |
|
|
|
| |
favor of an external archiver. (John, i should talk with you to see
what you think of this!)
|
| | |
|
| |
|
|
| |
(new) list.html index.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
externally running pipermail. (Andrew and i are working together to
get easy hookup, and we should be able to relaese something of
pipermail along with the near release of mailman.)
Moved the creation of the archive file hear, when it's openned, and
protected the open so it doesn't bomb the system if it fails - and a
'system' error is logged to the mailman logs in that situation.
The archive (mbox) file is created in either the
PUBLIC_ARCHIVE_FILE_DIR or PRIVATE_ARCHIVE_FILE_DIR dependig on the
setting of DEFAULT_ARCHIVE_PRIVATE (typically 0, 1 for private
archives). Pipermail will be set to look in the private and public
archive dirs and do the right thing - with easy means to hook up the
mailman password mechanism for the private archives.
|
| |
|
|
| |
Implement a retained copy of the mail archives.
|
| | |
|
| |
|
|
| |
Folded a long line.
|
| |
|