shockrah
01320899a3
Base implementation of new /message/from_id route
...
! Requires unit testing
! Written with max response length in mind, (still ignores mem limits howevr)
2021-01-19 22:26:53 -08:00
shockrah
3b3fa14496
* Db::Messages::get_time_range now handles case where
...
start_time >= end_time
Which means we won't get weird requests from clients anymore(hopefully)
* Route handler for /message/time_range now handles db::Response::RestrictedInput
Responds with a simple 400 and nothing else
2021-01-19 19:43:21 -08:00
shockrah
5c4bc6f96f
Updated /message/get_time to pass client api testing
2021-01-18 23:28:32 -08:00
shockrah
b917483dac
* Upated message struct initialization to shorthand (cosmetic thing
...
* Updated message struct to use channel_id not _name
+ Base implementation f Message::get_time_range, yet to be tested
2021-01-18 22:00:24 -08:00
shockrah
dfe53b323e
/messages/send now correctyl tells the user they're wrong about sendingmessages to a non-existant channel
2020-12-30 01:00:47 -08:00
shockrah
c78c8a5502
First pass build of messages::send functionality
2020-11-12 13:16:50 -08:00
shockrah
960abac7d9
DbInvites .filter method
...
! untested
2020-11-04 00:19:35 -08:00
shockrah
06c81ce2f2
Removal of unused code or things that were trivial to switch to the library like db types
2020-11-02 00:11:15 -08:00
shockrah
4cb8f578ed
new test for deleting channels
...
-x- this test will fail but the patch is required for testing self hosting our code base
2020-10-28 22:31:52 -07:00
shockrah
b008a0d3e1
* Removed 'unused import' warning
...
+ Added library crate level docs to channels module
Should hopefully make things easier
2020-10-21 22:39:16 -07:00
shockrah
65532def98
added delete method for messages
2020-09-17 21:54:54 -07:00
shockrah
2642fdb8b3
adding wrapper for messages
2020-09-17 21:51:23 -07:00