Commit graph

76 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
D. Scott Boggs e25301655b remove extra console.log call 2023-06-25 15:28:21 -04:00
scott 7f2e12e913 Merge pull request 'Feature: Add Track Form' (#7) from scott/kalkutago:feature/add-track-form into main
Reviewed-on: https://git.tams.tech/TWS/kalkutago/pulls/7
2023-06-25 19:25:58 +00:00
D. Scott Boggs eb14a39c33 finishing touches 2023-06-25 15:24:39 -04:00
D. Scott Boggs 6360f23209 Add event handlers for updates to tracks 2023-06-25 15:20:16 -04:00
D. Scott Boggs 678e95bba0 Add NewTrackView 2023-06-25 15:20:16 -04:00
D. Scott Boggs c7cfa86be1 Add vue router 2023-06-25 15:20:16 -04:00
D. Scott Boggs 55816a486a Move state initialization from App.vue to main.ts 2023-06-25 15:20:16 -04:00
scott 75d9bab34d Merge pull request 'Fix bug where clearing ticks on one day would clear all ticks for the track on all days' (#14) from scott/kalkutago:fix/tick-deletion into main
Reviewed-on: https://git.tams.tech/TWS/kalkutago/pulls/14
2023-06-25 19:19:21 +00:00
D. Scott Boggs bfe0537750 Fix bug where clearing ticks on one day would clear all ticks for the track on all days 2023-06-25 15:17:59 -04:00
scott 9b876511d9 Merge pull request 'Add updates for track changes' (#9) from scott/kalkutago:feature/add-track-events into main
Reviewed-on: https://git.tams.tech/TWS/kalkutago/pulls/9
2023-06-25 18:33:57 +00:00
D. Scott Boggs 7a1dee61c9 Add updates for track changes 2023-06-25 14:32:02 -04:00
D. Scott Boggs b81485a3d5 Cleanly disconnect from the update stream if possible 2023-06-25 11:33:18 -04:00
D. Scott Boggs 9e16306c61 Remove a bit of cruft 2023-06-25 11:33:18 -04:00
D. Scott Boggs 741429630b Build custom image for client dev server 2023-06-25 11:33:18 -04:00
D. Scott Boggs e84e9e6594 Add README 2023-06-25 11:30:45 -04:00
D. Scott Boggs e33ce8b1a8 Fix updates 2023-06-20 08:54:03 -04:00
D. Scott Boggs a60a4c4885 Whoops, didn't commit for a while. Added button toggling logic, doesn't work 2023-06-20 08:40:35 -04:00
D. Scott Boggs da4f4ba151 Rename the project 2023-06-19 11:18:59 -04:00
D. Scott Boggs c22241008e Add update subscription endpoint 2023-06-18 08:11:11 -04:00
D. Scott Boggs 3553743a9a use global state and add code for toggling task completeness 2023-06-17 13:20:34 -04:00
D. Scott Boggs c85af82eb7 Add API method to easiliy tick a track now 2023-06-17 13:20:08 -04:00