shockrah
a24126034b
removed unused type
2020-07-31 22:10:27 -07:00
shockrah
34a04f7887
channel deletion seems to pass basic unit tests
2020-07-29 19:46:44 -07:00
shockrah
351a9ba30c
list channels and create channels behaving properly based on inputs, delete_channel not working just yet
2020-07-29 00:26:19 -07:00
shockrah
73f69cec48
channels list route passing proper input pass
2020-07-13 20:35:04 -07:00
shockrah
cdc2f0a13a
exposed more funcs as needed
2020-07-05 22:04:30 -07:00
shockrah
0d9b945301
*Speccing the rows which wall_entry requests
...
Generally more explicit behavior is provided
*NOTE: if this call succeeds then we have fully authenticated and subsequent calls should have acccess to "secret" in the serialized params structure, thus unwraps should be fine as they'll be proven via informal induction
2020-07-04 23:05:58 -07:00
shockrah
cb3aec0696
+ updated parsing funcs to take advantage of serde_json
...
+removed unused code segmments
+added helper function to pull string from Option<i64> for serde_json
*exposing Channel struct to other modules
2020-07-04 19:37:42 -07:00
shockrah
50962598e5
fixed borrow/moving issue with create_channel call
...
removed some unsed variables
2020-06-03 00:14:45 -07:00
shockrah
7fa103b1dc
primary dispatcher to insert channels now built
...
parameter parsing functino was built for the primary dispatcher
New InsterableChannel structure added: mysql controls the id field for us
2020-06-03 00:08:35 -07:00
shockrah
8d149014e1
Added documentation to current code
...
Explaining why things are being done
2020-06-02 22:29:34 -07:00
shockrah
4f71e566c3
Removed sql_traits module as it was merely a stepping stone module
...
Channel struct now adpots a from_tup method and can be seen in use in get_channels_vec
2020-06-02 22:10:28 -07:00
shockrah
08e5b87ba4
Helper functionality
...
InviteRow now has some utilities built into it to help with translating values from various types needed throughout the codebase
+from_tuple -> because mysql is used to grab tuples before structs
+as_json_str -> because we respond primarily with json payloads
list_channels is considered a main entry point from the dispather and thus handles errors itself
2020-06-02 22:04:54 -07:00
shockrah
5a2a87fff7
/channels/list/voice + text now implemted and ready for testing
2020-05-27 21:29:57 -07:00
shockrah
db901010b0
prefixed route uri for get_voice_channels and get_text_channels with /list to be more specific to their behavior
2020-05-25 13:48:16 -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
ce4ef515bd
sample function to grab all the voice channels
2020-03-11 00:39:23 -07:00