Commit Graph

19 Commits

Author SHA1 Message Date
shockrah
97e6b026cc utils::new_key now has a larger entropy pool + is generally smaller/quicker
encode params takes a &[u8] as parameter now instead of &str
utils::decode_params removed for now as it has not real use atm
2020-05-20 02:05:06 -07:00
shockrah
0340204141 moved rand_utils::new_key to utils crate 2020-05-10 13:06:54 -07:00
shockrah
cd41dc64c3 create_new_user no longer checks id column when comparing against unix timestamps 2020-05-07 22:14:26 -07:00
shockrah
281b734073 calls to create_new_user no longer require a connection to be copied 2020-05-06 22:19:42 -07:00
shockrah
b729537088 updated queries to use the new user schema columns
removed old tests which have to be rebuilt from scratch
2020-05-06 01:45:49 -07:00
shockrah
5652388f4c /join 'ing for new users code steramlined a bit
*mostly a coding qol change
2020-05-05 23:20:47 -07:00
shockrah
62204e52ca dumy commit as work will continue on new async branch 2020-05-05 17:09:18 -07:00
shockrah
960233b7bc testing user list endpoint
new macro to shorten test code
2020-03-17 23:23:52 -07:00
shockrah
3b3059e6d2 new get_user_list endpoint to well, get the list of online users 2020-03-17 22:27:10 -07:00
shockrah
8ae877f3f9 updated the response when creating new users 2020-03-10 16:48:21 -07:00
shockrah
2eb2a83c76 testing user generation on invite usage 2020-03-09 00:26:29 -07:00
shockrah
e38f8a0a2b silly test 2020-03-08 20:20:57 -07:00
shockrah
e4f03b951e invites:
handling result from diesel
generally:
fixed pub/private issue in modles module
renamed rand_utils functions to be snake case
2020-03-08 20:07:26 -07:00
shockrah
89836449a1 createNewUser now returns a User(not payload::NewUser) 2020-03-08 19:50:47 -07:00
shockrah
8cbfa9520e new users no longer contain optional fields
only using completely necessary information
2020-03-08 19:20:08 -07:00
shockrah
e9a880f6a9 user generation added
randomness is generated via /dev/urandom thru getrandom crate
2020-03-08 19:13:24 -07:00
shockrah
3a995fa469 removing users module for now because invites are getting reworked
a lot of structural changes are coming to how users are dealt with
2020-03-07 16:51:22 -08:00
shockrah
64f20f01ec structures for authentication payloads
added new temporary goal
slowly integrating payload module into invites and users modules
2020-02-13 17:13:41 -08:00
shockrah
dd3acb5abe Basic new user route with a sample test
Creating a payloads module as well
2020-02-07 14:57:44 -08:00