Commit Graph

14 Commits

Author SHA1 Message Date
Trevor Vallender 60e1f72a45 Add journals to Jobs to track changes
Redmine uses journals to track changes to Issues. Whilst theoretically a
polymorphic association, there are a bunch of places where it is assumed
this is an issue, so we have to account for that and start patching
things.

Refs #3320
2024-02-27 17:30:50 +00:00
Trevor Vallender c2e16d729d Allow markup in job descriptions
Refs #2863
2024-01-21 16:07:41 +00:00
Trevor Vallender f79603dd46 Link to time logs from job show page
Refs #2862
2024-01-21 15:22:30 +00:00
Trevor Vallender 3b109aa9a7 Add errors to jobs show page
This means we can see the errors when deletion fails.

Refs #2654
2024-01-09 08:27:14 +00:00
Trevor Vallender 213cc31275 Stop using issue class on jobs
Refs #2185
2023-12-19 09:44:26 +00:00
Trevor Vallender 244c8f1a07 Various small fixes
Particularly prevents blowing up on validation error

Completes #2187
2023-12-04 13:04:51 +00:00
Trevor Vallender 08b49a4263 Add categories to jobs 2023-11-30 19:08:55 +00:00
Trevor Vallender b93204d126 Remove external project ID
If we _do_ integrate with an external service, a different plugin should
add that.

Resolves #2164
2023-11-30 16:50:56 +00:00
Trevor Vallender 0a265fbbce Use standard Redmine progress bars
Proper HTML ones would be nicer, but this increases consistency with the
rest of Redmine which is more important here. Maybe a PR is in the
offing…
2023-11-27 08:55:57 +00:00
Trevor Vallender d83c3b3e48 Update paths
Use the much nicer /project/:project_id/jobs format
2023-11-26 20:52:05 +00:00
Trevor Vallender 4b83753e71 Time budgets per activity
Add a TimeBudget model which allows a job to have a time budget for each
activity type. We’re allowing nil as a holder for a generic budget,
though there’s currently no way to use that.

We automatically delete any time budgets which are set to zero.
2023-11-24 15:05:38 +00:00
Trevor Vallender 9294216abc Restyle views
This increases consistency with the rest of Redmine.
2023-11-22 19:52:50 +00:00
Trevor Vallender 1d4744f108 Show logged time on jobs 2023-11-21 14:37:11 +00:00
Trevor Vallender dbeaf3973d Initial commit 2023-11-21 10:48:46 +00:00