Open ghost opened 9 years ago
One thing to note: currently on TS2 Google Calendar will invite any of the users via email to Events created by the Task and RSVP objects there. With the next code push, I will add some logic to not invite attendees on TS2
Just noting something to discuss when we chat.
4) is the RSVP constantly pinging Google - what happens if a student selects an appointment that was already filled? should the system ping Google constantly to avoid this? what’s the expected delay on this?
RSVP is currently not inserting events into host's GCal until an invitee claims the RSVP. This actually reminds me -- I should insert events into the host's GCal to reserve slots even if invitees have yet to RSVP for it. When they claim an RSVP slot, another event is inserted. Makes sense?
The time duration of data transfer from invitee's device to Digital Ocean in Singapore is the only latency allowing an invitee to select a slot that has already been claimed. In this case, the one that gets to the Singapore servers first wins, and the second place click will throw an error/rejection.
Joshua Russo | Top Scholars | +66-2-714-3033 www.topscholars.orghttp://www.topscholars.org/ | @topscholarsbkkhttp://www.twitter.com/topscholarsbkk
On Dec 27, 2014, at 9:44 PM, artitw notifications@github.com<mailto:notifications@github.com> wrote:
— Reply to this email directly or view it on GitHubhttps://github.com/topscholars/tasks/issues/33#issuecomment-68180242.
Joshua Russo | Top Scholars | +66-2-714-3033 www.topscholars.orghttp://www.topscholars.org/ | @topscholarsbkkhttp://www.twitter.com/topscholarsbkk
On Dec 28, 2014, at 1:05 PM, Joshua Russo joshua@topscholars.org<mailto:joshua@topscholars.org> wrote:
Just noting something to discuss when we chat.
4) is the RSVP constantly pinging Google - what happens if a student selects an appointment that was already filled? should the system ping Google constantly to avoid this? what’s the expected delay on this?
RSVP is currently not inserting events into host's GCal until an invitee claims the RSVP. This actually reminds me -- I should insert events into the host's GCal to reserve slots even if invitees have yet to RSVP for it. When they claim an RSVP slot, another event is inserted. Makes sense?
The time duration of data transfer from invitee's device to Digital Ocean in Singapore is the only latency allowing an invitee to select a slot that has already been claimed. In this case, the one that gets to the Singapore servers first wins, and the second place click will throw an error/rejection.
Joshua Russo | Top Scholars | +66-2-714-3033 www.topscholars.orghttp://www.topscholars.org/ | @topscholarsbkkhttp://www.twitter.com/topscholarsbkk
On Dec 27, 2014, at 9:44 PM, artitw notifications@github.com<mailto:notifications@github.com> wrote:
— Reply to this email directly or view it on GitHubhttps://github.com/topscholars/tasks/issues/33#issuecomment-68180242.
Feel free to test. Known major issues:
1) Resources are currently only a text field under RSVPs. They should be their own collection, i.e. they should have their own lists and a place in the briefcase dropdown menu. This will also make it easier to check it against a calendar in the future. Additionally, there should be a resource for each time slot. 2) Time slots should not have to be contiguous. Organizer should be able to specify start and end times of each time slot for a given RSVP. 3) When user logs out, we no longer have access to their Google Calendar. This is an issue mostly for the Organizer, Host, and Task Master, as they are the ones creating Google Events to insert into Google Calendar. 4) Syncing with Google Calendar only goes one way, i.e. the TS system overrides any changes made in Google Calendar.
I am aiming to complete 1-3 by the New Year.