Edgewall Software
Modify

Ticket #3517 (new enhancement)

Opened 4 years ago

Last modified 2 years ago

Notification plugin

Reported by: wichert@… Owned by: eblot
Priority: normal Milestone: next-major-0.1X
Component: notification Version: 0.9.6
Severity: major Keywords:
Cc: ufs@…, davidf@…, pacopablo@…

Description

Currently trac only supports email notifications. For some environments it it would be very practical to use different kinds of notifications; for example to send a SMS when tickets of a specific type are files, or to notify CIA of new tickets.

It seems sensible to create an extension point for the notification infrastructure so one or more plugins can handle notifications.

Attachments

trac-cia.diff Download (2.2 KB) - added by wichert@… 4 years ago.
Example of submitting messages to CIA from trac
trac-0.10-cia.diff Download (4.6 KB) - added by wichert@… 3 years ago.
CIA for trac 0.10.4
trac-0.10.4-cia.diff Download (5.6 KB) - added by wichert@… 3 years ago.
CIA for trac 0.10.4

Change History

Changed 4 years ago by wichert@…

Example of submitting messages to CIA from trac

comment:1 Changed 4 years ago by wichert@…

I've added a patch which implements a trac-CIA connection. This implementation is quite bad since it hooks trac directly into the email notifier logic, but the xmlrpc code can easily be reused.

comment:2 Changed 3 years ago by cboos

  • Owner changed from jonas to eblot
  • Component changed from ticket system to notification
  • Severity changed from normal to major
  • Milestone set to 0.12

Yes, a more generic infrastructure for notifications will be a big topic for 0.12.

comment:3 Changed 3 years ago by Pedro Algarvio, aka, s0undt3ch <ufs@…>

  • Cc ufs@… added

comment:4 Changed 3 years ago by pookey@…

I'd really appreciate if someone could manage to update this patch to work with 0.10.4 - my python skills are sadly lacking!

comment:5 Changed 3 years ago by wichert@…

I did an improved version of that patch for 0.10 a while ago. I'll add it to this issue.

Changed 3 years ago by wichert@…

CIA for trac 0.10.4

Changed 3 years ago by wichert@…

CIA for trac 0.10.4

comment:6 follow-up: ↓ 8 Changed 3 years ago by davidf@…

  • Cc davidf@… added

Also wanting to add a generic jabber notification system.... again this would make sense as a plugin

comment:7 Changed 2 years ago by anonymous

We definitely need a few explanations about how to make it work. I've patched my trac, figured a few config items from code, but i can't make it work. Can someone please post instructions and a config sample? Thanks in advance.

comment:8 in reply to: ↑ 6 Changed 2 years ago by eblot

Replying to davidf@sjsoft.com:

Also wanting to add a generic jabber notification system.... again this would make sense as a plugin

BTW, for Mac users only: I've written a  growl notification plugin.

comment:9 Changed 2 years ago by wichert@…

For reference this is the configuration we use for Plone:

[notification]
always_notify_owner = true
always_notify_reporter = true
cia_enabled = true
cia_project = Plone
cia_server = http://cia.navi.cx
smtp_always_cc = plone-collector@objectrealms.net
smtp_enabled = true
smtp_from = discard@antiloop.plone.org
smtp_password = 
smtp_port = 25
smtp_replyto = discard@antiloop.plone.org
smtp_server = localhost
smtp_user = 

comment:10 Changed 2 years ago by jhampton

  • Cc pacopablo@… added
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from eblot. Next status will be 'new'
The owner will be changed from eblot to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.