cal.pub0.org/packages/core
Hariom Balhara 0e0a78c47e
Fix/Round Robin (#6121)
* Identify owner for a timeslot and check busyness against his schedule only

* Fix TS errors

* Fix flatmap

* Fix xisting unit tests

* Prevent duplicate slots by merging, userId -> userIds (multi)

* Small fix to potential undefined

* Moved duplicate prevention to buildSlots function

* Apply date override on a per user basis

* Prevent -1 being added to computedLocalAvailability

* Removed console.log

* Apply override properly on COLLECTIVE

* Default timeZone to UTC when undefined

* isSame doesn't work when the day shifts, isBetween instead

* Iterate over all slot.userIds schedules to identify the first user schedule that matches

* add round-robin test

Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-12-21 19:32:42 +00:00
..
builders/CalendarEvent fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow (#3829) 2022-08-31 13:44:47 -06:00
CalendarManager.ts Fixing create event (#5781) 2022-11-29 11:47:08 -07:00
EventManager.ts If no location is set, default to Cal Video (#5812) 2022-12-01 10:20:01 -05:00
event.ts AppStore CLI: Making video app creation a breeze with major cleanup of locations code throughout (#3825) 2022-08-25 18:48:50 -06:00
getAggregateWorkingHours.ts Fixes collective availability for teams with overlapping day timezones (#3898) 2022-08-22 23:53:51 +00:00
getBusyTimes.ts Booking Limits checking ALL events not the event the limit is applied too (#5601) 2022-11-22 03:17:54 +00:00
getUserAvailability.ts Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
index.ts Availabilty consolitadion (#3010) 2022-06-10 12:38:46 -06:00
location.ts Fixes/locations (#2383) 2022-04-05 18:03:22 +00:00
package.json Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00
tsconfig.json Prevent flatMap type errors in @calcom/core 2022-06-08 12:04:42 -06:00
videoClient.ts Admin apps UI (#5494) 2022-12-07 14:47:02 -07:00