1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/differential
epriestley 5ac36e8f77 Allow Herald "diff" rules to reject content before it is written
Summary: Fixes T5915. Occasionally, users derp up and diff private key material. Adding a pre-write Herald phase enables configuration of a partial layer of protection that will reject these changes before they hit disk, provided they can be detected by, e.g., filename.

Test Plan:
  - Added a rule with checks on every field, verified they looked fine in the transcript.
  - Created some revisions to test those changes (I have a bunch of revision rules locally).
  - Verified rejects don't write transcripts to the database.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5915

Differential Revision: https://secure.phabricator.com/D10305
2014-08-20 14:26:29 -07:00
..
__tests__ Require a viewer for Remarkup rendering 2013-03-04 12:33:05 -08:00
application Rename policy capabilities 2014-07-25 08:20:39 +10:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Allow Herald "diff" rules to reject content before it is written 2014-08-20 14:26:29 -07:00
config Add an option to put comment context into emails. 2014-08-15 10:14:09 -07:00
constants Add CCs -> Add Subscribers 2014-06-03 15:53:53 -07:00
controller Cover redirects to files in more cases 2014-08-19 15:53:15 -07:00
customfield Spell "dependendency" less incorrecter 2014-07-30 12:59:28 -07:00
doorkeeper Normalize the definition of "closed" revision statuses 2013-11-25 17:39:24 -08:00
edge Modernize task/revision edges and write inverse transactions 2014-07-17 15:41:08 -07:00
editor Allow Herald "diff" rules to reject content before it is written 2014-08-20 14:26:29 -07:00
event Modernize task/revision edges and write inverse transactions 2014-07-17 15:41:08 -07:00
exception Allow Herald "diff" rules to reject content before it is written 2014-08-20 14:26:29 -07:00
garbagecollector Complete modularization of the GC daemon 2014-01-15 10:02:31 -08:00
landing Rename policy capabilities 2014-07-25 08:20:39 +10:00
lipsum Use DifferentialRevisionEditor in lipsum 2014-03-11 13:02:00 -07:00
mail Revert attempt to fix mail in differential 2014-07-31 14:54:43 -07:00
management Allow modern hunks to be stored deflated 2014-06-03 18:01:24 -07:00
parser Show image dimensions and some other metadata in Differential 2014-08-13 14:41:06 -07:00
phid Rename PHIDType classes 2014-07-24 08:05:46 +10:00
query Allow searching diffs by more status options 2014-07-30 13:55:05 -07:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
render Clean up image file diffs UI 2014-08-19 14:46:37 -07:00
search Rename PHIDType classes 2014-07-24 08:05:46 +10:00
storage Rename AphrontQueryException subclasses 2014-08-06 07:51:21 +10:00
view Modernize "user or project" typeahead datasources 2014-07-17 15:45:07 -07:00
DifferentialGetWorkingCopy.php Applied various linter fixes. 2014-06-09 16:04:12 -07:00