OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/init.rb

30 lines
960 B

15 years ago
require 'redmine'
require 'dispatcher'
Dispatcher.to_prepare do
require_dependency 'version'
require_dependency 'issue'
Issue::SAFE_ATTRIBUTES << "story_points" if Issue.const_defined? "SAFE_ATTRIBUTES"
Issue::SAFE_ATTRIBUTES << "position" if Issue.const_defined? "SAFE_ATTRIBUTES"
end
15 years ago
require_dependency 'backlogs_layout_hooks'
Redmine::Plugin.register :redmine_backlogs do
name 'Redmine Scrum Plugin'
author 'friflaj'
description 'Scrum plugin for Redmine'
version '0.0.1'
settings :default => { :story_tracker => nil, :task_tracker => nil }, :partial => 'settings/backlogs_settings'
15 years ago
project_module :backlogs do
permission :manage_backlog, :backlogs => [:wiki_page, :story_points, :rename, :index, :reorder, :sprint_date, :select_sprint]
15 years ago
end
menu :project_menu, :backlogs, { :controller => 'backlogs', :action => 'index' }, :caption => 'Backlog', :after => :issues, :param => :project_id
end