Ticket #6052 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

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

Reported by: kavehv Assigned to: 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

Change History

10/28/09 17:36:37 changed 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.

10/29/09 02:42:24 changed by martin_s

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

05/24/10 23:39:45 changed by martin_s

  • status changed from assigned to closed.
  • resolution set to fixed.

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


Add/Change #6052 (When used with AnnouncerPlugin, make watch turn notifications on by default)




Change Properties
Action