Commit Graph

20 Commits

Author SHA1 Message Date
Luca f63f565ca6 fix(fallback): use required_helpers of room if shift required_helpers is 0 2024-05-20 22:41:17 +02:00
Luca 99285186e5 fix(fallback): missing conversion from float to int 2024-05-20 18:44:36 +02:00
Luca fecdf70ac5 fix(fallback): use fractional part of setpoint as extra shift chance 2024-05-20 18:40:19 +02:00
Luca 7242ed2edd feat(fallback): add bucket for last night shifts from 20:00 on 2024-05-20 00:31:58 +02:00
Luca 15475e2eec feat(fallback): add comment field to TeamMember 2024-05-19 23:32:15 +02:00
Luca 5ac11e16e8 ci: check code style 2024-05-03 22:05:06 +02:00
Andreas (@xAndy) Zimmermann 450556592b deactivate shift backup assignments if full 2023-05-19 20:00:05 +02:00
Andreas (@xAndy) Zimmermann 90fe5cd481 team shift qol 2023-05-15 12:09:35 +02:00
Luca f793d73b28 Convert url slug to integer TeamMember id 2023-05-13 19:52:28 +02:00
Luca d186f048fb Change TeamMember id field to random ids 2023-05-13 19:32:23 +02:00
Luca 8c37c8b34d Clean up code 2023-05-13 17:38:40 +02:00
Andreas (@xAndy) Zimmermann 3f07acfbd5 fair shift distribution, no overlapping shifts 2023-05-13 16:25:33 +02:00
Andreas (@xAndy) Zimmermann e774ed833b more equality 2023-05-13 15:15:19 +02:00
Andreas (@xAndy) Zimmermann 534b504460 dont overwrite other bucket shifts during assignment 2023-05-13 15:15:19 +02:00
Andreas (@xAndy) Zimmermann d1e06d00ec first assignment prototype 2023-05-13 15:15:19 +02:00
Florian Sorg 25c2c1bee9 you do wanna make me cry and i wanna say goodbye 2023-05-13 00:44:55 +02:00
Luca eb21bfe099 Reformat code using black 2023-05-10 23:42:27 +02:00
Florian Sorg 01ac707ab7 implement fallback assignment admin view, dumb random fallback assignment 2023-05-10 00:21:49 +02:00
Florian Sorg 1cbaf07cae implement data structures for fallback, remove incompatible code 2023-05-07 18:07:45 +02:00
Florian Sorg d9e7a42260 add fallback app and team member model 2023-05-06 22:43:00 +02:00