3bc9fa11d0
chore: remove @calcom/lib barrel file ( #21267 )
...
* refactor: replace imports from @calcom/lib barrel file with direct imports
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: add deprecated barrel file with warning to support tests
Co-Authored-By: benny@cal.com <benny@cal.com >
* remove barrel file
* fix: restore barrel file with deprecation notice and add CreditType enum export
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: add CreditType enum definition to barrel file
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: add mock for CreditType enum in credit-service test
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: use importOriginal in CreditType enum mock
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: remove barrel file completely
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: restore barrel file with deprecation notice to support tests
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: update test-setup to use direct import from @calcom/ui/classNames
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: completely remove barrel file
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: update package.json to remove references to index.ts
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: remove main and types fields from package.json
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: restore barrel file with deprecation notice to support tests
Co-Authored-By: benny@cal.com <benny@cal.com >
* remove barrel file
* fix
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: benny@cal.com <benny@cal.com >
Co-authored-by: hbjORbj <sldisek783@gmail.com >
2025-05-13 21:55:58 -04: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
Udit Takkar
b0125e1a05
feat: sound on browser push notification ( #18548 )
...
* feat: sound on notification
* refactor: add load audio
* chore: remove
* fix: type error
* fix: notification
* fix: prevent multiple initialization
=
* feat: create notification page
* chore: update the mp3 file
2025-03-11 11:49:51 +05:30
Keith Williams
7180eb067a
refactor: Move @calcom/core to @calcom/lib ( #19655 )
...
* refactor: Move @calcom/core to @calcom/lib
* Merging imports
* Clean up
* Ignoreing type error for now
2025-03-02 23:02:35 -03:00
Benny Joo
d7960021aa
perf: do not import from @calcom/lib/server barrel file ( #19579 )
...
* do not import from lib/server barrel file
* fix build
2025-02-26 18:10:52 -03:00
Syed Ali Shahbaz and Morgan Vernay
41f63582b2
feat: Add booking and user creation source ( #18768 )
...
* migration and init to accept creationSource for new bookings
* V1 create booking
* V1 user creation
* webapp booking + V1 user
* user creation in V1, V2 and webapp
* booking source V2 and fix for v1 user
* fit type
* --fix type
* add test -- WIP
* fix type
* fix type
* ^
* Need more sleep zzz
* -_-
* bump libraries platform
* adds for v2 recurring booking
* fix lint
* instant meetings
* fix: api v2 creation source
* fixup! fix: api v2 creation source
* bump libraries
* add user
* fix test
* fixup! fix test
* add more source
* more source...
* fix type & test --1
* fix type & test --2
* typefix
* fixup test
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
2025-01-27 11:01:33 +01:00
b4f1b5aebe
refactor: handleNewBooking #4 ( #15673 )
...
* refactor: handleNewBooking #3
* refactor: create booking factor
* refactor: handleNewBooking
* refactor: seats and rescheduleUId
* chore: remove comment
* fix: type err
* chore: add missing statement
* chore: use less params and other improvements
* chore: name
* chore: improvement
* fix: type err
* Typo fix
* chore: fix type err
* refactor: more readable
* refactor: improve code
* fix: conflicts
---------
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
2024-10-02 10:26:25 -04:00
4a59841b02
feat: booking with phone number ( #14461 )
...
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-09-11 17:56:04 -07:00
Udit Takkar
860d173f0a
feat: instant meeting browser notifcations ( #16480 )
...
* feat: instant meeting browser notifcations
* chore: support multiple notifications
* chore: save progress
* fix: add test notification and move file
* fix: type err
* chore: feedback improvements
* chore: undo DENY
2024-09-11 18:02:14 +04:00
Morgan
e8b36d5b0b
chore: platform api usage based billing using queue ( #15085 )
...
* chore: platform api usage based billing using queue
* fixup! chore: platform api usage based billing using queue
* fixup! fixup! chore: platform api usage based billing using queue
* fixup! Merge branch 'chore-platformapi-billing-queue' of github.com:calcom/cal.com into chore-platformapi-billing-queue
* fixup! fixup! Merge branch 'chore-platformapi-billing-queue' of github.com:calcom/cal.com into chore-platformapi-billing-queue
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* chore: platform billing by userId
* fix: fix tests requirement team subscirption
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fixup! fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* improve tests logs
* fix: silently close redis and queue
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fixup! fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fix: upgrade libraries version
2024-07-24 17:10:22 +02:00
5f8d090d3c
refactor: handleNewBooking #3 ( #15612 )
...
* refactor: handleNewBooking #3
* fix: type error
* fix: type err
* fix: type err
* refactor: create booking factor
* chore: refactor availusers
* chore: type err
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-07-08 18:18:36 +00:00
Udit Takkar and Keith Williams
a52f7efe88
refactor: move functions to separate files ( #15590 )
...
* refactor: move functions to separate files
* chore: remove inline function
* chore: type error
* fix: type error
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-06-27 22:05:11 +00:00
Udit Takkar
d25595b546
feat: add instant meeting expiry input ( #15555 )
...
* feat: add instant meeting expiry input
* fix: type err
* chore: remove type
* chore: update label
* chore: update column name
2024-06-26 13:56:05 +00:00
Kartik Saini
4017c0e28f
feat: org-wide webhooks ( #15144 )
...
* feat: include org in teams list
* feat: org-wide webhooks
* Move getOrgIdFromMemberOrTeamId to packages/lib
2024-06-04 20:16:46 +00:00
Udit Takkar
452ea6a993
fix: instant meeting fixes ( #14214 )
...
* fix: instant meeting fixes
* chore: improvements
* fix: platform type check
* fix: start_video_off
2024-03-26 09:57:34 +00:00
Omar López
d2b4760e3a
refactor: removed isNotAnApiCall ( #13568 )
2024-02-07 04:43:36 -03:00
850e222f0e
feat: instant meeting improvements ( #13258 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
2024-01-22 19:48:23 +00:00
Udit Takkar
95cc0eeaae
fix: only use event type's webhooks ( #12894 )
...
* fix: only use event type's webhooks
* chore: improve code
2023-12-20 18:48:10 +05:30
200ce6932d
feat: Instant Meeting ( #12345 )
...
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Udit Takkar <udit222001@gmail.com >
2023-12-19 11:01:42 -08:00