Commit graph

203 commits

Author SHA1 Message Date
Joe Ardent
bdd826b2f1 fuck css frameworks 2023-09-22 16:51:48 -07:00
Joe Ardent
bc9f5c29cb add axum-htmx to deps because yolo 2023-09-21 21:47:39 -07:00
Joe Ardent
826c21b4df vendor in picnic scss lib 2023-09-21 17:43:18 -07:00
Joe Ardent
14c36397d1 fuckin' with shit 2023-09-21 16:58:41 -07:00
Joe Ardent
cc14c30fcf delete watchquest benchmark bin 2023-07-29 12:29:40 -07:00
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
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
8a23272cfe update deps 2023-07-26 12:49:32 -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
c685dc1a6b add unique constraint for quests 2023-07-18 10:26:16 -07:00
Joe Ardent
5aa7a64354 add triggers for follows table, lowercase username index 2023-07-15 12:36:06 -07:00
Joe Ardent
2c7990ff09 use implicit rowid primary key for quests 2023-07-14 17:17:50 -07:00
Joe Ardent
f6b5b181d8 update logo 2023-07-14 16:24:42 -07:00
Joe Ardent
70cdfe1941 update readme, change logo 2023-07-10 17:18:58 -07:00
Joe Ardent
a9e3bcbfc3 close db connections on shutdown 2023-07-10 11:15:24 -07:00
Joe Ardent
3532f3daf7 remove dbg output for login 2023-07-08 22:06:50 -07:00
Joe Ardent
840fba6e92 more inappropriation 2023-07-08 22:00:26 -07:00
Joe Ardent
b593711d11 Merge branch 'inappropriation' 2023-07-08 21:26:55 -07:00
Joe Ardent
2ed053fba2 no witches in templates 2023-07-08 21:26:28 -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
c5993f57ee Merge branch 'importers' 2023-07-07 12:01:02 -07:00
Joe Ardent
49d405fd10 Best results yet, just use (user, watch) for quest ID. 2023-07-06 13:56:55 -07:00
Joe Ardent
4647abcefa Merge from importers.
checkin of some goodies.
2023-07-06 12:28:01 -07:00
Joe Ardent
4c44aa12b0 Now takes only 6 seconds, instead of 3600. Ready for final tests. 2023-07-06 12:24:25 -07:00
Joe Ardent
4f0540a903 super duper slowly adds watchquests 2023-07-06 08:48:42 -07:00
Joe Ardent
87fe035971 refactored omega code, same results as before 2023-07-05 16:26:20 -07:00
Joe Ardent
039fe2e5ec The DB options are prod-worthy, and speed up inserts by nearly 20x. 2023-07-04 21:27:50 -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
24926fed6a added results for ulids added by the omega user 2023-07-04 12:56:22 -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
825db88039 imports 10k random movies 2023-07-03 15:20:19 -07:00
Joe Ardent
83da336a3f Make it easier to add watches from a CLI tool. 2023-07-02 15:16:47 -07:00
Joe Ardent
04549fd7a5 change showkind repr to i8 2023-07-01 16:20:48 -07:00
Joe Ardent
4f7f511ca3 checkpoint mereg with watch improvemntes from importers branch 2023-07-01 15:43:00 -07:00
Joe Ardent
4896223b83 add a bunch of stuff for adding and seeing watches 2023-07-01 15:42:01 -07:00
Joe Ardent
1f8e642612 add created_at() on IDs 2023-06-29 16:27:21 -07:00
Joe Ardent
5782651aa6 remove 'created_at' fields, we have that in the id 2023-06-29 15:33:15 -07:00
Joe Ardent
fc2d575e18 clean up serde code during blog post writing 2023-06-28 09:51:15 -07:00
Joe Ardent
b89d463e50 remove multi-column indexes 2023-06-25 11:00:33 -07:00
Joe Ardent
0bcd508577 update readme 2023-06-22 16:39:41 -07:00
Joe Ardent
84d70336d3 rename some templates, lean in to big-endian IDs 2023-06-22 14:10:18 -07:00
Joe Ardent
4211ead59e tidy the db_ids a bit 2023-06-22 10:01:04 -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
8e54c6f99a more template renaming and tidying 2023-06-20 12:14:18 -07:00