cal.pub0.org/pages
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
..
[user] Allows setting the event frequency to other than event length (#1349) 2021-12-19 12:11:31 +00:00
api Zomars/cal 794 normalize emails in db (#1361) 2021-12-21 00:59:06 +00:00
auth Zomars/cal 794 normalize emails in db (#1361) 2021-12-21 00:59:06 +00:00
availability Adds complementing text color for various brand colors that the user might choose (#1289) 2021-12-14 10:39:32 +00:00
bookings Zomars/cal 748 paid bookings are failing (#1335) 2021-12-17 16:58:23 +00:00
call fixed border color of daily video (#1255) 2021-12-06 09:49:56 +00:00
cancel prevent i18n flickering on pages (#1308) 2021-12-14 12:31:54 +00:00
event-types Allows setting the event frequency to other than event length (#1349) 2021-12-19 12:11:31 +00:00
integrations Zomars/cal 748 paid bookings are failing (#1335) 2021-12-17 16:58:23 +00:00
payment Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
reschedule Fixes Apple Calendar onboarding and type fixes (#988) 2021-10-20 15:42:40 +00:00
sandbox `/integrations` facelift (#858) 2021-10-12 11:35:44 +02:00
settings removed team from profile url (#1359) 2021-12-20 17:26:35 +01:00
team Zomars/cal 794 normalize emails in db (#1361) 2021-12-21 00:59:06 +00:00
404.tsx fixes 404 for subpaths, adds prefilled url to sign up form (#1355) 2021-12-20 09:11:39 +00:00
[user].tsx add select primary calendar (#1133) 2021-12-09 15:51:37 +00:00
_app.tsx re-enable batching (#1199) 2021-11-24 11:45:09 +00:00
_document.tsx feat: add better error handling (#605) 2021-09-09 16:51:06 +03:00
_error.tsx Fixes Apple Calendar onboarding and type fixes (#988) 2021-10-20 15:42:40 +00:00
getting-started.tsx E2E tests refactoring (#1318) 2021-12-15 16:25:49 +00:00
index.tsx Setup i18n and locale detection (#712) 2021-09-23 09:49:17 +01:00
success.tsx Zomars/cal 794 normalize emails in db (#1361) 2021-12-21 00:59:06 +00:00