wiki:TracDragDropPlugin

Drag-and-Drop attachments in Trac

Description

This plugin extends the ability to manage attachments in Trac.

Key features:

  • 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:

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

Drag-and-drop capability to attach files:

Uploading files displays a progress bar:

Each attachment has its own drop down menu for further processing:

Bugs/Feature Requests

Existing bugs and feature requests for TracDragDropPlugin are here.

If you have any issues, create a new ticket.

defect

21 / 23

enhancement

8 / 11

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.12.x or later: $ pip install svn+https://trac-hacks.org/svn/tracdragdropplugin/0.12
    • For Trac 0.11.x: $ pip install svn+https://trac-hacks.org/svn/tracdragdropplugin/0.11
  2. Enable the plugin in your trac.ini file:
    [components]
    tracdragdrop.* = enabled
    

Recent Changes

18544 by jun66j5 on 2023-05-12 11:04:53
TracDragDrop: adapt to removed inspect.getargspec since Python 3.11 (closes #14222)
18477 by jun66j5 on 2022-04-09 23:40:21
TracDragDropPlugin: bump up the version to 0.12.0.16
18476 by jun66j5 on 2022-04-09 22:54:14
TracDragDropPlugin: make compatible with Python 3 (closes #14129)
(more)

Author/Contributors

Author: jun66j5
Maintainer: Jun Omae
Contributors: OpenGroove,Inc. and tracpath

Last modified 2 years ago Last modified on Oct 16, 2021, 11:01:27 AM

Attachments (3)

Download all attachments as: .zip