Ross
18a45ff87e
refactor: change days type to Optional[int] in PreShiftConstraint and PostShiftConstraint
2025-12-12 22:35:06 +00:00
Ross
f6dd9285a5
.
2025-12-12 22:31:07 +00:00
Ross
00f09d5e5b
.
2025-12-11 21:59:35 +00:00
Ross
1565241de6
.
2025-12-09 22:18:46 +00:00
Ross
d8ef96c486
.
2025-12-09 22:16:34 +00:00
Ross
1ce1b75739
.
2025-12-09 21:50:04 +00:00
Ross
4011fa3627
.
2025-12-09 21:48:32 +00:00
Ross
d28b441edd
.
2025-12-09 21:35:38 +00:00
Ross
2de9986149
.
2025-12-09 21:20:39 +00:00
Ross
c94c204d51
.
2025-12-09 21:12:05 +00:00
Ross
3906ab3c55
.
2025-12-09 20:59:40 +00:00
Ross
ecd09f3701
add django templates
2025-12-09 20:58:00 +00:00
Ross
48c219281e
enhance rota_options view to support typed form submissions and improve error handling
2025-12-09 20:43:46 +00:00
Ross
724e3ab6bd
.
2025-12-09 18:07:54 +00:00
Ross
78b6ba2a3b
fix small test error
2025-12-09 14:35:37 +00:00
Ross
dfd37a7a62
update tests
2025-12-09 14:29:54 +00:00
Ross
069da08f5a
start switching constraint options
2025-12-09 14:09:41 +00:00
Ross
05edb93427
start improving constraint options
2025-12-09 13:41:26 +00:00
Ross
dadc940993
.
2025-12-09 13:23:17 +00:00
Ross
ae52d80f98
.
2025-12-09 12:57:19 +00:00
Ross
3feb5fc7a3
.
2025-12-09 12:42:16 +00:00
Ross
40135a282d
.
2025-12-09 12:36:18 +00:00
Ross
e6943ccfc7
.
2025-12-09 12:16:59 +00:00
Ross
c63d4d1585
.
2025-12-09 12:07:26 +00:00
Ross
eb95f5fa6d
.
2025-12-09 11:55:00 +00:00
Ross
7fe44df476
.
2025-12-09 11:50:02 +00:00
Ross
5a2704b1d2
.
2025-12-09 11:37:49 +00:00
Ross
91b6fdd733
.
2025-12-09 11:35:52 +00:00
Ross
3f73316dbf
.
2025-12-09 10:32:24 +00:00
Ross
1d66ab185a
iterate
2025-12-09 10:32:17 +00:00
Ross
4927697621
start the django
2025-12-09 10:01:04 +00:00
Ross
a230c9d94c
start a django app
2025-12-09 09:49:54 +00:00
Ross
116cc1af64
.
2025-12-08 22:45:10 +00:00
Ross
cd52d53381
.
2025-12-08 21:17:30 +00:00
Ross
4a8c478a73
Add allow_self option to PostShiftConstraint and PreShiftConstraint for flexible shift assignment
2025-12-08 17:47:19 +00:00
Ross
3f4d8068eb
Add max days per week block constraint and exclude days for shift constraints
2025-09-18 21:00:31 +01:00
Ross
fdce572f6d
Fix weekend shift initial extraction and update worker start/end dates for leave requests
2025-09-18 20:14:23 +01:00
Ross
331d57dd8f
Enhance leave request handling and improve error logging in RotaBuilder
2025-09-17 22:25:28 +01:00
Ross
e1aec5011c
Add option to allow force assignment with leave conflict in RotaBuilder
2025-09-17 21:35:52 +01:00
Ross
47bfb16891
Refactor logging implementation to use Loguru for improved logging management and add warnings for unknown leave values and worker site validation.
2025-09-17 21:21:23 +01:00
Ross
7cd2cec65c
Add toggle for showing shift names and button to remove shift colours in timetable
2025-08-12 11:53:11 +01:00
Ross
d55b1d38ea
Add worker checkboxes and help text to shift timetable for improved usability
2025-08-12 11:43:53 +01:00
Ross
0599586f47
Add worker filter input to shift timetable and update rendering logic
2025-08-12 11:20:51 +01:00
Ross
f31a54d512
Refactor renderShiftTimetable to enhance list view with date, week, and day headers, and improve worker assignment display with color coding for selected shifts.
2025-08-12 11:19:21 +01:00
Ross
7b16f8d82a
Add shift selection toggle and help text to timetable options
2025-08-12 10:28:08 +01:00
Ross
3b3d432694
Refactor RotaBuilder export functionality and enhance display of run times with improved layout
2025-08-11 16:31:27 +01:00
Ross
45837597d9
Add color coding for selected shifts in timetable and update button styles
2025-08-11 14:16:27 +01:00
Ross
b72d33189c
Add ignore_shifts parameter to PostShiftConstraint and PreShiftConstraint
2025-08-11 13:56:43 +01:00
Ross
76f3b48c1d
Refactor shift constraints in tests to use new constraint classes
...
- Updated test cases in `test_workers.py` to replace dictionary-based constraints with instances of `PreShiftConstraint`, `PostShiftConstraint`, and `MaxShiftsPerWeekConstraint`.
- Added a new test `test_worker_assign_as_block_preference2` to verify worker preferences for block assignments.
- Marked tests as slow where appropriate to improve test suite performance.
2025-08-11 13:03:08 +01:00
Ross
d7bcfce78c
Implement hard day exclusions for workers and add corresponding tests
2025-08-10 22:00:31 +01:00