Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google calendar integration #59

Open
mterwill opened this issue Oct 25, 2016 · 3 comments
Open

Google calendar integration #59

mterwill opened this issue Oct 25, 2016 · 3 comments

Comments

@mterwill
Copy link
Owner

mterwill commented Oct 25, 2016

The way I'd like to implement this is that you can invite course_queue_id@eecs.help to your event, the system will parse incoming mail for ics files, then open the queue at that time.

We can make sure the sender address is whitelisted as a course instructor (and maybe originates from Google Calendar if we are really concerned?).

@mterwill mterwill self-assigned this Nov 15, 2016
@mterwill
Copy link
Owner Author

This gem looks like a great fit. It has support for recurring events. And as long as you click "Update Guests" when cancelling events Google will send another email with another ics cancelling the event.

@mterwill
Copy link
Owner Author

mterwill commented Nov 15, 2016

It would actually be better if we could just let Google Calendar handle state for us, but unfortunately invites to a Google Account with + appended to the email (e.g. eecshelp+1@gmail.com) do not get added to the calendar. Will need to figure out a way to specify which queue should get opened. I really like including that artifact in the email – seems elegant, but if it makes it trivial, it could just be put into a note.

I also like the idea of not coupling to Google Calendar, though that does seem to be the de facto standard.

Google has an api client in alpha that seems to get the job done. Easy enough to just get the (e.g.) next 10 events. Then it'd be as simple as scheduling a job to query upcoming events and open/close the queue for those.

@mterwill
Copy link
Owner Author

Might be able to use their CalDAV API to validate + upload the events received via email, then the Google Calendar API to pull them down.

@mterwill mterwill added this to the Pre-W17 milestone Jan 3, 2017
@mterwill mterwill modified the milestone: W17 Jun 15, 2017
@mterwill mterwill removed their assignment Jun 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant