cal/lib
Omar López dd9f801872
cal 485 prevent users from changing their username to premium ones (#799)
* 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>
2021-09-28 09:57:30 +01:00
..
config Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
core cal 485 prevent users from changing their username to premium ones (#799) 2021-09-28 09:57:30 +01:00
emails Bugfix/include zoom location (#715) 2021-09-22 23:43:10 +01:00
events Bugfix/include zoom location (#715) 2021-09-22 23:43:10 +01:00
forgot-password/messaging chore: change calendso strings to cal.com (#707) 2021-09-21 10:59:34 +01:00
hooks statically render profile pages (#615) 2021-09-27 17:09:19 +01:00
integrations Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
mutations Fixes eventype form (#777) 2021-09-26 21:49:16 +00:00
queries/event-types Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
teams Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
types Fixes eventype form (#777) 2021-09-26 21:49:16 +00:00
app-providers.tsx add tRPC (#614) 2021-09-27 14:47:55 +00:00
asStringOrNull.tsx Fixes eventype form (#777) 2021-09-26 21:49:16 +00:00
auth.ts Add two-factor authentication (#692) 2021-09-21 10:29:20 +01:00
calendarClient.ts Setup i18n and locale detection (#712) 2021-09-23 09:49:17 +01:00
CalEventParser.ts Setup i18n and locale detection (#712) 2021-09-23 09:49:17 +01:00
classNames.ts `<Button>`-component (#480) 2021-08-23 14:45:25 +02:00
clock.ts Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
crypto.ts cal-101-caldav-integration (#419) 2021-08-14 20:53:59 -05:00
event.ts add linting in CI + fix lint errors (#473) 2021-08-19 14:27:01 +02:00
getting-started.tsx mv `ONBOARDING_INTRODUCED_AT` to new file (#557) 2021-09-02 16:36:58 +00:00
integrations.ts Adds Stripe integration (#717) 2021-09-22 19:36:13 +01:00
isBrandingHidden.tsx move calendso branding into pro (#629) 2021-09-13 10:48:55 +01:00
jsonUtils.ts Final thing to check is timezones, currently if I am in Kuala Lumpur the time is correct, but it jumps 8 hours due to being out of bound on Seoul. 2021-06-29 01:45:58 +00:00
location.ts Added zoom as an event location and fixed ESLint 2021-06-25 00:26:55 +02:00
logger.ts Add application logger (#332) 2021-07-09 10:49:42 -05:00
member.ts Cal 262 refactor edit teams according to the design reference (#516) 2021-09-06 14:22:22 +01:00
notification.ts added useNotification @lib, using it in EventType (#468) 2021-08-18 10:18:18 +02:00
parseZone.ts Fixes timeZone() by no longer needing timeZone() (#646) 2021-09-15 03:58:29 +01:00
prisma.ts add free plan (#549) 2021-09-06 13:51:15 +00:00
profile.ts Remove image from session, add /api/me, update Avatar component (#493) 2021-08-22 14:16:42 +01:00
serverConfig.ts add linting in CI + fix lint errors (#473) 2021-08-19 14:27:01 +02:00
slots.ts Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
slugify.ts [CAL-409] Prevents usernames with special characters (#668) 2021-09-18 00:08:02 +01:00
team.ts Cal 262 refactor edit teams according to the design reference (#516) 2021-09-06 14:22:22 +01:00
telemetry.ts Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
trpc.ts statically render profile pages (#615) 2021-09-27 17:09:19 +01:00
videoClient.ts Bugfix/include zoom location (#715) 2021-09-22 23:43:10 +01:00