Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Update onboarding so that when a user signs up they get a welcome email. #126

Open
zorn opened this issue Nov 4, 2023 · 0 comments
Open

Comments

@zorn
Copy link
Member

zorn commented Nov 4, 2023

This ticket might morph into a larger work on designing onboarding. Just getting an idea out of my head that came up during #96

zorn added a commit that referenced this issue Nov 7, 2023
…tion and authentication [Fixes #96] (#98)

* adding notes file

* Add `ash_authentication` to the formatter dependencies.

* Add `ash_authentication` dependancies.

* A work-in-progress implementation of Ash Authentication with some demo code in `/backend-elixir/temp.ex` on it's way to being formalized via a code interface and then tested.

* Fix comment syntax.

* WIP towards adding registration to the Graph API.

* Update some dependencies.

* Adjust module documentation.

* Move alias to be below import.

* Delete comments.

* Add first pass at registration via graph tests.

* Update Elixir dependencies.

* Updated notes file.

* Add config for `ash_graphql`.

* Add type for `User`.

* Mark `hashed_password` as private so it does not end up on the graph api.

* Add `sign_in_with_password` to the User interface and expose it on the graph.

* Define a AshGraphql.Error impl for AuthenticationFailed so bad sign-ins can be represented on the graph.

* Remove user test module since we are testing the API experience.

* Create arrange account module to help tests prepare system state before a test, through the real interface (and not by injecting db rows).

* Add test moduledoc.

* Function renames.

* First pass at some authentication tests.

* Bump some dependencies.

* Remove todo that was converted into future issue #126.

* Formatter wants newline.

* Add timestamps to User.

* Refactor test descriptions and comments.

* Add password confirmation to incoming user attribute map so these helper functions can be used by registration tests.

* Refactor tests to use new arrange functions.

* Add `studyhall` to local spelling dictionary.

* Add check in runtime for FRONTEND_URL configuration during production.

* Add `request_password_reset` action to `User`.

* Add a simple account to the seeds file.

* Update temp notes with new derived actions.

* Add email and sender that will be used by `User` for password things.

* Add basic tests of `requestPasswordReset` api endpoint.

* Fix credo style.

* Add `password_reset` function to the interface and the graph.

* The password reset graphql endpoint will need both the token and the user id, so make sure we include the user id in the reset URL.

* Assert message over shortMessage.

* Add tests for password reset.

* Update temp notes.

* Add `FRONTEND_URL` to documented environment variables.

* Remove temp notes file.

* Remove notes file.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant