Commit Graph

24 Commits

Author SHA1 Message Date
Jack Case
f24f3ceee4 remove Base64Str type from altcha
This was decoding the string, which the altcha validator expects to do itself. Now it works.
2025-11-09 18:51:22 +00:00
Jack Case
49377f2e20 add a setting for Altcha secret key 2025-11-09 18:35:16 +00:00
Jack Case
e8189ed832 make the altcha challenge a smidge easier 2025-11-09 18:09:29 +00:00
Jack Case
c0600f527f handle password field of signup form properly, and verify altcha solution 2025-11-09 18:05:44 +00:00
Jack Case
ea843597aa updates 2025-10-30 01:55:18 +00:00
Jack Case
b35c92b96f ran tests against a local sqlite DB
reports appear to work properly now, will run prod DB migrations and upgrade the server container when I'm home.
2025-10-29 15:30:02 +00:00
Jack Case
e420a31127 new pass at properly handling related report models 2025-10-29 14:33:02 +00:00
Jack Case
9c07870cb7 properly specify the Report model with relationships to User and Path 2025-10-29 13:50:52 +00:00
Jack Case
360872fdd0 associate reports with users
this will definitely need some more work.
2025-10-26 16:05:20 +00:00
Jack Case
5840b82bcc add timestamp to report model 2025-10-26 15:32:34 +00:00
Jack Case
f8371f9654 adding user and path association model 2025-10-26 11:26:41 -04:00
Jack Case
e1a392a0bf use psycopg2 to "easily" enable SSL 2025-10-25 19:09:08 +00:00
Jack Case
a4c783b2d9 raise an appropriate exception when token auth fails 2025-10-25 15:26:44 +00:00
Jack Case
ba4ea2d717 support bearer token validation for get/report 2025-10-25 12:24:14 +00:00
Jack Case
3b34df1196 create a JWT when an altcha is verified 2025-10-21 15:49:48 +00:00
Jack Case
87db698da7 handle request body properly for slop check 2025-10-20 20:10:14 +00:00
Jack Case
e6bf3544f3 the altcha payload is a base64 encoded string 2025-10-20 18:46:54 +00:00
Jack Case
cc8d4e9977 user creation flow with altcha verification 2025-10-20 18:25:29 +00:00
Jack Case
0867fa9b9a basic password hashing and verification functions 2025-10-20 12:57:20 +00:00
Jack Case
96a91b6bc5 start work on user auth 2025-10-19 21:41:12 +00:00
Jack Case
f1c5204d4c insert slop page endpoint 2025-10-19 17:26:17 +00:00
Jack Case
e90bc1cc72 started actual fastapi server with DB 2025-10-19 15:33:34 +00:00
Jack Case
4931a785a1 create basic user table
this will allow users to sign up and submit reports
2025-10-17 20:29:14 +00:00
Jack Case
c238551467 initial alembic revision
followed article here for guidance: https://arunanshub.hashnode.dev/using-sqlmodel-with-alembic#heading-sql-constraint-naming-convention

mirrored on my readeck: https://readeck.yuno.jack-case.pro/bookmarks/9ay79PHux348cgQBnA86UC
2025-10-17 20:13:02 +00:00