Commit Graph

8 Commits

Author SHA1 Message Date
Trevor Vallender a697bbf7be Assign users default time log categories
These will be used to show the amount logged against specific time
budgets on each project. It’s potentially a little naïve but we can
start with the simpler approach and see.

Refs #2165
2023-11-30 19:50:20 +00:00
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 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 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 6b1646e180 Associate time entries with a job 2023-11-21 14:01:09 +00:00
Trevor Vallender 2384c4eb00 wip 2023-11-21 12:14:34 +00:00
Trevor Vallender dbeaf3973d Initial commit 2023-11-21 10:48:46 +00:00