Commit graph

31 commits

Author SHA1 Message Date
Joe Ardent
71fae193be minor tidy 2023-07-29 12:27:12 -07:00
Joe Ardent
b8481dc106 finish the migration to julids 2023-07-28 16:15:27 -07:00
Joe Ardent
4ea285abb5 no witches in src or db 2023-07-08 21:21:12 -07:00
Joe Ardent
0e016552ab Clean up the import code.
Make things as batch-y as possible; add timers; tweak the db.
2023-07-08 13:16:05 -07:00
Joe Ardent
1f8e642612 add created_at() on IDs 2023-06-29 16:27:21 -07:00
Joe Ardent
656e6dceed add working ULID-based IDs for primary keys 2023-06-21 16:30:13 -07:00
Joe Ardent
be96100237 mostly done, but logins aren't working 2023-06-20 16:32:36 -07:00
Joe Ardent
8b1eef17f7 Simplify form input handling.
The form input values were coming to the handlers already-urldecoded, so no need to re-decode them.
2023-06-10 15:30:36 -07:00
Joe Ardent
8c666c3f78 only update last_seen every 12 hours 2023-05-31 12:43:57 -07:00
Joe Ardent
6425dd4016 Add middleware to update last_seen. 2023-05-30 14:51:52 -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
dbff72330e Adds working login route. 2023-05-28 17:55:16 -07:00
Joe Ardent
e5d66769dc rename modules for users 2023-05-28 13:31:45 -07:00
Joe Ardent
41a7abbe13 go back to uuids for users 2023-05-28 12:58:26 -07:00
Joe Ardent
b1fd57c486 checkpoint working skeleton for login 2023-05-28 12:20:55 -07:00
Joe Ardent
60862a5d6a minor tidy 2023-05-24 17:08:40 -07:00
Joe Ardent
8237715066 simplify uuid/db handling 2023-05-22 17:18: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
fee7fff3df better signup pages 2023-05-18 15:49:33 -07:00
Joe Ardent
79ecd74500 more cleanup 2023-05-18 12:24:43 -07:00
Joe Ardent
46232b4254 minor cleanup 2023-05-18 12:15:37 -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
d9c56aaf1e rename error 2023-05-16 16:24:24 -07:00
Joe Ardent
93deaff565 add username validation (length only) 2023-05-16 12:24:53 -07:00
Joe Ardent
da5eefa73a add check for uniqueness violation in account creation 2023-05-16 11:55:32 -07:00
Joe Ardent
95762f341b checkpoint fucking with errors 2023-05-14 20:33:36 -07:00
Joe Ardent
d87ade7980 add user structs 2023-05-12 15:36:19 -07:00
Joe Ardent
0223242473 move user stuff to module 2023-05-12 14:24:57 -07:00