Feature: User auth #15

Merged
scott merged 29 commits from scott/kalkutago:feature/user-auth into main 2023-08-27 08:00:57 -04:00

29 commits

Author SHA1 Message Date
D. Scott Boggs
033f2a561b Nit 2023-08-26 14:51:14 -04:00
D. Scott Boggs
019ccda845 Rename variable 2023-08-26 14:50:05 -04:00
D. Scott Boggs
bc6f06e210 DEFAULT_COST + 2 is 2 much 2023-08-26 11:21:36 -04:00
D. Scott Boggs
424bc15512 prod needs the cookie secret too, arguably more than the others! 2023-08-26 11:18:23 -04:00
D. Scott Boggs
89b0180989 Move API calls from state to Track methods 2023-08-26 11:05:15 -04:00
D. Scott Boggs
cd16208dd7 Move dateQuery to util.ts 2023-08-26 11:01:14 -04:00
D. Scott Boggs
dafdd491f9 Move logOut function into method on state 2023-08-26 07:03:16 -04:00
D. Scott Boggs
003383e455 Fixed logout flow 2023-08-26 06:54:42 -04:00
D. Scott Boggs
5aa16762f7 Quick tweak 2023-08-26 06:54:17 -04:00
D. Scott Boggs
db3ef7640a Renamed a variable
sorry it was bothering me.
2023-08-26 06:54:06 -04:00
scott
f32a188750 Merge pull request 'Frontend was merged prematurely, this fixes that' (#3) from frontend/feature/login-view into feature/user-auth
Reviewed-on: https://git.tams.tech/scott/kalkutago/pulls/3
2023-08-26 10:18:06 +00:00
D. Scott Boggs
bfffacabf6 Add logout button 2023-08-26 06:17:42 -04:00
D. Scott Boggs
290218eefe Restore logged-in state on page reload 2023-08-26 06:17:42 -04:00
D. Scott Boggs
ffc1c6806a Fix shell.nix 2023-08-26 06:17:42 -04:00
D. Scott Boggs
37426aaa52 WIP: Add busy indicators to login view 2023-08-26 06:17:42 -04:00
D. Scott Boggs
db72a6df17 Add busy-indicator to login/signup buttons 2023-08-26 06:17:42 -04:00
scott
3dbe2d2327 Merge pull request 'Backend feature: user auth' (#1) from backend/feature/user-auth into feature/user-auth
Reviewed-on: https://git.tams.tech/scott/kalkutago/pulls/1
2023-08-26 10:15:14 +00:00
D. Scott Boggs
f6fb736ff7 Add log-out route (necessary to delete secret cookie) 2023-08-26 06:09:04 -04:00
D. Scott Boggs
a8e4e5145b add tests 2023-08-26 06:09:04 -04:00
D. Scott Boggs
1c400e7ffa Remove no-longer-existing Rust feature default_free_fn 2023-08-26 06:09:04 -04:00
D. Scott Boggs
d7285a84bb Fix authenticated track insertion 2023-08-26 06:09:04 -04:00
D. Scott Boggs
205a3b165e Rename user -> users 2023-08-26 06:09:04 -04:00
D. Scott Boggs
f44f15d2b6 tracks are now relative to an authenticated user 2023-08-26 06:09:04 -04:00
D. Scott Boggs
46a9374571 Add entity and relations for user-tracks relationship 2023-08-26 06:09:04 -04:00
D. Scott Boggs
05bda8deb0 Add users-to-tracks many-to-many association 2023-08-26 06:09:04 -04:00
D. Scott Boggs
2485740291 Add login+sign_up routes and auth guard 2023-08-26 06:09:04 -04:00
D. Scott Boggs
792779a36d Add support for rocket's "secret cookies" 2023-08-26 06:09:04 -04:00
D. Scott Boggs
0a197db93f Add user model 2023-08-26 06:09:04 -04:00
D. Scott Boggs
a390f79a75 Add Login view 2023-06-27 05:59:46 -04:00