Page MenuHomePhabricator

Make Herald rules subscribable
ClosedPublic

Authored by joshuaspence on Nov 12 2015, 8:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 1, 12:21 PM
Unknown Object (File)
Apr 27 2025, 5:38 PM
Unknown Object (File)
Apr 20 2025, 3:50 PM
Unknown Object (File)
Apr 20 2025, 3:50 PM
Unknown Object (File)
Apr 20 2025, 3:50 PM
Unknown Object (File)
Apr 20 2025, 3:50 PM
Unknown Object (File)
Apr 13 2025, 11:16 AM
Unknown Object (File)
Apr 12 2025, 11:14 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T9757: Add subscribers to Herald
Commits
Restricted Diffusion Commit
rP26a235ab8a18: Make Herald rules subscribable
Summary

Fixes T9757.

Test Plan

Created a Herald rule and then subscribed to it with a different account.

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
Tests Skipped
Build Status
Buildable 8798
Build 10256: Run Core Tests
Build 10255: arc lint + arc unit

Event Timeline

joshuaspence retitled this revision from to Make Herald rules subscribbable.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

One minor quibble about auto-subscribe -- does that make sense?

src/applications/herald/storage/HeraldRule.php
328

This is right for personal rules, but I don't think we should auto-subscribe the author for object/global rules?

This revision now requires changes to proceed.Nov 12 2015, 6:42 PM
src/applications/herald/storage/HeraldRule.php
328

Agreed. I realized this later but didn't get around to updating the diff.

chad retitled this revision from Make Herald rules subscribbable to Make Herald rules subscribable.Nov 12 2015, 7:52 PM
chad edited edge metadata.
joshuaspence edited edge metadata.
joshuaspence marked 2 inline comments as done.

Only auto-subscribe personal rules

epriestley edited edge metadata.
This revision is now accepted and ready to land.Nov 16 2015, 4:42 PM
This revision was automatically updated to reflect the committed changes.