Download Review File Attachments as tarball
Review Request #6402 — Created Oct. 4, 2014 and submitted — Latest diff uploaded
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 15
This is not the most recent revision of the diff. The latest diff is revision 18. See what's changed.
setup.py |
---|
reviewboard/reviews/urls.py |
---|
reviewboard/reviews/views.py |
---|
reviewboard/static/rb/js/views/reviewRequestEditorView.js |
---|
reviewboard/templates/reviews/review_detail.html |
---|
reviewboard/templates/reviews/review_request_actions_primary.html |
---|