Page MenuHomeTometo Phabricator

Implement emails
ClosedPublic

Authored by aun on Sun, May 10, 8:45 PM.

Details

Reviewers
None
Commits
rTOME1d8e764e2c5a: Implement emails
Summary

The title for this revision is a bit out of scope, since this revision actually does much more than just "implement emails". What it
also does is refactor the authentication system to have proper _capabilities_ for email in the first place, add a password reset and
post-registration email confirmation feature, and refactor the database models to work with timezone-aware timestamps (trust me, not doing
this would have been a complete pain in the ass).

There are some features implemented in the backend that don't currently have a place in the frontend, mainly resetting your password and email
when you're logged in. This would go in a "user settings" page, which we don't have yet, and I want to wait until we do and until we put some more stuff on there
before I get to that.

Test Plan

You have to reset your database (mix ecto.reset) to use this, unfortunately.

Diff Detail

Repository
rTOME Tometo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

aun created this revision.Sun, May 10, 8:45 PM
Harbormaster returned this revision to the author for changes because remote builds failed.Sun, May 10, 8:46 PM
Harbormaster failed remote builds in B59: Diff 101!
aun updated this revision to Diff 102.Sun, May 10, 8:49 PM
  • Fix linter nags
Harbormaster returned this revision to the author for changes because remote builds failed.Sun, May 10, 8:54 PM
Harbormaster failed remote builds in B60: Diff 102!
aun updated this revision to Diff 103.Sun, May 10, 9:02 PM
  • Fix credo and mix compile nags
Harbormaster returned this revision to the author for changes because remote builds failed.Sun, May 10, 9:03 PM
Harbormaster failed remote builds in B61: Diff 103!
aun updated this revision to Diff 104.Sun, May 10, 9:04 PM
  • Fix nags ONE LAST TIME
Harbormaster returned this revision to the author for changes because remote builds failed.Sun, May 10, 9:08 PM
Harbormaster failed remote builds in B62: Diff 104!
aun updated this revision to Diff 105.Sun, May 10, 9:09 PM
  • Die
aun requested review of this revision.Sun, May 10, 9:14 PM
This revision was not accepted when it landed; it landed in state Needs Review.Sun, May 10, 9:21 PM
Closed by commit rTOME1d8e764e2c5a: Implement emails (authored by aun). · Explain Why
This revision was automatically updated to reflect the committed changes.