Homec4science

Allow projects to be "watched", sort of a super-subscribe

Authored by epriestley <git@epriestley.com> on May 19 2014, 21:40.

Description

Allow projects to be "watched", sort of a super-subscribe

Summary:
Ref T4967. Adds a "Watch" relationship to projects, which is stronger than member/subscribed.

Specifically, when a task is tagged with a project, we'll include all project watchers in the email/notifications. Normally we don't include projects unless they're explicitly CC'd, or have some other active role in the object (like being a reviewer or auditor).

This allows you to closely follow a project without needing to write a Herald rule for every project you care about.

Test Plan:

  • Watched/unwatched a project.
  • Tested the watch/subscribe/member relationships:
    • Watching implies subscribe.
    • Joining implies subscribe.
    • Leaving implies unsubscribe + unwatch.
    • You can't unsubscribe until you unwatch (slightly better would be unsubscribe implies unwatch, but this is a bit tricky).
  • Watched a project, then recevied email about a tagged task without otherwise being involved.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4967

Differential Revision: https://secure.phabricator.com/D9185

Details

Committed
epriestley <git@epriestley.com>May 19 2014, 21:40
Pushed
aubortJan 31 2017, 17:16
Parents
rPHaf0edf883d89: Don't disable the "Show Public Key" action for locked credentials
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH3a3155426898: Allow projects to be "watched", sort of a super-subscribe (authored by epriestley <git@epriestley.com>).May 19 2014, 21:40