Commit Graph

14 Commits

Author SHA1 Message Date
Trevor Vallender 08b49a4263 Add categories to jobs 2023-11-30 19:08:55 +00:00
Trevor Vallender 983e6a3b6a Time budgets use categories, not activities
Refs #2142
2023-11-30 17:38:09 +00:00
Trevor Vallender 6bc0ef80fb Add Budget Category enumeration
Replacing ‘activity’ on budget type with this—they should come from a
user’s role rather than the activity. Going with a generic name though
so this can change over time.
2023-11-30 17:17:10 +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 5d5ea8e302 Fix dependent relationships on Job 2023-11-27 07:53:55 +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 c8c7c195e8 Allow time budgets without an activity 2023-11-24 17:02:12 +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 c6cb6fa64d Let subprojects view their parents’ jobs 2023-11-22 20:11:25 +00:00
Trevor Vallender afcb4c3ccc Show jobs in time entries view 2023-11-22 19:44:13 +00:00
Trevor Vallender 1d4744f108 Show logged time on jobs 2023-11-21 14:37:11 +00:00
Trevor Vallender 73d3066b74 Fix job redirects 2023-11-21 14:09:51 +00:00
Trevor Vallender 6b1646e180 Associate time entries with a job 2023-11-21 14:01:09 +00:00
Trevor Vallender dbeaf3973d Initial commit 2023-11-21 10:48:46 +00:00