topscholars / tasks

0 stars 0 forks source link

Google Calendar considerations #20

Open ghost opened 9 years ago

ghost commented 9 years ago

Not sure if these are a big deal, but this is what TS2 is doing regarding Google Calendars:

(1) If user doesn't consent to allow TS to manipulate their calendars, then nothing will happen. Since this feature has been implemented only this week and not yet on TS, existing TS users need to re-login to give consent. (2) All TS tasks associated with a user will populate the primary calendar of the Gmail account used to log in. (3) For homework tasks, which may have a start and end time spanning several days, the entire timespan will block out on the calendar. (4) If the user changes/deletes the event from their Google Calendar, the TS will not know. (5) Following (4), updating the task details in TS will override any changes made directly on Google Calendar for that event

joshuarusso commented 9 years ago

Initial Thoughts:

1) Can we force consent? 2) Seems ok. Is there an option to sync with another calendar down the road? 3) Could pose UX issues - need to see it in action. Can think of alternative ways of recording hw. 4) Can the sync be two ways? If we are going to look at online reservation, this would be important. It doesn’t need to be right now, but wondering if possible. 5) That seems ok - although same question re: two way sync.

Joshua Russo | Top Scholars | +66-2-714-3033 www.topscholars.orghttp://www.topscholars.org/ | @topscholarsbkkhttp://www.twitter.com/topscholarsbkk

On Dec 11, 2014, at 2:54 PM, artitw notifications@github.com<mailto:notifications@github.com> wrote:

Not sure if these are a big deal, but this is what TS2 is doing regarding Google Calendars:

(1) If user doesn't consent to allow TS to manipulate their calendars, then nothing will happen. Since this feature has been implemented only this week and not yet on TS, existing TS users need to re-login to give consent. (2) All tasks associated with a user will populate the primary calendar of the Gmail account used to log in. (3) For homework tasks, which may have a start and end time spanning several days, the entire timespan will block out on the calendar. (4) If the user changes/deletes the event from their Google Calendar, the TS will not know. (5) Following (4), updating the task details in TS will override changes made on Google Calendar directly

— Reply to this email directly or view it on GitHubhttps://github.com/topscholars/tasks/issues/20.

ghost commented 9 years ago

1) yes, iGoogles currently forcing consent, but the existing users have to re-login to see the message 2) yes, it's possible to build a calendar selector if necessary 4) since Google Calendar API cannot trigger or send push notifications, we would have to build a polling system to achieve two-way syncing. This may use considerable server processing power. Additionally, if non-staff are blocked from changing the task details in TS, they should not be able to do so via Google Calendar

joshuarusso commented 9 years ago

Ok interesting. Let's chat then about Google Calendar API versus office 365 - want to be sure for our internal workings we are doing the best thing.

Joshua Russo | Top Scholars | +66-2-714-3033 www.topscholars.orghttp://www.topscholars.org | @topscholarsbkk

On Dec 11, 2014, at 8:25 PM, artitw notifications@github.com<mailto:notifications@github.com> wrote:

1) yes, iGoogles currently forcing consent, but the existing users have to re-login to see the message 2) yes, it's possible to build a calendar selector if necessary 4) since Google Calendar API cannot trigger or send push notifications, we would have to build a polling system to achieve two-way syncing. This may use considerable server processing power. Additionally, if non-staff are blocked from changing the task details in TS, they should not be able to do so via Google Calendar

— Reply to this email directly or view it on GitHubhttps://github.com/topscholars/tasks/issues/20#issuecomment-66618059.

ghost commented 9 years ago

Just throwing another option out there, we could force all tasks to have a master. The master would own the event, and the students would be invitees. This would limit the task edit capabilities to staff and reduce the burden on polling bots

joshuarusso commented 9 years ago

Good idea. That makes sense.

Joshua Russo | Top Scholars | +66-2-714-3033 www.topscholars.orghttp://www.topscholars.org | @topscholarsbkk

On Dec 12, 2014, at 9:02 AM, artitw notifications@github.com<mailto:notifications@github.com> wrote:

Just throwing another option out there, we could force all tasks to have a master. The master would own the event, and the students would be invitees. This would limit the task edit capabilities to staff and reduce the burden on polling bots

— Reply to this email directly or view it on GitHubhttps://github.com/topscholars/tasks/issues/20#issuecomment-66722012.

ghost commented 9 years ago

It turns out that Google Calendar does do push notifications, though they say it's not 100% reliable. Therefore we don't have to build a polling bot.

joshuarusso commented 9 years ago

Ok. Looks like we can get a sync between Exchange and Google going. So let’s focus on getting Google Calendar API for the notifications and reservations. Can look into Office 365 later.

Joshua Russo | Top Scholars | +66-2-714-3033 www.topscholars.orghttp://www.topscholars.org/ | @topscholarsbkkhttp://www.twitter.com/topscholarsbkk

On Dec 12, 2014, at 6:04 PM, artitw notifications@github.com<mailto:notifications@github.com> wrote:

It turns out that Google Calendar does do push notifications, though it's not 100%

— Reply to this email directly or view it on GitHubhttps://github.com/topscholars/tasks/issues/20#issuecomment-66759421.