Giter Club home page Giter Club logo

redmine_timelog_timer's People

Contributors

behigh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redmine_timelog_timer's Issues

Don't work with redmine 2.1-stable

Hello,

I saw that your plugin was listing to be compatible with redmine-2.3 only.
I tested it on 2.1-stable, and it doesn't work (404 error). I don't know if it's volontary or not, so I created an issue.

Léo.

Documentation : How it is used

Is timer running beyond session?
Is timer running beyond browser tab /opened site ?
Is timer running beyond browser open?

Doesn't works on Redmin 3.0.3

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.2ms)

ActionView::Template::Error (Missing partial timelog/_timer with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rsb]}. Searched in:

  • "/var/data/redmine/app/views"
    ):
    11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    12: <%= javascript_heads %>
    13: <%= heads_for_theme %>
    14: <%= call_hook :view_layouts_base_html_head %>
    15:
    16: <%= yield :header_tags -%>
    17:
    lib/redmine/hook.rb:119:in block (2 levels) in render_on' lib/redmine/hook.rb:117:inmap'
    lib/redmine/hook.rb:117:in block in render_on' lib/redmine/hook.rb:61:inblock (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:inblock in call_hook'
    lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:incall_hook'
    lib/redmine/hook.rb:167:in call_hook' app/views/layouts/base.html.erb:14:in_app_views_layouts_base_html_erb__1711632816929489333_35261820'
    app/controllers/application_controller.rb:469:in block (2 levels) in render_error' app/controllers/application_controller.rb:467:inrender_error'
    app/controllers/application_controller.rb:455:in render_404' app/controllers/application_controller.rb:479:inmissing_template'

time sharing and time control for working hours

Every user can enter working hours in my account).Defaults are configurable by admin.

There is a week view which sums recorded time per day and substracts it from day's working hour.
The view shows a table with column per day (monday-sunday, but only for days with working hours> 0) and a row for every issue with logged time for that day. The last row shows substraction of "working hours for this day" minus "sum of all issues logged time per day"

his way everyuser overview if time is shared correctly.
If not thete is the possibility (dependent on rights to change values), e.g +1 hour for an issue and minus 1 another or so.

Initial time parsing

  1. Initial time parsing seems to run on and off depending on start/stop. Actions to check:
  • type initial value
  • start
  • change value in input
  • stop
  • change value in input
  • start
    You will notice various inconsistencies in repeating steps above
  1. It would be nice if the plugin would support redmine's time formats (i.e. 5h20m), for the time log input field, as the users have a hard time dealing with fractionary hours

Server-side storage

It would be nice if there were a server-side storage for timers' start times. It would provide the following features:

  • List of what users are working on at the moment; this would be an extremely nice feature to have
  • Possibility to stop a timer on a different computer/browser/timezone than where it's started. We have a workflow where developers change locations during a day, and they most often than not forget to log the time before logging off a station.
  • No more need for client-side session storage, on every init the client JS will get the "time elapsed so far" data from the server and start incrementing for visualization purposes only, as the actual delta is always computed on the server

Session level persistence

I am planning to implement something like "session level persistence". Have you planned it or anything like that (maybe already done it)?

How to get it working with Redmine 5.0.5

Redmine does not start up - the following error is there in /var/log/apache2/error.log
[ E 2023-07-13 18:08:55.2012 14204/Tf age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /srv/redmine-5.0.5: The application encountered the following error: cannot load such file -- timelog_timer_hook_listener (LoadError)
This is the environment I am using:

Environment:
  Redmine version                5.0.5.stable
  Ruby version                   3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]
  Rails version                  6.1.7.2
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Default
SCM:
  Git                            2.34.1
  Filesystem                     
Redmine plugins:
  redmine_local_avatars          1.0.5.3.0

please add 'type="button"' to Start/Stop button

Hello!

