wiki:TracDragDropPlugin

Version 21 (modified by Jun Omae, 5 years ago) (diff)

Add highlight

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 [download:tracdragdropplugin 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

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
#10893
drag and drop "new ticket"
#12738
Additional selection of image size
#13044
Image on clipboard cannot be pasted on Trac 1.2

Recent Changes

16332 by jun66j5 on 2017-03-16 09:46:49
tracdragdrop: add description and replace inputs to the form, and replacing files by drop+shift (closes #10383)
15437 by jun66j5 on 2016-03-15 11:55:39
TracDragDropPlugin: fix overlapped upload queue are and Download all attachments as: .zip message
15223 by jun66j5 on 2016-02-06 20:13:20
TracDragDropPlugin: bump up the version to 0.12.0.13
(more)

Author/Contributors

Author: jun66j5
Maintainer: jun66j5
Contributors:

Attachments (3)

Download all attachments as: .zip