Add ability to store user active room, with skeleton accounts. #72

Manually merged
projectmoon merged 1 commits from user-state into master 2021-05-25 22:47:11 +00:00
Owner

This:

  • Adds a user_state table, currently only with active_room.
  • A user must have an account to take advantage of state.
  • Now, all users will get an 'account' even if they don't explicitly register.
  • Bonus: converts user queries to compile-time checked macros.

To support these automatically created "accounts," the accounts table
now also has an account_status column, indicating if the user is
registered or not (or pending activation--future use).

The User model has been updated with extra properties from the state,
and the user is now carrried in the Context during command execution.
A user is ensured to be created before executing the command.

This: - Adds a user_state table, currently only with active_room. - A user must have an account to take advantage of state. - Now, all users will get an 'account' even if they don't explicitly register. - Bonus: converts user queries to compile-time checked macros. To support these automatically created "accounts," the accounts table now also has an account_status column, indicating if the user is registered or not (or pending activation--future use). The User model has been updated with extra properties from the state, and the user is now carrried in the Context during command execution. A user is ensured to be created before executing the command.
projectmoon added 1 commit 2021-05-25 22:38:12 +00:00
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
5d002e5063
Add ability to store user active room, with skeleton accounts.
- Adds a user_state table, currently only with active_room.
 - A user must have an account to take advantage of state.
 - Now, all users will get an 'account' even if they don't explicitly register.
 - Bonus: converts user queries to compile-time checked macros.

To support these automatically created "accounts," the accounts table
now also has an account_status column, indicating if the user is
registered or not (or pending activation--future use).

The User model has been updated with extra properties from the state,
and the user is now carrried in the Context during command execution.
A user is ensured to be created before executing the command.
projectmoon manually merged commit 5d002e5063 into master 2021-05-25 22:47:11 +00:00
projectmoon deleted branch user-state 2021-05-25 22:50:26 +00:00
Sign in to join this conversation.
No description provided.