Put schedule_interview and the calendar's dated things on the plugin surface (#330) #1087
No reviewers
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo!1087
Loading…
Reference in a new issue
No description provided.
Delete branch "330-interview-surface"
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?
A plugin pairing an event made elsewhere with something on Postulo
(postulo/postulo-dav#11) could neither make an interview nor read the
calendar's deadlines, closing dates and answer dates.
schedule_interview,InterviewKindandInterviewRefusedare on thesurface. The checks the form and the API made first now live in the
service (
interview_refusals): a kind that is anInterviewKind, anend after the start, and everybody met the owner's own contact at the
application's company. The form asks it in
clean()and the API mapseach refusal onto the words it already answered with, so the three are
refused alike, before anything is written.
InterviewRefusedis aValueErrorwhosefieldnames the argument. The day-ahead reminderis made through
create_reminder(#331), with the interview's actor.calendar_items(user, start, end, kinds=None)reads the Calendarpage's dated things through
events_betweenas plain values(
CalendarItem, inCalendarItems): kind, the page's two lines, themoment in the person's own zone or the day, whether it is over, the
path and a calendar uid. It runs in the person's zone and language
whoever calls it. A whole day carries the
DayEntrythe feed writes,and
day_linesis on the surface to write it. With POSTULO_PUBLIC_URLunset there are no whole days (a UUID over a bare path collides
between instances), and
withheldsays why.event_lineskeeps nouid=, noOfferor
JobPostingand noabsolute_urlon the surface.Closes #330
Notes for review
schedule_interview,InterviewKindandInterviewRefused, aValueErrorwith afield.interview_refusals: the kind, the end after the start, and every contact being the owner's own and at the company.create_reminder, actor included.calendar_items(user, start, end, kinds=None): a plain-values view of the calendar.CalendarItem,CalendarItemswithwithheld,DayEntryandday_lines.POSTULO_PUBLIC_URL, it returns no whole days, andwithheldsays why.kinds=narrows it.ValueError.🤖 Generated with Claude Code
769f5ba5a39d908695c8