forked from calcom/cal.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: v2 bookings (calcom#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 e64b473. * Revert "fix: remove location from system fields" This reverts commit bee9a15. * Revert "fix: event type tests" This reverts commit fab1cb0. * 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 <[email protected]> Co-authored-by: Morgan <[email protected]>
- Loading branch information
1 parent
3371602
commit 0eabe7f
Showing
60 changed files
with
4,818 additions
and
654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
"test:watch": "yarn dev:build && jest --watch", | ||
"test:cov": "yarn dev:build && jest --coverage", | ||
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", | ||
"test:e2e": "yarn dev:build && jest --runInBand --detectOpenHandles --forceExit --config ./jest-e2e.json", | ||
"test:e2e": "yarn dev:build && NODE_OPTIONS='--max_old_space_size=8192' jest --ci --forceExit --config ./jest-e2e.json", | ||
"test:e2e:watch": "yarn dev:build && jest --runInBand --detectOpenHandles --forceExit --config ./jest-e2e.json --watch", | ||
"prisma": "yarn workspace @calcom/prisma prisma", | ||
"generate-schemas": "yarn prisma generate && yarn prisma format", | ||
|
@@ -28,7 +28,7 @@ | |
"dependencies": { | ||
"@calcom/platform-constants": "*", | ||
"@calcom/platform-enums": "*", | ||
"@calcom/platform-libraries": "npm:@calcom/[email protected].36", | ||
"@calcom/platform-libraries": "npm:@calcom/[email protected].37", | ||
"@calcom/platform-libraries-0.0.2": "npm:@calcom/[email protected]", | ||
"@calcom/platform-types": "*", | ||
"@calcom/platform-utils": "*", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../inputs/create-recurring-booking.input.ts → .../inputs/create-recurring-booking.input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.