Feature #18556
openAdd ability to configure limit of attachments at once
0%
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
Updated by Go MAEDA about 10 years ago
- Related to Feature #18555: Show warning when attempting to attach more than the allowed number of attachments added
Updated by Go MAEDA about 10 years ago
- Has duplicate Defect #18642: Limited number of simultanous file uploads added
Updated by Toshi MARUYAMA over 7 years ago
- Related to Feature #25562: restricting the number of files a user can upload added
Updated by Toshi MARUYAMA over 7 years ago
- Related to deleted (Feature #25562: restricting the number of files a user can upload)
Updated by Toshi MARUYAMA over 7 years ago
- Has duplicate Feature #25562: restricting the number of files a user can upload added
Updated by Jonathan Cormier almost 7 years ago
- File attachments_3.3.1_increase_number_upload_files.diff attachments_3.3.1_increase_number_upload_files.diff added
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.
Updated by Stephan Bauer almost 7 years ago
I also would like to bump that feature.
Updated by Grigoriy Vasilchenko over 6 years ago
Jonathan Cormier Increasing max files number works, but notification not (redmine 3.4.4)
Updated by Jonathan Cormier over 6 years ago
- File attachments_3.4.4_increase_number_upload_files.diff attachments_3.4.4_increase_number_upload_files.diff added
Changing for 3.4.4 didn't take much. Error message code didn't change at all. Works for me
Updated by Grigoriy Vasilchenko over 6 years ago
- File attachments.png attachments.png added
This what firefox console shows
Updated by Jonathan Cormier over 6 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...
Updated by Grigoriy Vasilchenko over 6 years ago
You are totally right, my bad. I have copied plus signs from diff file :)
Updated by Phil Valentine over 6 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.
Updated by Jonathan Cormier over 6 years ago
Does anyone know if this change to attachments.js could be done via a plugin?
Updated by Hal Glenn over 6 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.
Updated by Jonathan Cormier almost 6 years ago
Note: attachments_3.4.4_increase_number_upload_files.diff still applies cleanly in redmine 4.0
Updated by Andriy Lesyuk about 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).
Updated by Jonathan Cormier over 4 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
Updated by Mischa Mundwiler over 2 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...
Updated by Gary Aitken over 2 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
Updated by Jan Catrysse about 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.