Sidebar Issue Control

Added by Victor Dulepov over 7 years ago

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

Replies (23)

RE: Sidebar Issue Control - Added by John B over 7 years ago

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

RE: Sidebar Issue Control - Added by Victor Dulepov over 7 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 over 7 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 Magnifier - v0.1.0 -> v0.2.0 patch (9 KB)

redmine_issue_control_panel_v0.2.0.zip - packaged v0.2.0 (5.91 KB)

RE: Sidebar Issue Control - Added by Victor Dulepov almost 7 years 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 Magnifier (239 Bytes)

RE: Sidebar Issue Control - Added by Etienne Massip almost 7 years 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 almost 7 years 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 almost 7 years 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 over 6 years 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:

o << 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 about 6 years 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 about 6 years 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 almost 6 years 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.

RE: Sidebar Issue Control - Added by Jan Niggemann (redmine.org team member) over 5 years ago

Anyone using this in 1.4.x? This plugin adds the "one-click to close/reassign/whatever" functionality missing in stock redmine...

RE: Sidebar Issue Control - Added by Sergey Belov over 5 years ago

is it working with 2.0.x ?

RE: Sidebar Issue Control - Added by Rachid B over 5 years ago

Anyone got it working with 2.0?

RE: Sidebar Issue Control - Added by Stefan Strasser about 5 years ago

Chiliproject >= 3.2.0 uses the gem gravatarify instead of the vendor gravatar-lib. This plugin (0.3.0) therefore does not work with these versions.

To solve this issue please find attached a little patch. I tried to keep it as general that it should be useable on redmine and older chiliproject-versions also.


The patch has not been tested with redmine (if I use this plugin on a current version of redmine I get the following error - even without this patch):

ActionView::Template::Error (undefined local variable or method `request' for #<PanelIssueHooks:0xb5819664 @_routes=nil>):
    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 />
  app/helpers/application_helper.rb:1201:in `avatar'
  lib/redmine/hook.rb:61:in `send'
  lib/redmine/hook.rb:61:in `call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:158:in `call_hook'
  app/views/issues/_sidebar.html.erb:6:in `_app_views_issues__sidebar_html_erb__1009359998__623515748'
  app/views/issues/show.html.erb:146:in `_app_views_issues_show_html_erb___308864425__624556808'
  app/helpers/application_helper.rb:1178:in `content_for'
  app/views/issues/show.html.erb:145:in `_app_views_issues_show_html_erb___308864425__624556808'
  app/controllers/issues_controller.rb:117:in `show'
  app/controllers/issues_controller.rb:114:in `show'

RE: Sidebar Issue Control - Added by Razor7 Razor7 about 5 years ago

The same here, is not working on redmine 2.1.2 stable, please fix! Thanks!

RE: Sidebar Issue Control - Added by Svyatogor Chuykov about 5 years ago

Alas, upper patch has no use, imho because of the library differencies between redmine and chilliproject

RE: Sidebar Issue Control - Added by Vitaly Litvak almost 5 years ago

v. 0.3.0 works out of the box with redmine 2.2.3

RE: Sidebar Issue Control - Added by Svyatogor Chuykov almost 5 years ago

It does not works if you using avatars available in redmine from version 2. It works, if you disable using of avatars

RE: Sidebar Issue Control - Added by mark kalender almost 5 years ago

is there a repo on git or somewhere we can track issues and patches?

RE: Sidebar Issue Control - Added by Michaël Marinetti over 4 years ago

Hi, I forked it with the "avatar bug" fix here : https://github.com/asenar/redmine_issue_control_panel/ and added french translations

But the original github repo is located here : https://github.com/nistude/redmine_issue_control_panel (nothing since 2 years)

Feel free to use it, but as I m absolutely not ruby skilled, feel free to do it

RE: Sidebar Issue Control - Added by Quan VN over 4 years ago

This seems to give similar functionality, and work with 2.x (i am using it with 2.3.2)
http://www.redmine.org/plugins/status_button

(1-23/23)