Commit Graph

27 Commits

Author SHA1 Message Date
Joe Ardent 4ea285abb5 no witches in src or db 2023-07-08 21:21:12 -07:00
Joe Ardent 87fe035971 refactored omega code, same results as before 2023-07-05 16:26:20 -07:00
Joe Ardent f58106ee36 checkpoint; logins broken somehow, maybe just from remote host 2023-07-04 12:22:17 -07:00
Joe Ardent dd9a32dfd7 minor mod and visibility re-org 2023-06-09 15:01:16 -07:00
Joe Ardent 1a4ffaa99d adds Watches struct 2023-06-05 16:51:27 -07:00
Joe Ardent 352a85eaef Move router creation to lib to allow easier testing. 2023-05-31 13:15:33 -07:00
Joe Ardent 57a6b69ec3 tidy up db stuff 2023-05-30 18:44:25 -07:00
Joe Ardent 6425dd4016 Add middleware to update `last_seen`. 2023-05-30 14:51:52 -07:00
Joe Ardent 5dcd726df1 move all db stuff to db mod. 2023-05-29 17:17:23 -07:00
Joe Ardent d2613b0ef9 End-to-end web-based signup, login, and logout flows work. 2023-05-29 14:25:50 -07:00
Joe Ardent 5de4b9994c stub out logout 2023-05-29 11:13:12 -07:00
Joe Ardent dbff72330e Adds working login route. 2023-05-28 17:55:16 -07:00
Joe Ardent 0f0a7583cd Move login stuff to own module. 2023-05-28 13:44:50 -07:00
Joe Ardent e5d66769dc rename modules for users 2023-05-28 13:31:45 -07:00
Joe Ardent b1fd57c486 checkpoint working skeleton for login 2023-05-28 12:20:55 -07:00
Joe Ardent 0d6c9932d6 Add SqliteSessionStore module.
Stolen with very minor mods from https://github.com/jbr/async-sqlx-session
2023-05-24 16:39:13 -07:00
Joe Ardent f50abaa4a6 re-org some handlers, handle '/'. 2023-05-22 16:57:08 -07:00
Joe Ardent 06d7b4a514 Fixed redirect on success, removed DbUser struct. 2023-05-22 15:08:14 -07:00
Joe Ardent b7eb56e0e7 redirects weirdly 2023-05-19 17:17:24 -07:00
Joe Ardent ebfc759fa6 Add redirect response to signup success. 2023-05-19 15:13:49 -07:00
Joe Ardent 091ddbf48a Working user signup, looks ugly.
Still no login or sessions, though.
2023-05-18 10:05:29 -07:00
Joe Ardent 95762f341b checkpoint fucking with errors 2023-05-14 20:33:36 -07:00
Joe Ardent d9aee1a87f add lib crate 2023-05-12 12:08:18 -07:00
Joe Ardent 61520964ec break out main code into modules 2023-05-10 12:08:03 -07:00
Joe Ardent 358eddd4a1 use connection with foreign keys enabled 2023-04-28 13:42:43 -07:00
Joe Ardent 15a5249cda use sqlx example 2023-04-25 22:19:49 -07:00
Joe Ardent e63248da73 add hodge-podge shit. 2022-04-09 23:00:33 -07:00