Commit Graph

10 Commits

Author SHA1 Message Date
shockrah
b15277348f Better docs inspired jsdocs in db-lib::Member::add 2020-11-21 13:20:46 -08:00
shockrah
56041c1da5 db-lib::Member::Update no longer does 2 network hits
Also is a lot more straight forward to use as it basically return Response::Success and Other in case of issue

Member::update_perms now a thing which is again pasted from previously working code and uses Result<_, _> return types so we can ? everywhere
$ Using ? is basically a try so latency should be reduced in this method
2020-11-17 22:29:58 -08:00
shockrah
cfc060b645 Member::add now supported however its up to the user of db-lib to create the secret(ideally one that doesn't suck)
Literally pasted from the old version which proved to be working to I'm calling this one half way done
2020-11-16 22:57:46 -08:00
shockrah
562377d6e2 1st pass implementation of the new .filter implementation
! Totally untested so far and WILL have to go through a battery of tests before I'm confident with this
2020-11-03 23:37:14 -08:00
shockrah
65532def98 added delete method for messages 2020-09-17 21:54:54 -07:00
shockrah
51ca960dbb made private members public 2020-09-17 21:03:30 -07:00
shockrah
b673fc6ca1 better formatted error messages
also reworked error messages so they create Strings and dont use `&'static str`'s anymore
2020-09-17 20:05:33 -07:00
shockrah
d5f2b569cb removed some harmless warnings 2020-09-15 22:56:45 -07:00
shockrah
fb0df20715 added delete method for members 2020-09-06 20:05:34 -07:00
shockrah
49344b5aae implemented FromDB<T> trait for public Member type 2020-09-02 20:15:43 -07:00