Originally created by: sf-overlords
Created by: mramm
Created date: 2010-04-09 15:31:27.144000
Assigned to:rcopeland
Discussion should send e-mail from the user, and set the reply-to to the list (eg, the ticket address) , just like mailman, google groups, etc.
When the e-mail is caused by a ticket update it should come from "Ticket #" at ticket address.
The to, should always be the list name (eg, the ticket address).
Originally by: sf-overlords
Post by rcopeland:
Figured the notification needed some docs, so here it is: [NotificationDesign]
Originally by: sf-overlords
Post by max:
Another interesting question - who should get a notification when the ticket is created?
Originally by: sf-overlords
Post by max:
(23:18:06) mischenko@geek.net/d107ce67: OK, I could set Reply-to to ticket address. What should I set the From to then?
(23:18:15) Mark Ramm: so, my only objection is really that it says max but is not your address, it should have a from address of the user's primary e-mail
(23:18:28) Mark Ramm: so max@geek.net or whatever
(23:18:46) Mark Ramm: in the same way that a message sent to the turbogears list still shows up as from the person who sent it
(23:18:50) mischenko@geek.net/d107ce67: okay
(23:19:02) mischenko@geek.net/d107ce67: and what if it's *anonymous?
(23:19:21) Mark Ramm: it should just say anonymous, and use the ticket address I guess
Also, gmail shows "To:" as "undisclosed-recipients" simply because it is not set. This is wrong
Originally by: sf-overlords
Post by mramm:
Everyone subscribed to the "tracker" as a whole.
Ultimately we may want to allow some kind of "search" based
subscription where you can subscribe to tickets with a particular
label, or with keywords in the text, or for a specific compnent.
But, I don't think we have to have that feature for launch.
On Wed, Apr 14, 2010 at 2:57 AM, Max Ischenko
211@tickets.forge.projects.in.sf.net wrote:
Originally by: sf-overlords
Post by max:
It feels like I dug myself into a hole and might just as well start from square one.
Either the whole notification logic is a mess or I misunderstood it all. What looked like a trivial change turned out into 200+ lines patch and it still does not behaves the way I wanted it to.
I give up for a while and work on something else. My work is on mi/#211 branch if anyone is interested. I still think the current notification logic is broken and should be re-done. Tweaking email headers helps only so much.
Is there a spec somewhere how it is supposed to work?
Notes to myself.
When a ticket is created e-mail notifications should probably go to all people who have subscribed to the Tracker plugin. May be to project owners/admins/users as well. Currently it just sends an email to the person who submits the ticket. Does not make sense to me.
When someone leaves a comment to an open ticket e-mail notifications should probably go to all subscribers to this ticket except the person who leaves the comment. When a ticket is updated/created the person should automatically go onto the notification list. As far as I see, notification list is managed correctly but actual e-mail needs rework. Current version does not sets From/To/Reply-to correctly.
When someone updates a ticket the logic should probably be the same as when a comment is added. Dunno it if works correctly.