wiki:TracDragDropPlugin

Version 20 (modified by jun66j5, 23 months ago) (diff)

--

Drag-and-Drop Attachments Plugin for Trac

Description

This plugin extends attachments list in Trac.

  • Drag-and-drop to attach files using HTML5 drag-and-drop, XMLHttpRequest Level 2 and File API.
  • Progress bar while uploading the files using XMLHttpRequest Level 2.
  • More than one file for selecting attachment files.
  • Attach an image from clipboard.
  • Auto-submit on select a file to attach.

Browser Compatibility

Firefox Chrome Safari Opera Internet Explorer
Drop-and-drop to attach files 3.6+ 12+ - 12+ -
Progress bar while uploading files 3.6+ 12+ 5+ 12+ -
More than one file for selecting 3.6+ 12+ 5+ 11+ -
Attach an image from clipboard 3.6+ 19+ - - -
Auto-submit on select a file 3.6+ 12+ 5+ 11+ 7+

Bugs/Feature Requests

Existing bugs and feature requests for TracDragDropPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracDragDropPlugin from here using Subversion, or browse the source with Trac.

Install

Install the plugin:

For Trac 0.11.x
easy_install http://trac-hacks.org/svn/tracdragdropplugin/0.11
For Trac 0.12.x or later
easy_install http://trac-hacks.org/svn/tracdragdropplugin/0.12

Enable the plugin in trac.ini:

[components]
tracdragdrop.* = enabled

Screenshots

Drag-and-drop
Uploading
Menu

Tickets

new status tickets:

#9080
Upload pic and insert it at the cursor postion
#10209
Add attachment menu is visible if a wiki page is read-only
#10383
Features dissappeared: "Description of the file" and "Replace existing attachment of the same name"
#10893
drag and drop "new ticket"

Recent Changes

[13613] by jun66j5 on 2014-01-26 13:08:42
tracdragdrop: replace automatically "No image" with the attached image after it is uploaded
[13480] by jun66j5 on 2013-12-17 20:53:13
tracdragdrop: fixed not handling fetched the image with errors
[13460] by jun66j5 on 2013-12-05 16:16:23
tracdragdrop: prevent word wrapping hints of paste area

Author/Contributors

Author: jun66j5
Maintainer: jun66j5
Contributors:

Attachments (3)

Download all attachments as: .zip