FileProvider WebApi interaction with file provider account

Review Request #6948 — Created Feb. 14, 2015 and updated — Latest diff uploaded

Information

Review Board
master
2ba622f...

Reviewers

This FileProvider module allows users to select files from their online file storage providers to upload directly to ReviewBoard. In order to do so, there has to be way for users to interact with the FileProvider module. This is allowed by implementing webapi calls to interact with the back end. The new webapi integration supports the following:

  • Listing files at the specified path in your file storage
  • Searching for files in your file storage
  • Uploading files from your online file storage to ReviewBoard
  • Fetching a file's meta-information

As well as the general GET, POST, PUT and DELETE functionality for FileProvider object.

Test cases for GET, POST, PUT and DELETE for reviewboard/webapi/resources/file_provider_account.py are written.

Test cases for search, list content and meta-information for reviewboard/webapi/resources/file_provider_node.py are written.

Test cases and some manual tests with the file upload via file provider framework.

    Loading...