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
|
bfda5a6fbb
|
Merge branch 'main' into tests
|
2023-05-31 13:58:38 -07:00 |
|
Joe Ardent
|
352a85eaef
|
Move router creation to lib to allow easier testing.
|
2023-05-31 13:15:33 -07:00 |
|
Joe Ardent
|
8c666c3f78
|
only update last_seen every 12 hours
|
2023-05-31 12:43:57 -07:00 |
|
Joe Ardent
|
ac0af7970d
|
No actual tests added.
|
2023-05-30 18:46:32 -07:00 |
|
Joe Ardent
|
57a6b69ec3
|
tidy up db stuff
|
2023-05-30 18:44:25 -07:00 |
|
Joe Ardent
|
6425dd4016
|
Add middleware to update last_seen .
|
2023-05-30 14:51:52 -07:00 |
|
Joe Ardent
|
5dcd726df1
|
move all db stuff to db mod.
|
2023-05-29 17:17:23 -07:00 |
|
Joe Ardent
|
ba9205c9f2
|
add license
|
2023-05-29 16:01:53 -07:00 |
|
Joe Ardent
|
d2613b0ef9
|
End-to-end web-based signup, login, and logout flows work.
|
2023-05-29 14:25:50 -07:00 |
|
Joe Ardent
|
113982ba27
|
Merge branch 'login'
|
2023-05-29 11:13:32 -07:00 |
|
Joe Ardent
|
5de4b9994c
|
stub out logout
|
2023-05-29 11:13:12 -07:00 |
|
Joe Ardent
|
dbff72330e
|
Adds working login route.
|
2023-05-28 17:55:16 -07:00 |
|
Joe Ardent
|
559e277d9e
|
fix deps
|
2023-05-28 17:06:09 -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 |
|
Joe Ardent
|
41a7abbe13
|
go back to uuids for users
|
2023-05-28 12:58:26 -07:00 |
|
Joe Ardent
|
b1fd57c486
|
checkpoint working skeleton for login
|
2023-05-28 12:20:55 -07:00 |
|
Joe Ardent
|
151719daf1
|
update sqlx to actual latest version
|
2023-05-27 22:55:00 -07:00 |
|
Joe Ardent
|
60862a5d6a
|
minor tidy
|
2023-05-24 17:08:40 -07:00 |
|
Joe Ardent
|
0d6c9932d6
|
Add SqliteSessionStore module.
Stolen with very minor mods from https://github.com/jbr/async-sqlx-session
|
2023-05-24 16:39:13 -07:00 |
|
Joe Ardent
|
8237715066
|
simplify uuid/db handling
|
2023-05-22 17:18:13 -07:00 |
|
Joe Ardent
|
f50abaa4a6
|
re-org some handlers, handle '/'.
|
2023-05-22 16:57:08 -07:00 |
|
Joe Ardent
|
a615119afc
|
Adds "working" signup and success page, from front-end branch.
|
2023-05-22 15:09:42 -07:00 |
|
Joe Ardent
|
06d7b4a514
|
Fixed redirect on success, removed DbUser struct.
|
2023-05-22 15:08:14 -07:00 |
|
Joe Ardent
|
b7eb56e0e7
|
redirects weirdly
|
2023-05-19 17:17:24 -07:00 |
|
Joe Ardent
|
ebfc759fa6
|
Add redirect response to signup success.
|
2023-05-19 15:13:49 -07:00 |
|
Joe Ardent
|
fee7fff3df
|
better signup pages
|
2023-05-18 15:49:33 -07:00 |
|
Joe Ardent
|
79ecd74500
|
more cleanup
|
2023-05-18 12:24:43 -07:00 |
|
Joe Ardent
|
46232b4254
|
minor cleanup
|
2023-05-18 12:15:37 -07:00 |
|
Joe Ardent
|
091ddbf48a
|
Working user signup, looks ugly.
Still no login or sessions, though.
|
2023-05-18 10:05:29 -07:00 |
|
Joe Ardent
|
94f1b35c03
|
adding html templates
|
2023-05-17 13:40:06 -07:00 |
|
Joe Ardent
|
f12b524457
|
filling out templates for account creation
|
2023-05-17 10:09:00 -07:00 |
|
Joe Ardent
|
d9c56aaf1e
|
rename error
|
2023-05-16 16:24:24 -07:00 |
|
Joe Ardent
|
93deaff565
|
add username validation (length only)
|
2023-05-16 12:24:53 -07:00 |
|
Joe Ardent
|
da5eefa73a
|
add check for uniqueness violation in account creation
|
2023-05-16 11:55:32 -07:00 |
|
Joe Ardent
|
95762f341b
|
checkpoint fucking with errors
|
2023-05-14 20:33:36 -07:00 |
|
Joe Ardent
|
d87ade7980
|
add user structs
|
2023-05-12 15:36:19 -07:00 |
|
Joe Ardent
|
0223242473
|
move user stuff to module
|
2023-05-12 14:24:57 -07:00 |
|
Joe Ardent
|
772f1471ba
|
clean up deps
|
2023-05-12 12:44:13 -07:00 |
|
Joe Ardent
|
744d439098
|
Merge branch 're-org'
|
2023-05-12 12:39:24 -07:00 |
|
Joe Ardent
|
d9aee1a87f
|
add lib crate
|
2023-05-12 12:08:18 -07:00 |
|
Joe Ardent
|
61520964ec
|
break out main code into modules
|
2023-05-10 12:08:03 -07:00 |
|
Joe Ardent
|
358eddd4a1
|
use connection with foreign keys enabled
|
2023-04-28 13:42:43 -07:00 |
|
Joe Ardent
|
fdf2b1e910
|
update deps
|
2023-04-28 12:53:44 -07:00 |
|
Joe Ardent
|
3aa83dcbc3
|
add update triggers and default values for dates
|
2023-04-27 15:22:49 -07:00 |
|
Joe Ardent
|
3888ba4fc7
|
probably done with the db schema, next add triggers
|
2023-04-27 14:21:29 -07:00 |
|
Joe Ardent
|
394898aab2
|
add notes for witch_watches, secret for auth
|
2023-04-26 17:56:11 -07:00 |
|
Joe Ardent
|
65a32f1f20
|
create initial db migrations
|
2023-04-26 17:08:49 -07:00 |
|