[PATCH 0/3] Allow downloading of cover letter mboxes

Stephen Finucane stephen at that.guru
Fri May 26 18:34:14 AEST 2017


While we haven't totally integrated cover letters in the web UI yet (planned
for 2.1), we do expose these in a limited way and fully expose them via the
REST API. For the latter case, it should be possible to download cover letters
in mbox format for users who want them. For the former case, it already looks
like you can do this, but the links are broken and need to be fixed. This
series works on addressing both issues.

Stephen Finucane (3):
  views: Enable downloading of cover mboxes
  REST: Expose cover mbox link via REST API
  views: Display correct download links for covers

 patchwork/api/cover.py                             |  6 ++-
 patchwork/models.py                                |  5 ++-
 .../templates/patchwork/download_buttons.html      |  6 +++
 patchwork/tests/test_rest_api.py                   |  1 +
 patchwork/urls.py                                  |  2 +
 patchwork/views/cover.py                           | 13 +++++++
 patchwork/views/utils.py                           | 45 +++++++++++++---------
 7 files changed, 58 insertions(+), 20 deletions(-)

-- 
2.9.4



More information about the Patchwork mailing list