Mailman Client doesn't _DOMAIN doesn't offer a list of lists

Bug #802971 reported by benste on 2011-06-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Medium
Barry Warsaw
GNU Mailman REST Client
Undecided
Unassigned
MailmanwebGSoC2011
Wishlist
benste

Bug Description

I'd suggest adding a functionalty which would need a domain as param, and return a list of mailing lists associated with this domain.

This could be used to display a choice of all available domains on this web_host and allow simple deletition of all mailinglists on this domains in case a domain will ever be deleted.

Related branches

benste (benste) wrote :

If we don't fix it for a8 in the core we could add an additional method to the Domain class in _client.py to querry all lists and filter those to only return those which match the web_host

tags: added: mailman3
benste (benste) wrote :

or mail_host :-)

Changed in mailmanwebgsoc2011:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Wishlist
assignee: nobody → benste (benste)
Barry Warsaw (barry) on 2011-06-28
Changed in mailman:
assignee: nobody → Barry Warsaw (barry)
importance: Undecided → Medium
milestone: none → 3.0.0a8
status: New → Confirmed
Changed in mailman:
status: Confirmed → In Progress
Barry Warsaw (barry) wrote :
Changed in mailman:
status: In Progress → Fix Committed
Barry Warsaw (barry) on 2011-09-25
Changed in mailman:
status: Fix Committed → Fix Released
Florian Fuchs (flo-fuchs) wrote :

List for a specific domain can be retreived now via the domains `lists`property:

    >>> example = client.get_domain(web_host='http://example.com')
    >>> for mlist in example.lists:
    ... print mlist
    <List "<email address hidden>">
    <List "<email address hidden>">
    <List "<email address hidden>">

Changed in mailman.client:
status: New → Fix Committed
Changed in mailman.client:
milestone: none → 1.0.0a1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers