Victor Vrantchan
b39018f84d
Add viewer info to nav.
2021-02-20 22:03:04 -05:00
Victor Vrantchan
2f601dd30d
Add FindUser method.
...
Returns the user by id.
2021-02-20 21:53:58 -05:00
Victor Vrantchan
695856b205
Handle unique constraint for user registration.
...
Returns an error if the same username or email already exists.
2021-02-20 18:24:39 -05:00
Victor Vrantchan
7fd2c8b33f
Return 404 errors for missing resources.
...
Update login and register forms to return the right errors when the user
info can't be found.
2021-02-20 17:48:04 -05:00
Victor Vrantchan
7d75f581ec
Added users sessions ( #696 )
...
Added login/logout pages and respective database methods for handling users sessions.
2020-08-08 17:15:34 -04:00
Victor Vrantchan
1d698cd23e
Add account management web pages ( #694 )
...
Added internal/frontend/account to implement account management code.
Added user registration templates and handlers.
Set up a sqlite and postgres database in package main.
2020-07-25 20:34:59 -04:00
Victor Vrantchan
7e811b8e56
Added data layer.
...
Initial structure for database clients. Exposes a user package with
SQLite and PostgreSQL implementations.
2020-07-15 10:17:00 -04:00