Detailed tabs and time in Issue (v 0.1.0)

Added by mark kalender over 4 years ago

Hey everybody,

please bare with me, as its my first public plugin, and my first ruby app, and my first git repo.

inspired by Redmine Issue History Tabs Plugin ,
i rewrote the entire plugin to give better control over the items showing up in tabs.

i also added detailed time logs into the tabs in hopes to make it feel more agile.

http://www.redmine.org/plugins/redmine_issue_detailed_tabs_time
https://github.com/markedagain/redmine_issue_detailed_tabs_time

Replies (21)

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by Pavel Lautsevich over 4 years ago

Thank yo for your work! How long do you plan to support the plug-in?

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by Daniel Felix over 4 years ago

This seem to be a result of #12789.

Maybe this one could find it's way to our trunk.

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by Pavel Lautsevich over 4 years ago

Daniel! Yes please! I have same request — #13298!

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by mark kalender over 4 years ago

hey guys,

i use this for my office and will be using it for a while , im also using this to learn ruby. if ppl like this , no reason why i wont maintain it for a while. ( at least 1 year )

i looked at #13298 and #12789 hopefully this is what u guys are looking for.

let me know any changes u want. i already started adding a new tab for "question" plugin requested by another user this weekend.

p.s. the more ppl mention to me they use then ill have good motivation to keep working on it :) but i will offer at least 1 year lts

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by Chris Sprague over 4 years ago

Is there some other app that must be installed first? I'm asking because the tab view shown in your picture looks nothing like mine after installing and restarting.

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by mark kalender over 4 years ago

Hey Chris,

can u post up a screen shot please or more detail. i know when i built the plugin i was trying to integrate the questions plugin that i use, but since that gave issues to a few ppl i commented out most of does changes.

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by Kos Kub about 4 years ago

Hi, Mark! I've installed your plugin, restarted redmine. Plugin appeared on plugins page. But no tabs has been shown. Here is some screens attached.
My Redmine version is 2.3.2 stable. Maybe i'm doing something wrong? Thank you!

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by Kos Kub about 4 years ago

Ok, I've found a solution. ZIP archive from GitHub contains folder named "redmine_issue_detailed_tabs_time-master". So, after uploading it to plugins folder it needs to be renamed to "redmine_issue_detailed_tabs_time" and everything would be ok. Thank you for this plugin!!

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by mark kalender about 4 years ago

ok glad u worked it out, ill take a look and see if i can fix the zip for future ppl downloading it. there seems to be a compatibility issue also , going to try to get that fixed over the weekend. Glad to see ppl using it :)

RE: Detailed tabs and time in Issue (v 0.0.6) - Added by Sergey H about 4 years ago

Hi Mark,

we just installed your plugin, thanks for your hard work, it seems your plugin will be pretty usefull for us! :)

Please let me know, how can we update your code to have an ability to hide/show tabs for different types of users? Our point is to hide all technical information of "All" and "Activity" tabs from a regular user and show these tabs for Admins only, so for Admin users "selected_tab" by default will be "All" and for all other users will be "Comments", is it possible?

Thanks in advance! :)

RE: Detailed tabs and time in Issue (v 0.1.0) - Added by mark kalender about 4 years ago

Hi Sergey,

i just release your feature request this weekend. hope this is what you are looking for.

here are the key changes in this release 0.1.0

  • Added permission to tabs per role base
  • Switching tabs now alters url to allow tab to load on copy paste of url
  • changes to time log entries to properly work with all roles and not alter entry id

RE: Detailed tabs and time in Issue (v 0.1.0) - Added by Sergey H about 4 years ago

Hi Mark,

just installed new version, works like a charm! :)

Thanks a lot for your support!

RE: Detailed tabs and time in Issue (v 0.1.0) - Added by toto bozo about 4 years ago

Hi Mark,

Works fine but how do change the permission per role base ? (added in v 0.1.0)

RE: Detailed tabs and time in Issue (v 0.1.0) - Added by mark kalender about 4 years ago

Hi toto,

u simply need to go to roles and permissions in the admin tab and select what roles u want tabs to appear for. by default none of the tabs will be selected.

let me know how it goes

Plugin doesn't work - Added by Aris De Natale over 3 years ago

Hello.

I just installed the plugin, renamed the folder removing the "master" at the end of folder name, but seems to not work.

