048e56806c
feat: useApiV2AvailableSlots ( #21138 )
...
* feat: useApiV2AvailableSlots
* feat: useApiV2AvailableSlots
* fix type check
* remove log
* fix unit tests
* simplify
* feat: add missing params to the slots endpoint
* updated documentation
* _shouldServeCache is correct
* fix types
* fix enabled prop
* fix type
* add embedConnectVersion to query key
* add teamId to slot type
* fix
* add fallback to trpc query if apiv2 fails
* add comment
* remove logs
* fix
* refactor: default to isTeamEvent in query params
* fix: only return v2 slots once fetch is success
* fix last e2e failing test
* add feature flag
* add migration sql
* Update packages/prisma/migrations/20250512153630_add_use_api_v2_for_team_slots_feature_flag/migration.sql
---------
Co-authored-by: hbjORbj <[email protected] >
Co-authored-by: Somay Chauhan <[email protected] >
Co-authored-by: supalarry <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
2025-05-12 20:48:29 +00:00
luzpaz and Alex van Andel
e4254ef7cc
fix: typos in apps/web ( #21224 )
...
Found via codespell
Co-authored-by: Alex van Andel <[email protected] >
2025-05-12 08:47:02 +00:00
Udit Takkar
b73a3aeb0c
feat: enforce log in cal video ( #21082 )
...
* feat: enforce log in cal video
* chore: remove un necessary text
* fix: type err
* fix: pass user name
2025-05-08 12:37:50 +00:00
Benny Joo
f9488a1866
fix: theme search param crashing booking page ( #21120 )
...
* fix
* fix
2025-05-06 00:31:40 +00:00
Omar López
91288b41cd
refactor: centralize feature flag operations in FeaturesRepository ( #21032 )
2025-05-05 19:06:41 -04:00
Benny Joo
dc361f7879
perf: SSR - /event-types and /event-types/[type] ( #20952 )
...
* add revalidation
* ssr for event-types
* wip
* wip
* fix types
* fix skeleton
* better error component
* make skeleton better
* no need to export
* call revalidations early
* remove revalidations if not needed
* address comments
* address
2025-04-28 16:58:53 +02:00
Rajiv Sahal and Morgan
fbe8cf8223
fix: cancel platform subscription on dashboard ( #20787 )
...
* add new endpoint to cancel user subscription
* remove comments
* add delete button to frontend
* update correct request method
* fixup
* frontend for cancelling subscription
* better warning message
* better function name
* update locales
* better error handling in case stripe api call fails
* rename teamId to organizationId
---------
Co-authored-by: Morgan <[email protected] >
2025-04-28 08:41:25 +01:00
Hariom Balhara
6ebf0db389
Handle acme.cal.local root path ( #20981 )
2025-04-26 08:35:23 -03:00
Benny Joo
220897ba86
chore: better code - migrate getServerSideProps file directly to RSC for /apps ( #20926 )
...
* migrate getServerSideProps file directly to RSC for /apps
* fix
2025-04-25 06:41:21 -07:00
Anik Dhabal Babu
513f54f4fe
feat: ability to hide organizer email ( #20782 )
...
* feat: hide orgainzer email
* fix type error
* update
* update
* Update schema.prisma
2025-04-23 19:58:29 +00:00
Anik Dhabal Babu and Joe Au-Yeung
c6cb3423fa
feat: custom reply To Email ( #20771 )
...
Co-authored-by: Joe Au-Yeung <[email protected] >
2025-04-23 06:44:44 -07:00
Kartik Saini and Tushar Bhatt
1584dd3179
feat: Redirect to original event link for rescheduling cancelled booking ( #18605 )
...
* feat: redirect to original event link for rescheduling cancelled booking
* allow cancelled booking rescheduling when allowRescheduleForCancelledBooking is true
* chore
* fix test
* chore
---------
Co-authored-by: Tushar Bhatt <[email protected] >
2025-04-15 14:09:18 -04:00
Benny Joo
a43437b1d6
fix ( #20693 )
2025-04-14 16:54:25 +00:00
70d29ab6fa
feat: conditionally show contact us or report issue based on plan ( #20629 )
...
* feat: conditionally show contact us or report issue based on plan
Co-Authored-By: [email protected] <[email protected] >
* fix: update icon name to triangle-alert to fix type error
Co-Authored-By: [email protected] <[email protected] >
* fix: check specific plan type instead of isPaidUser flag
Co-Authored-By: [email protected] <[email protected] >
* fix: check userBillingData.valid to ensure billing plan is active
Co-Authored-By: [email protected] <[email protected] >
* fix: convert plan to lowercase before comparison
Co-Authored-By: [email protected] <[email protected] >
* fixup: dont show contact card for free platform users
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected] >
Co-authored-by: amrit <[email protected] >
Co-authored-by: Ryukemeister <[email protected] >
2025-04-14 11:13:05 +00:00
Benny Joo
b17b5a169f
perf: make useLocale hook to use server-fetched i18n if in App router context ( #20597 )
...
* write I18nProvider
* rename
* update useLocale
* fix
* use a singleton
* safer
* better
* fix e2e test 1
* fix e2e test 2
* fix e2e test 3
* fix e2e test 4
* fix
* refactor
* address comments
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix flaky test
* add more caching
* revert changes to e2e tests
* add jsdoc
* memoize
* update window object with new translations in /settings/my-account/general
* remove dead code
* only use locale and ns as deps
* fix
2025-04-11 14:28:26 -07:00
Anik Dhabal Babu
9eb1fe06e3
fix: App installation option at the team level ( #20666 )
...
* fix: app installation option on team level
* update
2025-04-11 19:06:18 +00:00
Benny Joo
97308ebf1c
perf: /event-types/[type] — use server-fetched data to skip client-side trpc fetch ( #20497 )
2025-04-04 09:43:04 +00:00
0465c639e6
feat: options to disable cancelling and/or rescheduling ( #20489 )
...
* feat:disable-rescheduling
* feat:disable-cancelling
* enhancements
* enhancements-2
* enhancements-3
* revert CancelBooking.tsx
* add-test
* final-changes
* minor-change
* fix: Revert yarn.lock accidental commit
* minor-change
* fix:type checks
* fix:type check
* fix:type check
* add-test
* add-tests
* add-test
* fix:type checks
* fix:type check
* fix:clean-code
* fix:type check
* fix:type check
* fix:minor-change
* fix:tests
* fix:BookingListItem
* fix:type-check
* fix:type-check
* adding check for platform
* revert-change
---------
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Benny Joo <[email protected] >
2025-04-03 20:04:02 +00:00
Benny Joo
25534f721a
chore: refactor to use createRouterCaller util ( #20494 )
...
* create createRouterCaller and use it
* fix
2025-04-02 16:46:17 +01:00
Udit Takkar and Omar López
bc9d76e7da
chore: do not route to meeting-ended page for daily link used for testing ( #20371 )
...
* chore: remove 14 day buffer for QA
* chore: check uid
---------
Co-authored-by: Omar López <[email protected] >
2025-04-02 00:00:28 +00:00
Benny Joo
75c79f76c8
perf: Remove ssrInit completely ( #20439 )
...
* remove ssrInit completely
* remove instances of dehydratedState
* fix
* refactor
* fix type checks
* fix linting
* Refactor
* Refactor
* remove log
2025-04-01 19:14:46 -04:00
Amit Sharma and Keith Williams
81de95bd28
feat: allow plain ask a question for paid users only ( #20390 )
...
Co-authored-by: Keith Williams <[email protected] >
2025-03-30 04:17:12 +00:00
Joe Au-Yeung and Hariom Balhara
48016e0f3e
chore: Move CRM owner calls handleResponse ( #19316 )
...
* Handle normal ownership routing
* Skip contact owner check if true
* Fix typos
* Call getting contact owner in promise.all in handleResponse
* Pass crm contact owner data to params
* Add crm contact params
* Only get CRM owner calls if params don't exist
* Handle if properties don't exist
* Fix typo
* Pass CRM specific variables to getServerSideProps
* Remove logs
* Type fixes
* Use `wrapGetServerSIdePropsWIthSentry` in router getServerSideProps
* Add sentry monitoring
* Type fixes
* Type fix
* Type fixes
* Update imports for sentryWrapper
---------
Co-authored-by: Hariom Balhara <[email protected] >
2025-03-28 10:42:28 -04:00
Keith Williams and hbjORbj
be883aac02
perf: Remove ssrInit from layout and event-types ( #20368 )
...
* perf: Remove ssrInit from layout and event-types
* remove ssg file since not used
* refator trpc usage in app router
* fix
---------
Co-authored-by: hbjORbj <[email protected] >
2025-03-26 22:04:52 -03:00
Benny Joo
9b952fd922
chore: Set daily video testing meeting link to env var ( #20359 )
2025-03-25 18:17:00 +00:00
Benny Joo
d131d58b19
feat: upgrade @daily libs ( #20348 )
...
* upgrade @daily libs
* install peer dep
* add code for local testing
2025-03-25 17:27:00 +00:00
8ad442f2be
feat: Upgrade to Next 15 ( #18834 )
...
* wip
* update layoutHOC
* wip
* remove app router related code no longer used
* remove more
* await cookies, headers, params, serachparams
* update yarn.lock
* await cookies, headers, params, serachparams more
* update yarn lock again
* downgrade next-auth to 4.22.1
* update yarn lock
* fix
* update yarn lock
* fix type checks
* update yarn lock
* await headers and cookies
* restore pages folder
* restore yarn.lock
* update yarn.lock
* await headers and cookies
* remove
* await params in API routes
* updates
* restore next.config.js
* remove i18n from next.config.js
* Fixed tests
* Fixed types
* Removed duplicate favicon.ico
* Fixing more types
* ImageResponse moved to next/og
* Fixed prisma import issues
* dynamic import for @ewsjs/xhr
* remove deasync dep
* dynamic import for @tryvital/vital-node
* fix type checks
* add back turbopack command
* Type fix
* Removed unneeded file
* fix turbopack relative path errors
* add comments
* remove unneeded code
* Fixed build errors
* await apis
* use Promise<Params> type in defaultResponderForAppDir util
* refactor scim api route
* fix type checks
* separate app-routing.config into client-config and server-config
* wip
* refactor routing forms components
* revert unneeded changes for easier review
* fix
* fix
* use CustomTrans
* fix type
* fix unit tests
* fix type error
* fix build error
* fix build error
* fix build error
* fix warnings
* fix warnings
* upgrade @tremor/react and tailwindcss
* numCols -> numItems
* fix forgot-password e2e test
* fix 1 more e2e test
* fix login e2e test
* fix e2e tests
* fix e2e tests
* clean up
* remove error
* use tremor/react 2.11.0
* fix
* rename CustomTrans to ServerTrans
* address comment
* fix test
* fix ServerTrans
* fix
* fix type
* fix ServerTrans usages 1
* fix translations
* fix type checks
* fix type checks
* link styling
* fix
---------
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Anik Dhabal Babu <[email protected] >
2025-03-20 21:30:51 -03:00
Benny Joo and Keith Williams
853f9bc436
perf: do not import from @calcom/ui barrel file ( #20184 )
...
* Icon and IconName
* Button and ButtonGroup
* UserAvatar
* AvatarGroup
* Avatar
* WizardLayout
* Dialogs
* EmptyScreen
* showToast and TextField
* Editor
* Skeleton
* Skeleton
* TopBanner and showToast
* Button again
* more
* perf: Remove app-store reference from @calcom/ui
* more
* Fixing types
* Icon
* Fixed casing
* dropdown
* more
* Select
* more
* Badge
* List
* more
* Divider
* more
* fix
* fix type check
* refactor
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix type check
* fix
* fix
* fix
* fix
* more
* more
* more
* more
* add index file to components/command
* fix
* fix
* fix
* fix imports
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix build errors
* fix build errors
* fix
---------
Co-authored-by: Keith Williams <[email protected] >
2025-03-19 19:00:55 -03:00
Keith Williams and hbjORbj
20d6eb5200
perf: Slim down loggedInViewer tRPC router ( #20111 )
...
* perf: Slim down loggedInViewer tRPC router
* Fixed trpc client calls for new routes
* Moved bookingUnconfirmedCount
* Moved getUserTopBanners to me router
* Moved shouldVerifyEmail to me router
* Moved i18n from public to its own router
* fix ssrInit
* fix ssrInit usage
* fix type check
* better naming
* fix
* fix
* Fix types
* Removed used of importHandler
---------
Co-authored-by: hbjORbj <[email protected] >
2025-03-16 18:22:48 -07:00
Sarvesh Bajaj
21d87d5a80
fix: No type errors in build ( #20075 )
2025-03-14 07:39:10 +00:00
837349e3d3
feat: Organization onboarding improvement - Payment before creation of org but onboarding doesn't require payment ( #18990 )
...
* create seed for org upgrade
* migrate about/new pages
* pages refactor + use persistant zustand store
* invited members view + confirm button
* add check to org slug
* check reserved subdomain
* remove quotes from subdomain env var
* intro to creation + billing
* create price
* fix types
* createWithPaymentIntent + permission check on teams
* open stripe link in popup
* intro to tests
* organization price and seat override tests
* move permissions to a new permission service
* update env and permission check
* intro to paid invoice trigger
* dont use subId
* wip
* Get e2e working with migration of teams and members
* fix ts errors
* Get flow working again
* Fix various issues and refactor
* Some more fixes
* Fix wrong page route link
* Platform onboarding fix and moving members of team to org rix
* Platform onboarding fix and moving members of team to org rix
* Fix tests, found a bug
* Get custom price flow working
* Get admin impersonation flow working for a non-existent user
* Fix unit test
* Admin onboarding handover
* fix admin onboarding tests
* fix ts error
* Get updateQuantity working
* More fixes
* fix test
* fix schema name
* Add tests
* Add missing file
* More tests
* Add more tests
* fix mt-2 moving down input into overflow
* fix handover layout removing HOC
* Update PR_TODO.md
* fix ts error due to merge conflict
---------
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: Hariom <[email protected] >
Co-authored-by: Omar López <[email protected] >
2025-03-13 11:17:43 +00:00
nizzy and Udit Takkar
082f8e1b04
fix: disable plain for self hosters ( #19853 )
...
* fix: disable plain for self hosters
* fix type error
* test update
---------
Co-authored-by: Udit Takkar <[email protected] >
2025-03-13 08:50:16 +00:00
Benny Joo
87bc8d649a
feat: add sentry report wrapper to every api route in appDir ( #19966 )
...
* update oauth tests
* fix parseRequestData
* add logging
* add fallback
* use ??
* updates
* use parseUrlFormData in saml/callback
* update tests
* fix
* remove log
* update
* any -> unknown
* use HttpErrors
* addressed
* unknown -> any
* feat: Add entry report wrapper to every api route in appDir
* fix
* fix unit test
* fix
2025-03-11 23:38:49 -04:00
Keith Williams
9d58d21e85
perf: Remove dayjs import from main constants.ts file ( #19644 )
2025-03-11 10:37:51 +00:00
sean-brydon and Benny Joo
d1ce04edc1
chore: move miscellaneous small api pages to app dir api ( #19699 )
...
* version and verify-booking-token
* username route
* api/me
* logo route
* render email in dev
* link route
* future
* nope and geo location
* referal link and daily
* intercom route and dynamic variables
* intercom route and dynamic variables
* scim 2.0 and helpscout route
* app credentials
* api/book events
* fix daily import path in tests
* fix buildLegacyRequest generation
* fix type errors
* migrate the /teams/ routes
* move cron jobs
* fix daily import path in tests
* fix buildLegacyRequest generation
* fix type errors
* migrate the /teams/ routes
* move cron jobs
* Revert "api/book events"
This reverts commit 607a32fb5b754cad090c2d0cbf64a68f990e220e.
* mock next server NextResponse to fix daily video
* add default responder to teams api
* fix search params
* uses nextUrl.searchParams instead of new url
* uses nextUrl.searchParams instead of new url
* remove outdated api config
* remove app dir version of inbound dynamic variables
* restore pages version of inbound variables
* fix missing code from stupid cursor
---------
Co-authored-by: Benny Joo <[email protected] >
2025-03-09 11:56:56 -04:00
nizzy
ba1ede2e31
fix: plain z index ( #19767 )
2025-03-05 16:15:01 +00:00
Udit Takkar and Bailey Pumfleet
b74a49f31d
fix: use impersonatedById ( #19682 )
...
Co-authored-by: Bailey Pumfleet <[email protected] >
2025-03-05 15:43:25 +00:00
Keith Williams
78d06c6d01
refactor: Move classNames from @calcom/lib to @calcom/ui ( #19674 )
...
* refactor: Move classNames from @calcom/lib to @calcom/ui
* Import fix
* Removed extra import of classNames
* Removed tailwind-merge from @calcom/lib
2025-03-03 15:54:33 +00:00
sean-brydon
c1ccd62f98
use profileUsername ( #19667 )
2025-03-03 12:28:40 +00:00
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
Hariom Balhara
564c84dade
fix: App theme being used in routing-form embed ( #19489 )
...
* fix wrong theme routing-form embed
* fix wrong theme routing-form embed
2025-02-28 23:50:46 +05:30
nizzy
1849fe7b74
feat: plain-thread-tier ( #19463 )
...
* tier select
* thread tier
* remove console logs
* requested changes to getting user tier
* test
* fix test error
* fix type errors on test
* pull latest
* route middleware fix
* double tierIdentifier
* updated test file
* build error
* plain cards fix up
* dayjs
* change orgs check to teams isOrgs check
* removed uneeded prisma calls and changed teams check
2025-02-28 17:42:34 +00:00
Lauris Skraucis
e437dfa000
refactor: platform default event types ( #19225 )
...
* feat: add areDefaultEventTypesEnabled to PlatformOAuthClient
* feat: specify areDefaultEventTypesEnabled when creating OAuth client
* feat: specify areDefaultEventTypesEnabled when updating OAuth client
* feat: display areDefaultEventTypesEnabled in OAuth clients list
* refactor: set areDefaultEventTypesEnabled by default to false on API level
* feat: v2 API CREATE managed user toggle default event types
* refactor: centralize OAuth inputs and outputs in platform/types
* fix: correct response types for OAuth hooks
* refactor: web/lib/hooks/settings/platform/oauth-clients/useOAuthClients.ts
* refactor: web/lib/hooks/settings/platform/oauth-clients/useOAuthClients.ts
* refactor: split web OAuth hooks into separate files
* refactor: split web OAuth hooks into separate files
* docs: v2 OAuth client inputs and outputs
* refactor: update and create oauth client inputs
2025-02-26 12:06:08 -03:00
Lauris Skraucis
a44bcafcf2
feat: v2 managed organizations ( #19341 )
...
* refactor: allow non unique PlatformBilling customerId
* feat: add PlatformBilling managed organizations fields
* feat: ManagedOrganization table
* refactor: bill overdue based on teamId
* refactor: restructure organizations module
* wip: organizations endpoints
* Revert "wip: organizations endpoints"
This reverts commit 0e9e66fc74f31da436f12930c1b6597c650ed621.
* refactor: unique index for managed organizations
* wip: organizations endpoints
* wip: create managed organization
* remove unecessary membership check because we have guard
* feat: create managed org
* feat: get managed org and orgs
* feat: update and delete managed orgs
* wip: api key logic
* feat: allow variable api key length
* feat: refresh managed org api key
* feat: create managed org OAuth clients using api key
* finish merge main
* chore: bump platform libraries
* tests: fix and add more tests to api-auth.strategy.e2e
* refactor: dont request managed org slug and handle metadata as object
* revert: billing service and repository update overdue based on sub and customer ids
* refactor: v2 OAuth client permissions (#19501 )
* refactor: v2 permissions as string array
* refactor: frontend work with permissions as string
* tests: test '*' permissions
* fix:managed org creator have profile & test can fetch oauth client
* fix: tests
* fix: OAuthClientCard on frontend
* fix: tests
2025-02-25 18:10:46 -07:00
Benny Joo
6ea879f265
perf: run ssrInit() at root layout ( #19460 )
...
* wip
* remove ssrInit unneeded
* refactor
* revert unneeded changes
* update booking-page-wrapper layout
2025-02-25 06:08:23 -05:00
Benny Joo
aba7c6df7f
perf: move all booking pages into (booking-page-wrapper) route group ( #19321 )
...
* update useIsBookingPage
* move team pages into use-page-wrapper route group
* update imports
* fix type check
* update
* update
* remove isBookingPage configure from booking client components
* move all booking pages to use-page-wrapper route group
* add checkIfBookingPage util
* update layout
* update AppProviders
* improve comments
* update
* update pagesAndRewritePaths logic
* refactor
2025-02-23 10:13:11 +01:00
Benny Joo
c2be796a5b
chore: remove deprecated code, Meta & MetaProvider ( #19407 )
...
* chore: remove deprecated code Meta, MetaProvider
* fix type checks
2025-02-21 09:01:44 -05:00
Pavan Naik and Tushar Bhatt
4a6704c934
fix occurences issues in booking page ( #19304 )
...
Co-authored-by: Tushar Bhatt <[email protected] >
2025-02-21 07:55:32 +00:00
Benny Joo
3221379584
chore: remove user routes from middleware ( #19345 )
2025-02-20 14:39:40 -03:00
Hariom Balhara and hbjORbj
25f3368fa1
fix: Plain Chat loading in embed ( #19348 )
...
* PlainChat has to be on dashboard and not on booking pages
* improve useIsBookingPage
---------
Co-authored-by: hbjORbj <[email protected] >
2025-02-19 06:40:32 +00:00