-
Notifications
You must be signed in to change notification settings - Fork 11
app.calendarutil
- CALENDAR_ID_SUFFIX = "ratatoskr.techhigh.us"
- Suffix for the calendar's id
- CALENDAR_TIMESLOT_EVENT_ID = "%(timeslot_id)s@%(schedule_id)s#" + CALENDAR_ID_SUFFIX
- Template string for calendar events for timeslots
Returns the SHA1 hash of a string in hex form
Creates an ID to be used for a calendar event for a TimeSlot
Builds a Google API resource for interacting with the given User
's calendar
Creates a secondary calendar for the owner of the schedule. Also creates a Google Meet that every event in the Calendar will use. This is done by creating a temporary event that asks for a hangoutsMeet to be created and retrieving the conferenceData from the returned resource. The event is then deleted.
Returns a tuple containing:
- The conferenceData
- The calendar's ID
Deletes the Calendar associated with the Schedule. This is done asynchronously.
Updates the given timeslot's event with the new reservations. If the event doesn't exist, the event will be created. Has the optional parameter reservation
for the case where the Reservation
is not committed to the database yet.
Deletes the event for the given timeslot.
Update Google Calendar visibility with schedule visibility.
Shares the provided schedule with the subscriber.
Removes the user from the provided schedule.
- Things we use
- Heroku Maintaining
- Creating a dev environment
- Documentation Guidelines
- Calendar Integration Schema