Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (23 sloc) 1.044 kb
# Redmine status updates plugin
require 'redmine'
require 'dispatcher'
require 'status_user_patch'
Dispatcher.to_prepare do
User.send(:include, ::Plugin::Status::User)
ActiveRecord::Base.observers << :status_observer
end
require 'status_layout_hooks'
require 'status_project_hooks'
require 'status_welcome_hooks'
Redmine::Plugin.register :redmine_status do
name 'Redmine Status Updates'
author 'Brian Terlson'
description 'Allow users to add small status updates about what they are working on or finished or what-have-you.'
version '0.1.1'
project_module :statuses do
permission :view_statuses, {:statuses => [:index, :tagged, :tag_cloud, :search], :status_notifications => [:edit, :update]}
permission :create_statuses, {:statuses => [:new, :create]}
end
menu :top_menu, "Status Updates", :controller => 'statuses', :action => 'index', :id => nil, :caption => :redmine_status_title
menu :project_menu, "Status Updates", :controller => 'statuses', :action => 'index', :caption => :redmine_status_title
end
Jump to Line
Something went wrong with that request. Please try again.