Commit Graph
21 Commits
Author SHA1 Message Date
rickyandClaude Opus 5.5 24d3523078 2026.11.2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 20:06:31 -05:00
rickyandClaude Opus 5.5 c5d3b2d959 2026.11.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:07:44 -05:00
ricky 82ffe7ed49 2026.11.0 2026-10-31 08:51:21 -04:00
ricky 7266f7842a 2026.10.1 2026-10-29 07:35:54 -04:00
Claude 78f53d5d5a Running timers page with view/stop permissions
- New top-menu page listing running timers: owner, issue, project,
  activity, start time, time on this run and entry total, oldest first;
  refreshes every minute
- Role permissions "View running timers" and "Stop other users' timers",
  checked against each timer's project; users can always stop their own
- A timer can be stopped at an earlier time (when the person left):
  hours logged after it are taken off the entry, and the comment notes
  who stopped it and when
- Timers now record when they were started (session_started_at); timers
  running from before show "unknown" until restarted
- Integration tests for permissions, project scoping and stopping; unit
  tests for Timer#stop_for

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-29 07:06:08 -04:00
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
ricky c3d6948735 2026.10.0 2026-10-28 23:59:45 -04:00
Claude fe0933c132 Readable Start/Stop colours, exact selectors, fork notes
- Colour-coded Start/Stop links use #2e7d32 / #c62828, which meet the
  4.5:1 text contrast ratio on white and on the mobile backgrounds
  (limegreen was ~2:1, red ~4:1)
- Selectors match the end of the link address (/timer/start,
  /timer/stop), exactly what stopwatch.js rewrites, instead of any
  address containing "start"/"stop"
- highlighted_links setting uses a string key like default_activity,
  has a default, and the form sends 0 when unticked
- Context-menu hook uses the calling view (hook_caller) instead of
  building a new view context
- README: "Changes in this fork" section (GPLv3 modification notice)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-28 23:54:19 -04:00
ricky ec38414f06 Version Bump 2026-07-29 12:21:42 -04:00
ricky a2fff4a5cf Disabled contex menu patch & bumped required version 2026-07-29 11:29:07 -04:00
ricky e4846bf4ac Updated for redmine 7 2026-07-28 19:17:12 -04:00
Jens Kraemer 3c709b1329 v1.1 for Redmine 6 2025-06-24 15:26:21 +08:00
Jens Kraemer c496fac5e2 Redmine 5 2023-11-03 14:41:58 +08:00
Jens Kraemer 78e47f5b75 start/stop tracking: issue context menu entry 2021-10-05 11:26:51 +08:00
Jens Kraemer 033e1739d2 'Start/Stop tracking' on issues#show 2021-10-05 11:26:51 +08:00
Jens Kraemer bd6711a59f plugin config - default activity setting
- this can be set to make the new 'Start tracking for issue' function a
  one click operation
2021-10-05 11:26:51 +08:00
Jens Kraemer a2096e3208 remove running timer info when the time entry is removed 2021-10-05 10:44:37 +08:00
Jens Kraemer f293ed7348 adds readme, license, Gemfile 2020-07-23 08:37:30 +08:00
Jens Kraemer 30bcd5ff8c show currently running timer in window title, menu item 2020-04-25 17:09:38 +08:00
Jens Kraemer ba92f9fc30 only show menu item if user can log time 2020-04-24 17:22:45 +08:00
Jens Kraemer 70257cdee0 initial commit 2020-04-22 18:03:56 +08:00