cal.pub0.org/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
CalEventParser.ts Setup i18n and locale detection (#712) 2021-09-23 09:49:17 +01: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
classNames.ts
clock.ts Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
crypto.ts
event.ts
getting-started.tsx
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
location.ts
logger.ts
member.ts
notification.ts
parseZone.ts Fixes timeZone() by no longer needing timeZone() (#646) 2021-09-15 03:58:29 +01:00
prisma.ts
profile.ts
serverConfig.ts
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
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