1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-27 16:00:59 +01:00
phorge-phorge/src/applications/differential/customfield
epriestley add7bc418d Allow Herald to "Require legal signatures" for reviews
Summary:
Ref T3116. Add a Herald action "Require legal signatures" which requires revision authors to accept legal agreements before their revisions can be accepted.

  - Herald will check which documents the author has signed, and trigger a "you have to sign X, Y, Z" for other documents.
  - If the author has already signed everything, we don't spam the revision -- basically, this only triggers when signatures are missing.
  - The UI will show which documents must be signed and warn that the revision can't be accepted until they're completed.
  - Users aren't allowed to "Accept" the revision until documents are cleared.

Fixes T1157. The original install making the request (Hive) no longer uses Phabricator, and this satisfies our requirements.

Test Plan:
  - Added a Herald rule.
  - Created a revision, saw the rule trigger.
  - Viewed as author and non-author, saw field UI (generic for non-author, specific for author), transaction UI, and accept-warning UI.
  - Tried to accept revision.
  - Signed document, saw UI update. Note that signatures don't currently //push// an update to the revision, but could eventually (like blocking tasks work).
  - Accepted revision.
  - Created another revision, saw rules not add the document (since it's already signed, this is the "no spam" case).

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: asherkin, epriestley

Maniphest Tasks: T1157, T3116

Differential Revision: https://secure.phabricator.com/D9771
2014-06-29 07:53:53 -07:00
..
DifferentialApplyPatchField.php Implement detail views for many Differential fields on ApplicationTransactions 2014-02-26 14:46:18 -08:00
DifferentialArcanistProjectField.php Add Branch and Arcanist Project CustomFields 2014-02-27 11:05:48 -08:00
DifferentialAsanaRepresentationField.php Allow configuration of Differential custom fields 2014-03-11 13:01:57 -07:00
DifferentialAuditorsField.php Update callsites of phutil_json_decode. 2014-06-21 00:39:37 +10:00
DifferentialAuthorField.php Allow configuration of Differential custom fields 2014-03-11 13:01:57 -07:00
DifferentialBlameRevisionField.php Use CustomFields to power Conduit auxiliary dictionaries 2014-03-11 13:02:09 -07:00
DifferentialBranchField.php Restore "Branch" and "changes since last update" fields to Differential mail 2014-04-01 08:23:34 -07:00
DifferentialChangesSinceLastUpdateField.php Restore "Branch" and "changes since last update" fields to Differential mail 2014-04-01 08:23:34 -07:00
DifferentialCommitsField.php Allow configuration of Differential custom fields 2014-03-11 13:01:57 -07:00
DifferentialConflictsField.php Perform commit message parsing and construction with new CustomFields 2014-03-11 13:01:55 -07:00
DifferentialCoreCustomField.php Use CustomFields to power Conduit auxiliary dictionaries 2014-03-11 13:02:09 -07:00
DifferentialCustomField.php Use standard handle loading in Releeph 2014-04-18 17:52:32 -07:00
DifferentialDependenciesField.php Allow configuration of Differential custom fields 2014-03-11 13:01:57 -07:00
DifferentialDependsOnField.php Use CustomFields to power Conduit auxiliary dictionaries 2014-03-11 13:02:09 -07:00
DifferentialEditPolicyField.php Implement Differential subscribers as a CustomField 2014-02-21 11:54:08 -08:00
DifferentialGitSVNIDField.php Perform commit message parsing and construction with new CustomFields 2014-03-11 13:01:55 -07:00
DifferentialHostField.php Use CustomField, not AuxiliaryField, to power RevisionView 2014-02-27 11:06:14 -08:00
DifferentialJIRAIssuesField.php Update callsites of phutil_json_decode. 2014-06-21 00:39:37 +10:00
DifferentialLintField.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
DifferentialManiphestTasksField.php Use CustomField for differential.updaterevision 2014-03-11 13:01:58 -07:00
DifferentialPathField.php Use CustomField, not AuxiliaryField, to power RevisionView 2014-02-27 11:06:14 -08:00
DifferentialProjectReviewersField.php Allow configuration of Differential custom fields 2014-03-11 13:01:57 -07:00
DifferentialProjectsField.php Projects for DifferentialRevision 2014-06-23 09:49:53 -07:00
DifferentialRepositoryField.php Always show repository in Differential emails. 2014-06-26 04:52:34 +10:00
DifferentialRequiredSignaturesField.php Allow Herald to "Require legal signatures" for reviews 2014-06-29 07:53:53 -07:00
DifferentialRevertPlanField.php Use CustomFields to power Conduit auxiliary dictionaries 2014-03-11 13:02:09 -07:00
DifferentialReviewedByField.php Fix parsing of "Reviewed By" field 2014-03-12 18:11:09 -07:00
DifferentialReviewersField.php Restore old "author can not be a reviewer" rule to Transactions 2014-03-12 06:04:30 -07:00
DifferentialRevisionIDField.php Fix "arc diff --verbatim" when updating a revision 2014-03-14 11:50:22 -07:00
DifferentialStoredCustomField.php Use CustomFields to power Conduit auxiliary dictionaries 2014-03-11 13:02:09 -07:00
DifferentialSubscribersField.php Perform commit message parsing and construction with new CustomFields 2014-03-11 13:01:55 -07:00
DifferentialSummaryField.php Restore "Branch" and "changes since last update" fields to Differential mail 2014-04-01 08:23:34 -07:00
DifferentialTestPlanField.php Fix typo: behvaior->behavior 2014-05-27 17:24:34 -07:00
DifferentialTitleField.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
DifferentialUnitField.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
DifferentialViewPolicyField.php Implement Differential subscribers as a CustomField 2014-02-21 11:54:08 -08:00