[ mailman-Patches-762130 ] web interface for editing archives

Patches item #762130, was opened at 2003-06-27 18:05 Message generated for change (Comment added) made by aaboyd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=762130&group_id=103 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: list administration Group: Mailman 2.1 Status: Open Resolution: None Priority: 5 Submitted By: Adriane Boyd (aaboyd) Assigned to: Nobody/Anonymous (nobody) Summary: web interface for editing archives Initial Comment: This patch makes it possible for list administrators to edit their list archives through a web interface linked into the admin interface. A new cgi script called editarch allows administrators to browse by month and delete messages from the archives. The messages are immediately deleted from the mbox file, but because of the overhead in reprocessing archives, the archives aren't redone on-the-fly. Instead, a file is kept with a running list of recently edited archives and a nightly cron job does the reprocessing. The file location is configurable in mm_cfg. (Note: since it has to read through the mbox file message by message, pages will load slowly for lists with large archives.) In the mailman 2.1.2 source directory: patch -p1 < editarch-2.1.2-0.1.patch ----------------------------------------------------------------------
Comment By: Adriane Boyd (aaboyd) Date: 2006-06-07 23:45
Message: Logged In: YES user_id=696276 The nightly cron script just runs "bin/arch --wipe" for any list with edited archives, so the pipermail URLs for particular messages in a list archive may change. Because of the way pipermail works, there's no easy solution that keeps the URLs the same and removes messages from mailman's mbox archives. (There might be a solution that keeps URLs the same if unwanted messages were replaced with empty placeholder messages instead, but I'm not sure you'd want empty messages cluttering up your archives, either.) Even if you haven't edited the mbox file, badly formed date stamps will also cause your pipermail URLs to change if you ever run "bin/arch --wipe" because messages with bad dates get thrown into the current month. ---------------------------------------------------------------------- Comment By: Paul Wise (pabs3) Date: 2006-06-06 23:22 Message: Logged In: YES user_id=35028 How does this handle the changing of pipermail URLs when you delete messages? ---------------------------------------------------------------------- Comment By: Adriane Boyd (aaboyd) Date: 2006-06-02 19:57 Message: Logged In: YES user_id=696276 Updated patch to work with 2.1.8: fixed problems with mailbox.py and updated to patch cleanly against 2.1.8. ---------------------------------------------------------------------- Comment By: Adriane Boyd (aaboyd) Date: 2003-08-11 17:25 Message: Logged In: YES user_id=696276 Updated so that the permissions on the mbox file are set properly after editing. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=762130&group_id=103
participants (1)
-
SourceForge.net