Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Redmine plugin to allow pasting an image from the clipboard into the comment box on the form

License

Notifications You must be signed in to change notification settings

credativUK/redmine_image_clipboard_paste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine Image Clipboard Paste

Plugin for redmine which allows pasting image data from the clipboard directly into the comments input field on a new ticket or comment. The image will be given an arbitrary filename and added as an attachment and also inserted into the comment text using Redmine's markup language.

Features

  • Paste images from the clipboard
  • Drag and drop image files directly into the input element
  • Added to ticket as an attachment
  • Added into the comment text field using Redmine's markup language

Getting the plugin

A copy of the plugin can be downloaded from GitHub: http://github.com/credativUK/redmine_image_clipboard_paste

Installation

To install the plugin clone the repro from github and migrate the database:

cd /path/to/redmine/
git clone git://github.com/credativUK/redmine_image_clipboard_paste.git plugins/redmine_image_clipboard_paste
rake db:migrate_plugins RAILS_ENV=production

To uninstall the plugin migrate the database back and remove the plugin:

cd /path/to/redmine/
rake db:migrate:plugin NAME=redmine_image_clipboard_paste VERSION=0 RAILS_ENV=production
rm -rf plugins/redmine_image_clipboard_paste

Further information about plugin installation can be found at: http://www.redmine.org/wiki/redmine/Plugins

Compatibility

The latest version of this plugin is only tested with Redmine 2.3.x.

Browser compatibility will be an issue since it is making use of the FileAPI which is still a working draft at time of writing and each browser has it's own implementation of this.

Paste is only supported by WebKit based browsers. Drag and drop should be supported by all modern browsers, tested with Chrome, Firefox and IE.

License

This plugin is licensed under the GNU GPLv2 license. See LICENSE-file for details.

Copyright

Copyright (c) 2013 credativ Ltd.

About

Redmine plugin to allow pasting an image from the clipboard into the comment box on the form

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published