shockrah
549c69f668
+ Added Response::RestrictedInput to db-lib
...
Should make it more dsecriptive with really weird input and prevent even more confusing 500 responses to the client
+ db-lib::Channels::add now also potentially returns this new RestrictedInput variant
2020-12-29 23:50:57 -08:00
shockrah
9d01912670
Adding hook for getting jwt from login
...
Also missed a lazy_static removal in db-lib
2020-12-28 21:57:47 -08:00
shockrah
c0f5908089
Tiny auth module for literally just redis and jwt things
...
Also we're doing a really budget version of sessions here so we might change things later but this is fine for now
2020-12-22 21:30:35 -08:00
shockrah
ec30e80ac1
Invites::filter 1st pass implementation
...
! untested
2020-11-04 00:33:35 -08:00
shockrah
75eac74f3f
forgot to expose modules for use as external crate
2020-10-10 19:53:33 -07:00
shockrah
2642fdb8b3
adding wrapper for messages
2020-09-17 21:51:23 -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
d08ae63f50
new macro to make error reporting a bit clearer
2020-09-17 19:35:22 -07:00
shockrah
0b42675739
general code for invites db wrapper
2020-09-16 23:14:07 -07:00
shockrah
d5f2b569cb
removed some harmless warnings
2020-09-15 22:56:45 -07:00
shockrah
4e591d8318
main lib interface for userland code in main project
2020-09-02 20:15:21 -07:00