Commit Graph

229 Commits

Author SHA1 Message Date
bitfl0wer 014583216a
Impl user::get() function 2023-05-07 11:32:11 +02:00
bitfl0wer 45e8fe6953
add test fn 2023-05-07 00:18:21 +02:00
bitfl0wer c1bcd169f1
add users to mod.rs 2023-05-07 00:18:14 +02:00
bitfl0wer 621b05570a
remove nesting layer 2023-05-07 00:18:06 +02:00
bitfl0wer 222a552017
Add users to mod.rs 2023-05-07 00:17:54 +02:00
bitfl0wer 46a5f08b33
add pronouns 2023-05-06 22:47:31 +02:00
bitfl0wer eb131be83b
add mod.rs 2023-05-06 22:47:26 +02:00
bitfl0wer 0e5a9caa44
Implement message sending (without attachments) 2023-05-06 22:24:23 +02:00
bitfl0wer f067826889
change visibilities 2023-05-06 22:23:48 +02:00
bitfl0wer c3cab53804
impl SendMessageSchema 2023-05-06 22:23:34 +02:00
bitfl0wer b1b684e3b5
rename user rate_limits to limits for consistency 2023-05-06 18:52:24 +02:00
bitfl0wer 40bb3c38e9
Construct new message send method basics 2023-05-06 18:52:09 +02:00
bitfl0wer b041433865
change message to messagesendschema 2023-05-06 18:34:38 +02:00
bitfl0wer fa0d74e9dd
remove redundant code 2023-05-05 22:00:37 +02:00
bitfl0wer bae45254fe
start re-doing send() 2023-05-05 21:53:23 +02:00
bitfl0wer 1076c23403
Add DiscordFileAttachment, change visibilities 2023-05-05 21:53:00 +02:00
bitfl0wer 7a8eedd4c0
Add MessageSendSchema 2023-05-05 21:52:27 +02:00
bitfl0wer cdc3836177
handle attachment-messages seperately 2023-05-05 14:38:37 +02:00
bitfl0wer e749251529
change name type from String to i16 2023-05-05 14:38:22 +02:00
bitfl0wer 3236d462ff
Add multipart feature 2023-05-05 14:38:05 +02:00
bitfl0wer 2940b50f1b
Fix counter not being incremented 2023-05-05 14:19:38 +02:00
bitfl0wer 164bd627b0
Change HashMap to Map
Filenames can be non-unique, which could not be accurately represented using a HashMap.
2023-05-05 14:18:59 +02:00
bitfl0wer 5bf09a997c
Add new() DiscordFileAttachment 2023-05-05 14:16:09 +02:00
bitfl0wer fb6e0a21ec
Rename File to DiscordFileAttachment, work on that 2023-05-04 23:00:48 +02:00
bitfl0wer dcee25a2a2
Add bearer auth for message sending 2023-05-03 23:13:12 +02:00
bitfl0wer ab17d864ba
Add start of attachments implementation 2023-05-03 23:04:32 +02:00
bitfl0wer c2801acfdb
Remove unused imports 2023-05-03 21:06:01 +02:00
bitfl0wer fc5a053888
fix build fail by commenting out unused stuff 2023-05-03 21:05:09 +02:00
bitfl0wer 66ab87db30
Merge remote-tracking branch 'origin/feature/sending-messages' 2023-05-03 17:39:57 +02:00
bitfl0wer 809702bc1d
change reference to be mutable 2023-05-03 17:29:32 +02:00
bitfl0wer 98bf70ec5e
add send_message to user 2023-05-03 17:29:20 +02:00
bitfl0wer 5e399dba26
Add get_as_mut to Limits 2023-05-03 17:12:32 +02:00
bitfl0wer 94fa84cabe
Remove blank line 2023-05-03 17:12:23 +02:00
bitfl0wer d216ef6179
change visibilities to pub 2023-05-03 17:11:48 +02:00
bitfl0wer 685fe3ff1a
cargo clippy --fix 2023-05-03 16:38:42 +02:00
bitfl0wer 7445f1efc7
Add lifetime to Instance 2023-05-03 16:37:10 +02:00
bitfl0wer 13815e73a1
Add Message send() 2023-05-03 16:27:04 +02:00
bitfl0wer 375ea3e035
Start working on message send body 2023-05-03 15:55:01 +02:00
bitfl0wer f1aef5df02
Add message.rs 2023-05-03 15:45:07 +02:00
Flori dc57ef7fc5
Merge pull request #25 from polyphony-chat/feature/sending-messages
Bring main up to date
2023-05-02 22:51:49 +02:00
bitfl0wer 6015afd49b
Add messages.rs to implement messages features 2023-05-02 22:46:41 +02:00
Flori fab6bb2027
Merge pull request #24 from polyphony-chat/feature/gateway-observer
Feature/gateway observer
2023-05-01 22:58:14 +02:00
bitfl0wer eb98f1374c
add GatewayPayload 2023-04-30 21:54:15 +02:00
Flori d543bd99b1
Update README.md 2023-04-30 20:07:24 +02:00
bitfl0wer c6e6f34be3
add example threaded websocketconnection 2023-04-30 14:45:15 +02:00
bitfl0wer 76c4981cf8
Get GatewayHello from Stream 2023-04-30 12:17:35 +02:00
Flori fa6e7a6ae0
Merge pull request #21 from polyphony-chat/feature/gateway-observer
Feature/gateway observer
2023-04-30 11:56:22 +02:00
bitfl0wer 19a3e3af20
Add TLS support to WS connection 2023-04-30 11:56:14 +02:00
bitfl0wer 85913ce66d
Add types for Heartbeat and Hello (Gateway) 2023-04-30 11:48:53 +02:00
Flori ea0f49f271
Update README.md 2023-04-29 10:51:39 +02:00