1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-29 16:08:22 +01:00
phorge-phorge/src/applications/files/conduit
epriestley a7a068f84c Correct two parameter strictness issues with file uploads
Summary:
Fixes T12531. Strictness fallout from adding typechecking in D17616.

  - `chunkedHash` is not a real parameter, so the new typechecking was unhappy about it.
  - `mime-type` no longer allows `null`.

Test Plan:
  - Ran `arc upload --conduit-uri ... 12MB.zero` on a 12MB file full of zeroes.
  - Before patch: badness, failure, fallback to one-shot uploads.
  - After patch: success and glory.

Reviewers: chad

Subscribers: joshuaspence

Maniphest Tasks: T12531

Differential Revision: https://secure.phabricator.com/D17651
2017-04-10 16:01:15 -07:00
..
FileAllocateConduitAPIMethod.php Remove SHA1 file content hashing and make Files work without any hashing 2017-04-04 16:22:10 -07:00
FileConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
FileDownloadConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
FileInfoConduitAPIMethod.php Provide a modern ("v3") API for querying files ("file.search") 2017-04-04 16:15:36 -07:00
FileQueryChunksConduitAPIMethod.php Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
FileUploadChunkConduitAPIMethod.php Correct two parameter strictness issues with file uploads 2017-04-10 16:01:15 -07:00
FileUploadConduitAPIMethod.php Remove SHA1 file content hashing and make Files work without any hashing 2017-04-04 16:22:10 -07:00
FileUploadHashConduitAPIMethod.php Deprecate "file.uploadhash" 2017-04-04 16:18:26 -07:00
PhabricatorFileSearchConduitAPIMethod.php Provide a modern ("v3") API for querying files ("file.search") 2017-04-04 16:15:36 -07:00