Feature #18556

Add ability to configure limit of attachments at once

Added by Stephen Ostrow about 5 years ago. Updated 10 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Attachments
Target version:-
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

attachments_3.3.1_increase_number_upload_files.diff Magnifier (724 Bytes) Jonathan Cormier, 2018-01-25 15:52

attachments_3.4.4_increase_number_upload_files.diff Magnifier (1.02 KB) Jonathan Cormier, 2018-06-21 21:04

attachments.png (17.1 KB) Grigoriy Vasilchenko, 2018-06-22 09:25


Related issues

Related to Redmine - Defect #18555: Notify user when attempting to attach more than the allow... New
Duplicated by Redmine - Defect #18642: Limited number of simultanous file uploads Closed
Duplicated by Redmine - Feature #25562: restricting the number of files a user can upload Closed

History

#1 Updated by Go MAEDA about 5 years ago

  • Related to Defect #18555: Notify user when attempting to attach more than the allowed number of attachments added

#2 Updated by Go MAEDA almost 5 years ago

  • Duplicated by Defect #18642: Limited number of simultanous file uploads added

#3 Updated by Antonio Kless almost 3 years ago

I wanna politely remind of this.

#4 Updated by Toshi MARUYAMA over 2 years ago

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

#5 Updated by Toshi MARUYAMA over 2 years ago

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

#6 Updated by Toshi MARUYAMA over 2 years ago

  • Duplicated by Feature #25562: restricting the number of files a user can upload added

#7 Updated by Jonathan Cormier almost 2 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.

#8 Updated by Stephan Bauer almost 2 years ago

I also would like to bump that feature.

#9 Updated by Grigoriy Vasilchenko over 1 year ago

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

#10 Updated by Jonathan Cormier over 1 year ago

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

#11 Updated by Grigoriy Vasilchenko over 1 year ago

This what firefox console shows

#12 Updated by Jonathan Cormier over 1 year 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...

#13 Updated by Grigoriy Vasilchenko over 1 year ago

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

#14 Updated by Phil Valentine over 1 year 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.

#15 Updated by Jonathan Cormier over 1 year ago

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

#16 Updated by Hal Glenn about 1 year 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.

#17 Updated by Aleksandar Pavic about 1 year ago

+1 this should be core feature.

#18 Updated by Chris D 10 months ago

I am also looking for this feature.

#19 Updated by Jonathan Cormier 10 months ago

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

Also available in: Atom PDF