Modify

Opened 14 years ago

Closed 14 years ago

#6052 closed enhancement (fixed)

When used with AnnouncerPlugin, make watch turn notifications on by default

Reported by: Kaveh Owned by: Martin Scharrer
Priority: normal Component: WatchlistPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

This is easy to do (I've done it locally):

Add

self.set_notify(req.session.sid, True, realm, resid)

and

self.unset_notify(req.session.sid, True, realm, resid)

under the "watch" and "unwatch" actions respectively. This could also easily be put behind an option that's looked at under [watchlist].

The way I've set this plugin up with AnnouncerPlugin, you can disable AnnouncerPlugin's "Watch" component and use Watchlist's instead. Thus when you watch and unwatch, notifications follow it by default.

Attachments (0)

Change History (3)

comment:1 Changed 14 years ago by Martin Scharrer

Status: newassigned

I was planning anyway to add some settings menu at the bottom of the watchlist page to let the user select if notifications should be enabled by default.

comment:2 Changed 14 years ago by Martin Scharrer

(In [6914]) Added trac config option to enable notifications by default. See #6052.

comment:3 Changed 14 years ago by Martin Scharrer

Resolution: fixed
Status: assignedclosed

I marking this one as fixed now. Please feel free to reopen it if you have further suggestions.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Martin Scharrer.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.