It appears in the plugin page, but no any option in roles to set, and no tabs on issues.

My redmine version is 2.4.3 Maybe it is not compatible or any fix required?

Please let me know, thanks for your job.

RE: Detailed tabs and time in Issue (v 0.1.0) - Added by mark kalender over 3 years ago

did you clone the project ? or downloaded and extracted?

Also the tabs wont appear until there is a reason to do so,, so make sure you are checking on a ticket that has comments or activity

we running on 2.4.1.stable.12396 so i will have to update to see if any issues appears. might have to give me a couple days for me to look into it with detail

RE: Detailed tabs and time in Issue (v 0.1.0) - Added by mark kalender over 3 years ago

oh ya, completely forgot, in roles and permission you need to setup who can see in the issues sub category

view_all
view_comments
view_activity

RE: Detailed tabs and time in Issue (v 0.1.0) - Added by tolik tolik over 3 years ago

Hello.

I use redmine 2.3.2 and I'm trying to install plugin redmine_issue_detailed_tabs_time v. 0.1.0, but unfortunately have no success. After copying plugin datafiles to redmine's plugins folder and restaring redmine I have "Internal error" on any issue's page (non-issue pages seems to work fine).

In the production.log there is an error: ActionView::Template::Error (undefined method `visible_details' for #<Journal:0x0000001f6bab10>)

Here is the full log for my request:

Started GET "/issues/19" for 192.168.17.24 at 2014-03-06 10:16:26 +0400
Processing by IssuesController#show as HTML
  Parameters: {"id"=>"19"}
  Current user: admin (id=1)
  Rendered issues/_action_menu.html.erb (3.1ms)
  Rendered issue_relations/_form.html.erb (1.2ms)
  Rendered issues/_relations.html.erb (2.0ms)
  Rendered plugins/redmine_issue_detailed_tabs_time/app/views/issues/_history.html.erb (13.1ms)
  Rendered issues/show.html.erb within layouts/base (31.2ms)
Completed 500 Internal Server Error in 142ms

ActionView::Template::Error (undefined method `visible_details' for #<Journal:0x0000001f6bab10>):
    23:         </ul>
    24: </div>
    25:
    26: <%= c = draw_entries_in_issue_history_tab(entries, journals).html_safe %>
    27: <% end %>
    28: <% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %>
  app/views/issues/show.html.erb:120:in `_app_views_issues_show_html_erb__3768112807332056880_267822040'
  app/controllers/issues_controller.rb:119:in `block (2 levels) in show'
  app/controllers/issues_controller.rb:116:in `show'

Have you any suggestion, how to make it works?

RE: Detailed tabs and time in Issue (v 0.1.0) - Added by mark kalender over 3 years ago

Hey Tolik,

Can you please post your issue on github
https://github.com/markedagain/redmine_issue_detailed_tabs_time/issues?state=open

I will try to look at your issue today tomorrow

Mark

RE: Detailed tabs and time in Issue (v 0.1.0) - Added by trianglesis trianglesis over 3 years ago

having a problem with this plug. in some issues = error 500
After checking the logs:

Processing by IssuesController#show as HTML
Parameters: {"id"=>"75"}
Current user: kkamelot (id=33)
Rendered issues/_action_menu.html.erb (7.2ms)
Rendered plugins/redmine_issue_checklist/app/views/issues/_checklist.html.erb (10.6ms)
Rendered issue_relations/_form.html.erb (4.0ms)
Rendered issues/_relations.html.erb (8.8ms)
Rendered plugins/redmine_issue_detailed_tabs_time/app/views/issues/_history.html.erb (9.1ms)
Rendered issues/show.html.erb within layouts/base (164.5ms)
Completed 500 Internal Server Error in 431.3ms

ActionView::Template::Error (can't convert nil into String):
23: </ul>
24: </div>
25:
26: <%= c = draw_entries_in_issue_history_tab(entries, journals).html_safe >
27: <
end >
28: <
heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %>
app/views/issues/show.html.erb:120:in `_app_views_issues_show_html_erb___3612068317513695110_49966880'
app/controllers/issues_controller.rb:128:in `block (2 levels) in show'
app/controllers/issues_controller.rb:125:in `show'

Can fix it only by disable plugin.

(1-21/21)