Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to require verified email addresses #1307

Closed
thewilkybarkid opened this issue Oct 11, 2023 · 0 comments
Closed

Make it possible to require verified email addresses #1307

thewilkybarkid opened this issue Oct 11, 2023 · 0 comments

Comments

@thewilkybarkid
Copy link
Member

No description provided.

thewilkybarkid added a commit that referenced this issue Oct 11, 2023
This change adds a new form for the user's email address. It's a copy of the language form, so it doesn't ask for the correct details. It's placed behind a feature flag, turned off everywhere by default.

Refs #1307
thewilkybarkid added a commit that referenced this issue Oct 11, 2023
Note the email address cannot be saved.

Refs #1307, 0335582
thewilkybarkid added a commit that referenced this issue Oct 11, 2023
thewilkybarkid added a commit that referenced this issue Oct 11, 2023
thewilkybarkid added a commit that referenced this issue Oct 12, 2023
This change moves the module into a dedicated 'types' directory.

Refs #1307, a4a6af5
thewilkybarkid added a commit that referenced this issue Oct 12, 2023
thewilkybarkid added a commit that referenced this issue Oct 12, 2023
thewilkybarkid added a commit that referenced this issue Oct 12, 2023
thewilkybarkid added a commit that referenced this issue Oct 12, 2023
thewilkybarkid added a commit that referenced this issue Oct 13, 2023
I saw a test failure in CI where it generated a string that was a valid email address; this change naively filters out ones that look vaguely email-like. (I don't want to test the library we use for validating emails, so it doesn't need to be that precise.)

Refs #1307
thewilkybarkid added a commit that referenced this issue Oct 16, 2023
thewilkybarkid added a commit that referenced this issue Nov 2, 2023
This change is a prerequisite to sending an email to verify an address. Note that it is guessable.

Refs #1307
thewilkybarkid added a commit that referenced this issue Nov 2, 2023
I forgot to commit them.

Refs #1307, df12fe2
thewilkybarkid added a commit that referenced this issue Nov 2, 2023
This change makes each verification path unique; note it's still guessable, and email addresses will appear in logs.

Refs #1307
thewilkybarkid added a commit that referenced this issue Nov 2, 2023
As it's behind a feature flag, we don't need to worry about migrating old data.

Refs #1307
thewilkybarkid added a commit that referenced this issue Nov 2, 2023
This change is a prerequisite to making the path unguessable.

Refs #1307, 95c9016
thewilkybarkid added a commit that referenced this issue Nov 2, 2023
thewilkybarkid added a commit that referenced this issue Nov 3, 2023
thewilkybarkid added a commit that referenced this issue Nov 3, 2023
thewilkybarkid added a commit that referenced this issue Nov 3, 2023
HTML emails are notoriously hard to produce. This change adds a snapshot to check if it looks ok. This test isn't the same as ensuring it looks right inside an email client, but it's the best we can do.

I've had to change the link text as it contains a generated UUID and port number, which differ each time.

Refs #1307, https://explore.reallygoodemails.com/new-to-email-coding-heres-where-to-start-2494422f0bd4
thewilkybarkid added a commit that referenced this issue Nov 6, 2023
This commit uses the MJML language to generate the email HTML.

Refs #1307, b91209e, https://mjml.io/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant