* Ends the war between tRPC and next-i18next
* Locale fixes
* Linting
* Linting
* trpc i18n (not working) (#942)
* simplify i18n handler and remove redundant(?) fn check
* split up viewer to a "logged in only" and "public"
* wip -- skip first render
Co-authored-by: Omar López <zomars@me.com>
* Linting
* I18n fixes
* We don't need serverSideTranslations in every page anymore
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alex Johansson <alexander@n1s.se>
* Several type fixes
* Update ee/lib/stripe/client.ts
Co-authored-by: Alex Johansson <alexander@n1s.se>
* Typo
* Refactors createPaymentLink
* Simplify calendarClietn type
Co-authored-by: Alex Johansson <alexander@n1s.se>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* Update common.json
* Banner instructions were incorrect.
Removed the I from "I Agree". License banner indicates setting NEXT_PUBLIC_LICENSE_CONSENT env var to "I Agree". Env var NEXT_PUBLIC_LICENSE_CONSENT set to only accept "agree"
* Update common.json
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: Peer Richelsen <peer@cal.com>
* added license banner and NEXT_PUBLIC_LICENSE_CONSENT in .env.example. agree to hide the banner
* minor changes to license banner
* added /ee/ to tailwind purge config
* wip
* wip
* wip
* wip
* wtf
* should be all the logic
* comment
* fix receiver name
* safeguard a bit more
* downgrade users cron job
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Makes userRequired middleware
* Prevent users from changing usernames to premium ones
* refactor on zomars' branch (#801)
* rename `profile` -> `mutation`
* `createProtectedRouter()` helper
* move profile mutation to `viewer.`
* simplify checkUsername
* Auto scrolls to error when there is one
* Renames username helpers
* Follows db convention
Co-authored-by: Alex Johansson <alexander@n1s.se>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
* Adds react-use-intercom
* Adds intercom env var
* Loads intercom dynamically if env is set
* CAL-473 Fixes client-side routing for authed pages
* Moves intercom code to ee
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* chore: change calendso strings to cal.com
* rebase LICENSE
* rebase LICENSE
* strings that were missed
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>