-
Notifications
You must be signed in to change notification settings - Fork 7
feat(Registration): Email verification #335
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
Aaron-Detre
wants to merge
47
commits into
develop
Choose a base branch
from
email-verification
base: develop
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
Changes from 25 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
54ab686
Added new columns to teacher data and modified welcome email
Aaron-Detre 9f8cfb0
Verification endpoints
Aaron-Detre 8e2d702
Update verification URL to match endpoint
Aaron-Detre ac5ed80
Show a confirmation when a user's account has just been verified
Aaron-Detre 8cce7f5
Added endpoint to resend the verification email
Aaron-Detre 6d52c63
Minor change to email
Aaron-Detre 92e45ab
Move teacher registration into separate class
Aaron-Detre 907d683
Refactor teacher registration
Aaron-Detre ad53a48
Fix tests
Aaron-Detre 92b951b
Minor change
Aaron-Detre 46c4666
Merge branch 'refactor-teacher-registration' into email-verification
Aaron-Detre 7a8f57a
Move contents of UserVerificationAPIController into more appropriate …
Aaron-Detre 9d941f7
Welcome email only after verifying account
Aaron-Detre 97e49d1
Should keep trying to set verification code until unique constraint i…
Aaron-Detre 29095d9
Minor bug
Aaron-Detre d2b8042
Redirect to login with an error flag if verification code doesn't mat…
Aaron-Detre 896a3bc
Move email specific code to MailService
Aaron-Detre dad7c6e
Added tests (some untested)
Aaron-Detre eab5572
Merge branch 'develop' into email-verification
Aaron-Detre a499a64
Separate sending welcome email from getting login link to make steps …
Aaron-Detre 6fc8b46
Can't get user details for null user bug
Aaron-Detre 0845082
Changed old tests that are failing
Aaron-Detre 19bf231
Set teachers as verified if sending mail is not enabled
Aaron-Detre 9755823
Added sql changes to database migrations
Aaron-Detre 30fe780
Merge branch 'develop' into email-verification
Aaron-Detre 2b560da
Merge branch 'develop' into email-verification
Aaron-Detre efdae2c
Moved isVerified to separate controller
Aaron-Detre fb967d3
Moved verifyTeacher to separate controller
Aaron-Detre d949921
Moved sendVerifyTeacherEmail to separate controller
Aaron-Detre c308af0
Fixed naming and indentation issues
Aaron-Detre 1c5391c
Clean code in TeacherVerificationAPIController
Aaron-Detre 8ab7312
Moved teacher mail methods to separate service
Aaron-Detre b924f5e
Updated verification url to match new endpoint
Aaron-Detre c081806
Handle verification check in authentication process
Aaron-Detre 90cf23b
Properly handle duplicate verification codes
Aaron-Detre 9398e20
Properly handle duplicate verification codes
Aaron-Detre abbebbe
Merge branch 'email-verification' of https://github.com/WISE-Communit…
Aaron-Detre 6923b62
Fixed tests
Aaron-Detre fdac1d9
Set verification code in createTeacherUser for tests
Aaron-Detre 5a7b8f7
Fixed tests
Aaron-Detre 6d0e666
Added verification code setter that generates random UUID
Aaron-Detre edd860f
Removed redundant teacher from method names
Aaron-Detre f72948c
Deleted TeacherIsVerifiedAPIController
Aaron-Detre f479e70
Removed unused imports
Aaron-Detre 14caee2
Removed spaces from catch blocks
Aaron-Detre d3ff2a7
Fixed tests
Aaron-Detre 59997ac
Fixed tests
Aaron-Detre 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
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.