cal.pub0.org/packages/lib/server
Omar López f4ea385c7f
Fixes collective availability for teams with overlapping day timezones (#3898)
* WIP

* Fix for team availability with time offsets

* Prevent empty schedule from opening up everything

* When no utcOffset or timeZone's are given, default to 0 utcOffset (UTC)

* timeZone should not be part of getUserAvailability

* Prevents {days:[X],startTime:0,endTime:0} error entry

* Added getAggregateWorkingHours() (#3913)

* Added test for getAggregateWorkingHours

* Timezone isn't used here anymore

* fix: developer docs url (#3914)

* fix: developer docs url added

* chore : remove /

* chore : import url

Co-authored-by: Zach Waterfield <zlwaterfield@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>

* Test fixes

* Reinstate prisma (generate only) and few comments

* Test fixes

* Skipping getSchedule again

* Added await to expect() as it involves async logic causing the promise to timeout

* Test cleanup

* Update jest.config.ts

Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Zach Waterfield <zlwaterfield@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-22 23:53:51 +00:00
..
queries Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
checkRegularUsername.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
checkUsername.ts Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
defaultHandler.ts Availabilty consolitadion (#3010) 2022-06-10 12:38:46 -06:00
defaultResponder.ts Fix a typo in the server lib (#3439) 2022-07-20 13:34:17 +00:00
getLuckyUser.ts Fixes collective availability for teams with overlapping day timezones (#3898) 2022-08-22 23:53:51 +00:00
getServerErrorFromUnknown.ts Fix a typo in the server lib (#3439) 2022-07-20 13:34:17 +00:00
i18n.ts App Store (#1869) 2022-03-23 15:00:30 -07:00
index.ts Bugfix/i3531 round robin assigns to unavailable members (#3813) 2022-08-15 13:52:01 -06:00
perfObserver.ts hotfix: bookings and availability pages 2022-07-26 18:45:10 -06:00