Modify

Opened 5 years ago

Closed 4 years ago

#6052 closed enhancement (fixed)

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

Reported by: kavehv Owned by: martin_s
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 5 years ago by martin_s

  • Status changed from new to assigned

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 5 years ago by martin_s

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

comment:3 Changed 4 years ago by martin_s

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.