Edgewall Software

Ticket #2141 (new enhancement)

Opened 3 years ago

Last modified 4 months ago

Upload more then one attachment at a time

Reported by: anonymous Owned by: jonas
Priority: normal Milestone: 0.13
Component: attachment Version: devel
Severity: normal Keywords: attachment jquery
Cc: pkou@…

Description

It would be nice to be able to upload and delete multiple attachments.

Attachments

trac.multifile.patch (8.2 kB) - added by slavazanko@… 12 months ago.
Add multifile upload feature
miltiFileAttach.r6165.patch (7.1 kB) - added by Slava Zanko <slavaz> 11 months ago.
miltiFileAttach.r6253.patch (7.1 kB) - added by Slava Zanko <slavaz> 11 months ago.
renew patch
webmail.jpg (46.1 kB) - added by anonymous 6 months ago.
miltiFileAttach.r7578.patch (7.8 kB) - added by vnaum@… 7 days ago.
Slava Zanko's multifile attachment patch, updated to r7578

Change History

  Changed 3 years ago by anonymous

Perhaps the "Attachments" header could be a link to a page for managing the attachments? Not sure how to make this simple.

  Changed 3 years ago by anonymous

Perhaps in combination with #787, to edit the names of multiple attachments.

  Changed 2 years ago by mgood

#2406 has been marked as a duplicate.

  Changed 2 years ago by anonymous

  • keywords pkou@ua.fm added

  Changed 20 months ago by cboos

  • cc pkou@… added
  • keywords attachment jquery added; pkou@ua.fm removed
  • component changed from wiki to general
  • milestone set to 2.0

That could probably be done with some bits of Javascripts -> the base "Add Attachment" page would still propose one attachment to be added, the javascript enhanced one would have an "Add another attachment" button which will insert a new set of fields in the form.

follow-up: ↓ 8   Changed 18 months ago by anonymous

  • priority changed from normal to highest
  • version changed from 0.8.4 to 0.10-stable

Why can't it function like a multiple file select option - as in photoshop? (file>open>control+click on the files) - it allows you to select more than one file. I'm SURE this would be a benefit for all users.

  Changed 18 months ago by eblot

  • priority changed from highest to normal

in reply to: ↑ 6   Changed 18 months ago by mgood

Replying to anonymous:

Why can't it function like a multiple file select option - as in photoshop? (file>open>control+click on the files) - it allows you to select more than one file.

Because the HTML file input field does not support that.

follow-up: ↓ 10   Changed 15 months ago by anonymous

  • component changed from general to ticket system

How about modifying it so that it will? (I don't have a clue how to, or I would have done it already!)

in reply to: ↑ 9   Changed 15 months ago by mgood

Replying to anonymous:

How about modifying it so that it will? (I don't have a clue how to, or I would have done it already!)

I can't. Doing this would require changing the HTML spec and all the web browsers to support this. It's not something that can be done by Trac.

Changed 12 months ago by slavazanko@…

Add multifile upload feature

  Changed 12 months ago by anonymous

My patch not fully tested (not tested on: IE lesser than 5.0, Opera lesser than 8.5, Firefox lesser that 1.5). Enjoy.

  Changed 11 months ago by cboos

  • milestone changed from 2.0 to 0.12

#6361 has an patch updated for trunk@6164, but newer version will be posted here, until this gets eventually integrated in 0.12.

Changed 11 months ago by Slava Zanko <slavaz>

  Changed 11 months ago by Slava Zanko <slavaz>

  • version changed from 0.10-stable to devel

More correct patch (for r6165)

However please consider using jQuery for the Javascript parts

I do not know fully jQuery (today began to study:)). JQuery used according to their knowledge:)

and take care to not introduce spurious changes in the .py files.

fixed

  Changed 11 months ago by Slava Zanko <slavaz>

r6169: patch functional.

Perhaps it would be better to issue a new patch as soon as the latest revision(s) would make it inoperable (change files trac/attachment.py; trac/templates/attachment.html; trac/htdocs/js/trac.js)

Changed 11 months ago by Slava Zanko <slavaz>

renew patch

  Changed 10 months ago by Slava Zanko <slavaz>

See #2827 for new patches (multifile attachment patch included into thumbailPreview patch)

  Changed 9 months ago by osimons

#3176 closed as duplicate.

  Changed 6 months ago by cboos

#7090 was closed as duplicate.

Changed 6 months ago by anonymous

  Changed 4 months ago by Piotr Kuczynski <piotr.kuczynski@…>

  • component changed from ticket system to attachment

Changed 7 days ago by vnaum@…

Slava Zanko's multifile attachment patch, updated to r7578

Add/Change #2141 (Upload more then one attachment at a time)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from jonas. Next status will be 'new'
The owner will change from jonas to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.