Commit graph

8 commits

Author SHA1 Message Date
df3a171b0d
Avoid crashing when getting oauth with an expired user 2025-11-24 18:09:06 +00:00
41587c3694
Move database logic into separate subdirectory
I'm trying to see if this speeds up builds a bit. May not without a
module boundary, but for now it's nice organization to have as the
program grows.
2025-11-24 18:08:31 +00:00
7c2d7eef25
Create separate signin page, make auth redirect there. 2025-11-19 15:19:42 +00:00
7919f0da66
Wrap errors. Don't emit crash message on no oauth tokens. 2025-11-13 20:53:20 +00:00
20186f65bf
Create settings page placeholder, add auth pattern
This adds a pattern for creating pages that require authentication. The
settings page is currently empty, but it's helpful to figure out how to
do this pattern.
2025-11-13 16:48:23 +00:00
fa89e0719f
Format all source files. 2025-11-06 22:31:51 +00:00
4d55a391c9
Retroactively fix some SQL schema problems
I originally wasn't going to do passwords, but after struggling with
webauthn I decided I'd just go for it. It simplifies the code a lot if I
assert that I always have a password, displayname, etc.
2025-11-05 17:36:32 +00:00
486c148bf7
Add user sessions and login
This isn't quite perfect, but gets much of the hard work done.
2025-11-05 17:15:33 +00:00