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

2017-05-30 Thread Stephen Finucane
On Fri, 2017-05-26 at 09:34 +0100, Stephen Finucane wrote:
> 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.

Applied now with some minor tweaks in tow.

Stephen
___
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork


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

2017-05-26 Thread Stephen Finucane
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

___
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork