feat(calendar): finish PMS-58 story (appointments, availability, time-off, on-call) #28
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/calendar-story-pms-58"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements YouTrack story PMS-58 (calendar / scheduling). Targets
main.Sub-tasks
calendarmodule withmodels.rs+service.rs).GET /on-call/nowresolver (weekly / daily rotation math; custom is owner-defined).Behaviour-visible changes
/api/v1/appointments*,/api/v1/users/:id/availability,/api/v1/time-off*,/api/v1/on-call-schedules*,/api/v1/on-call/nowmove from 501 to real reads/writes./api/v1/calendar/eventsstill returns the empty placeholder vec.Test plan
cargo check --bin mokosh-serverclean.POST /appointmentsthenGET /appointments?user_id=<id>returns it.PUT /users/:id/availability {"windows": [...]}thenGETround-trips.POST /time-off->POST /time-off/:id/approval {"status":"approved"}flips the status.Closes #PMS-58
Pull request closed