forked from southbridgeio/redmine_intouch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.rb
29 lines (26 loc) · 1.16 KB
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FileUtils.mkdir_p(Rails.root.join('log/intouch')) unless Dir.exist?(Rails.root.join('log/intouch'))
require 'redmine'
require_dependency 'intouch'
require_dependency 'intouch/hook_listener'
require_dependency 'intouch/patches/projects_helper_patch'
require_dependency 'intouch/patches/project_patch'
require_dependency 'intouch/patches/issue_patch'
require_dependency 'intouch/patches/issue_priority_patch'
require_dependency 'intouch/patches/issue_status_patch'
require_dependency 'intouch/patches/user_patch'
Redmine::Plugin.register :redmine_intouch do
name 'Redmine Intouch plugin'
url 'https://github.com/olemskoi/redmine_intouch'
description 'This is a plugin for Redmine which sends a reminder email and Telegram messages to the assignee workign on a task, whose status is not updated with-in allowed duration'
version '0.1.18'
author 'Centos-admin.ru'
author_url 'http://centos-admin.ru'
settings(default: {'active_protocols' => %w(email)},
partial: 'settings/intouch')
project_module :intouch do
permission :manage_intouch_settings, {
projects: :settings,
intouch_settings: :save,
}
end
end