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.

Installation

  1. 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
  2. Enable the plugin in trac.ini:
    [components]
    tracdragdrop.* = enabled
    

Screenshots

Drag-and-drop
Uploading
Menu

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

[12044] by jun66j5 on 09/21/12 14:18:13

tracdragdrop: follow-up to r12043, fixed missing _escape_chars variable

[12043] by jun66j5 on 09/21/12 14:16:10

tracdragdrop: fixed unavailable javascript_quote and req.redirect_listeners on Trac 0.11.2 and escaping &<> on genshi templates

[12033] by jun66j5 on 09/20/12 12:54:03

tracdragdrop: uses only tracdragdrop-js domain for translations if possible

[12032] by jun66j5 on 09/20/12 11:34:13

tracdragdrop: fixed warnings about BlobBuilder and Uint8Array.buffer on Chrome 21

Author/Contributors

Author: jun66j5
Maintainer: jun66j5
Contributors:

Attachments