Sidebar Issue Control

Added by Victor Dulepov about 2 years ago

Switch issue statuses from sidebar - without opening the Update screen.
For details and the plugin itself see PluginSidebarIssueControl

Replies (12)

RE: Sidebar Issue Control - Added by John B about 2 years ago

Awesome! This is exactly what I was looking for :-)

RE: Sidebar Issue Control - Added by Victor Dulepov about 2 years ago

Updated to 0.1.0. Now possible to reassign issues in the same manner.

RE: Sidebar Issue Control - Added by Mischa The Evil almost 2 years ago

Hello Victor,

I recently tried out v0.1.0 of the plugin on a Redmine 1.0.0 (RC) test-site and found some compatibility issues with Redmine 1.0.0 (RC). While fixing those I also made some other changes and additions I'd like to share with you and/or other users of this useful plugin.

To KISS I'll paste the added CHANGELOG file here:

0.2.0 (16-08-2010) - Tested against Redmine 1.0.0
    * Feature: Added functionality to allow removal of issue assignee when current issues assignee is set only.
    * Fix: Changed the direct links for one-click issue status changes and assignee assignments to be compatible with Redmine 1.0.0.
    * Fix: Removed the planning header in the sidebar and reordered the plugins additions below the old planning links (as in stock Redmine 1.0.0).
    * Enhancement: Made some small code markup enhancements (replaced tabs with spaces, removed superfluous spaces, etc.).
    * Enhancement: Made all the used text-strings i18n'able and added English stubs for Russian language.
    * Enhancement: Added up-to-date translation for the Dutch language.
    * Task: Added CHANGELOG file
    * Task: Added CONTRIBUTORS file

0.1.0 (21-05-2010) - Tested against Redmine 0.9.4
    * Feature: Added functionality to allow issue assignment to available project members from the sidebar in a similar manner.

0.0.3 (07-05-2010) - Tested against Redmine 0.9.2
    Initial public release of the plugin featuring the issue statuses switch functionality in the sidebar.

As you see I have also bumped the version of the plugin to 0.2.0 simply because it's IMO "justified" looking at the changes.
Due to my lack of the Russian language I haven't been able to update the translations for it. Maybe you can complete the translations?
Maybe you can afterwards formally "release" this iteration of the plugin as a 0.2.1 release?

To make it easy I'll attach both a patch file which includes all my changes as well as a packaged version of my iteration of the plugin (thus without an updated Russian translation).

Note: If this takes to much time for you to do and you allow me to do it for you (considering the specific license), you only have to post an updated Russian translation file and I'll do the rest... Just let me know... ;)

 
Kind regards,

Mischa

redmine_issue_control_panel_v0.1.0-to-v0.2.0.patch - v0.1.0 -> v0.2.0 patch (9 kB) Magnifier

redmine_issue_control_panel_v0.2.0.zip - packaged v0.2.0 (5.9 kB)

RE: Sidebar Issue Control - Added by Victor Dulepov over 1 year ago

Hello,
I'm afraid it was quite a long time we did not touch this.
We've posted an updated version compatible with Redmine 1.1.0 to http://www.redmine.org/projects/redmine/wiki/PluginSidebarIssueControl

Mischa, thanks for the update - attached is the ru.yml for your version. Feel free to use it.

ru.yml (239 Bytes) Magnifier

RE: Sidebar Issue Control - Added by Etienne Massip over 1 year ago

