Commit Graph
10 Commits
Author SHA1 Message Date
Claude 626db60658 Timer safety: length limit, server-side saving, stop on close
- Maximum timer length setting (default 10h): a timer that runs past it
  is stopped at the limit and its entry's comment is flagged, so a
  forgotten timer can't add a night or weekend of hours
- StopwatchTimerTickJob saves a running timer's time every minute on the
  server (no browser needed) and stops it at the limit on time; open
  tabs keep saving too
- Timer updates lock the user's preference row and re-read the timer, so
  simultaneous saves (several tabs, the job) never add time twice
- Closing an issue stops timers running on it before anything else (e.g.
  billing) uses its time; deleting a time entry only stops the timer
  running on that entry
- Issue timers require a visible issue; starting again moves the timer
  instead of raising "timer is already running"
- Tests updated and extended (limit, locking, tick job, close, delete,
  visibility, issue context menu); CI runs on Redmine 7.0
- Upstream's German notes translated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-29 00:13:21 -04:00
Jens Kraemer 033e1739d2 'Start/Stop tracking' on issues#show 2021-10-05 11:26:51 +08:00
Jens Kraemer d32845cc6e extract controller base class 2021-10-05 11:26:51 +08:00
Jens Kraemer 317aa08365 time entry form fixes
- issue selection selects the project accordingly
- issue / project selection updates available activities
- move project / issue selector to top. more logical this way, since
making a selection there may change the available activities
2021-10-05 11:26:51 +08:00
Jens Kraemer 6c51ef795a always show the running timer in the timers list #5 2021-08-31 14:24:24 +08:00
MAEDA Go 4c9539c59a Clicking "Log time" causes NoMethodError 2020-08-04 23:14:37 +09:00
Jens Kraemer 5653845c28 updating entries from overlay 2020-07-23 08:35:01 +08:00
Jens Kraemer 30bcd5ff8c show currently running timer in window title, menu item 2020-04-25 17:09:38 +08:00
Jens Kraemer 20ccbba2c1 works, basically 2020-04-24 17:20:18 +08:00
Jens Kraemer 70257cdee0 initial commit 2020-04-22 18:03:56 +08:00