[Mailman-Developers] [ mailman-Patches-483696 ] Categorisation of lists in ListInfo View

noreply@sourceforge.net noreply@sourceforge.net
Thu, 12 Sep 2002 12:54:42 -0700


Patches item #483696, was opened at 2001-11-20 04:48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=483696&group_id=103

Category: Web UI
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: andy (andy_cat)
Assigned to: Nobody/Anonymous (nobody)
Summary: Categorisation of lists in ListInfo View

Initial Comment:
This patch allows categorisation of lists when
displaying the "list of lists" in listinfo.py and
admin.py
It does this by adding a new property to the MailList
object called "categories", a new MailList member
function called GetListCategories, and a dictionary
making function in Utils.py

Changed files are:
listinfo.py
admin.py
Defaults.py
MailList.py
Utils.py
Version.py
htmlformat.py

Preexisting lists will show up as "Unclassified" once
you apply the patch and set LISTINFO_USE_CATEGORIES = 1
in Defaults.py

To set the categories, either use the Mailman list
admin GUI for the list  and set the "categories
affilations" value (a list can be in multiple
categories) in the General Options page ( Configuration
Categories )
or if you have many lists to categorise it will be
easier to use command line python.
$python -i bin/withlist <listname>
Loading list: <listname> (unlocked)
>>> m.Lock()
>>> m.categories='testing' 
>>> m.Save()
>>> 
Unlocking (but not saving) list: <listname>
Finalizing

substitute your lists name for <listname>, and if you
have lots you may want to script this.

Python code done by <wormwood@speakeasy.org>
Patch and these docs by <andy@cat.org.au>






----------------------------------------------------------------------

Comment By: Jozeph Brasil (jozeph)
Date: 2002-09-12 16:54

Message:
Logged In: YES 
user_id=17693

Hello,

I install your patch but the listinfo don't show the list
names... admin is working ok... the problem is listinfo...
if possible, see:
http://lists.homelinux.com/mailman/listinfo,admin, etc

Thanks,


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=483696&group_id=103