You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My own rpm, derived from "official" RHEL source rpm.
My question
We are currently migrating 7,500 lists from Mailman to Sympa.
One of my users, who is owner/moderator for around 50 lists, commented that there is no easy way to get a summary of outstanding moderation requests. Instead they have to go to the "/sympa/my" page and drill down onto each list in turn.
Vanilla Mailman has the same problem, but I created a custom "mylists" landing page, similar to (and in fact probably modelled on) the Sympa "my" page. This provides direct links to the Mailman "listinfo" and "admin" pages for each list, and a simple count of outstanding moderation requests for each list in the link to the moderation page, e.g: "Moderate (4 messages)".
Would something similar be possible in Sympa?
The complexWhich method in the SOAP API is very close to what I am looking for, but doesn't contain any information about outstanding moderation requests for each list in the response. I couldn't immediately find an API method that gave a count of outstanding moderation requests for a given list.
The text was updated successfully, but these errors were encountered:
Just to add. I can implement this using the following patch which generates $which->{$l}{mod_count} for all of the lists where someone is a owner/moderation/subscriber. The my.tt2 template can then decide precisely what to display.
I appreciate that my current approach is an awful hack, but there doesn't appear to be an obvious method that I can use in the Sympa::Spool::Moderation class that would give me a quick summary without having to interact through the actual messages using
Sympa::Spool->new()->next()
Version
6.2.62
Installation method
My own rpm, derived from "official" RHEL source rpm.
My question
We are currently migrating 7,500 lists from Mailman to Sympa.
One of my users, who is owner/moderator for around 50 lists, commented that there is no easy way to get a summary of outstanding moderation requests. Instead they have to go to the "/sympa/my" page and drill down onto each list in turn.
Vanilla Mailman has the same problem, but I created a custom "mylists" landing page, similar to (and in fact probably modelled on) the Sympa "my" page. This provides direct links to the Mailman "listinfo" and "admin" pages for each list, and a simple count of outstanding moderation requests for each list in the link to the moderation page, e.g: "Moderate (4 messages)".
Would something similar be possible in Sympa?
The complexWhich method in the SOAP API is very close to what I am looking for, but doesn't contain any information about outstanding moderation requests for each list in the response. I couldn't immediately find an API method that gave a count of outstanding moderation requests for a given list.
The text was updated successfully, but these errors were encountered: