[Mailman-Users] Extremely High Membership lists

J C Lawrence claw at cp.net
Thu Jun 29 04:30:44 CEST 2000


On Wed, 28 Jun 2000 18:35:15 -0700 
J C Lawrence <claw at cp.net> wrote:

> On Wed, 28 Jun 2000 18:23:07 -0700 J C Lawrence <claw at cp.net>
> wrote:

>> I also have significant problems with the new moderation
>> interface...

> ...the fact is that the functionality has not been removed and all
> my bluster above, is, umm, well, without grounds.

While compounding the offense of triply replying to myself, here
follows a simple patch for beta2 which allows the TEXTAREA to be
configurably sized.  The main reason for this is so you can
configure the TEXTAREA to be 80 cols or more wide so that messages
will display as they will read (unline-wrapped).

I've also submitted this patch to the SourceForge Patch Manager.

-- 
J C Lawrence                              Internet: claw at kanga.nu
----------(*)                            Internet: coder at kanga.nu
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...

-------------- next part --------------
diff -urN --exclude=CVS --exclude=Makefile mailman-2.0beta2.old/Mailman/Cgi/admindb.py mailman-2.0beta2.new/Mailman/Cgi/admindb.py
--- mailman-2.0beta2.old/Mailman/Cgi/admindb.py	Tue Apr  4 16:12:50 2000
+++ mailman-2.0beta2.new/Mailman/Cgi/admindb.py	Wed Jun 28 19:24:08 2000
@@ -221,7 +221,7 @@
         ])
     t.AddRow([
 	Bold('If you reject this post, explain (optional):'),
-	TextArea('comment-%d' % id, rows=4, cols=60,
+	TextArea('comment-%d' % id, rows=mm_cfg.ADMINDB_PAGE_TEXTAREA_REJECT_ROWS, cols=mm_cfg.ADMINDB_PAGE_TEXTAREA_COLS,
                  text=("Please do *not* post administrative requests"
                        " to the mailing list!  If you wish to subscribe,"
                        " visit %s or send a 'help' message to the"
@@ -232,7 +232,7 @@
     row, col = t.GetCurrentRowIndex(), t.GetCurrentCellIndex()
     t.AddCellInfo(row, col, colspan=3)
     t.AddRow([Bold('Message Excerpt:'),
-              TextArea('fulltext-%d' % id, text, rows=10, cols=60)])
+              TextArea('fulltext-%d' % id, text, rows=mm_cfg.ADMINDB_PAGE_TEXTAREA_MSG_ROWS, cols=mm_cfg.ADMINDB_PAGE_TEXTAREA_COLS)])
     row, col = t.GetCurrentRowIndex(), t.GetCurrentCellIndex()
     t.AddCellInfo(row, col, colspan=3)
     form.AddItem(t)
diff -urN --exclude=CVS --exclude=Makefile mailman-2.0beta2.old/Mailman/Defaults.py.in mailman-2.0beta2.new/Mailman/Defaults.py.in
--- mailman-2.0beta2.old/Mailman/Defaults.py.in	Thu Apr  6 21:35:11 2000
+++ mailman-2.0beta2.new/Mailman/Defaults.py.in	Wed Jun 28 19:23:31 2000
@@ -297,6 +297,12 @@
 # size (though this will slow down rendering those pages).
 ADMINDB_PAGE_TEXT_LIMIT = 4096
 
+# How tall and wide should the text areas be for displaying the
+# rejection messages or messages held for moderation?
+
+ADMINDB_PAGE_TEXTAREA_COLS = 60
+ADMINDB_PAGE_TEXTAREA_REJECT_ROWS = 4
+ADMINDB_PAGE_TEXTAREA_MSG_ROWS = 10
 
 # These directories are used to find various important files in the Mailman
 # installation.  PREFIX and EXEC_PREFIX are set by configure and should point


More information about the Mailman-Users mailing list