If not already done (I can't find them), could you please register your plugins in the Plugin Directory ?

RE: Sidebar Issue Control - Added by Thomas Ruffler over 1 year ago

Hello,

I have installed this plugin to my redmine 1.1.0 version.

Now i have the problem, if I wanna view a ticket I get a internal server error.

I hope someone can help me.

@Processing IssuesController#show (for 94.217.59.239 at 2011-02-20 14:52:42) [GET]
Parameters: {"action"=>"show", "id"=>"19", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/show.rhtml

ActionView::TemplateError (Missing host to link to! Please provide :host parameter or set default_url_options[:host]) on line #6 of app/views/issues/_sidebar.rhtml:
3: <% if @project >
4: <
= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => @project ><br />
5: <
end >
6: <
= call_hook(:view_issues_sidebar_issues_bottom) >
7:
8: <
if User.current.allowed_to?(:view_calendar, @project, :global => true) >
9: <
= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %><br />

lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:144:in `call_hook'
app/views/issues/_sidebar.rhtml:6:in `_run_rhtml_app47views47issues47_sidebar46rhtml_locals_object_sidebar'
app/views/issues/show.rhtml:119:in `_run_rhtml_app47views47issues47show46rhtml'
app/helpers/application_helper.rb:874:in `content_for'
app/views/issues/show.rhtml:118:in `_run_rhtml_app47views47issues47show46rhtml'
app/controllers/issues_controller.rb:117:in `show'
app/controllers/issues_controller.rb:116:in `show'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /var/www/redmine/public/500.html (500 Internal Server Error)
@

RE: Sidebar Issue Control - Added by Jiri Stepanek about 1 year ago

I installed this plugin into Redmine 1.1.2 and find the following error in the log when i try to change issue status from the sidebar. Possibly a bug in the plugin?

Processing IssuesController#update (for 212.24.158.75 at 2011-03-15 13:38:11) [PUT]
  Parameters: {"action"=>"update", "authenticity_token"=>"L3aYz21JijjaeztVM20mBQCjjvOOPL4/9jijYdDdCMg=", "_method"=>"put", "id"=>"1398", "issue"=>{"status_id"=>"5"}, "controller"=>"issues", "back_to"=>"/issues/show/1398"}

NoMethodError (undefined method `collect' for nil:NilClass):
  lib/redmine/hook.rb:63:in `send'
  lib/redmine/hook.rb:63:in `call_hook'
  lib/redmine/hook.rb:63:in `each'
  lib/redmine/hook.rb:63:in `call_hook'
  lib/redmine/hook.rb:60:in `tap'
  lib/redmine/hook.rb:60:in `call_hook'
  app/models/issue.rb:552:in `save_issue_with_child_records'
  app/models/issue.rb:536:in `save_issue_with_child_records'
  app/controllers/issues_controller.rb:170:in `update'
  passenger (2.2.15) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
  passenger (2.2.15) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
  passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
  passenger (2.2.15) lib/phusion_passenger/utils.rb:252:in `safe_fork'
  passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
  passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:163:in `start'
  passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
  passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rails_application'
  passenger (2.2.15) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:247:in `spawn_rails_application'
  passenger (2.2.15) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  passenger (2.2.15) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:246:in `spawn_rails_application'
  passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:145:in `spawn_application'
  passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:278:in `handle_spawn_application'
  passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

Rendering /www/redmine/app/redmine-1.1/public/500.html (500 Internal Server Error)

RE: Sidebar Issue Control - Added by Nikolay Didenko about 1 year ago

Thomas Ruffler wrote:

Hello,

I have installed this plugin to my redmine 1.1.0 version.

Now i have the problem, if I wanna view a ticket I get a internal server error.

I hope someone can help me.

@Processing IssuesController#show (for 94.217.59.239 at 2011-02-20 14:52:42) [GET]
Parameters: {"action"=>"show", "id"=>"19", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/show.rhtml

ActionView::TemplateError (Missing host to link to! Please provide :host parameter or set default_url_options[:host]) on line #6 of app/views/issues/_sidebar.rhtml:
3: <% if @project >
4: <
= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => @project ><br />
5: <
end >
6: <
= call_hook(:view_issues_sidebar_issues_bottom) >
7:
8: <
if User.current.allowed_to?(:view_calendar, @project, :global => true) >
9: <
= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %><br />

Problem is in plugins line:

1o << avatar(u, :size => "14", :style => "float: left; margin-right: 2px;") if avatar(u, :size => "14") != nil

I do not know how to fix it, but i have removed all section of "assignables", beacause in my case it is not so usable (just took place :( )

To Author: it will be great if this plugin have settings:
[*] Show change status section
[*] Show reassignee section

RE: Sidebar Issue Control - Added by Steven Wong 8 months ago

ah, it seems not updated for long time.

I checked it and found it not support the Redmine 1.2.X

Anyone tried OK?

RE: Sidebar Issue Control - Added by Steven Wong 8 months ago

this is the error message.

ActionView::TemplateError (Missing host to link to! Please provide :host parameter or set default_url_options[:host]) on line #14 of app/views/issues/_sidebar.rhtml:
11: <% if User.current.allowed_to?(:view_gantt, @project, :global => true) >
12: <
= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) ><br />
13: <
end >
14: <
= call_hook(:view_issues_sidebar_planning_bottom) >
15:
16: <
= render_sidebar_queries >
17: <
= call_hook(:view_issues_sidebar_queries_bottom) %>

lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:60:in `tap'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:144:in `call_hook'
app/views/issues/_sidebar.rhtml:14:in `_run_rhtml_app47views47issues47_sidebar46rhtml_locals_object_sidebar'
vendor/plugins/redmine_advanced_issues/app/views/issues/show.rhtml:127:in `_run_rhtml_vendor47plugins47redmine_advanced_issues47app47views47issues47show46rhtml'
app/helpers/application_helper.rb:868:in `content_for'
vendor/plugins/redmine_advanced_issues/app/views/issues/show.rhtml:126:in `_run_rhtml_vendor47plugins47redmine_advanced_issues47app47views47issues47show46rhtml'
app/controllers/issues_controller.rb:122:in `show'
app/controllers/issues_controller.rb:121:in `show'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:162:in `start'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:95:in `start'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:92:in `each'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:92:in `start'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:23:in `start'
D:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering rescues/layout (internal_server_error)

RE: Sidebar Issue Control - Added by Mr B 4 months ago

Could it be that you are also using redmine_local_avatars plugin?

If so, I think there's a bug in one of those two plugins (this or the linked one) in a way custom avatars are handled.

I observed similar behavior when I added custom avatar to some of my users - instant "Internal server error" page.

(1-12/12)