Your plugin adds to some forms. Default type of button is 'submit'. When user press ENTER in the form, the first form's element of type 'submit' is activated. In case of your pligin it will be your button, so user by pressing ENTER gets start/stop timer action instead of expected complete form and submit it to the server.

Changing it to avoided this problem.

Thank you!

Not working with redmine 2.2.1

Installed in plugins/timelog_timer:

Environment:
Redmine version 2.2.1.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.11

production.log not showing errors

it seemed not support redmine2.1.4?

I test it on redmine 2.1.4 and found it does not work.
the error is

Started GET "/" for 192.168.3.196 at 2012-12-21 13:37:01 +0800
Processing by WelcomeController#index as HTML
Current user: wangshuangying (id=190)
Rendered news/_news.html.erb (8.4ms)
Rendered welcome/index.html.erb within layouts/base (17.2ms)
Rendered plugins/advanced_roadmap/app/views/hooks/_stylesheet.html.erb (0.4ms)
Rendered plugins/redmine_cut_tag/app/views/hooks/redmine_cut_tag/_includes.html.erb (0.7ms)
Rendered plugins/redmine_improved_searchbox/app/views/redmine_improved_searchbox/_redmine_improved_searchbox_partial.html.erb (0.1ms)
Rendered plugins/redmine_private_wiki/app/views/hooks/_html_header.html.erb (0.2ms)
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.2ms)
Rendered plugins/advanced_roadmap/app/views/hooks/_stylesheet.html.erb (0.5ms)
Rendered plugins/redmine_cut_tag/app/views/hooks/redmine_cut_tag/_includes.html.erb (0.7ms)
Rendered plugins/redmine_improved_searchbox/app/views/redmine_improved_searchbox/_redmine_improved_searchbox_partial.html.erb (0.1ms)
Rendered plugins/redmine_private_wiki/app/views/hooks/_html_header.html.erb (0.1ms)
Completed 500 Internal Server Error in 88ms

ActionView::Template::Error (Missing partial timelog/timer with {:locale=>[:zh, :en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in:

  • "/opt/lampp/htdocs/redmine_2_1/plugins/unread_issues/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_xls_export/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_vividtone_my_page_blocks/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_testlinklink/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_spent_time/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_smart_issues_sort/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_reorder_links_arbitrary/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_refresh/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_projects_accordion/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_private_wiki/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_preview_attach_column/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_monitoring_controlling/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_logs/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_local_avatars/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_lightbox/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_knowledgebase/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_issue_checklist/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_inline_attach_screenshot/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_information/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_improved_searchbox/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_graphs/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_extra_query_operators/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_evm/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_didyoumean/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_cut_tag/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_csv_file_importer/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_close_button/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_ckeditor/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/redmine_changeauthor/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/plugins/advanced_roadmap/app/views"
  • "/opt/lampp/htdocs/redmine_2_1/app/views"
    ):
    11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    12: <%= javascript_heads %>
    13: <%= heads_for_theme %>
    14: <%= call_hook :view_layouts_base_html_head %>
    15:
    16: <%= yield :header_tags -%>
    17:
    lib/redmine/hook.rb:111:in block in render_on' lib/redmine/hook.rb:61:inblock (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:inblock in call_hook'
    lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:incall_hook'
    lib/redmine/hook.rb:158:in call_hook' app/views/layouts/base.html.erb:14:in_1228a8285bc6050fcbbf7dd4a481fe8f'
    app/controllers/application_controller.rb:360:in block (2 levels) in render_error' app/controllers/application_controller.rb:358:inrender_error'
    app/controllers/application_controller.rb:346:in render_404' app/controllers/application_controller.rb:370:inmissing_template'

multi timer guess

If i click start time recoding for an issue and another second timer is already running, i would
like to be asked following:

  • Takeover logged time xx:xx of issue "title of issue and numer" to this issue
  • Stop timer of issue and discard logged time
  • Stop timer of issue "title of issue and numer" of issue" and log time
  • Keep on recording time for issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.