speedy32129 / time_logger

Redmine Time logger plugin. More than likely there is only going to be one more public release. New version has new time logging with the option of multiple loggers running at the same time, fixes for excessive loggng, and a whole new look.
Other
58 stars 43 forks source link

Redmine 5.x support #72

Open amoscatelli opened 2 years ago

amoscatelli commented 2 years ago

Please support redmine 5.x I can see errors regarding file time_logger_hooks

petrposvic commented 2 years ago

The first problem is that require_dependency is not available. Here https://www.redmine.org/boards/2/topics/67113 is how to include time_logger_hooks. But after that I had another problem with rendering:

ActionView::Template::Error (Object must be a Date, DateTime or Time object. :label_home given.):
1: <h2><%= l(:label_home) %></h2>
2:
3: <div class="splitcontent">
4: <div class="splitcontentleft">

app/views/welcome/index.html.erb:1
lib/redmine/sudo_mode.rb:61:in `sudo_mode'

I don't resolve where is the problem so downgrade to version 4 :(

dmakurin commented 2 years ago

Check https://github.com/red-soft-ru/time_logger/tree/red2mine it should work