Download Review File Attachments as tarball

Review Request #6402 — Created Oct. 4, 2014 and submitted — Latest diff uploaded

Information

Review Board
master
2f19217...

Reviewers

Download File Attachments as tarball:
- only working with files stored on host filesystem and Amazon S3.
- now compresses into .tar.gz file instead.
- properly streams compressed file back to client.
- Download Attachments and Download Diff now under Downloads
menu dropdown in review request editor.

- URL changed from: r/<requestID>/file/zip/ -> r/<requestID>/file/tar/

Tested on:
- Linux Mint 17: Chromium 37.0.2062.120
- Linux Mint 17: Firefox 32.0.3
- Windows 8.1: Chrome 38.0.2125.101
- Windows 8.1: Firefox 32.0.3
- Windows 8.1: Internet Explorer 11
Tested also with curl to see if file is streaming as expected.

Review requests with small files, large files (2mb+), and mix of both, tested and working with host file system and Amazon S3 storage option.

Diff Revision 3

This is not the most recent revision of the diff. The latest diff is revision 18. See what's changed.

orig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
setup.py
reviewboard/reviews/urls.py
reviewboard/reviews/views.py
reviewboard/templates/reviews/review_detail.html
Loading...