1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/differential
epriestley efba69a440 Give users an explicit error if they try to upload a too-large diff to Differential
Summary:
Ref T8612. If a change affects more than 10K paths + hunks, tell the user it's too big and don't bother trying to write it. We're mostly bounded by INSERTs here.

Also, fix an issue with file upload errors. The keys are real PHP constants, but were accidentally converted to strings in D12797, causing every error to show as "unknown error".

Test Plan: {F1057509}

Reviewers: joshuaspence

Reviewed By: joshuaspence

Maniphest Tasks: T8612

Differential Revision: https://secure.phabricator.com/D14977
2016-01-08 18:53:33 -08:00
..
__tests__ phtize all the things 2015-05-22 21:16:39 +10:00
application Modernize Hovercard implementation 2015-12-24 12:18:28 -08:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
command Generate mail command documentation from active commands 2015-04-01 11:51:47 -07:00
conduit Give users an explicit error if they try to upload a too-large diff to Differential 2016-01-08 18:53:33 -08:00
config Move "Next Step" to a custom field in Differential 2015-10-30 16:00:53 +00:00
constants Clean up browse/history links in Diffusion 2015-09-10 19:28:49 -07:00
controller Convert diffusion.looksoon to use repository identifiers instead of callsigns 2016-01-04 06:54:20 -08:00
customfield Show hovercards for most links in object property views 2015-12-24 12:10:56 -08:00
doorkeeper Partially modernize Doorkeeper/Asana bridge 2014-10-01 07:09:34 -07:00
edge Don't write inverse edges for DifferentialRevisionHasReviewerEdgeType 2015-01-04 10:07:56 +11:00
editor Partially revert D14511 to fix "INLINE COMMENTS" in mail 2015-11-28 13:40:57 -08:00
engine Make diffusion.filecontentquery return file PHIDs instead of raw content 2016-01-08 09:29:16 -08:00
engineextension Modernize Hovercard implementation 2015-12-24 12:18:28 -08:00
event Modernize Hovercard implementation 2015-12-24 12:18:28 -08:00
exception Remove an unused class 2015-01-03 09:07:32 +11:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
herald Various translation improvements 2015-11-03 07:02:46 +11:00
landing Make "Land Revision" button state consistent, prevent non-accepted lands 2015-10-27 18:51:59 +00:00
lipsum Improve lipsum generation of projects 2015-12-24 09:06:56 -08:00
mail Various translation improvements 2015-11-03 07:02:46 +11:00
management Move commit attachment to a separate CLI command 2016-01-08 09:27:57 -08:00
parser Prevent "commit message magic words" parser from exploding on "reverts aaaa.....aaz" 2015-08-26 09:35:23 -07:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query Modernize Differential SearchEngine just enough to get NUX 2015-12-24 10:47:52 -08:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
render Extend from Phobject 2015-06-15 18:02:27 +10:00
search Convert all "DocumentIndexers" into "FulltextEngines" 2015-12-21 17:25:23 -08:00
storage Move diff extraction from commits to a separate test with a CLI command 2016-01-08 09:22:37 -08:00
view Separate external editor integration from callsigns 2016-01-04 06:54:01 -08:00
DifferentialGetWorkingCopy.php Extend from Phobject 2015-06-15 18:02:27 +10:00