cal/packages/lib
Alex van Andel c8744768c4
Refactored buildSlots (#6389)
* Refactored buildSlots

* Added typing for computedAvailableSlots

* Adds very simple boundary logic to make sure slots start at the right times

* Logic was cutting off too early

* Woops, should be eventLength, not frequency

* Expect 12:15 slots as availability is till 12:30 for booking

* Deliberately skip test for testing purposes

* slotInterval overrides intervals, but not duration

* Fix calendar mocking

* Another 45m length

* Unskip :(

* Fix test

Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
2023-01-11 17:33:34 +00:00
..
apps Admin apps UI (#5494) 2022-12-07 14:47:02 -07:00
browser Cleanup + migrate away from process.browser (#5408) 2022-11-08 08:36:59 +01:00
cva Added proper dark mode support for buttons (#5603) 2022-11-22 17:07:55 +00:00
date-fns Circumvents Dayjs issue by going native (#5363) 2022-11-07 15:16:35 +00:00
hooks Feature/booking filters (#6099) 2022-12-22 12:35:01 +00:00
server Fixed default value for ordering correctly (#6372) 2023-01-10 17:06:53 +01:00
sync Deprecates user plan (#5942) 2022-12-08 16:20:24 -07:00
test Save meeting url to metadata of bookings and add it to webhook payload (#5773) 2022-12-15 21:43:07 +00:00
auth.ts Don't return admin_min error when we're not validating for admin password. (#5713) 2022-11-28 07:57:02 -07:00
availability.ts Feature/Routing Forms: Add the concepts of reusable Router and Router Linked Fields. (#5566) 2023-01-04 13:30:46 +00:00
CalendarService.ts Fixes extension check for URL with dots in segments (#6301) 2023-01-05 16:38:44 -07:00
CalEventParser.ts Use the same locale for event description. (#5674) 2022-12-18 12:36:30 +00:00
classNames.ts
CloseCom.ts Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
CloseComeUtils.ts Feature/whitelabel part 2 (#5821) 2023-01-04 22:14:46 +00:00
constants.ts adds render.com url constant (#6287) 2023-01-07 10:28:02 +00:00
convertToNewDurationType.ts Fixed wrong calculation of duration type on event type page. (#5557) 2022-11-17 13:38:03 +05:30
crypto.ts
CustomBranding.tsx Feat/design system (#3051) 2022-07-22 18:39:50 -06:00
default-cookies.ts Upgrade deps + allow node 18.x (#5622) 2022-11-23 11:35:08 -07:00
defaultAvatarImage.ts replaced gravatar default (#4158) 2022-09-05 10:23:39 +00:00
defaultEvents.ts Lowercase usename checks again. 2022-12-22 11:09:31 -07:00
deriveAppDictKeyFromType.ts Chore/salesforce prep work (#5648) 2022-11-22 13:44:08 -07:00
env.ts
errors.ts Add conditional if response received from graph api v1 was empty (#5573) 2022-11-18 11:41:36 -06:00
fetchUsername.ts feature/settings-username-update (#2306) 2022-07-06 13:31:07 -06:00
findDurationType.ts Minimum booking notice will allow hours and days (#5217) 2022-11-14 09:12:28 +00:00
getEventTypeById.ts event type setting refactor (#5959) 2022-12-26 10:55:58 +00:00
getIP.ts Implements quick ip banlist 2022-08-24 10:57:23 -06:00
getPlaceholderAvatar.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
getSafeRedirectUrl.ts Make sure returnTo is correct URL (#6189) 2023-01-05 12:55:55 -07:00
getStripeAppData.ts Introduce EventTypeAppCard in app-store and make it super easy to add it through CLI - Also adds Fathom app (#4727) 2022-10-14 10:24:43 -06:00
hasKeyInMetadata.ts feature/settings-username-update (#2306) 2022-07-06 13:31:07 -06:00
http-error.ts
i18n.ts Fix lang and dir attributes not being set (#6243) 2023-01-03 11:09:05 +01:00
index.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
isBookingLimits.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
isCalcom.ts <Tips> in sidebar (#4999) 2022-10-14 19:38:05 +00:00
isMac.ts Adds a fully extensible command(ctrl)+k interface for Cal (#3346) 2022-07-14 06:45:07 +00:00
isOutOfBounds.tsx Bugfix/i3531 round robin assigns to unavailable members (#3813) 2022-08-15 13:52:01 -06:00
isPrismaObj.ts
isRecurringEvent.ts Recurring event fixes (#3030) 2022-06-09 18:32:34 -06:00
jsonUtils.ts
logger.ts Allows to override default debug level for logger (#6300) 2023-01-05 16:23:50 -07:00
next-seo.config.ts Allows brand customization (#5329) 2022-11-30 14:52:56 -07:00
notEmpty.ts
objectKeys.ts
OgImages.tsx Feat/add screenshot og image variant (#6138) 2022-12-21 10:39:14 +00:00
package.json Upgrades prisma (#6298) 2023-01-05 16:24:17 -07:00
profile.ts replaced gravatar default (#4158) 2022-09-05 10:23:39 +00:00
random.ts
rateLimit.ts fix: rate limit auth (#3820) 2022-08-30 13:58:35 -06:00
recurringStrings.ts Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
sanitizeCalendarObject.ts Fix availability free-busy data pull, location change and status in CALDAV | new branch (attempt#2) (#3958) 2022-08-25 14:48:30 +05:30
Sendgrid.ts Bringing back sendgrid app to review (#5501) 2022-11-17 21:38:34 +00:00
serverConfig.ts
slots.ts Refactored buildSlots (#6389) 2023-01-11 17:33:34 +00:00
slugify.ts
telemetry.ts removed license consent (#5931) 2022-12-09 11:05:42 +00:00
text.ts #4252 Use vercel og to generate og images for meetings and apps. (#4943) 2022-10-18 11:46:22 -06:00
timeFormat.ts Use Intl.DateTimeFormat logic to determine locale. (#5519) 2022-11-14 19:46:58 +00:00
tsconfig.json Make cal.com version available on all pages, even on login page. (#6221) 2023-01-02 20:24:35 +05:30
webstorage.ts Hotfix: Embed - Fix issue in accessing sessionStorage in certain scenarios (#3851) 2022-08-16 04:18:13 +00:00
weekday.ts Added timeZone to v2, bugfix availabilityAsString (#4210) 2022-09-06 12:34:29 -06:00