@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

Support "only the first time" in Maniphest master

Summary: Ref T4403. Implements "only the first time" for Maniphest rules, and fixes the trigger itself. The trigger would never fire and block rules because it was comparing a string (like "first") to an int (like 0). The "only" vs "every" stuff is contributed and I should have pushed back harder on this toInt / toString stuff. Maybe I'll just get rid of it; it purely causes confusion and problems. Test Plan: Wrote an "only the first time" rule, ran it twice, it applied once. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T4403 Differential Revision: https://secure.phabricator.com/D8193


+14 -3
3 changed files