-
Notifications
You must be signed in to change notification settings - Fork 0
Formatted emails #382
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
Open
jzgom067
wants to merge
23
commits into
v1.0.0
Choose a base branch
from
formatted-emails
base: v1.0.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Formatted emails #382
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
08e7d97
Add local email testing
jzgom067 c8c5fda
Add EMAIL_BRIDGE_SECRET to .env files
jzgom067 4766054
Establish basic email rendering logic
jzgom067 6cb9620
Remove dark mode support
jzgom067 c983859
Center text content
jzgom067 3a2d73c
Add email verification message with error handling
jzgom067 b1b848b
Rename email notes to content
jzgom067 c549944
Restructure text content
jzgom067 c709a65
Add password reset email
jzgom067 b1735f2
Add password reset code email
jzgom067 f63bbea
Create send_templated_email function
jzgom067 9483a0b
Add SEND_EMAILS check to email send function
jzgom067 5aa6ab0
Create email template key enum
jzgom067 b5780b6
Replace password reset code email
jzgom067 21558bf
Update email function docstring
jzgom067 efe0394
Remove unused imports
jzgom067 fc57fa7
Replace auth endpoint emails
jzgom067 8d16a06
Add expiration info to codes and links
jzgom067 583a56c
Add EMAIL_TIMEOUT
jzgom067 9753894
Add error handling for email sending
jzgom067 a9bdaf9
Add check for secret being set
jzgom067 d0210ec
Add trailing slash comments on frontend .env
jzgom067 988ec32
Replace invalid Tailwind class
jzgom067 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,17 @@ | ||
| # Enable debug mode, important to have this false in production for security | ||
| NEXT_PUBLIC_DEBUG=true | ||
|
|
||
| # The base URL for the frontend, used for generating links in emails (no trailing slash) | ||
| BASE_URL=http://localhost:3000 | ||
|
|
||
| # The API URL for both the client and the Next.js server to communicate with the backend | ||
| # Note the lack of a trailing slash | ||
| # (no trailing slash) | ||
| NEXT_PUBLIC_API_URL=https://example.com | ||
|
|
||
| # The URL for the feedback form | ||
| NEXT_PUBLIC_FEEDBACK_FORM_URL=https://forms.example.com/feedback | ||
| NEXT_PUBLIC_FEEDBACK_FORM_URL=https://forms.example.com/feedback | ||
|
|
||
| # Secret key for authorization into the email template renderer | ||
| # Must be the same as the one in the backend .env file | ||
| # Can be left as a placeholder for development | ||
| EMAIL_BRIDGE_SECRET=secret |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.