sean-brydon
57384eb921
perf: Replace un-needed context fetching ( #10657 )
...
* Replace ctx.user.credentials to fetch in their own usecases
* Remove rawavatar from return
* Remove avatar rawAvatar from handler
* Fix fallback avatars
* fix: profile.slug already includes /team
* perf: Deprecate useAvatarQuery hook
* Extract to reusable credential func
* Fix type errors for credentials
* credentialOwner was inferred incorrectly, string non-nullable
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-08-10 18:07:09 +01:00
sean-brydon
9e70a985e4
feat: email verification ( #9081 )
...
* Verify - inital email commit
* Add token type - api redirect - migration
* Redirect and valid api callback route
* Update email design
* Change signup URL to redirect to verify-email
* Add feature flag - add a11y text to email - add top banner
* Shell shouldnt redirect to onboarding if the user needs to verify account
* Move flag check to server
* Cleanup
* Rate limit
* Fix redirects
* Remove api signup mess
* Double negation for forced bool
* Fix props
* Update packages/emails/templates/account-verify-email.ts
* Enable migration by default
* Fix typos
* Fix google verify issue
* Update packages/features/auth/lib/verifyEmail.ts
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
* NITS: @harioms addressed
* Remove schema changes
* Fix NITs+ improvments
* Update apps/web/pages/api/auth/verify-email.ts
Co-authored-by: Omar López <zomars@me.com>
* Update packages/features/ee/common/components/LicenseRequired.tsx
Co-authored-by: Omar López <zomars@me.com>
* Update apps/web/pages/api/auth/verify-email.ts
Co-authored-by: Omar López <zomars@me.com>
* Always preloads feature flags
* Update verifyEmail.ts
* Update schema.prisma
* Type fix
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
2023-06-07 07:27:48 +00:00
Keyur Patel
3239976e18
Fix: Profile update refresh issues ( #8570 )
...
* profile update refresh fixes
* updated avatar based on logged in user
* lint & types check fixes
* fixed settings layout to fetch udpated session
* pushing the 8448 changes to separate PR
* removing hook not required
* Removed extra code
---------
Co-authored-by: Keyur Patel <keyur.patel@difx.io>
Co-authored-by: Alan <alannnc@gmail.com>
2023-05-20 00:37:58 +00:00
Julius Marminge
db7c3fb52f
feat: trpc v10 migration ( #5332 )
...
* migrate router
* createTRPCReact
* frontend 1
* random format change
* frontend 2
* withQuery
* form router
* TS-ERROR: proxy on utils-client
* inferance
* ssg
* reuse
* trpc rc4
* Apply suggestions from code review
* skip test
* move skip one level up
* whops
* rc 6 with new setData func
Co-authored-by: zomars <zomars@me.com>
2022-11-10 23:40:01 +00:00
Omar López
464343f5ab
Refactors EE code ( #3490 )
...
* WIP
* WIP
* Type and migration fixes
* Adds missing default import
* Fixes import
* Fixes tRPC imports in App Store
* Migrate stripe helpers
* WIP
* Type fixes
* Type fix?
* WIP
* WIP
* Update index.ts
* Fixes
* Update workflow.tsx
* Moved queries to lib
* Moves QueryCell
* Migrates MultiSelectCheckboxes
* WIP
* CryptoSection type fixes
* WIP
* Import fixes
* Build fixes
* Update app-providers.tsx
* Build fixes
* Upgrades hookform zod resolvers
* Build fixes
* Cleanup
* Build fixes
* Relocates QueryCell to ui
* Moved List and SkeletonLoader
* Revert QueryCell migration
* Can't use QueryCell here
* oops
* CryptoSection cleanup
* Update app-providers.tsx
* Moved ee to features
* ee to features/ee
* Removes @calcom/ee
* Adds possible feature locations
* Build fixes
* Migrates stripe to app-store lib
* Colocates stripe imports
* Update subscription.ts
* Submodule sync
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-28 13:58:26 -06:00