Emi Tatsuo
9ec1a5663d
Merge branch 'devel' into gemtext
2020-12-07 17:29:34 -05:00
Emi Tatsuo
fb357b59eb
Support base64 encoded certificate hashes, remove ring as mandatory dep for scgi_srv
...
Removing ring also means switching out some of the code around user password hashes so that's what that is, if you're wondering. Also, the sunrise today was absolutely beautiful. I haven't been awake for a sunrise in a long time, so I guess that's one upside to not sleeping. Like, melencholy sunsets get a lot of love, but man, nothing fills you with hope and positivity like a sunrise.
2020-12-03 08:10:50 -05:00
Emii Tatsuo
de060363f1
Fix the dashmap + user_management_routes build
2020-12-01 17:38:26 -05:00
Emii Tatsuo
f922f8c70d
Merged Meta, Status, and ResponseHeader into Response
2020-12-01 16:36:29 -05:00
Emii Tatsuo
8b9fbce489
Fix user management module, rework certificates to use hashes
2020-12-01 14:43:15 -05:00
Emii Tatsuo
4a2293ddc6
Add specific methods for getting at UserData
2020-11-28 15:01:39 -05:00
Emii Tatsuo
eca5c2fd44
Add a couple logging messages
2020-11-28 14:23:39 -05:00
Emii Tatsuo
49e62a2300
Add clients page
2020-11-27 19:50:01 -05:00
Emii Tatsuo
fa0d031ee8
Fix crash on successful log in
2020-11-27 18:36:24 -05:00
Emii Tatsuo
6c3ae626e9
Added ability to iterate through users in the database
2020-11-27 18:01:49 -05:00
Emii Tatsuo
1e5e4c8731
Allow directly setting a database when building
2020-11-27 17:24:16 -05:00
Emii Tatsuo
47c6fae79f
Expose user manager in request
2020-11-26 21:04:02 -05:00
Emii Tatsuo
e83f2ca109
Login flow now redirects back to where it started
...
Closes #8
Still in testing, but seems good I think
2020-11-26 13:50:46 -05:00
Emii Tatsuo
98583e737f
Fix user management
2020-11-25 21:25:35 -05:00
Emii Tatsuo
0ea4c62731
Fix a few bugs from combining features
2020-11-25 20:37:43 -05:00
Emi Tatsuo
2400ef8796
Move user management routes to their seperate feature
2020-11-23 11:37:47 -05:00
Emi Tatsuo
28a4d64c5f
Segregate features surrounding multiple certificates & passwords to a seperate feature
2020-11-22 22:24:36 -05:00
Emi Tatsuo
9916770bd2
Added add_authenticated_input_route
2020-11-22 20:56:15 -05:00
Emi Tatsuo
edbfd3ed78
Merge branch 'reduce-arcs' into user-management
2020-11-22 20:35:47 -05:00
Emi Tatsuo
7854a2a4c4
Add the add_authenticated_route method
...
I'm really proud of how small the user_management example has gotten
2020-11-22 02:56:41 -05:00
Emi Tatsuo
916ac1009c
Add docs for add_um_routes
2020-11-22 01:05:34 -05:00
Emi Tatsuo
0756dd7394
Update a few pages
2020-11-22 00:46:32 -05:00
Emi Tatsuo
b03fe0e5f7
Add password management facilities
2020-11-22 00:46:24 -05:00
Emi Tatsuo
2b5ee33762
Fixed bug where user password was never saved
2020-11-22 00:42:26 -05:00
Emi Tatsuo
3c7d3457ef
Added has_password to RegisteredUser
2020-11-22 00:33:57 -05:00
Emi Tatsuo
6e82ae059d
Add user management routes
2020-11-21 23:03:56 -05:00
Emi Tatsuo
766c472cbf
Added the add_certificate
and attach
methods
2020-11-19 17:41:32 -05:00
Emi Tatsuo
cdc3921a83
Refix docs
...
Oh so /that's/ how you disable a lint
2020-11-19 17:07:33 -05:00
Emi Tatsuo
79b06b08ba
Refactor SignedInUser -> RegisteredUser
2020-11-19 17:00:32 -05:00
Emi Tatsuo
2f1196228f
Return a full SignedInUser from lookup_user(), restrict access to PartialUser
...
Okay this is a much nicer API tbh. Why didn't I do this from the start? 'cause I'm bad
at planning that's why. We got there eventually though!
2020-11-19 16:54:29 -05:00
Emi Tatsuo
1908d0a0d7
Implement the set password method
2020-11-19 16:39:02 -05:00
Emi Tatsuo
fb205cd397
Switched from bcrypt to argon
2020-11-19 16:07:52 -05:00
Emi Tatsuo
ff5f294dae
Restricted access to several fields of SignedInUser
2020-11-19 15:21:26 -05:00
Emi Tatsuo
abcb296574
Cleaned up some warnings in user_management
...
*sweep sweep sweep sweep sweep*
2020-11-19 14:27:36 -05:00
Emi Tatsuo
18228bb1c5
Save SignedInUser on drop, and make changes necessary to that end
...
Which was a surprisingly large number of changes /shrug
2020-11-19 14:25:36 -05:00
Emi Tatsuo
e7cf782a60
Improve user management docs
2020-11-19 13:20:14 -05:00
Emi Tatsuo
0a67c1d672
Rename UserInner -> PartialUser, expose for access outside of crate
2020-11-16 09:21:24 -05:00
Emi Tatsuo
0e2f8d5f62
Added user management API [WIP]
2020-11-16 01:13:16 -05:00