Lucas Smith
2317473545
feat(web): improve session retrieval performance ( #7584 )
...
* feat(web): improve session retrieval performance
Switch to using `getServerSession` which avoids a HTTP round trip to retrieve session details.
Additionally, migrate deprecated `app/lib/auth` calls to to `@calcom/lib` package.
* fix: update failing test and lint
* Consolidates auth code in features
* Update yarn.lock
* Update packages/trpc/server/createContext.ts
* Oopsie
---------
Co-authored-by: zomars <zomars@me.com>
2023-03-10 23:45:24 +00:00
sean-brydon
c8019edb57
User email as impersonation if username is null ( #7250 )
2023-02-21 17:12:26 +00:00
sean-brydon
ce01537fe6
Fix errors ( #7134 )
2023-02-17 11:15:42 +00:00
sean-brydon
f4ed345a87
Fixes disable branding for teams and users ( #5913 )
...
* Adding new nextauth object
* Use correct brand hidden values
* Move check to getprops instead of a function
* Update apps/web/components/booking/pages/AvailabilityPage.tsx
* Update apps/web/components/booking/pages/AvailabilityPage.tsx
* Update apps/web/pages/[user]/[type].tsx
Co-authored-by: Leo Giovanetti <hello@leog.me>
* Update apps/web/pages/api/auth/[...nextauth].tsx
Co-authored-by: Leo Giovanetti <hello@leog.me>
* Update apps/web/pages/api/auth/[...nextauth].tsx
Co-authored-by: Leo Giovanetti <hello@leog.me>
Co-authored-by: Leo Giovanetti <hello@leog.me>
2022-12-07 15:04:04 +00:00
sean-brydon
58270fa653
Team impersonation ( #5863 )
...
* Re Implement frontend logic to impersonate team members
* Refactor dialog + correct disable toggle.
* fix translation
* Update packages/features/ee/impersonation/lib/ImpersonationProvider.ts
2022-12-05 12:03:36 +00:00
sean-brydon
546d0d50c4
Impersonation fix ( #4521 )
...
* Impersonation fix
* Update packages/features/ee/impersonation/lib/ImpersonationProvider.ts
Co-authored-by: Omar López <zomars@me.com>
* Fix zod schema
* Early returns
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Leo Giovanetti <hello@leog.me>
2022-09-17 21:09:06 +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