cal/components
Omar López 7bc7b241ac
Zomars/cal 794 normalize emails in db (#1361)
* Email input UX improvements

* Makes email queries case insensitive

* Lowercases all emails

* Type fixes

* Re adds lowercase email to login

* Removes citext dependency

* Updates schema

* Migration fixes

* Added failsafes to team invites

* Team invite improvements

* Deleting the index, lowercasing 

```
calendso=> UPDATE users SET email=LOWER(email);
ERROR:  duplicate key value violates unique constraint "users.email_unique"
DETAIL:  Key (email)=(free@example.com) already exists.
```

vs.

```
calendso=> CREATE UNIQUE INDEX "users.email_unique" ON "users" (email);
ERROR:  could not create unique index "users.email_unique"
DETAIL:  Key (email)=(Free@example.com) is duplicated.
```

I think it'll be easier to rectify for users if they try to run the migrations if the index stays in place.

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-12-21 00:59:06 +00:00
..
booking Zomars/cal 794 normalize emails in db (#1361) 2021-12-21 00:59:06 +00:00
dialog ui updates to integrations page (#962) 2021-10-15 12:01:49 +02:00
error Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
eventtype Upgrades to tailwindcss v3 (#1294) 2021-12-13 11:01:33 +00:00
form Zomars/cal 794 normalize emails in db (#1361) 2021-12-21 00:59:06 +00:00
integrations Zomars/cal 748 paid bookings are failing (#1335) 2021-12-17 16:58:23 +00:00
pages/eventtypes replaced btn-primary, btn-secondary, btn-white with respective Button equivalents (#1218) 2021-11-29 06:37:31 +00:00
security Adds complementing text color for various brand colors that the user might choose (#1289) 2021-12-14 10:39:32 +00:00
seo integration page follow ups (#912) 2021-10-13 13:35:25 +02:00
team Zomars/cal 794 normalize emails in db (#1361) 2021-12-21 00:59:06 +00:00
ui Even Better Teams (#1304) 2021-12-17 00:16:59 +00:00
AddToHomescreen.tsx Adds complementing text color for various brand colors that the user might choose (#1289) 2021-12-14 10:39:32 +00:00
BookingsShell.tsx more strings extractions (#963) 2021-10-15 10:53:42 +00:00
ClientSuspense.tsx refactor `/integrations` with `<Suspense />` (#1078) 2021-10-30 15:54:21 +00:00
CustomBranding.tsx Adds complementing text color for various brand colors that the user might choose (#1289) 2021-12-14 10:39:32 +00:00
Dialog.tsx removed overflow hidden from dialog to fix dropdowns (#1321) 2021-12-15 13:47:38 +00:00
EmptyScreen.tsx changes to bookings and sidebar dropdown (#991) 2021-10-19 12:38:05 +00:00
I18nLanguageHandler.tsx Show loading spinner on `<Shell />` until i18n is loaded (#946) 2021-10-14 19:10:44 +00:00
ImageUploader.tsx Improvement/teams (#1285) 2021-12-09 23:51:30 +00:00
List.tsx ui updates to integrations page (#962) 2021-10-15 12:01:49 +02:00
Loader.tsx replaced black color with new brand variable to make styling easier (#1125) 2021-11-04 14:30:37 +00:00
Logo.tsx tablet navigation: removed code redundancy & fixed alignment (#1241) 2021-12-02 20:52:38 +00:00
NavTabs.tsx changes to bookings and sidebar dropdown (#991) 2021-10-19 12:38:05 +00:00
SettingsShell.tsx moved embed and webhooks from settings into /integrations (#978) 2021-10-17 10:35:25 +01:00
Shell.tsx Even Better Teams (#1304) 2021-12-17 00:16:59 +00:00
Slider.tsx Chore: Resolves TS errors related to FileReader/ImageUploader (#965) 2021-10-16 10:42:28 +00:00
Tooltip.tsx fixed tooltips (#1311) 2021-12-14 12:44:11 +00:00