Commit Graph

1023 Commits

Author SHA1 Message Date
shockrah
52119d3ea7 Adding base64 to send/receive api_keys
Keys can contain special chars so we're preserving our entropy pool by encoding to url_safe chars before sending
2020-05-10 12:55:42 -07:00
shockrah
4703116e32 Verified that the join function is working as intended 2020-05-07 22:14:44 -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
383fd59eba Removed dead new_user_id() function 2020-05-07 22:13:44 -07:00
shockrah
55a09b5e98 Removed static files route handlers as they'll never be used
added auth route
2020-05-06 22:22:40 -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
040d58a7ad Cleaned up some verbosity 2020-05-06 22:19:12 -07:00
shockrah
22a1fd1730 Fixed issue with User database responses:
Added insertable to ensure compilation even though we dont use that trait
2020-05-06 22:18:51 -07:00
shockrah
81e6fd0a13 Invite are now consumed via a path with two dynamic params
/invite/join/<hash>/<name> is the real path to be used now but the app ui should this behavior in some clever way
2020-05-06 02:51:26 -07:00
shockrah
2f40da6c82 FromForm issue still there with /join route
Otherwise ready to integrate tests with auth module
2020-05-06 02:21:20 -07:00
shockrah
220bc11ef0 Fixed all 35 compile time issues with new auth module
Ready for testing
2020-05-06 02:20:32 -07:00
shockrah
306156407d auth module useable now 2020-05-06 01:46:06 -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
811c6902ac new users schema
changed column names to be more concise
2020-05-06 00:35:01 -07:00
shockrah
57dad692ae poc for a leave route for those that no longer want to be a part of a given server 2020-05-05 23:46:29 -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
04ca53dc79 new docs for the updated api requirements 2020-05-05 21:56:39 -07:00
shockrah
62204e52ca dumy commit as work will continue on new async branch 2020-05-05 17:09:18 -07:00
shockrah
83aafa9ff5 new user structs for interacting with end users/db 2020-04-26 18:08:01 -07:00
shockrah
1cab9b8bb8 note in api regarding purpose of doc 2020-04-25 18:33:16 -07:00
shockrahwow
6d0bfc1798 changing initial screen to be a welcome page/nav page to other servers 2020-04-17 22:59:54 -07:00
shockrahwow
1c10cd5174 renamed libraries directory to libs/ 2020-04-17 18:49:02 -07:00
shockrahwow
cc0699f095 new directory structure and starting settings pages 2020-04-17 18:46:05 -07:00
shockrahwow
0b607a7e64 removed python/kivy things 2020-04-17 18:45:39 -07:00
shockrahwow
6e9c485d69 notes about what the client should expect from the api for now 2020-04-17 17:13:42 -07:00
shockrahwow
6918475be5 ignoring node modules 2020-04-17 16:59:25 -07:00
shockrah
a217c64666 Essential data now passable from server to client regarding channels 2020-03-31 17:15:01 -07:00
shockrah
972d79d44b more custom message support for error type responses 2020-03-31 17:13:07 -07:00
shockrah
5c20d30502 changed responder code to use the new error responder in crate::err 2020-03-31 17:09:45 -07:00
shockrah
fe7eb7e392 new error responder 2020-03-31 17:04:01 -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
eb76c070bd clarified goals 2020-03-17 21:34:43 -07:00
shockrah
f343f6d252 new field for online status of users
new short structure describing online users
2020-03-17 21:34:32 -07:00
shockrah
a3af490dc9 ignoring virtualenv share 2020-03-16 19:37:24 -07:00
shockrah
77198f6214 bad commit 2020-03-16 19:36:51 -07:00
shockrah
40ca9a9674 commiting in case the kivy trial fails 2020-03-16 19:36:10 -07:00
shockrah
71e9d8adad used whenever we need vscode for stuff 2020-03-16 16:44:47 -07:00
shockrah
66600702b4 configs regarding new app setup 2020-03-16 16:44:27 -07:00
shockrah
11ed11658c ignoring build files from virtualenv" 2020-03-16 03:22:53 -07:00
shockrah
9f586c2569 removing old depracated routes/features 2020-03-11 00:43:31 -07:00
shockrah
a1402e79bb router registration for get_voice_channels 2020-03-11 00:40:04 -07:00
shockrah
ce4ef515bd sample function to grab all the voice channels 2020-03-11 00:39:23 -07:00
shockrah
7c2e1abbc3 new channel schema which is meant to encompass both text and voice channels 2020-03-11 00:39:10 -07:00
shockrah
558a40523e net payloads for channels and online users 2020-03-10 18:06:33 -07:00
shockrah
7e04e6010a new schema to contain basic channel information 2020-03-10 17:59:27 -07:00
shockrah
8ae877f3f9 updated the response when creating new users 2020-03-10 16:48:21 -07:00
shockrah
924c15a436 No more nullable uses field(it was signed) so option was redundant 2020-03-09 00:52:09 -07:00
shockrah
2eb2a83c76 testing user generation on invite usage 2020-03-09 00:26:29 -07:00
shockrah
ae751a2d2b removed unused schema 2020-03-09 00:26:04 -07:00