From 71b7e3537cbabd310349900191f2a1e165b9d6e1 Mon Sep 17 00:00:00 2001 From: nicolas Date: Wed, 28 Jul 2021 22:36:36 +0200 Subject: [PATCH 1/3] Reduced scopes to a minimum --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8771a842..2a6bfa3a 100644 --- a/README.md +++ b/README.md @@ -236,12 +236,9 @@ Contributions are what make the open source community such an amazing place to b 9. Set the Redirect URL for OAuth `/api/integrations/zoomvideo/callback` replacing CALENDSO URL with the URI at which your application runs. 10. Also add the redirect URL given above as a whitelist URL and enable "Subdomain check". Make sure, it says "saved" below the form. 11. You don't need to provide basic information about your app. Instead click at "Scopes" and then at "+ Add Scopes". Search for and check the following scopes: - 1. account:read:admin - 2. account:write:admin - 3. meeting:read:admin - 4. meeting:write:admin - 5. user:read:admin - 6. user:write:admin + 1. account:write:admin + 2. meeting:write:admin + 3. user:write:admin 12. Click "Done". 13. You're good to go. Now you can easily add your Zoom integration in the Calendso settings. From e3ad889c54039a7138bf1e83a22f014b45ec0990 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Thu, 29 Jul 2021 16:08:35 +0000 Subject: [PATCH 2/3] Fixes Shifting the selected working days --- lib/slots.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/slots.ts b/lib/slots.ts index e4fdaa41..f0ec4ff6 100644 --- a/lib/slots.ts +++ b/lib/slots.ts @@ -121,17 +121,14 @@ const getSlots = ({ // current date in invitee tz const currentDate = dayjs().utcOffset(inviteeDate.utcOffset()); const startDate = currentDate.add(minimumBookingNotice, "minutes"); // + minimum notice period - // when the invitee date is not the same as the current date, reset the date to the start of day - if (inviteeDate.date() !== currentDate.date()) { - inviteeDate = inviteeDate.startOf("day"); - } const startTime = startDate.isAfter(inviteeDate) ? // block out everything when inviteeDate is less than startDate - startDate.date() > inviteeDate.date() + startDate.diff(inviteeDate, "day") > 0 ? 1440 : startDate.hour() * 60 + startDate.minute() : 0; + const inviteeBounds = inviteeBoundary(startTime, inviteeDate.utcOffset(), frequency); return getOverlaps( From 062b92be29d99eb632c9821b5ac219fd4590ef8c Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Fri, 30 Jul 2021 11:53:21 +0200 Subject: [PATCH 3/3] fixed overflow bug on long booking items --- pages/bookings/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/bookings/index.tsx b/pages/bookings/index.tsx index 422eaede..dbcaadf8 100644 --- a/pages/bookings/index.tsx +++ b/pages/bookings/index.tsx @@ -81,7 +81,7 @@ export default function Bookings({ bookings }) {
{booking.title}
{booking.description}