Page MenuHomePhabricator

Allow unsubscription from projects
ClosedPublic

Authored by epriestley on Feb 10 2014, 11:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 1:34 PM
Unknown Object (File)
Fri, Nov 15, 10:56 PM
Unknown Object (File)
Mon, Nov 11, 7:47 PM
Unknown Object (File)
Fri, Nov 8, 4:04 PM
Unknown Object (File)
Oct 19 2024, 1:50 AM
Unknown Object (File)
Oct 18 2024, 5:42 AM
Unknown Object (File)
Oct 17 2024, 2:59 PM
Unknown Object (File)
Sep 25 2024, 12:06 AM
Subscribers

Details

Summary

Fixes T4379. Several changes:

  • Migrate all project members into subscribers.
  • When members are added or removed, subscribe or unsubscribe them.
  • Show sub/unsub in the UI.
  • Determine mailable membership of projects by querying subscribers.
Test Plan
  • As duck, joined a project.
  • Added the project as a reviewer to a revision.
  • Commented on the revision.
  • Observed duck receive mail.
  • Unsubscribed as duck.
  • Observed no mail.
  • Resubscribed as duck.
  • Mail again.
  • Joined/left project, checked sub/unsub status.
  • Ran migration, looked at database.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline