Joe Ardent
7aefedf993
Use Julids for DbId.
...
First phase just does a typedef of "DbId = Julid", and confirms the plugin will load into
sqlite. All tests pass. Next phase removes client-side generation of IDs.
2023-07-26 17:10:52 -07:00
Joe Ardent
c824a2b07a
update to sqlx 0.7, using personal fork of axum-login
2023-07-26 12:46:53 -07:00
Joe Ardent
359a732a84
Fix the tests.
...
The test server had to be created in an async context or Hyper wouldn't run.
2023-07-21 15:15:47 -07:00
Joe Ardent
48308aa169
make db acquire sync; tests fail but app runs correctly
2023-07-18 17:37:24 -07:00
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
5e4f5c07d8
Update db config to production-friendly.
...
Four seconds to insert 10k records, with a prod-safe config. Stick with this design.
2023-07-04 16:24:28 -07:00
Joe Ardent
f58106ee36
checkpoint; logins broken somehow, maybe just from remote host
2023-07-04 12:22:17 -07:00
Joe Ardent
e93e43786f
inserts 10k rows in 6 seconds
2023-07-04 11:30:42 -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
dd9a32dfd7
minor mod and visibility re-org
2023-06-09 15:01:16 -07:00
Joe Ardent
30169733a0
More login testing, added reference user factory fn.
2023-06-02 17:01:59 -07:00
Joe Ardent
659bc0d008
Add tests for login/logout endpoints.
...
Changes in the test DB setup are there to support persistent in-memory DBs for testing.
2023-06-02 14:12:29 -07:00
Joe Ardent
81adffe7f0
fix migration test with hack
...
Without sleeping after migration, the tests fail, so...
2023-06-01 12:24:43 -07:00
Joe Ardent
b691e6ee8d
add automatic migration on startup
2023-05-31 21:47:59 -07:00
Joe Ardent
453a126b95
Add generic handlers tests, remove broken doctests for session store.
2023-05-31 15:58:03 -07:00
Joe Ardent
57a6b69ec3
tidy up db stuff
2023-05-30 18:44:25 -07:00
Joe Ardent
5dcd726df1
move all db stuff to db mod.
2023-05-29 17:17:23 -07:00
Joe Ardent
b1fd57c486
checkpoint working skeleton for login
2023-05-28 12:20:55 -07:00
Joe Ardent
61520964ec
break out main code into modules
2023-05-10 12:08:03 -07:00