Project

General

Profile

Actions

Feature #18556

open

Add ability to configure limit of attachments at once

Added by Stephen Ostrow over 10 years ago. Updated 20 days ago.

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

0%

Estimated time:
Resolution:

Description

Currently there is a hard limit of only 10 attachments per change of an issue. It would be nice if this was configurable or removed completely if possible.

I'm wondering if there was a specific reason why this limit was added in the first place.

Related Issue: #18555, #8579
This is the code in question: source:/trunk/public/javascripts/attachments.js#L6


Files


Related issues

Related to Redmine - Feature #18555: Show warning when attempting to attach more than the allowed number of attachmentsClosedGo MAEDA

Actions
Has duplicate Redmine - Defect #18642: Limited number of simultanous file uploadsClosed

Actions
Has duplicate Redmine - Feature #25562: restricting the number of files a user can uploadClosed

Actions
Actions #1

Updated by Go MAEDA over 10 years ago

  • Related to Feature #18555: Show warning when attempting to attach more than the allowed number of attachments added
Actions #2

Updated by Go MAEDA over 10 years ago

  • Has duplicate Defect #18642: Limited number of simultanous file uploads added
Actions #3

Updated by Antonio Kless over 8 years ago

I wanna politely remind of this.

Actions #4

Updated by Toshi MARUYAMA about 8 years ago

  • Related to Feature #25562: restricting the number of files a user can upload added
Actions #5

Updated by Toshi MARUYAMA about 8 years ago

  • Related to deleted (Feature #25562: restricting the number of files a user can upload)
Actions #6

Updated by Toshi MARUYAMA about 8 years ago

  • Has duplicate Feature #25562: restricting the number of files a user can upload added
Actions #7

Updated by Jonathan Cormier over 7 years ago

Here is my rough first attempt at changing this. I'm running redmine 3.3.1 so the patch would need some updated to apply to latest.

Actions #8

Updated by Stephan Bauer over 7 years ago

I also would like to bump that feature.

Actions #9

Updated by Grigoriy Vasilchenko about 7 years ago

Jonathan Cormier Increasing max files number works, but notification not (redmine 3.4.4)

Actions #10

Updated by Jonathan Cormier about 7 years ago

Changing for 3.4.4 didn't take much. Error message code didn't change at all. Works for me

Actions #11

Updated by Grigoriy Vasilchenko about 7 years ago

This what firefox console shows

Actions #12

Updated by Jonathan Cormier about 7 years ago

Grigoriy Vasilchenko wrote:

This what firefox console shows

Your syntax error indicates that there is some bad code on line 170. If you open firefox's inspector, select Debugger and find the attachments.js file. Look at line 170. Maybe you mistyped something, missed a parenthesis or bracket...

Actions #13

Updated by Grigoriy Vasilchenko about 7 years ago

You are totally right, my bad. I have copied plus signs from diff file :)

Actions #14

Updated by Phil Valentine about 7 years ago

+1 for this feature.
It wouldn't be so bad if inline images didn't have to be "attachments" - many of our issues will have screenshots / captures to go along with them. I know we could "zip" and package them up, but it is useful to see them as inline images.

Actions #15

Updated by Jonathan Cormier about 7 years ago

Does anyone know if this change to attachments.js could be done via a plugin?

Actions #16

Updated by Hal Glenn almost 7 years ago

+1 we run into this issue all the time. Issues end up with lots of screen captures in them, so there are multiple edits required to add all the content.

Actions #17

Updated by Aleksandar Pavic over 6 years ago

+1 this should be core feature.

Actions #18

Updated by Chris D over 6 years ago

I am also looking for this feature.

Actions #19

Updated by Jonathan Cormier over 6 years ago

Note: attachments_3.4.4_increase_number_upload_files.diff still applies cleanly in redmine 4.0

Actions #20

Updated by Andriy Lesyuk over 5 years ago

Configurable attachments limit has been implemented in this plugin: http://www.redmine.org/plugins/that_attachments_limit
It works on Redmine 3.4 and Redmine 4.0 (and, maybe, others).

Actions #21

Updated by Jonathan Cormier over 5 years ago

Andriy Lesyuk wrote:

Configurable attachments limit has been implemented in this plugin: http://www.redmine.org/plugins/that_attachments_limit
It works on Redmine 3.4 and Redmine 4.0 (and, maybe, others).

That's great. I really wish this could be integrated into redmine.

Andriy, now that the show error message has been accepted, I assume it would be something that could be added to your plugin easily? https://www.redmine.org/issues/18555

Actions #22

Updated by Mischa Mundwiler about 3 years ago

+1 for this feature.
We run in this issue quite a lot. Especially with the DMSF-Plugin as we quite often upload more than 10 files. If you have 11 or 12 files you easily miss that only the first 10 files have been uploaded...

Actions #23

Updated by Gary Aitken almost 3 years ago

+1 for this feature. It is an impedement for some of our development work which frequently has >10 experimental results to be uploaded.

It would be great if the plugin would be upgraded to 5.x

Actions #24

Updated by Jan Catrysse over 2 years ago

I made some small changes to partially address #18555. This does not resolve the error message `max-number-of-files`, I am not confident on making that change.

https://github.com/redminetrustteam/that_attachments_limit/commit/4d3e40144f7ba864c07569bcff1bf01853f64700

Actions #25

Updated by Alexander Atzenweiler 21 days ago

A very old request from Redmine: Over 10 years (!) and the ticket still has the status "New".
I am starting a new attempt:
The limit should be adjusted so that more and larger files can be uploaded at the same time and the resulting ‘idle time’ or effort is reduced.

Suggestion:
1. The new limit for the number of files should be at least 40-50 (first priority, I consider this to be mandatory). This value can apparently not be set via the administration (hardcoded?). It requires a corresponding plugin ( That attachments limit).
Note: A: In principle, we do not want to use plugins. Reason: Dependence on the manufacturer. B: Plugins may not be developed further and are not compatible with the latest Redmine version.

2: The maximum file size should be doubled from 20MB to approx. 40MB (second priority, but very useful if even a ZIP file cannot be brought under 20MB).

I hope my request will be heard.

Info / at the end: Text translated from German to English with DeepL.com (free version)

Actions #26

Updated by Jonathan Cormier 20 days ago

Agreed, no idea why something this simple has had no traction. Patches are even available for the devs for years.

2: The maximum file size should be doubled from 20MB to approx. 40MB (second priority, but very useful if even a ZIP file cannot be brought under 20MB).

This can be set in the settings "Maximum attachment size" under the files tab. We have ours set to 1GB. Be warned if you are using a reverse proxy (apache, nginx, etc), you'll also need to update that to allow the bigger file size.

Actions

Also available in: Atom PDF