credativUK / redmine_image_clipboard_paste

Redmine plugin to allow pasting an image from the clipboard into the comment box on the form
GNU General Public License v2.0
41 stars 52 forks source link

The plugin is loaded in every sections of Redmine #6

Open LabriePierre opened 10 years ago

LabriePierre commented 10 years ago

We can see in the Redmine log that redmine_image_clipboard_paste is loaded in every page of Redmine even if it is not required like in the Work_time plugin. How can I correct this behavior ?

Started GET "/work_time/index?day=5&month=5&prj=false&user=1&year=2014" for 127.0.0.1 at Mon May 05 12:32:34 -0400 2014 Processing by WorkTimeController#index as HTML Parameters: {"prj"=>"false", "year"=>"2014", "user"=>"1", "month"=>"5", "day"=>"5"} Current user: labpi02 (id=1) Rendered plugins/redmine_work_time/app/views/work_time/_select_project.html.erb (953.2ms) Rendered plugins/redmine_work_time/app/views/work_time/_user_month_table.html.erb (515.6ms) Rendered plugins/redmine_work_time/app/views/work_time/_user_day_table.html.erb (3843.9ms) Rendered plugins/redmine_work_time/app/views/work_time/show.html.erb within layouts/base (5344.0ms) Rendered inline template (0.0ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_headers.html.erb (15.6ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_add_form.html.erb (0.0ms) Completed 200 OK in 5766ms (Views: 5156.4ms | ActiveRecord: 531.3ms)

tornoz commented 10 years ago

Hi, This doesn't happen on my system. What version of redmine are you using ?

LabriePierre commented 10 years ago

I use 2.1 on a Bitnami stack for Windows and now 2.5 on a Bitnami stack for Linux. I haven't check on 2.5 log if it has the same behavior. It has no bad effects on Redmine except to use memory for nothing and it is the only plugin to do that. On Linux the performance of Bitnami has increased at least by 10.

The plugin is much appreciated by the analyst to record software bugs with screenshots.