Commit graph

12 commits

Author SHA1 Message Date
Zed A. Shaw
7125bc2d2a All the pages are working again, but Alpine is insanely frustrating. 2025-08-02 13:56:39 -04:00
Zed A. Shaw
3fd8169d83 First stab at a form submit off an alpine.js form. Honestly not great. It's a lot of code already for even less functionality. 2025-07-27 00:29:27 -04:00
Zed A. Shaw
59a71534ae Finally figured out how to get sqlx to query an object based on a reflect.Type. 2025-07-14 00:52:10 -04:00
Zed A. Shaw
859e3ad0e3 Initial setup of an admin page that dynamically reflects the DB to create the CRUD stuff. 2025-07-13 12:28:03 -04:00
Zed A. Shaw
77e4c3fa5b I can use the isdefault validator to make sure that a form field doesn't set a data field, but that may not be the best way. 2025-07-11 12:10:45 -04:00
Zed A. Shaw
de24d64f44 Use http_url in Validator instead of url or else people can inject JavaScript. 2025-07-11 11:11:44 -04:00
Zed A. Shaw
a22682878c Rename Insert to Exec since it mostly just does that. 2025-06-29 13:30:24 -04:00
Zed A. Shaw
45c541ee7c User registration now works. 2025-06-27 12:37:07 -04:00
Zed A. Shaw
05788e5fbb Very simple dumb login that has no password hashing. 2025-06-25 01:25:00 -04:00
Zed A. Shaw
57d892e35c Panic handler didn't actually work. 2025-06-25 00:00:37 -04:00
Zed A. Shaw
0c47f02201 Abit of refactoring into a more classic layout for an MVC style app. 2025-06-24 23:55:38 -04:00
Zed A. Shaw
bac4472c3a Apparently for 2 weeks (yes 2 whole fucking weeks) I was using NamedExec wrong instead of MustExec so inserts haven't worked since then. Other than that, this is a more cleaned up MVC style setup than before. 2025-06-22 02:48:02 -04:00