Keith Williams and GitHub
6272c881c8
revert: "feat: Populate gCal calendar cache via webhooks ( #11928 )" ( #17675 )
...
This reverts commit d294a74aad .
2024-11-15 19:28:30 -03:00
Omar López and GitHub
bdf94c7f48
fix: removed calendar cache admin page ( #17676 )
2024-11-15 21:46:08 +00:00
d294a74aad
feat: Populate gCal calendar cache via webhooks ( #11928 )
...
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Update CalendarService.ts
* Type fixes
* WIP
* fix: improve cache hits
* Update CalendarService.ts
* Update CalendarService.ts
* Update CalendarService.ts
* Update CalendarService.ts
* Update CalendarService.ts
* Update CalendarService.ts
* Feedback
* Update CalendarService.ts
* Update CalendarService.ts
* Update _router.ts
* feedback
* WIP
* WIP
* Update schema.prisma
* feedback
* typefixes
* Update Calendar.d.ts
* fix: watches when adding a calendar
* Discard changes to packages/app-store/googlecalendar/api/add.ts
* WIP
Signed-off-by: Omar López <zomars@me.com >
* WIP
Signed-off-by: Omar López <zomars@me.com >
* WP
Signed-off-by: Omar López <zomars@me.com >
* Update calendar.ts
* Update calendar.ts
* Update callback.ts
* Update callback.ts
* Conflicts
* WIP
* WIP
* Update CalendarService.ts
* Cleanup
* Discard changes to packages/features/settings/layouts/SettingsLayout.tsx
* Update calendar-cache.repository.ts
* WIP
* Update getSelectedCalendarsToWatch.sql
* WIP
* Update CalendarService.ts
* Cleanup
* Discard changes to packages/app-store/googlecalendar/lib/CalendarService.ts
* Create CalendarService.wip.ts
* WIP
* Update CalendarService.ts
* Update getSelectedCalendarsToWatch.sql
* Delete CalendarService.wip.ts
* test updates
* cleanup
Signed-off-by: Omar López <zomars@me.com >
* Update CalendarService.test.ts
* Update CalendarService.ts
* type fixes
* Update OAuthManager.ts
* Update CalendarService.ts
* Almost there
* Update CalendarService.test.ts
* Update calendar.ts
* Update callback.ts
* Update toggleFeatureFlag.handler.ts
* fix: feedback
* Update getSelectedCalendarsToWatch.sql
* Fix unit tests
---------
Signed-off-by: Omar López <zomars@me.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-11-15 14:59:37 -03:00
Benny Joo and GitHub
42c4c134fa
chore: add missing i18n to metadata in settings/platform pages ( #17476 )
2024-11-05 02:37:12 +00:00
Benny Joo and GitHub
7263f3b00b
chore: settings/platform, settings/license-key - remove pages router and use app router ( #17384 )
...
* remove pages router and use app router
* remove pages router and use app router for platform
* add billing page and plans page
* fix metadata for settings/platform/billing
* fix metadata for settings/platform/oauth-clients
2024-11-04 15:56:43 -03:00
Benny Joo and GitHub
1a55f2d8e2
chore: settings/admin - remove pages router and use app router & add i18n to metadata ( #16773 )
...
* remove pages router and use app router
* remove testBothFutureAndLegacyRoutes for settings-admin e2e test
* add i18n for metadata
2024-10-29 12:49:21 -03:00
Benny Joo and GitHub
7d51741de0
fix: lint errors ( #17351 )
2024-10-27 08:05:27 +05:30
Omar López and GitHub
af363e975a
fix: disables cache for tasker cron ( #17331 )
2024-10-25 10:19:37 -07:00
b6cef49ee6
fix: app store title ( #17307 )
...
* Fix app store title
* refactor apps-view
* revert unneeded changes
* remove withoutMain
---------
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2024-10-24 21:18:38 +00:00
42265021fe
chore: settings/my-account - remove pages router ( #17056 )
...
* remove pages router and use app router
* fix page
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2024-10-11 16:30:03 +01:00
c8e8800647
chore: Update EWS package ( #16950 )
...
* Update ews package
* Hide exchange version if using NTLM
* Remove instance of gzip
* Update yarn.lock file
* Updated yarn.lock
* Update yarn.lock
* Update yarn.lock
* Update yarn.lock (again)
* chore: Increase readability of [number] indexes by using find
* chore: Async not needed
* fix: Move 'use client' to appropriate file
* refactor
* install deasync directly as dev dependency
* fix type error
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2024-10-10 15:48:58 +01:00
Benny Joo and GitHub
8f91ffe692
Revert "remove pages router and use app router ( #16793 )" ( #17002 )
...
This reverts commit 664a92a1d0 .
2024-10-08 15:00:43 -03:00
Benny Joo and GitHub
d8eb1df61d
fix: add suppressHydrationWarning to app router layout ( #16960 )
2024-10-07 12:40:09 +02:00
Benny Joo and GitHub
7b5a2726ab
fix: translations for insights, routing-forms, apps store, etc ( #16933 )
...
* remove outdated translations for insights
* use i18n strings for insights
* use i18n strings for routing forms
* use i18n strings for apps store
* fix more pages
* refactor
* fix
2024-10-04 09:45:51 -03:00
664a92a1d0
remove pages router and use app router ( #16793 )
...
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2024-10-04 10:28:21 +01:00
Benny Joo and GitHub
b283f1f8cd
fix: theme is not configured in app router ( #16889 )
...
* fix: theme is not configured in app router
* fix type error
* remove logs
* use testBothFutureAndLegacyRoutes
* add APP_ROUTER_SETTINGS_MY_ACCOUNT_ENABLED
2024-10-01 04:39:37 -04:00
Benny Joo and GitHub
74a46e8ba3
chore: (1) settings/security - remove pages router and use app router ( #16795 )
...
* remove pages router and use app router
* add settings layout
* remove env vars
2024-09-30 23:27:58 +01:00
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