Benny Joo
7bf5d9cf64
perf: import enums from @calcom/prisma/enums ( #23582 )
...
* wip
* fix imports in the rest
* rest
* fix mistake
2025-09-04 11:44:54 +00:00
Hariom Balhara
9ceb5ea3c5
Skeleton for Booking flow refactor using Factory and services ( #23277 )
2025-09-02 11:06:31 +00:00
c4941f25a2
fix: no available users found (recurring events) ( #22033 )
...
* only check first slot
* skip test for second slot availability check
* fixing tests in handleNewRecurringBooking.test.ts
* skip test
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
2025-06-27 09:31:56 +00:00
Lauris Skraucis
4a53ec0b74
feat: platform toggle calendar event creation ( #21788 )
...
* feat: add areCalendarEventsEnabled to PlatformOAuthClient table
* feat: areCalendarEvents enabled in handleNewBooking and v2
* feat: v2 handle areCalendarEventsEnabled
* feat: toggle areCalendarEventsEnabled on frontend
* feat: enable areCalendarEventsEnabled for recurring,confirm,paid
* refactor: use placeholder calendar event
* remove merge conflicts
* chore: bump libraries
* chore: bump libraries
2025-06-13 14:15:47 +00:00
417a612aa3
refactor: extract NextRequest from handle new booking ( #20082 )
...
* extract NextRequest
* update api and tests
* booking limits tests
* fix more tests to use new approach
* update more tests with new format
* extract getOrgDomainConfig to not use req
* extract req from loadNewUsers and pass in hostname/forcedSlug
* fix instant meeting types and hostname fixes
* fix handleNewBookingReq
* fix type errors in tests
* make hostName and forcedSlug optional
* fix type err
* Revert "fix type err"
This reverts commit 9d5de9019d9dafe348c97b876baaa1d0675967e5.
* wip fix e2e
* fix: add missing headers
* migrate handle recurring event and also create tests specific to fn
* platform recurringbooking
* fix type
* hard code types on request object
* bump libraries
* fixup! bump libraries
* fix: accessing host if headers not passed
* fix: v2 recurring booking
* fix: accessing host if headers not passed
* chore: bump platform libraries
* fix tests
* push
* chore: bump libraries
* push lock changes
* bump libraries
---------
Co-authored-by: amrit <iamamrit27@gmail.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: supalarry <laurisskraucis@gmail.com >
Co-authored-by: Lauris Skraucis <lauris.skraucis@gmail.com >
2025-04-02 17:57:58 -04:00
Lauris Skraucis
9fa73aca86
fix: v2 booking confirmation emails not sent ( #17764 )
...
* fix: round robin recurring don't send email if noEmail
* fix: noEmail: false for non platform requests
* fix: booking e2e tests
* refactor: move bookings e2e tests in folder and uniform name
* test: emails
* test: team emails
* reschedule and cancel emails with api key
* test: round robin reassign emails
* test: confirm and decline emails
* test: confirm and decline emails
* fix tests
* test: recurring booking emails
* remove unused imports and spies
* fix test
* remove log
* chore: bump libraries
* try to fix ci tests
2024-11-22 18:19:56 +02:00
0eabe7f28b
refactor: v2 bookings ( #16200 )
...
* chore: version existing bookings as 2024-04-15
* feat: initialize bookings version 2024-08-13
* feat: Create and reschedule booking inputs logic
* feat: create booking
* refactor: create booking response
* feat: reschedule booking
* chore: update language input
* feat: recurring booking
* refactor: add booking status in response
* refactor: recurring bookings
* feat: get booking by uid
* wip: get event types
* feat: fetch by multiple status filters and sort
* feat: fetch by teamId, teamIds, eventTypeId, eventTypeIds
* wip: filter by attendee email
* feat: filter by attendee email
* feat: filter by attendee name
* feat: date range filter
* chore: format get bookings output
* chore: finish main merge
* feat: handle instant bookings
* refactor: separate reschedule endpoint
* feat: cancel endpoint
* feat: mark absent host or attendees
* chore: dont expose metadata for now
* chore: add hostId to response
* fix: metadata
* feat: bill bookings
* feat: cancellationReason
* feat: rescheduling reason
* handle already busy booking error
* test: create new booking
* fix: handleNewRecurringBooking ignoring noEmail
* test: recurring bookings
* test: get individual bookings
* fix: cancel email sent if arePlatformEmailsEnabled=false but platformClientId is undefined
* tests: cancel, reschedule, mark absent
* fix: generateIcsFile null pointer exception
* cancel test
* error msg improve
* tests: team event type creation and teamId, teamIds filters
* test: cancel recurring booking
* refactor: make hosts and attendees an array
* sort by asc start
* simplify
* refactor: absent
* fix: make work with api key
* test
* ts remove any
* feat: BookingUidGuard
* fix: recurring booking no email
* fix: legacy bookings recurring noEmail
* add swagger
* retrigger build
* fix: atom booker work with v2
* docs: exclude old controller from docs
* refactor: make eventTypeIds and teamIds getBookings query params comma separated string
* docs: swagger for get bookings query
* swagger docs
* swagger docs
* docs: document authorization header
* refactor: remove unused attendee variable
* refactor: remove unused check
* refactor: remove unused attendee variable
* refactor: spelling
* use published platform libraries
* fix: ci
* fix: ci
* fix: ci
* fix: ci
* cleanup script platform types
* fix: use libraries from npm
* chore: set test env vapid keys
* fix: event type tests
* fix: remove location from system fields
* fix legacy event types
* Revert "fix legacy event types"
This reverts commit e64b473b73f7ef0fe88942cd87277d29a512b946.
* Revert "fix: remove location from system fields"
This reverts commit bee9a15cb27cd34705f34c427b6b50d51e3b7ee7.
* Revert "fix: event type tests"
This reverts commit fab1cb0f5eeb65e4f542bfbeb83849ceed7ba428.
* update libraries
* fix: increase node space for ci runner
* fix: increase node space for ci runner
* fix: increase node space for ci runner
* readd swagger
* ci
* ci
* refactor: increase idle worker memory jest e2e
* fixup! refactor: increase idle worker memory jest e2e
* fixup! fixup! refactor: increase idle worker memory jest e2e
* refactor: split bookings e2e into smaller e2e files
* fixup! refactor: split bookings e2e into smaller e2e files
* fixup! fixup! refactor: split bookings e2e into smaller e2e files
* fixup! fixup! fixup! refactor: split bookings e2e into smaller e2e files
* fixup! Merge branch 'main' into v2-refactor-bookings
* revert event types service
* fix: remove resetModule, maxWorker 2 jest e2e config
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-09-23 16:19:25 +03:00
Keith Williams
aa2db562b8
fix: Bookings API ( #13815 )
2024-02-21 16:05:53 -07:00
Morgan
e0ac95578c
chore: refactor handle new reccuring booking ( #13597 )
...
* chore: refactor handle new reccuring booking
* fixup! chore: refactor handle new reccuring booking
* fixup! fixup! chore: refactor handle new reccuring booking
2024-02-08 16:59:49 +00:00