Hi,
Just FYI Trac ~1.2+ has a lot of the Announcer plugin functionality
integrated in core, and provides its own "new" extension interfaces.
Joinable groups were prepared here:
https://trac.edgewall.org/wiki/TracDev/Proposals/AdvancedNotification#Advancedsubscriptions
https://trac.edgewall.org/changeset/ad2174686247456fb9b6ec3cd97506b863828ca8/psuter.hg/
https://trac.edgewall.org/ticket/11870
but never finalized. Nobody seemed really interested in this feature.
This is the first time I see it mentioned by anyone.
The Announcer plugin could also provide these optional features based on
the core interfaces, but nobody seems to have been interested in doing
this so far:
https://trac-hacks.org/ticket/12120
I'm not sure what the overall goal is with "@Tickets", that is not
already solved by subscribing to tickets in the default notification
preferences.
https://trac.edgewall.org/prefs/notification
https://trac.edgewall.org/wiki/TracNotification#SubscriberConfiguration
https://trac.edgewall.org/wiki/CookBook/Notification/Subscriptions
Cheers,
Peter
On 12 Sep 2022 12:13, Roger Oberholtzer wrote:
On Mon, Sep 12, 2022 at 10:11 AM Roger Oberholtzer
<roger.oberholt...@gmail.com> wrote:
In Trac 1.2, say, I could define an e-mail tag called @Tickets, and
all that have subscribed to Tickets in their notifications would get
e-mails when appropriate.
I have updated to Trac 1.5dev, and I get this when e-mail should be sent:
2022-09-12 10:05:29,561 Trac[mail] DEBUG: Invalid email address: @Tickets
2022-09-12 10:05:29,561 Trac[api] DEBUG: Adding (roger [1]) for
'always' on rule (TicketUpdaterSubscriber) for (email)
The first line is the issue. The second implies that I will still be
added to the list of recipients. However, no e-mail is sent. How best
to proceed?
I see that this was set up in the announcer plugin as follows:
[announcer]
joinable_groups = Tickets
But that seems not to be Python3 ready.
2022-09-12 12:02:56,771 Trac[loader] ERROR: Skipping
"announcer.distributors.mail = announcer.distributors.mail":
ModuleNotFoundError: No module named 'Queue'
2022-09-12 12:02:56,814 Trac[loader] ERROR: Skipping
"announcer.email_decorators = announcer.email_decorators":
ModuleNotFoundError: No module named 'Queue'
2022-09-12 12:02:56,968 Trac[loader] ERROR: Skipping "announcer.pref =
announcer.pref": ImportError: cannot import name
'ITemplateStreamFilter' from 'trac.web.api'
(/usr/lib/python3.10/site-packages/Trac-1.5.4.dev0-py3.10.egg/trac/web/api.py)
I will see what I can do.
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/trac-users/27222786-05c0-45ef-ac0f-ea40e14fafa5%40gmail.com.