1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-01 23:19:15 +01:00
phorge-phorge/src/applications/differential/conduit
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
..
DifferentialCloseConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialConduitAPIMethod.php Differential - add ability to setup "create" addresses for revisions 2015-01-30 10:31:39 -08:00
DifferentialCreateCommentConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialCreateDiffConduitAPIMethod.php Remove leftover code for "postponed" lint and unit status 2015-08-29 22:19:28 +10:00
DifferentialCreateInlineConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialCreateRawDiffConduitAPIMethod.php Give users an explicit error if they try to upload a too-large diff to Differential 2016-01-08 18:53:33 -08:00
DifferentialCreateRevisionConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialFindConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialGetAllDiffsConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialGetCommitMessageConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialGetCommitPathsConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialGetDiffConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialGetRawDiffConduitAPIMethod.php Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
DifferentialGetRevisionCommentsConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialGetRevisionConduitAPIMethod.php Remove arcanist projects from differential 2015-05-19 00:36:52 +10:00
DifferentialParseCommitMessageConduitAPIMethod.php Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
DifferentialQueryConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialQueryDiffsConduitAPIMethod.php Remove arcanist projects from differential 2015-05-19 00:36:52 +10:00
DifferentialSetDiffPropertyConduitAPIMethod.php Remove some obsolete lint and unit support 2015-08-10 14:16:25 -07:00
DifferentialUpdateRevisionConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00