Joe Ardent
a8efdac3dd
add invitation support to the db
2024-01-14 16:56:52 -08:00
Joe Ardent
dd5ae09ab8
simplify auth and login
2023-12-24 16:21:55 -08:00
Joe Ardent
57eb4001ee
almost works, still need to impl auth
2023-12-17 16:41:04 -08:00
Joe Ardent
14c36397d1
fuckin' with shit
2023-09-21 16:58:41 -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
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
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
fc2d575e18
clean up serde code during blog post writing
2023-06-28 09:51:15 -07:00
Joe Ardent
84d70336d3
rename some templates, lean in to big-endian IDs
2023-06-22 14:10:18 -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
987d0937c9
rename handler
2023-06-20 09:38:48 -07:00
Joe Ardent
cea9af1112
add working 'add new watch' handler
2023-06-19 16:54:28 -07:00
Joe Ardent
48a1233534
Use graphemes for input length checks instead of number of bytes.
2023-06-15 13:13:12 -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
dc3f90228f
Merge WIP material from "watches" branch.
2023-06-09 15:03:52 -07:00
Joe Ardent
dd9a32dfd7
minor mod and visibility re-org
2023-06-09 15:01:16 -07:00
Joe Ardent
9505266ef9
minor re-org and rename of main page template struct.
2023-06-08 09:16:38 -07:00
Joe Ardent
55c75110d0
add comment about using ULIDs maybe
2023-06-06 14:59:00 -07:00
Joe Ardent
edaf9e50f3
remove unreachable error code
2023-06-04 15:37:08 -07:00
Joe Ardent
9292454dd3
Add test for duplicate username.
2023-06-03 16:10:48 -07:00
Joe Ardent
8d040ad368
Finish signup tests.
2023-06-03 15:45:19 -07:00
Joe Ardent
09a07f2c57
more test skeletons
2023-06-03 12:36:18 -07:00
Joe Ardent
bad698cc19
add skeleton for signup tests
2023-06-03 10:42:23 -07:00
Joe Ardent
30169733a0
More login testing, added reference user factory fn.
2023-06-02 17:01:59 -07:00
Joe Ardent
569b19e837
Minor tweaks.
2023-06-02 14:15:13 -07:00
Joe Ardent
dbff72330e
Adds working login route.
2023-05-28 17:55:16 -07:00
Joe Ardent
0f0a7583cd
Move login stuff to own module.
2023-05-28 13:44:50 -07:00
Joe Ardent
e5d66769dc
rename modules for users
2023-05-28 13:31:45 -07:00