[Upload] Added async upload concatenation support.
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 19 Nov 2012 08:07:50 +0000 (00:07 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 5 Dec 2012 17:39:31 +0000 (09:39 -0800)
commitba5e774de9f53863e3d7d2d1efc19811f9c9a849
tree57986b4855076c68ef132eefda3a573f17d898c0
parent904bebbd37bec50bf52356c45c618b533007481b
[Upload] Added async upload concatenation support.

* Clients can send the last chunk with 'async' to get an immediate
  response and then check the status of the upload by polling the API
  using the 'checkstatus' parameter.
* Pass the User object along to stash functions within UploadFromChunks.

Change-Id: Ie2ad4c7e94862a728e8a687c3195306e16a5059e
includes/api/ApiUpload.php
includes/filerepo/FileRepo.php
includes/upload/AssembleUploadChunks.php [new file with mode: 0644]
includes/upload/UploadBase.php
includes/upload/UploadFromChunks.php
includes/upload/UploadStash.php