← Back to team overview

mahara-contributors team mailing list archive

[Bug 1443284] A change has been merged

 

Reviewed:  https://reviews.mahara.org/8251
Committed: https://git.mahara.org/mahara/mahara/commit/17131a35785e8cb0654a61d03eeb407557b0ad38
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 17131a35785e8cb0654a61d03eeb407557b0ad38
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Wed Nov 1 14:26:02 2017 +1300

Bug 1443284: Allow an unsubscribe link for watchlist emails

This patch:
- adds an 'unsubscribetoken' column to usr_watchlist_view table
(if we want to unsubscribe other messages we'd need to add an
'unsubscribetoken' to the relevant table)
- records the token when one watches the view
- sends email with unsubscribe link with message type and token to
avoid exposing any user data
- link goes to unsubscribe.php page and either unsubscribes user or
gives generic warning

Currently only working for watchlist notifications being sent via
email/email digest

Change-Id: I823249108f521faaefe3435f03b84ddf73e2d360
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1443284

Title:
  "Unsubscribe" link for feedback notifications due to watchlist

Status in Mahara:
  Fix Committed

Bug description:
  As described on Bug 1374674:
  https://bugs.launchpad.net/mahara/+bug/1374674/comments/9

  Users receive notifications when there are comments on pages that are
  on their watchlist. If they receive this notification by email, we
  should add a link to the bottom of the email explaining that they
  received the email because the page is on their watchlist, and telling
  them to unwatch the page if they want to unsubscribe.

  For that matter, it would also be good if the inbox notification for
  feedback on watched pages could also indicate this in some way. But
  with the current inbox design, it would not be easy to add that.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1443284/+subscriptions


References