ac300ff670
refactor: enable infinite scrolling for all ( #16463 )
...
* refactor: enable infinite scrolling for all
* chore: remove unused code
* fix: tests
* chore: type err
* chore: update email embed test
* chore: update tests
* chore: update tests
* chore: fix horizontal tabitem
* chore
* fix: conflicts
* chore: conflict
* fix: E2E tests
* chore: remove idle
* fix test
---------
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
2024-09-30 10:44:04 +01:00
Omar López and GitHub
8e76d7bd10
chore: fix formatting ( #16750 )
2024-09-21 02:10:12 +00:00
Syed Ali Shahbaz and GitHub
c4a1382982
chore: add granular logging to the logger ( #16734 )
...
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update turbo.json
* Update trpc-provider.tsx
* Update logger.ts
* update prisma index
* Update trpc.ts
* Update trpc-provider.tsx
* Update trpc.ts
* Update .env.example
* Update logger.ts
2024-09-20 09:06:37 +00:00
f8dc7a115a
chore: App Router - remove references to /pages for remaining pages in /auth, /insights, /d, signup and add missing default /future page ( #16589 )
...
* remove references to /pages for sso, setup, signin pages in /auth
* remove references to pages for insights
* remove references to pages for d
* remove references to pages for signup
* add page for /future index page
* fix routing-forms
* fix
* add missing defaults
* use getServerSessionForAppDir instead
* fix apps/[slug]/[...pages]
* fix metadata in apps/slug/pages
* refactor
* refactor
* remove duplicate code for PageProps
* remove references to pages for /reschedule
* fix
* fix routing forms
* type fix
* fix routing forms again
* revert changes for app/slug/pages
* revert
* revert changes in yarn lock
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-09-19 15:06:51 +00:00
Benny Joo and GitHub
3ae53a4b6e
chore: App router - Fix errors in settings pages & add remaining pages ( #16648 )
...
* fix settings/admin/page
* remove references to pages for settings/teams
* remove double layouts
* move pages that do not need layout out of (settings) group
* fix
* fix
* fix
* fix
* add sso page and fix layouts
2024-09-19 09:59:32 +01:00
Benny Joo and GitHub
019ef6de2a
chore: App router migration - (/bookings, /booking) Move getServerSideProps/getStaticProps to /lib ( #16458 )
...
* booking: Move getServerSideProps to /lib
* remove duplicate
* bookings: Move getStaticProps to /lib
* fix type check
* replace setHeader with a server action call in withEmbedSSR
* Add env variables for booking
2024-09-18 19:09:57 -04:00
2b43d9a716
chore: EventTypeWebWrapper base pr ( #16550 )
...
* chore: EventTypeWebWrapper base pr
* fixup! chore: EventTypeWebWrapper base pr
* fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
* wip
* fix: error
* Event type atom wrapper handles app dir
* fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
* fixup! fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
* remove console log
* review comments
* fixup! review comments
* fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
2024-09-18 12:26:04 +03:00
Benny Joo and GitHub
f86a5db843
chore: App Router Migration, add metadata to getting-started, extract into /modules and add method to UserRepository ( #16449 )
...
* getting-started: extract into /modules
* fix
* fix type-check
* add findByIdWithOptionalSelect to UserRepository
* fix import error
* fix type check
* add metadata
* fix
2024-09-17 02:42:19 +00:00
Benny Joo and GitHub
aa3c91ebd6
chore: App router - add missing metadata for /[user] pages ( #16516 )
2024-09-16 10:42:00 -04:00
Benny Joo and GitHub
689e17bcf6
fix ( #16632 )
2024-09-15 20:23:37 -03:00
Benny Joo and GitHub
70348c6f64
fix: Add new api-key CTA button is missing in settings/developer/api-keys ( #16649 )
...
* Add new api-key button is missing
* fix type check
2024-09-15 22:09:03 +09:00
a5191d1e5a
chore: App-router-migration(/auth/verify) add missing metadata / page & extract components into /module ( #16444 )
...
* create StripeRepository and simplify code
* verify-email-change: extract getServerSideProps
* add verify-email-change to app router
* auth/verify: Add metadata in app router
* auth/verify: extract client component into /modules
* fix type checks for stripe
* fix stripe session handler
* improve getServerSideProps for verify-email-change
* add title to verify-email-change page metadata
* add title to verify page metadata
* refactor
* add safety
* fix
* remove references to pages for verify-email
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-09-13 16:13:33 +00:00
sean-brydon and GitHub
933eb0d057
remove teams layout ( #16624 )
2024-09-13 12:39:42 +00:00
Benny Joo and GitHub
d9133cb395
chore: App router migration - Create/Use EventRepository and Extract /team/**/* and /teams/* into /modules from /pages ( #16453 )
2024-09-12 18:58:08 -03:00
cf16cd3ed2
feat: Implement Dub.co for conversion tracking ( #16165 )
...
* FEAT: Implement Dub.co for conversion tracking
* add link creation, @vercel/functions
* use refer.cal.com/:username instead of go.cal.com/r/:username
* sale conversion tracking
* add copy referral link
* limit to IS_CALCOM only
* Update yarn.lock
* fix DubAnalytics
* use workaround for isNewUser
* pass req to getOptions
* Update next-auth-options.ts
* fix ts errors
* only show DubAnalytics outside EU
* add Dub Analytics to /signup
* use WEBSITE_URL instead
* on-demand generate links
* add migration
* add check for existing link + change fetch method to poast
* remove refer.cal.com from PoweredByCal
* limit DubAnalytics to /signup only
* simplify generate-referral-link
* restore yarn.lock
* add yarn with dub sdk in
* add yarn with dub sdk in
* yarn
* Update yarn.lock
---------
Co-authored-by: sean <sean@brydon.io >
Co-authored-by: Peer Richelsen <peer@cal.com >
2024-09-12 12:33:10 -07:00
Benny Joo and GitHub
55e1e0fa3d
chore: Remove passing optional prisma select prop to Repository classes ( #16600 )
2024-09-11 18:14:19 -07:00
Benny Joo and GitHub
74a9f3c19e
hotfix: availability/[schedule] ( #16598 )
2024-09-11 18:11:10 +00:00
d1a0fc6604
chore: App router migration - Fix /event-types/[type] page, move getServerSideProps to /lib for event-types pages ( #16457 )
...
* event-types: refactor and extract client code into /modules
* revert
* remove res in getServerSideProps
* remove res in getServerSideProps 2
* Create EventTypeAppDir and fix error in event-types/[type]
* add comments
* fix type-check
* fix 1 more type-check
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-09-11 02:41:46 +00:00
976013512c
perf: Server-Side Data Fetching in App Router: /workflows ( #16563 )
...
* wip
* complete server side fetching for app router
* fix type error
* fix
* address comments
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-09-10 19:25:59 -07:00
Benny Joo and GitHub
d9777a3011
perf: Server-Side Data Fetching in App Router: /availability ( #16536 )
...
* wip
* add method to OrganizationRepository
* server side fetching for availability
* fix error
* server side fetching finish
* remove log
* fix
* fix
* fix type
* no need to export
* fix type
* address nit comments
2024-09-10 19:23:42 -07:00
7725adedc8
chore: App router migration (org/[orgSlug]/instant-meeting), add missing page ( #16448 )
...
* Create event repository
* Use repository in event.handler
* fix type check
* migrate org/instant-meeting
* add export default
* fix metadata
* move getServerSideProps from @server/lib to @lib
* fix
* fix
* revert unneeded changes
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-09-10 18:43:50 -07:00
9ed1624111
chore: App router migration - settings/platform/**/*, settings/organizations/new and settings/organizations/[id]/* ( #16334 )
...
* remove WizardLayoutAppDir
* refactor organizations/new and add platform/new
* refactor organizations/[id]/*
* add APP_ROUTER_SETTINGS_ORG_ENABLED
* fix type error
* fix organizations/new page
* remove code not needed and fix type errors
* Fix Metadata utils
* remove unnecessary code
* remove unneeded code
* wip
* do not remove buildWrappedOnboardTeamMembersPage
* fix type error
* do not introduce changes to yarn.lock
* fix wrong route name
* fix onboard members
* fix platform pages
* fix settings/platform main view
* add requiresLicense to WithLayout
* refactor
* add requiresLicense to platform/new
* Add LicenseRequired back to platform/new
* add env variable
* fix onboard-members
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-09-09 17:19:44 -07:00
Benny Joo and GitHub
5dff1c6df0
chore: App router migration - /attributes, /privacy, /dsync, /license-key under /settings route group ( #16406 )
...
* migrate license-key/new
* migrate settings/org/dsync
* migrate settings/org/privacy
* migrate org attributes
* remove res in getServerSideProps
* Fix SettingsLayoutAppDir
* fix attributes pages
* fix
* fix
2024-09-09 17:19:12 -07:00
706d7dff42
perf: Server-Side Data Fetching in App Router: SettingsLayout / AdminLayout ( #16537 )
...
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-09-09 14:38:51 -07:00
84a2e55125
chore: App router migration - general settings ( #16312 )
...
* added lockedSMS to future routes
* add orgMigrations routes to future
* correct metadata
* small fix
* add orgMigrations to future
* Move components to client components
* Remove tRPC element from edit user RSC
* Get username for meta
* Remove suspense query
* Remove orgMigrations from app router
* Type fix
* Revert "Remove suspense query"
This reverts commit eadd814f6e4a5d6856d9218342b7909c22fe62c6.
* Handle suspenseQuery in app router
* User edit page, fetch data server side
* Update yarn.lock
* Export getFixedT
* Set PageWrapper as root layout for settings
* Settings Layout accepts strings for shell heading
* Add OOO to app router settings
* Refactor layout for my-account pages
* Remove instances of pages router from my-account
* Refactor security pages
* Add billing to app router
* Add admin API link to layout
* Add api keys page
* Webhooks WIP
* Refactor SettingsHeader to client component
* Add webhook pages
* Refactor API keys page
* Add admin app page
* Type fix
* fix types
* fix developer/webhooks/[id] param value type error
* remove unnecessary code
* do not pass t prop to CreateNewWebhookButton
* fix type errors in webhook-edit-view
* fix the remaining type errors
* do not use prisma directly in generateMetadata
* remove use client if unnecessary
* Remove unused shell heading from SettingsLayoutAppDir
* improve metadata
* fix billing page
* fix import in settings/teams
* Use next `notFound()`
* fix type check
* fix type check
* remove unused code
* Fix calendar setting page
* Separate settings pages into route groups
* Refactor admin settings pages
* Remove meta instance from billing page route
* Update settings layoutAppDir
* Refactor developer settings pages
* Refactor out of office
* Refactor my account settings
* Refactor admin api page
* Refactor security pages
* Type fix
* fix styling in settings layout
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2024-09-09 01:15:03 -04:00
Benny Joo and GitHub
d4b0516235
chore: App router migration - (/more, /maintenance, /connect-and-join, /upgrade) finish migration ( #16497 )
...
* more: extract client component into /modules folder
* maintenance: extract client component into /modules folder
* upgrade: extract client component into /modules folder
* improve WithLayout wrapper
* connect-and-join: extract client component into /modules folder
* add env vars
2024-09-06 17:22:05 +00:00
d2f7a427d0
chore: App-router-migration(/apps) fix metadata, extract components into /module and finish migration ( #16354 )
...
* fix metadata for apps page
* migrate apps route to modules
* migrate apps/[slug]
* migrate apps/[slug]/setup
* migrate apps/categories/**/*
* add apps/installed page to app router
* migrate apps/[slug]/[...pages]
* migrate apps/installed/**/*
* Add apps/installation/[[...step]] to App router
* fix imports
* add missing use client directive
* finish migration
* fix metadata
* fix metadata for apps/categories
* fix type for installation/[[...step]]
* fix type for apps/[slug]/[...pages]
* remove unnecessary code
* refactor
* fix apps/installation
* move getServerSideProps to lib
* fix import of apps/installation
* fix import for app slug page
* refactor
* fix installation page in app router
* remove res in getServerSideProps
* replace setHeader with NextResponse header setHeader
* refactor installed pages
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-09-06 15:40:19 +00:00
fced9a6355
feat: Add step in team creation form for selecting event type and create a team event ( #15286 )
...
* feat: Create team event on a new team creation
* fix
* fixed failed tests
* move team event type form
* fix type error
* requested chnages
* update
* some update and refactor
* fix e2e test
* Update useCreateEventType.ts
* update
* fix type error
* fix e2e
* update
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-09-05 12:33:18 -04:00
Benny Joo and GitHub
963d22648b
chore: App-router-migration(/availability) add pages / extract components into /module ( #16404 )
...
* migrate availability/[schedule]
* add use client directive
* migrate main availability page
* migrate availability/troubleshoot page
* add env var
* extract AvailabilitySettingsWebWrapper into /modules
* fix build
* add missing default
* add missing export
* fix troubleshoot
* use params, not searchParams in generateMetadata
* fix schedule page in app router
2024-09-05 12:37:18 +00:00
Benny Joo and GitHub
26be88fc56
chore: App-router-migration /auth/error, /auth/platform, /auth/oauth2 ( #16445 )
...
* preparePageMetadata: improve logic for title
* add missing pages: oauth2 / platform
* auth/error: add to app router and extract to /modules
2024-09-04 13:15:19 +00:00
Benny Joo and GitHub
86cf8feb55
chore: App-router-migration /auth/new and /auth/saml-idp ( #16447 )
...
* auth/new: add to app router
* auth/saml-idp: add to app router
* fix
2024-09-04 13:05:38 +00:00
Benny Joo and GitHub
d059b1399b
chore: App router migration - /auth/forgot-password/*, /auth/login, /auth/logout ( #16467 )
...
* migrate auth/forgot-password/*, auth/login, auth/logout
* revert
* fix forgot password
* fix folder structure
* fix logout
* fix middleware
* remove TODO log
* refactor logout
2024-09-03 18:53:16 +09:00
Benny Joo and GitHub
12a9c74eb6
chore: App router migration - Add method to BookingRepository & Extract /videos/**/* into /modules and /lib ( #16466 )
...
* meeting-ended: refactor and extract client code into /modules
* meeting-not-started: refactor and extract client code into /modules
* meeting-not-found: fix getData
* BookingRepository: add a new method
* video: refactor and extract client code into /modules
* refactor
* refactor getServerSideProps
* use findBookingByUid for more getServerSideProps functions
* rename findBookingByUid -> findBookingByUidWithOptionalSelect
* add safety
2024-09-03 18:53:02 +09:00
Benny Joo and GitHub
55d75a9786
chore: App router migration (/workflows) fix metadata and remove duplicate file for getStaticProps ( #16452 )
...
* Fix metadata
* add use client directive to workflow component
2024-09-02 23:00:48 +05:30
ae55e5e264
chore: App Router Migration - Ensure isBookingPage is correctly flagged before being passed to PageWrapper ( #16362 )
...
* Ensure adding isBookingPage is done in components in /modules, not in /pages
* Detect isBookingPage prop coming from Page and add it to page wrapper app dir
* fix build
* fix
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-08-29 17:03:02 -04:00
Joe Au-Yeung and GitHub
6b244fc5b5
fix: Move future/workflow/[workflow] getStaticProps into separate file ( #16124 )
2024-08-28 08:53:32 -04:00
Benny Joo and GitHub
47e8907184
chore: App Router Migration - Fix metadata util used in App Router and remove duplicate code ( #16346 )
2024-08-27 13:28:09 -04:00
Benny Joo and GitHub
5bcefb0b3e
settings/teams/[id]/sso is not needed ( #16288 )
2024-08-21 16:47:34 +00:00
Omar López and GitHub
101fea2c1c
fix: cross domain SVG sprites ( #16244 )
2024-08-16 16:33:10 +00:00
sean-brydon and GitHub
3666c260ee
fix: remove layout as its already in /future/settings/teams/layout.tsx ( #16172 )
2024-08-12 16:08:15 +00:00
45db5c0d5e
refactor: event types infinite scroll ( #15949 )
...
* chore
* chore
* feat: paginated event types
* fix: event types page
* fix: k bar
* fix: event type order
* fix: type error
* chore: remove commented code
* chore: type err
* chore: type err and feedback
* feat: add old component
* chore: missing import
* fix: add isInfiniteScrollEnabled prop
* chore: type err
* chore: type error
* feat: auto fetch next page when button is in view
* Update packages/lib/server/repository/eventType.ts
* Update packages/lib/server/repository/eventType.ts
* chore: feedback
* fix: managed event types
* fix: Review fixes for event-types-infinite-scroll (#16047 )
* Review fixes
* chore: missing import
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Udit Takkar <udit222001@gmail.com >
* chore: type error
* chore
* fix: delete event type
* fix: create event dialog
* fix: create and duplicate dialog
* chore: simplify return type
* fix: type
* chore: invalidate query
* chore: remove query
* fix duplicated event not showing.
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
2024-08-05 16:01:03 +04:00
37caa57798
fix: Add CORP and COEP headers to embedded pages ( #15275 )
...
* Add CORP headers
* Improve test
* Add unit tests as well
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-07-29 11:54:31 +02:00
2ad3592eb3
chore: Introduce a new class WebAppURL that extends URL ( #14982 )
...
* chore: Introduce a new class WebAppURL that extends URL
* update
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-07-18 07:27:34 +00:00
Somay Chauhan and GitHub
6d2ec71df3
add missing getServerSideProps to /event-types ( #15731 )
2024-07-13 09:51:00 +00:00
Keith Williams and GitHub
fa40f1ead5
fix: 404s becoming 500s ( #15696 )
2024-07-09 12:35:34 +02:00
Omar López and GitHub
8c2f6ae145
Revert "fix: 404 collisions ( #15249 )" ( #15339 )
...
This reverts commit 5d01eb2f38 .
Signed-off-by: zomars <zomars@me.com >
2024-06-05 20:33:19 +00:00
5d01eb2f38
fix: 404 collisions ( #15249 )
...
* fix: 404 collisions
* Added E2E test
* Removed await
* Attempting to fix E2E
* fingers crossed
Signed-off-by: zomars <zomars@me.com >
* fix: e2e tests
* fix: missing navigation to 404 page
* fix: don't interrupt post login navigation
* fix: Expect owner as possible host for RR events
---------
Signed-off-by: zomars <zomars@me.com >
Co-authored-by: Omar López <zomars@me.com >
2024-05-31 22:28:43 +00:00
Peer Richelsen and GitHub
2d0cac0dad
fix: windows app styling ( #14805 )
2024-05-06 17:41:45 +00:00
5695ba7c13
feat: Tasker ( #14180 )
...
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-04-18 11:56:25 -07:00
Hariom Balhara and GitHub
aa2808d621
fix: Broken SSR for event booking pages ( #14497 )
...
* fix: Broken SSR for event type pages
* Add test
* Consider requestedSlug as well for instances that require payment
* Add a todo test
2024-04-11 10:57:15 +01:00