behigh / redmine_timelog_timer Goto Github PK
View Code? Open in Web Editor NEWA simple javascript timer for timelog form
License: Other
A simple javascript timer for timelog form
License: Other
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.
Is timer running beyond session?
Is timer running beyond browser tab /opened site ?
Is timer running beyond browser open?
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:
block (2 levels) in render_on' lib/redmine/hook.rb:117:in
map'block in render_on' lib/redmine/hook.rb:61:in
block (2 levels) in call_hook'each' lib/redmine/hook.rb:61:in
block in call_hook'tap' lib/redmine/hook.rb:58:in
call_hook'call_hook' app/views/layouts/base.html.erb:14:in
_app_views_layouts_base_html_erb__1711632816929489333_35261820'block (2 levels) in render_error' app/controllers/application_controller.rb:467:in
render_error'render_404' app/controllers/application_controller.rb:479:in
missing_template'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.
It would be nice if there were a server-side storage for timers' start times. It would provide the following features:
I am planning to implement something like "session level persistence". Have you planned it or anything like that (maybe already done it)?
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
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!
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
Hi there,
Are there any plans to support 3.0.x version?
Cheers,
Dmitry
:(
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:
block in render_on' lib/redmine/hook.rb:61:in
block (2 levels) in call_hook'each' lib/redmine/hook.rb:61:in
block in call_hook'tap' lib/redmine/hook.rb:58:in
call_hook'call_hook' app/views/layouts/base.html.erb:14:in
_1228a8285bc6050fcbbf7dd4a481fe8f'block (2 levels) in render_error' app/controllers/application_controller.rb:358:in
render_error'render_404' app/controllers/application_controller.rb:370:in
missing_template'If i click start time recoding for an issue and another second timer is already running, i would
like to be asked following:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.