1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02: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__
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
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
landing Rename policy capabilities 2014-07-25 08:20:39 +10:00
lipsum
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