Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (16 sloc) 0.692 kb
657d054 @martin-denizet Original plugin, version 0.1.0
authored
1 require 'redmine'
2 require 'dispatcher'
3 require 'application_patch'
4 require 'cleanup_tmp'
5
6 require_dependency 'attachment_hook'
7
8 Redmine::Plugin.register :redmine_attach_screenshot do
9 name 'Redmine Attach Screenshot plugin'
2dc5342 @martin-denizet Version bump and Readme update.
authored
10 author 'Konstantin Zaitsev, Sergei Vasiliev, Alexandr Poplavsky, Jens Alfke, modified by Martin Denizet'
24388f7 @martin-denizet Version bump and changelog edition.
authored
11 author_url 'https://github.com/martin-denizet'
657d054 @martin-denizet Original plugin, version 0.1.0
authored
12 description 'Attach screenshots from clipboard directly to a Redmine issue'
32cf5a9 @martin-denizet Version bump and CHANGELOG update.
authored
13 version '0.1.4'
b3b7b30 @jkraemer fix stacklevel too deep error
jkraemer authored
14 end
15
16 Dispatcher.to_prepare do
17 ApplicationController.send(:include, AttachScreenshotPlugin::ApplicationControllerPatch)
18 AccountController.send(:include, AttachScreenshotPlugin::CleanupTmp)
657d054 @martin-denizet Original plugin, version 0.1.0
authored
19 end
Something went wrong with that request. Please try again.