Project

General

Profile

Actions

Feature #35462

closed

Download all attachments in a journal

Added by Go MAEDA almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Attachments
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Bulk attachments download for issues has been implemented in Redmine 4.2.0 (#7056). However, sometimes I want to download all attachments of a journal, not an issue.

For example, suppose that an issue already has dozens of files. In the most recent update, your colleague has attached 5 more files. In this case, it is not uncommon to want to download only the latest 5 files.

I believe that bulk downloading of files for each journal is a very useful feature.


Files

bulk-download-journal-attachments.png (198 KB) bulk-download-journal-attachments.png Go MAEDA, 2021-06-25 03:49
35462.png (140 KB) 35462.png Takenori TAKAKI, 2021-07-19 04:40
35462.patch (5.38 KB) 35462.patch Takenori TAKAKI, 2021-07-19 04:40
35462-2.png (393 KB) 35462-2.png Takenori TAKAKI, 2021-07-28 08:41
35462-2.patch (5.72 KB) 35462-2.patch Takenori TAKAKI, 2021-07-28 08:44

Related issues

Related to Redmine - Feature #7056: Download all attachments at onceClosedGo MAEDA2010-12-06

Actions
Related to Redmine - Defect #37130: Wiki notation `attachment:file_name` cannot make a link to a file attached to other journalsClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA almost 3 years ago

  • Related to Feature #7056: Download all attachments at once added
Actions #2

Updated by Takenori TAKAKI almost 3 years ago

I think this feature is very useful!
I made a patch to implement this feature.

After applying the patch, a download link will appear in the context menu as shown below.

Actions #3

Updated by Takenori TAKAKI over 2 years ago

I made a different version of the patch from #note-2.
It displays the download links by journal, just like the Files field in the issue view, As shown in the screenshot below.

Actions #4

Updated by Go MAEDA over 2 years ago

  • Target version set to Candidate for next major release
Actions #5

Updated by Go MAEDA over 2 years ago

  • Target version changed from Candidate for next major release to 5.0.0

Setting the target version to 5.0.0.

Actions #6

Updated by Marius BĂLTEANU over 2 years ago

IMHO, if we really want to add this feature, I'm in favour of adding the download link under the action as Takenori proposed first time from two reasons:
  1. downloading all the attachments in a journal is not an usual operation as you already mentioned in the issue description "sometimes".
  2. we should keep the actions grouped in a logical way: we have the common actions displayed and less common actions under the dropdown. In the files section it make sense to display the "Download all" action next to edit icon because only those two actions are. In the future, if we add a new action related to the Files section, we will add the actions dropdown to incorporate the new item.

Maybe we should get more feedback on this as we did for other issues. I'm just worried about adding new icons in the UI that are always displayed.

Actions #7

Updated by Mischa The Evil over 2 years ago

Marius BALTEANU wrote:

IMHO, if we really want to add this feature, I'm in favour of adding the download link under the action as Takenori proposed first time from two reasons [...]

I agree with this.

Actions #8

Updated by Go MAEDA over 2 years ago

I think it is a good idea to move the download link into the drop-down menu. It also solves the small problem that the download button is not very prominent and somewhat hard to find.

However, if the dropdown menu for a journal has the link, I think the dropdown menu for an issue also should have the link for the consistency of the user interface. This allows users to download all files with the same operation (click the dropdown menu -> click "Download all files") for both issues and journals.

This means that:
  • Download all attachments for a journal can be invoked from the dropdown menu
  • Download all attachments for an issue can be invoked by two ways, from the existing download button and the dropdown menu
Actions #9

Updated by Marius BĂLTEANU over 2 years ago

Go MAEDA wrote:

  • Download all attachments for an issue can be invoked by two ways, from the existing download button and the dropdown menu

I think we should keep only the download icon.

Actions #10

Updated by Go MAEDA over 2 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you for your contribution.

Now the context menu for a journal has a "Download all files" menuitem.

Actions #11

Updated by Go MAEDA almost 2 years ago

  • Related to Defect #37130: Wiki notation `attachment:file_name` cannot make a link to a file attached to other journals added
Actions

Also available in: Atom PDF