Support drag-and-drop to set cover images on workboard cards

Summary: This was slightly more complex than I believed, but not too terrible.

Test Plan:
{F1096126}

  - Also used some normal file uploaders to make sure I didn't break that.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D15202
This commit is contained in:
epriestley
2016-02-06 14:05:15 -08:00
parent b6a38b403c
commit 78c248d330
15 changed files with 352 additions and 139 deletions

View File

@@ -219,6 +219,9 @@ final class PhabricatorProjectBoardViewController
'projectPHID' => $project->getPHID(),
'moveURI' => $this->getApplicationURI('move/'.$project->getID().'/'),
'createURI' => $this->getCreateURI(),
'uploadURI' => '/file/dropupload/',
'coverURI' => $this->getApplicationURI('cover/'),
'chunkThreshold' => PhabricatorFileStorageEngine::getChunkThreshold(),
'order' => $this->sortKey,
);
$this->initBehavior(